Skip to main content Help Control Panel

 

English «   Bug tracker «  

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

WorkflowSupport request
StatusSolution has been fully integrated
Progress100%
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

Comments

Fw_crocodile

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 Paquesfrom nearby-an-airport
Associate, 8405 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 Paquesfrom nearby-an-airport
Associate, 8405 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.

Christianfrom Chonas l'Amballan
Associate, 2039 posts

on June 9 2008


I Close but keep the test for the 8.6 verions


Actupro
quelques sites yacs : création site internet annuaire pro