CSS file choice incorrect

13 years 3 months ago #441 by Zilvermeeuw
CSS file choice incorrect was created by Zilvermeeuw
I choose the "dark" css file.
Viewing the guestbook is using the "easybookreloadeddark.css" file.
When creating a new message, the "easybookreloaded.css" is used.

Solution:

In file "components/com_easybookreloaded//views/entry/view.html.php" I changed line 33:
JHTML::_('stylesheet', 'easybookreloaded.css', 'components/com_easybookreloaded/css/');
with:
if ($params->get('template_dark') == 0)
                {
                        JHTML::_('stylesheet', 'easybookreloaded.css', 'components/com_easybookreloaded/css/');
                }
                else
                {
                        JHTML::_('stylesheet', 'easybookreloadeddark.css', 'components/com_easybookreloaded/css/');
                }
(Copied from "components/com_easybookreloaded/views/easybookreloaded/view.html.php", line 37)

Please Log in to join the conversation.

13 years 3 months ago - 13 years 3 months ago #443 by Viktor
Replied by Viktor on topic Aw: CSS file choice incorrect
Please log in to see the response. Attention: You need a valid subscription to activate an account.

Kubik-Rubik Joomla! Extensions

Please Log in to join the conversation.

Time to create page: 0.135 seconds