SPECIAL OFFER: Only $69 for access to everything in OSTraining for 1 year! You save $75!  1
Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!

Drupal paragraphs module

6 years 1 month ago #116923 by marleneayers
Drupal paragraphs module was created by marleneayers
I am theming some Drupal paragraphs module content to create an accordion. The documentation says I should use
paragraphs-items.tpl.php in my theme file so I created a file called paragraphs-items--accordion.tpl.php. My theme does not recognize this template file BUT it does recognize paragraphs-item--accordion.tpl.php. I cannot find any documentation about the problem. Any suggestions?

Please Log in to join the conversation.

6 years 1 month ago #116945 by steve
Replied by steve on topic Drupal paragraphs module
Hi marlene

It looks to me as if you have the right naming convention. They suggest the same here: www.drupal.org/node/2326443

For what it's worth, both those files exist in the module: paragraphs-items.tpl.php and paragraphs-item.tpl.php

Please Log in to join the conversation.

Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!