Closed Pinkeltje closed 6 months ago
Hi Astrid,
Thank you for your message.
If you disable Autoreadmore plugin, is your site's layout correct ?
Could you send me a screenshot of Autoreadmore parameters ?
Regards,
Pascal
Hi Pascal,
Thank you for you quick response. Yes, Layout is correct when disabling plugin.
Screenshots from Gruz's plugin settings on J3 site (working)
Actual screenshots from your plugin settings
Furthermore Gruz's plugin took full article image when no intro image present and yours doesn't unfortunately. Tested with Cassiopeia and Yootheme Pro.
J3 version:
Your version:
Thanks for looking into this.
Hi again,
I just put back htmLawed library which cleans up code when truncation is performed.
That's in new version 5.2.2.
Let me know if it solves your issues.
Pascal
Oups, I forgot to copy htmlLawed library in Helper directory. That's done, version 5.2.3 is now available. Pascal
Thx! Will have a look tomorrow. Will check Dutch translation as well as it appears to be machine translation (Google or Deepl) and therefore sometimes confusing. Had to set my backend language to English to understand ;-)
I did not touch languages files, they are coming from J3 version. Gruz added a lot of language files when I prefer providing english and french ones for my extensions. You are more than welcome to propose your Dutch language file.
Hi Pascal,
Please find attached new Dutch language files. Patch is working now for page layout (sidebar is where it should be), but still no full article image shown when no intro image is present in Images and links. Plugin neatly pulls image that is inserted manually in article and image class is working also. NL_plg_content_autoreadmore.zip
Hi,
Thank you for NL language files. I'll release them as soon as possible.
About, full article image, I just made a try and it seems OK. I used your parameters.
I'm making some more tries and let you know if I can reproduce this.
Pascal
Hello Astrid, I was not able to reproduce your full image issue. How is created your article ? what code does it contain ? According to the plugin's code, it's looking for the first img tag if no introduction image exists. Are you using a plugin to display your image (like responsive image plugin from Grammatiko) ? In this case, images are not in an img tag but using picture / srcset tags.
Pascal
Hi Pascal,
Really don't understand it. Screenshots from clean Joomla 5 install with Cassiopeia.
Intro on homepage:
Full article
Astrid
Thank you Astrid for telling me about the notice. I use this plugin with Joomla 4 & joomla 5 sites, but, I don't use Cassiopeia template. I'm doing some more testings and let you know if I can reproduce your issue with a J510 clean install. Pascal
I normally use Yootheme Pro template. But decided to test with everything default to eliminate any conflicts with extensions or templates.
Hi again, I just installed a clean J510, used the examples data. I created a new article and everything is fine. If you disable Autoreadmore plugin and add a readmore in your article, is your image displayed ? If not, it must be an article or menu parameter error. Pascal
Blog display
When clicking on readmore button, full article display
I think there is a misunderstanding. You are having your image inside the article. That works for me also. But my problem is with the image inserted through the Images and Links tab, when only having a full article image. Hope the link to the J3 site and the screenshots clarifies my issue. J5 site is on localhost, so unable to provide a link.
I'm updating a Joomla 3 site with Gruz's plugin []https://t.ly/JgbCg
After the update and using your version of the plugin, this isn't working anymore.
Ok, I see.
The problem is that, to work, the plugin should call image_fulltext, but it does not, and never did : I checked in the previous versions and could not find this.
I think it's normal as image_intro is to be displayed in blog/feature modes when image_fulltext will be when the whole article is displayed.
Even if it does not make sens, I think I'll work on this as you set "force image count" parameter to 1, which means "find any image in my article".
I'll let you know as soon it's available.
Pascal
Hi again,
Version 5.2.5 implements "use fulltext image if no other image can be found".
Let me know if this closes the current issue.
Pascal
Hi Pascal,
The problem is that, to work, the plugin should call image_fulltext, but it does not, and never did : I checked in the previous versions and could not find this.
Was looking for that in old plugin as well, and couldn't find it either. That's why it's so strange that it worked with Gruz's version....
But the good news is that it works like a charm now. Thanks a lot, merci beaucoup, for your hard work.
Astrid
issues solved by version 5.2.4 & 5.2.5
Joomla 5.1 First of all many thanks for developing this plugin. Unfortunately I've encountered some issues:
When using the plugin (I've used Gruz's plugin in J3, so copied settings), sidebar is pushed to the bottom (in Yootheme) and to the top (in Cassiopeia - sidebar right). Furthermore when there is bold text within the limit of the number of words, date is rendered bold as well. For reference J3 site which is ok: []https://bergenlimburgonline.nl/ Sidebar pushed to top in Cassiopeia
Sidebar pushed to bottom in Yootheme Pro
Bold text for date
Dev site is on localhost, so unable to provide a link.