Rob@hopefulhearts Posted July 10, 2015 Share Posted July 10, 2015 Hi, Incredibly new to Prestashop so please explain like you would to a 6yr old. In one of my pages, I wish to include a lot of articles, but instead of one article taking up the entire page, I would like to include "read more" function after say 1000 char or xx words etc. Please see here for a better description as the "</> source" functionality seems to be incredibly limited: http://prntscr.com/7r0zca Link to comment Share on other sites More sharing options...
musicmaster Posted July 11, 2015 Share Posted July 11, 2015 You need to make it yourself. You go in the HTML mode of TinyMCE (look for the "HTML" symbol) and you put there text like the following: <div id="mytext_short"> <p>This is the short text. <span onclick="$('#mytext_short').hide(); $('#mytext_full').show();" class="lnk_more_cat"><i class="icon-plus-sign"> <b>meer</b></i></span></p> </div> <div id="mytext_full" class="hidden"> <p>This is the short text. As you see it is repeated and the extra text comes after it.</p><p> Texts can contain several paragraphs. <span onclick="$('#mytext_full').hide(); $('#mytext_short').show();" class="lnk_more_cat"><i class="icon-minus-sign"> <b>minder</b></i></span></p> </div> 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now