Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Breadfan Posted February 1, 2016 Posted February 1, 2016 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.
opentype Posted February 1, 2016 Posted February 1, 2016 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.
Breadfan Posted February 1, 2016 Author Posted February 1, 2016 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.
opentype Posted February 1, 2016 Posted February 1, 2016 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>
Breadfan Posted February 1, 2016 Author Posted February 1, 2016 Opentype,sorry for asking but, I couldn't find that template bit in the Pages -> Templates -> HTML?
opentype Posted February 1, 2016 Posted February 1, 2016 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.