Re: themes doesn't work

Matthias Dieke <[email protected]>
Newsgroups gmane.comp.cms.bitflux.general
Message-ID <[email protected]>
Hi,

Christian Stocker wrote:
> 
> On 14.6.2005 19:24 Uhr, Matthias Dieke wrote:
> 
>>Hi all together,
>>
>>
>>today installed bxcms on my system. (had a problem with my old
>>installation, read mailinglist).
>>
>>
>>I copied a themes-folder ("dima") from my old bxcms installation to the
>>new installation.
>>
>>When I choose my theme in "site-options" and call my website the css
>>doesn't work. It themes that there is no css-file. I had a look to the
>>source-code of the website and found this css-definition:
>>
>><link href="http://www.wiedke.de/themes/css/main.css" rel="stylesheet"
>>media="screen" />
>>
>>
>>Normaly I think there have to be the name of my themes-subfolder in the
>>href-part something like this:
>>
>><link href="http://www.wiedke.de/themes/3-cols/css/main.css"
>>rel="stylesheet" media="screen" />
>>
>>
>>I'm wondering, it seams that my theme folder is chosen, because my own
>>xsl-files will be found.
> 
> 
> yeah, we changed something in the way themes are handled. Try adding this:
> 
>   <xsl:param name="theme"
> select="php:functionString('bx_helpers_config::getOption','theme')"/>
>     <xsl:param name="themeCss"
> select="php:functionString('bx_helpers_config::getOption','themeCss')"/>
> 
> to master.xsl (where the other xsl:param are)
> 
> and change the css link to
> 
>  <link type="text/css" href="{$webroot}themes/{$theme}/css/{$themeCss}"
> rel="stylesheet" media="screen"/>

> 
> HTH

Yes it does. Thanks a lot.

Matthias

> 
> chregu
> 
> 
>>
>>When I copy, e.g. "bxcms"-theme to "dima" (name of my theme) all works
>>fine. The css-file will found.
>>
>>
>>Any ideas??? Thanks for your help.
>>
>>Matthias
>>
> 
> 
> 
-- 
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.