changes in smarty output since 2.0.14

pay attention please Those of you who want to use themes from my downloads may have problems while using XOOPS 2.0.14 or up. The output of < {$xoops_showrblock}> has changed from ‘0′ (zero) to ‘’ (nothing) (:-D)

Some of my (CSS) themes are build to create dynamic classes or mainly ID with smarty output. E.g. if a left and a right block is set active in blockadministration we will have build id=’contentArray0′ (id=’content< {$xoops_lblocks}>< {$xoops_showrblock}>‘). Due to the changes in smarty output up to 2.0.14 the output will be ‘contentArray’. So we have in some cases an ID without matching preferences in stylesheets. To fix this …

simply open the stylesheet with an editor and ad this ID in the row where ‘xxx0′ is defined. Normally this should effect only the following ID:

id=’pagelayer< {$xoops_lblocks}>< {$xoops_showrblock}>‘
#pagelayer0 (Add #pagelayer), #pagelayerArray0 (Add #pagelayerArray)

id=’container< {$xoops_lblocks}>< {$xoops_showrblock}>‘
#container0 (Add #container), #containerArray0 (Add #containerArray)

id=’content< {$xoops_lblocks}>< {$xoops_showrblock}>‘
#content0 (Add #content), #contentArray0 (Add #contentArray)

but better look into theme.html when there are still problems.

Open the stylesheet with a texteditor and look for the ID’ named with a ‘0′ eg. ‘pagelayerArray0′ or ‘pagelayer0′.

Add e.g. in these cases :

#pagelayerArray0 (…) {

}

#pagelayerArray0, #pagelayerArray (…) {

}

so that preferences for the ID without ‘0′ (zero) could be found. I will beginn to change the DL-files but this may last a bit.





Leave a Reply

You must be logged in to post a comment.


SITES of the MONTH : 08/2005: linux-gamers.net - fireworks.verno.ru | 09/2005: viapontedinona.it
10/2005: RF Online Base | 11/2005: FREE-EOS | 12/2005: Asian Car Styling | 01/2006: DSLnachPankow.de
02/2006: Roma Victor Camp | 03/2006: NABUUR.COM | 04/2006: Styling+Design-Noord | 05/2006: VETOFISH
06/2006: Utah Antique Machinery News | 07/2006: lebuccaneer.com | 08/2006: Top-logiciel
09/2006: Concrete Connections | 10/2006: Fios Uniao | 11/2006: Casafree Maroc | 12/2006: Ainpg.com
1/2007: Parent Solo


xoopsfactory.com/blog powered by WordPress | Entries (RSS) | Comments (RSS)
Kugelschreiber, Buntstifte und mehr