Skip to content

Building dynamic links in the view based on values from a separate unrelated model #51

@s-badran

Description

@s-badran

Tigrang thanks a lot for such a great plugin. I am building "delete" links that are based on (if-conditions) data from another un-related model!
Is there anyway to pass a variable/array from the controller to the Users/datatable/index.ctp view?
One I try to pass such array I find it passed to the users/index.ctp instead (the normal way). But I really need this array to build the actions links for the $this->dtResponse['aaData']

One aside question please: how do you add css classes to the in the view? I'm not using the helper. (manually)

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions