adding a Page Break function to a custom HTML module
Posted 12 years 5 months ago
Hi, I have several modules on my home page and I'd like to have a "Read More" link that opens the module content accordion like, similar to the Page Break function of Joomla articles. Is this possible ? I have looked for plugins, but these too seem to simply add more functionality to articles.
Is there a way I can get the page break plugin to parse the Custom HTML module as well ?
live site is
www.triotech.co.nz
and you cand click the left image of the 3 to go to an article which has the page break function in it for testing.
Re: adding a Page Break function to a custom HTML module
Posted 12 years 5 months ago
Hi,
you may solve this like that:
<p>Trio Technology are experienced software developers based in Palmerston North, New Zealand. We love it here in Palmy, it's easy going and stress-less meaning we can really get the work done. We work for many companies in New Zealand, Australia and around the world. Our primary focus is support ... </p>
<p class="rt-center nomarginbottom"><a class="readon" href="../yoururl.com"><span>Read More</span></a></p>
not really sure how to use a system page break in module, tried that but didn't work for me
Re: adding a Page Break function to a custom HTML module
Posted 12 years 5 months ago
thanks, but I really don't want to send the user to another page as there is literally only another paragraph or two to say, but I don't want this on the home view, but hidden under a click event And that way, all the content is on the page from an SEO point of view.
Re: adding a Page Break function to a custom HTML module
Posted 12 years 4 months ago
We ending up putting some custom javascript in an existing Js file and using that via element ID's to control the opening of the 'display:hidden' part of the article. We chose not to offer the ability to close it as it seemed unnecessary.
Happy to help anyone interested with file snippet etc.