I just did a fresh installation of Revolution Beta-5 I’ve been trying to migrate some codes from my old Evo installation and i cant get chunks to work.
Chuck
Name => slider
Description => image Slider
Code => <h1>This is the Slider Chunk Working</h1>
I’ve try to call this chunk from TVs and Templates like this
[[$slider]]
From what i read from the Revolution Documentation that should be the right way to call a chunk, What am i missing here ?
Is this a bug?
Yes, that’s correct. Is the chunk in a Resource? Is that resource cached?
shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect |
github |
splittingred.com
Does clearing the cache have any effect?
shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect |
github |
splittingred.com
Try just creating a resource with its content set to ’[[$slider]]’, save it, and preview it.
This will prove your chunk is Ok or not and trace it back from there.
Use MODx, or the cat gets it!
Ok so there is a bug with my system or the whole Revolution Package when naming a chunk slider... I created multiple others chunks, even renamed the original slider chunk, and they worked fine. When i Rename any of the chunks to slider they just stop working. So if you guys could make a chunk named slider on your system and check if it works we could isolate or further why is this happening.
I did a search of the MODx code for "slider" and got over 90 hits so you might want to just change the name or your chunk.
"slider" is used extensively in the MODx js.
-
MODX Staff
- 10,725 Posts
I created a chunk named slider and it worked flawlessly on my installation. Perhaps it is the content of this chunk that is causing problems?