Skip to main content Help Control Panel

YACS CMS : Open source !

Community «   Discussion forum «   Bug tracker «  

Rendering problem with news's articles section and first page. [Solved]

Luginbuhl Anselmo -- on Dec. 11 2006
I've put an article in the section news, wich automaticlyu compare on the first page. In the article there is a list of links like this

-  Label1
-  Label2

They are showed correctly on the news section but not on the first page where you get all the label on one line as simple text (no link) like:
Label1 Label2

You can see it at www.darviniano.eu

Solution Manager: Bernard

Solution has been fully integrated
Fw_crocodile
151 posts

on Dec. 14 2006


It seems that this happen also with other codes like \[nl\], they didn't get interpreted on the first page while they are in the news section.
Bernard
avatar
from nearby-an-airport
Associate, 6927 posts

on Dec. 15 2006


This is a bug of the function Skin::cap().

You can remove the call of this function at line 174 of script skins/layout_home_articles_as_daily.php to get:

$box['content'] .= Codes::beautify($item['description'],
    
$item['options'])."n";

Bobthecheese
3 posts

on Jan. 29 2007


I tried this, but to no avail. It appears to be stripping out all formatting tags on the front page.

Any other suggestions?
Bernard
avatar
from nearby-an-airport
Associate, 6927 posts

inspired from bobthecheese on Jan. 29 2007


Bobthecheese: Maybe it was not clear in my comment, but you have to remove call of cap(), and to maintain call of beautify(). If you remove both, YACS codes won't be translated to XHTML anymore.
Christian
avatar
from Chonas l'Amballan
Associate, 948 posts

on June 9


I Close but keep the test for the 8.6 verions

 
Share
Information channels
Recent files