Jump to content

Pages: formatting and the preview length in the listing


MiP1

Recommended Posts

Posted

Hello,

If I activate the option "Show Records like articles" I get a short preview of each article (as plain text) listed on the page. There are a few things I would like to change and hope, you can help me.

  1. I'm missing the formatting in the listing. If I click on "Read More" I can see some the links, some bold text , but this is missing on the listing page.
    Basically I would like to have something like here: https://invisioncommunity.com/news -- you can see there, that the text is formatted.
  2. Similar to the question above -- I would like to have the inserted images displayed on the listing page exactly as they are displayed in the article itself (position between the lines, size, centered or not).
  3. How can I change the length of that preview text? Ideally I would like to have a way to define it in the editor -- something like a BB code, but any other way to change the length of the preview text is very welcome.

Am I missing some options somewhere or do I need to edit a template? If a template needs to be edited, could you please explain which one and how? I'm really not familiar with the coding :)

Thanks in advance!

Posted
10 minutes ago, MiP1 said:

Am I missing some options somewhere or do I need to edit a template?

Yes, you would need to change that manually in the template. The template is the one you choose in the database settings when activating the article mode. The setting is called “Articles template”. In can be edited under ACP → Pages → Template.
(Usually you want to create your own one first instead of editing the stock template.)
 

Posted

Yes, thanks, I've figured out how and where to change the length, but it is still not clear how to activate the display of the formatting and the images.

Posted

Interesting, thanks! But it looks like if I don't use truncated() there, it ignores data-ipsTruncate-size='10 lines' in the line above and displays only the first paragraph of the text or image, if posted at the top. So using _content requires a different setting for the length. 

I've found some documentation about Truncate, but can't find anything about _content...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...