'read less text' will control the article text: it is a read more alternative, much more powerful while respecting existing settings.
• configure the automatic insertion of read more links (respect existing read more, or override),
• configure precisely the length of your intro text: in number of characters, words, sentences or phrases,
• customize the read more links to your liking,
• easily retain and adjust formatting of the shortened text,
• automatically create a linked image in the intro text,
• enforce login to read the whole article (block guests).
• Works on all output of all components; not just com_content.
• Fully supports multi-byte languages.
All this precisely on those pages you want. This plugin will ensure similar formatting on your site, even when different authors use different styles.
• For very site-specific configurations, you can use 'contexts' to precisely define when the plugin may be active: for which combination of components, views and articles. For a best understanding, it is advised to read the help text on the left side of the configuration page, and to use the Discover mode, which is a great aid for both setting up this plugin and checking its working.
• Now also caching the default thumbnail, so that the article doesn't need to be rescanned every time.
• The option 'Respect Position Existing Read More' rejected the 'No' option. Fixed.
• Small performance optimization for J2.5.5+ (correctly this time).
• Regression: thumbnail cache was incorrectly checked and therefore always considered invalid, causing a performance drop. Fixed. _Huge_ kudos to gabs087!
• Small performance optimization for J2.5.5+. Kudos to gabs087 again!
• Fixed a warning when CURLOPT_FOLLOWLOCATION was set while safe_mode or open_basedir was set.
• Word count was not always available. Fixed.
• Removing all tags could sometimes eat an extra space. Fixed (bis).
• Now respecting the option show_intro from com_content: if set, the full text is not considered when shortening.
• The suffix is split in two: an inline version glued to the last part, before closing all tags; and a post-version, after all is closed.
• Added a wrapper tag with class options, encapsulating each shortened article, allowing for further formatting.
• More flexibility regarding what to do within component or module scopes.
Pity because yours is a very nice piece of code. I want to use this !! Suggestions
However I found two not-so-little problems:
there's no way to choose the preview image; it takes the first one. So if you don't want to show the first one or the first is, for exemple, a 16x16px icon the only thing to do is pick an hack and put an hidden image (via css display:none) in the beginning of the article -not so good-.
Second problem is that it's impossible to disable radless for a certain category/menù item. The only way is to select the articles id by id, and it is a really not-so-good thing.
I sent a mail whith these two points to the developer and received no answer.
To sum it up this is a really helpful extension, that does something joomla should do by default; but has some flaws that could make you uninstall it, and reading previous reviews I thougt the developer would have been more responsive.
Thank you for your just review.
Tempus fugit, but reasons don't make for an excuse. I'm sorry for not being more responsive.
On the bright side, the just released v3.0 addresses the two major annoyances you report, and more. I hope you can give it a try, and that you find the improvements useful.
You make me blush!
This plugin will definitely be updated for J1.6 (work in progress...), but unfortunately bug #24340 of the Joomla! 1.6 core prevents a correct usage of a lot of functionality - all content plugins which allow customization based on id and section id of each article are affected.
J1.6 compliance will be announced soon after that bug has been resolved.
Thank you for using this small plugin,
1. Have a homepage image that is resized smaller so loads faster.
2. Have a homepage image that auto links to the article itself.
3. Allow the image to have borders/margins/padding, etc.
4. Define how much text to show on the homepage before a READ MORE button is shown.
5. Ability to style the READ MORE text (or what ever text/image you want to show.)
The developer is also relatively responsive. You can submit bugs and such and he'll get to them eventually. There is an existing bug regarding how text is cut off in articles, and he's created a fix for it after the issue was raised.
The bug you mentioned has been resolved in 2.5b
I will try to explain some settings of "read less". You do know that all settings have a tooltip (hover over them) that should explain a bit?
- By default, "read less" will retain existing "read more" tags. You can control that behavior with the setting "Retain existing Read More Text" under "Advanced Parameters" while configuring "read less".
- If you set "Shortened Article Length" to 200, "read less" will - when allowed to run - shorten articles to 200 chars. That may become a bit longer, if you instruct "read less" to finish an ongoing word with the setting "Cut Off At Word Boundary".
- The setting "Minimum Article Length" determines when "read less" is allowed to change the content: only when the article is longer than that many characters. If you set it to 0, it will scan all articles. If you set it to 250, it will only shorten articles longer than 250 characters to 200 characters: when set this way, articles that are nearly finished will be shown in full length - a "read more" link only to reveal 30 extra characters can sometimes be a bit silly.
- The settings "Active On Front Page" and "Active On Blog Page" control the type of pages on which "read less" may check and shorten articles. Most like to shorten the articles on the homepage (a.k.a. frontpage), maybe you also want to have it shortened when showing multiple articles on a blog page.
There are a lot of options that change the way "read less" works, but hopefully you won't need to set them all! Usually, the default settings already give a reasonable effect.
I hope this make things a bit more clear.
If you have more questions or if things remain fuzzy, don't hesitate to ask.
And I thought I was being clever by picking that name. Well, there am I, standing corrected. ;-) Thank you for the kind review!
I have a probably unusual scenario. I am hoping I can always display the Read More link, regardless of whether the 'Shortened Article Length' is reached? My users will need to click a Read More link in order to view the comments.
Thank you for the kind review.
Your scenario indeed looks unusual to me. Contact me via email (my email is inside the xml file if you unzip the installer) or via the support form. Then I'll help you further.
I met a problem when using this, and the author gave me instant and detailed instructions to solve that, which is my fault NOT a bug of this plugin.
Thanks to the author.
I did seek support regarding the way that section and category descriptions were getting cut off too, and received quick and helpful support (put "0" as a disallowed id to stop it happening).
I have also found the disallowed tags feature helpful to keep the blog view uniform and tidy.
Thanks very much!
After installing I get a php error on a category blogview:
Notice: Undefined variable: string in /home/xxx/public_html/plugins/content/readless.php on line 114
The thumbnails are also not resizing but most likely due to the error above.
Thank you for your remarks.
- The php warnings will be fixed in v2.1
- It is best if you post a ticket in the forum about your thumbnail problem.
I think you could improve the effect of your plugin by adding an append to end option. It would be nice if there was "..." added to the end of the output text. It would also be nice if it was a user defined field in the parameters so that a user could link to a custom graphic or just add ">>>" "..." for example.
The only other thing that is a pain with this method of formating is the image handling. It would be great if there were some method of cropping images in order to create a uniform blog intro image. This is probably not in the scope of your project but it would be the icing on the cake to find a solution.
I use a combination of two plugins to do what your plugin is doing, I will be using yours as part of my standard deployment build from now on.
> an append to end option
You can already do just that. Just fill in the html code you want to have appended in the field "Registered Read More Text"
> some method of cropping images
In the advanced section you can set options to a.o. resize the image. Cropping however, is not possible.
If you feel features are lacking, don't hesitate to ask what you want in the forum. Just click on the support button above. It may or may not get included.