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.
Re: SOLVED Trying to Use Photon's Accordion Particle in Xenon
Posted 9 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.