0
Welcome Guest! Login
0 items Join Now

SOLVED Trying to Use Photon's Accordion Particle in Xenon

  • SOLVED Trying to Use Photon's Accordion Particle in Xenon

    Posted 8 years 1 month ago
    • I am doing this on a localhost copy of my site, as I didn't want to attempt this my live server and have it break something...

      I followed the instructions for copying a particle from one template into another from this site: docs.gantry.org/gantry5/tutorials/copying-particles

      Copied the yaml and twig files into /xenon/custom/particles
      Copied _accordion.scss into /xenon/custom/scss
      Copied magic-accordion.js into /xenon/custom/js

      Then, added the dependency and import lines at the top of my custom.scss file. I included the magic-accordion in the custom javascript Atom in the Base Outline, recompiled the CSS.

      The accordion particle shows up in the admin panel and allows me to make the module, populate blocks, etc. However, when I load it into a position (either inside an article or in a theme position), the accordion doesn't work. It just loads up the title of the block as standard text.

      Is there something I'm missing?
  • Re: SOLVED Trying to Use Photon's Accordion Particle in Xenon

    Posted 8 years 1 month ago
    • Nevermind I fixed it! I just had to clear the cache; apparently another accordion particle I had found from a 3rd party was interfering even after I uninstalled it.

Time to create page: 0.049 seconds