Jump to content

if ,else and else if statements using OR


howster2011

Recommended Posts

Fantastic meltingpoint. I really appreciate your time and effort on this one. Finally the solutions can be seen here

 

http://forums.modx.com/thread/72373/output-modifier-snippet---php-modx-guru-needed-for-this-one#dis-post-402750

 

Modx has special syntax for calling the id into a snippet it appears, namely:

 

$resource = $modx->resource->get('id');

 

instead of:

 

$resource = '[[*id]]';

 

THANKS

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.