Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted February 1, 20169 yr Hey gents! Is there any way to show a whole article (Pages) on the main page without a preview i.e. without users having to click on the "Read more.." link to actually see the whole content of the article? Thanks in advance.
February 1, 20169 yr It’s actually in the HTML already anyway. You would have to edit your article listing template though to remove the part that hides the additional lines. There is no setting for that I’m afraid.
February 1, 20169 yr Author Well, I find it a bit dissapointing this wasn't included as an option. Do you know perhaps which part of the template needs to be edited? Thanks.
February 1, 20169 yr This part: <section class='ipsType_normal ipsType_richText ipsType_break ipsSpacer_bottom' data-ipsTruncate data-ipsTruncate-size='7 lines' data-ipsTruncate-type='remove'> {$record->truncated()|raw} </section> Should become something like: <section class='ipsType_normal ipsType_richText ipsType_break ipsSpacer_bottom'> {$record->_content|raw} </section>
February 1, 20169 yr Author Opentype,sorry for asking but, I couldn't find that template bit in the Pages -> Templates -> HTML?
February 1, 20169 yr 5 minutes ago, Breadfan said: Opentype,sorry for asking but, I couldn't find that template bit in the Pages -> Templates -> HTML? Yes. But it depends on which specific template you have chosen in your database settings.
Archived
This topic is now archived and is closed to further replies.