Hi, I am trying to get my head around binding, but I have become stuck, please help!
@EVAL if ($modx->getLoginUserID()) return '@CHUNK chunk_name'; else return 'something else';
Is this kind of nested binding possible? (forgive me if I am way off track here

)
I was hoping to evaluate if the user was logged into the manager, and if the user is, then I want the string to basically be empty, but if the user isn’t logged into the manager I want it to insert the content of a chunk I have setup into the TV field.
The reason I am attempting this is because MODx Evolution comes with the brilliant jQuery lightbox (colorbox) used for editing documents through the front-end, and I want to be able to use colorbox in conjunction with the MaxiGallery snippet.
So instead of inserting the JS, the links to the JS and the links to the CSS twice (one handled by the front end editor plugin, the other from the TV) I wanted to evaluate what I mentioned above.
Then hopefully I can use the @INHERIT binding to have each sub-gallery evaluate the same thing.
Hopefully this is the right way to go about this! If anyone could point me in the right direction I would be much appreciative.