SimplePortal

Development => Bugs => Fixed or Bogus Bugs => Topic started by: wille on November 28, 2011, 03:34:20 PM

Title: SP 2.3.4 RSS reader shows only first line
Post by: wille on November 28, 2011, 03:34:20 PM
None of my feeds display correctly on the front page. Only the first line is displayed. In preview however they show up correctly.
Title: Re: SP 2.3.4 RSS reader shows only first line
Post by: [SiNaN] on November 29, 2011, 06:01:08 AM
Would you please provide some feeds that fails for you, so that we test it? A screenshot including the issue would help a lot too.
Title: Re: SP 2.3.4 RSS reader shows only first line
Post by: wille on November 29, 2011, 11:40:12 AM
See picture: First is custom built rss reader displaying  this feed. (http://rss.evl.fi/EVLRSS.nsf/GetRSS?OpenAgent&RSSID=671A0D4DC09CCBA2C22574EF00447F2B)
Then is the Simple Portal feed reader that displays only the first line.

Here's code for the section displayed in picture:
Code: [Select]
<h3 class="catbg"><span class="left"></span>
Päivän sana (evl.fi)
</h3>
<div id="sp_block_22" class="sp_block_section" >
<div class="windowbg">
<span class="topslice"><span></span></span>
<div class="sp_block"><center> <a href="http://evl.fi/paivansana.nsf/0/39015D95D4FCBAC7C225792E003C7347?opendocument&lang=fi">29.11.2011 | Miika 2:13</a><br />

<p style="font-weight:normal;margin:0em 0em 0.1em 0em">Heidän edellään kulkee tien aukaisija,<br>he raivaavat tiensä,<br>murtautuvat portista ja lähtevät.<br>Heidän kuninkaansa kulkee edellä,<br>Herra johtaa heitä.<br>&nbsp;<br></center>
</div>
<span class="botslice"><span></span></span>
</div>
</div>
<h3 class="titlebg"><span class="left"></span>
Päivän sana
</h3>

<div id="sp_block_17" class="sp_block_section_last" >
<div class="windowbg">
<span class="topslice"><span></span></span>
<div class="sp_block">
<div class="sp_rss_flow">
<ul class="sp_list">
<li class="sp_list_top"><img src="http://uskojaelama.net/forum/Themes/ClearSky_square/images/sp/post.png" alt="post" /> <strong><a href="http://evl.fi/paivansana.nsf/0/39015D95D4FCBAC7C225792E003C7347?opendocument&lang=fi" target="_blank" class="new_win">29.11.2011 | Miika 2:13</a></strong></li>
<li>Heidän edellään kulkee tien aukaisija,<br>he raivaavat tiensä,<br>murtautuvat portista ja lähtevät.<br>Heidän kuninkaansa kulkee edellä,<br>Herra johtaa heitä.<br> <br></li>

</ul>
</div>
</div>
<span class="botslice"><span></span></span>
</div>
</div>

Something wrong in CSS? Displays fine in Preview though.

Link to my site: http://www.uskojaelama.net
Title: Re: SP 2.3.4 RSS reader shows only first line
Post by: [SiNaN] on November 29, 2011, 11:44:39 AM
It looks like a CSS problem to me, where the rest of the content is hidden. Can you enable that block on your site for 5-10 minutes from now on so that I can check it live?

Which browser you are using, by the way?
Title: Re: SP 2.3.4 RSS reader shows only first line
Post by: [SiNaN] on November 29, 2011, 11:53:02 AM
I just tried the feed on my test site and it works perfectly fine on the portal page for me. So it has to be a CSS problem in your case. From what I see, the container for the feed is catbg/cat_bar which probably has overflow: hidden; set for it.
Title: Re: SP 2.3.4 RSS reader shows only first line
Post by: wille on November 29, 2011, 12:26:17 PM
I just tried the feed on my test site and it works perfectly fine on the portal page for me. So it has to be a CSS problem in your case. From what I see, the container for the feed is catbg/cat_bar which probably has overflow: hidden; set for it.
I enabled it now. It's the last item on the page. Seems to be problem in both Firefox 8 and latest Chrome.

Edit: The object seems to have "overflow: hidden". I just wonder why the problem doesn't pop up in review...
Title: Re: SP 2.3.4 RSS reader shows only first line
Post by: [SiNaN] on November 29, 2011, 12:41:25 PM
I see. The problem is with the navigation_section CSS definition in your theme. Can you attach the index.template.php and index.css files of your theme?
Title: Re: SP 2.3.4 RSS reader shows only first line
Post by: wille on November 29, 2011, 02:14:43 PM
I see. The problem is with the navigation_section CSS definition in your theme. Can you attach the index.template.php and index.css files of your theme?
Attached here. Thank you for taking a look at this!
Title: Re: SP 2.3.4 RSS reader shows only first line
Post by: [SiNaN] on November 30, 2011, 01:07:43 PM
See if this fixes it:

index.template.php

Code: (Find) [Select]
echo '<div class="navigate_section"></span>';
Code: (Replace) [Select]
echo '<div class="navigate_section"></div>';
Title: Re: SP 2.3.4 RSS reader shows only first line
Post by: wille on November 30, 2011, 02:25:06 PM
See if this fixes it:

index.template.php

Code: (Find) [Select]
echo '<div class="navigate_section"></span>';
Code: (Replace) [Select]
echo '<div class="navigate_section"></div>';
That's it! Thank you very much and sorry for bothering with the bug report.  :P
Title: Re: SP 2.3.4 RSS reader shows only first line
Post by: [SiNaN] on December 02, 2011, 08:52:40 AM
You're welcome. ;)
SimplePortal 2.3.8 © 2008-2024, SimplePortal