Customizing SMF > SMF Coding Discussion
Alternate stylesheets 'broken' by a mod
(1/1)
eldublu:
Hi
I have already asked a question about this in the mods support thread but I'm hoping by putting it here I might reach more people - please remove if this is against the rules.
We have a site that allows members to choose from three colours to view the forum in, selectable from a swatch at the top of the screen. This has worked perfectly until the installation of the pretty urls mod, it now will only display the default colour. If I switch off the 'actions rewriting' in pretty urls then parts of the forum (board indexes) can have their colour selected but once down to the post level it reverts back. The selections are in the index.template file in the template folder and is coded as below;
<link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/style.css?fin11" />
<link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/style-green.css?fin11" title="green" />
<link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/style-blue.css?fin11" title="blue" />
Does anyone have any insight onto how the pretty urls mod interferes with this and what I can do to get this working again.
Thanks in advance.
busterone:
It would be better to ask in the support topic for pretty urls. That topic is here
Navigation
[0] Message Index
Go to full version