Basically, Resources represent pages in MODX Revolution CMS. There are 4 types of Resources: Static Resources, Documents, Weblinks and Symlinks. This tag can be used in questions regarding troubles with Resources in MODX Revolution.
Questions tagged [modx-resources]
51 questions
0
votes
1 answer
$modx->getObject returns NULL
I've got a problem with modx evo (1.0.15). I wanna get resource by id in my snippet. Snippet call looks like this:
[[byid? &id=`3`]]
and proccessing looks like this:
$name = 'modResource';
$criteria = array('id' => $id);
$document =…

petya
- 3
- 2
0
votes
1 answer
Group 'input option values' in template variable with 'listbox' type
I would like to apply the grouped text in listbox, looks like this
to
this is listbox in the resources page.
I tried to add the ‘optgroup’ tag into
'manager\templates\default\element\tv\renders\input\listbox-multiple.tpl'
but still not working,…

user3274165
- 138
- 2
- 11
0
votes
1 answer
Modx chunk as tpl returns php array in pre tags
I have a problem regarding showing the contents of template file.
My actual code to get this template is:
[[!getPage? &element=`getResources`
&tpl=`individual-productswebspec`
&sortby=`menuindex`
&sortdir=`ASC`
…
user3963491
0
votes
2 answers
Trying to create multiple Modx resources from a form
I have a form that is within a table that looks similar to the below, I have a Modx snippet that runs when this is submitted that should create multiple new resources, based on the input arrays send through.
…