J4 Blog page output: how to cut down amount of text displayed?

For Joomla! 4.x Coding related discussions, you could also use: http://groups.google.com/group/joomla-dev-general

Moderators: ooffick, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
djcaptpln880
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 185
Joined: Mon Jul 26, 2021 9:32 am

J4 Blog page output: how to cut down amount of text displayed?

Post by djcaptpln880 » Mon Nov 20, 2023 2:37 pm

Greetings

THanks in advance

I am looking at my website.com/blog page and it lists articles 100% instead of cutting down the text to a limit like other sites do.

How would I cut down the text displayed in the website.com/blog output to a maximum amount of characters for each article being outputted to this page?

Is it only a matter of using the "read more" code when editing in JCE editor? or something less arbitrary?

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 16962
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: J4 Blog page output: how to cut down amount of text displayed?

Post by toivo » Mon Nov 20, 2023 9:01 pm

djcaptpln880 wrote:
Mon Nov 20, 2023 2:37 pm
Is it only a matter of using the "read more" code when editing in JCE editor?
Yes, that will do it. If you look at the columns of the database table _content, the initial text above 'Read More' ends up in 'introtext' and the rest into the next column, 'fulltext'.
Toivo Talikka, Global Moderator

djcaptpln880
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 185
Joined: Mon Jul 26, 2021 9:32 am

Re: J4 Blog page output: how to cut down amount of text displayed?

Post by djcaptpln880 » Tue Nov 21, 2023 1:08 am

That seems like a very arbitrary an inexact way to do it

Is there another way to make this process more or fully automated?

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 16962
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: J4 Blog page output: how to cut down amount of text displayed?

Post by toivo » Tue Nov 21, 2023 1:26 am

It would be possible to develop a system plugin that automatically presents articles as if they had 'Read More' inserted by the author.

This question was asked at the forum two years ago and it may have some ideas: Read more automatic for Joomla 4
Toivo Talikka, Global Moderator


Post Reply

Return to “Joomla! 4.x Coding”