Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Accordion needed just within an article

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

I have need of an accordion so that I can present all of the H3-level content in this one article:
dev.oakcreekwatershed.org/projects/clean-water/4-clean-water-starts-with-me

Ideally, when you get to this article, information starting with Agricultural Runoff to the end of the article could be presented in a series of accordions that have the detail of each section: Agricultural Runoff, Animals, Erosion and Sedimentation, Recreation, Urban Areas, Wasterwater, etc.

I tried to create new articles in a sub-category that I could then assign to this first article, but the accordion's dropdown text was truncated at 100 words. I tried to play with that but it seemed to have a word limit, so I gave up.

Is there a way to use the ZenTools accordion to do this or can you recommend another extension for in-article accordions?
tmsrDD
  • tmsrDD's Avatar
  • tmsrDD
  • 12 Month Developer
  • 118 posts
  • Karma: 0
The administrator has disabled public write access.
Have you tried changing the charcter limit so its more than 100 characters?

Its in the title options tab

The text tab also has a setting for the max character limit

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Yes, I tried that. It is the text (not the tiel) that I need to be longer. I tried 500 which seemed to help some but wasn't anywhere near the word count I needed. So I tried 1000 and it didn't change at all. So I seemed to be restricted to some max on it, but again, not near enough for what I need.

You can see in each of the sections I've mentioned that there is a lot of explanatory text.
  • tmsrDD's Avatar
  • tmsrDD
  • 12 Month Developer
  • 118 posts
  • Karma: 0
The administrator has disabled public write access.
Can I just check what settings you have now that don't work?
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
I don't have you as a user in my new dev site. How do I get the login to you?
tmsrDD
  • tmsrDD's Avatar
  • tmsrDD
  • 12 Month Developer
  • 118 posts
  • Karma: 0
The administrator has disabled public write access.
I just need to know the character limits you have set for the text and title

Together with the zentools version number

Its so I can reproduce the issue locally

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
I'm not sure that this has cropped up / asked about before with such large amounts of text
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
The Title is set to 100 count and the text I set to 5,000 but it didn't go beyond much...

ZenTools version 1.13.6.
tmsrDD
  • tmsrDD's Avatar
  • tmsrDD
  • 12 Month Developer
  • 118 posts
  • Karma: 0
The administrator has disabled public write access.
Didn't go beyond much... ?
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Sorry on the apparent cut off on the last post. I meant that even though I set it to 5,000, it didn't change the amount of text displayed.

HOWEVER, I just figured this out!

Because that article being used for the accordion would also appear in the Category Blog page, I had inserted a "Read more..." break in the article. The accordion would not display more than the text just prior to that insertion!

Take a look now, at the very bottom of this page:
dev.oakcreekwatershed.org/projects/clean-water/4-clean-water-starts-with-me

That being the case, I should be able to build the rest of my accordion articles.

Now that this is displaying, I am seeing that the text is not diplaying properly, though. The accordion has sets of bulleted items, and the bulets are bring stripped. I just now checked, and in the allowed tags, it clearly has bullets code:
<p><a><ul><li><div><h1><h2><h3><h4><h5><h6><b><em><i><strong><blockquote><dd><dt><small><u><br><br />

Any ideas there? Maybe the defaults aren't working in my favor to display the bullets. Could you please confirm how these three settings should be?

Strip Tags
Allowed Tags
Plugin Behaviour in Content?

tmsrDD
  • tmsrDD's Avatar
  • tmsrDD
  • 12 Month Developer
  • 118 posts
  • Karma: 0
The administrator has disabled public write access.
Its a css a change you need

#zentools96 .zentools .zentext li {list-style-type: disc;}
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
You may also want to add #zentools96 .zentools .zentext ul {margin-bottom: value ??;}

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
This css needs to go in the custom.css file and it uses the module id so it only applies to this module
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
OK, I utilized your css changes and a few more, updated the link to go to a single article, and the final result is here:
dev.oakcreekwatershed.org/projects/clean-water

I am happy with this and can move on. I am sure I will use this in-article feature throughout the site.

Just to note, I assigned the ZenTools module to the belowcontent position, if anyone else needs this help.

Thanks, Paulus,
tnsrDD
  • tmsrDD's Avatar
  • tmsrDD
  • 12 Month Developer
  • 118 posts
  • Karma: 0
The administrator has disabled public write access.
You're welcome

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers