Jump to content

Pages - showing whole article (without the preview)?

Featured Replies

Posted

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.

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. 

  • 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.

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>

 

  • Author

^^Thank you. Will give it a try. :)

  • Author

Opentype,sorry for asking but, I couldn't find that template bit in the Pages -> Templates -> HTML?

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.

Recently Browsing 0

  • No registered users viewing this page.