We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24012
    • 20 Posts
    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?
      • 28215
      • 4,149 Posts
      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
        • 24012
        • 20 Posts
        Quote from: splittingred at Jan 20, 2010, 12:50 PM

        Yes, that’s correct. Is the chunk in a Resource? Is that resource cached?

        yes, the resource where the chunk is was cacheable, toggle this option on and off and there was no difference...
        I can PM you some credential so that you can take a closer look if you like... this is wierd.
          • 28215
          • 4,149 Posts
          Does clearing the cache have any effect?
            shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
            • 24012
            • 20 Posts
            Quote from: splittingred at Jan 20, 2010, 01:04 PM

            Does clearing the cache have any effect?
            no, i cleared it a couple of times and no luck
              • 26903
              • 1,336 Posts
              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!
                • 24012
                • 20 Posts
                Quote from: shamblett at Jan 20, 2010, 01:13 PM

                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.
                I did this and i got a blank page with only the two single quotes

                ’’

                so assuming that some how the chunk registered as empty or is not been recognize... i dont know what to conclude....
                  • 24012
                  • 20 Posts

                  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.
                    • 3749
                    • 24,544 Posts
                    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. smiley

                    "slider" is used extensively in the MODx js.
                      Did I help you? Buy me a beer
                      Get my Book: MODX:The Official Guide
                      MODX info for everyone: http://bobsguides.com/modx.html
                      My MODX Extras
                      Bob's Guides is now hosted at A2 MODX Hosting
                      • 22303 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?