- Posts: 37
COMMUNITY FORUM
[SOLVED] Articles in Recently Added acting weird
- BrethrenArchives.Com
- Topic Author
- Offline
- Junior Member
Before the change I made the Recently Added items would display the image of each K2 item like this one . Each K2 item has a hidden DIV containing text that is used in the site's search engine.
Originally each K2 item would display the image with nothing else, just like it should. I went into Recently Added and changed it from Item count: 3 to Item count 2. I also changed it to not display the author.
Now when I view any page on the site the Recently added is not displaying the image in the K2 item. Instead it is displaying the hidden DIV text.
Can anyone please help on this one?
Thanks in advance,
A. Wayne Webb
Please Log in or Create an account to join the conversation.
- Yiota
- Visitor
Is this hidden div embedded in the introtext/fulltext or inside the code? If it is inside the introtext you should check if the work limit is enabled in the module. If it is all html markup is being cut off. If you have it inside the code of the listings, make sure you have also embedded it in the module.
Make sure that you have enabled the item image through the module parameters.
Please Log in or Create an account to join the conversation.
- BrethrenArchives.Com
- Topic Author
- Offline
- Junior Member
- Posts: 37
Morning Yiota,Yiota Ziaggou wrote: Hello,
Is this hidden div embedded in the introtext/fulltext or inside the code? If it is inside the introtext you should check if the work limit is enabled in the module. If it is all html markup is being cut off. If you have it inside the code of the listings, make sure you have also embedded it in the module.
Make sure that you have enabled the item image through the module parameters.
First, thank you for getting back to me. I thought I had been forgotten. B)
Secondly, I have included below a sample bit of text from an article with all of them being the same except for the content for this page :
<h3 style="text-align: center; line-height: 120%;">A Brief Sketch of the Brethren Generally<br />Known as "Dunkards" of Northern Indiana</h3>
<p style="text-align: center;"><a href="images/books/005/00a.png" title="Front cover — …Sketch… of the Brethren of Northern Indiana" rel="rokbox[750 auto](demo)"><img src="images/books/005/00a.png" border="0" alt="Front cover — …Sketch… of the Brethren of Northern Indiana [Click for larger image] title=" width="500" height="auto" /></a><span style="text-align: center; display: block; margin-top: 6px;">Front cover </span></p>
<p style="display: none;">…Sketch… of the Brethren of Northern Indiana</p>
In the code above the second paragraph statement is used only for the search engine of the site and is hidden. Yet it is that text that is being displayed, instead of the image itself. This was all working just fine until the other day. And I have not added any new plug-ins. The only thing that occurred was an Akeeba Backup restore which should not have caused a problem.
In the Recently Added module Introtext is set to Show with a Word Limit of 300. Also, in the module Image is set to Show.
I will gladly let you in to my madness if that will help. I'll need to know what country you are in so I can open it up thru Akeeba Admin Tools.
Please Log in or Create an account to join the conversation.
- Yiota
- Visitor
Please Log in or Create an account to join the conversation.
- BrethrenArchives.Com
- Topic Author
- Offline
- Junior Member
- Posts: 37
Thank you Yiota, that resolved the issue. A frosty mug 'o mead to you is offered, or whichever drink may please your thirst, and conscience. :PYiota Ziaggou wrote: Try to remove the word limit 300 from the module parameters. Just leave it blank. Then check your module again after having cleared you cache both browser and site.
Please Log in or Create an account to join the conversation.