Smiley face and mainstyle.css

For my developed themes, specially reDesign. Please make different topic for every problem.
Reply to topicReply to topic Printer Friendly Page
Forum FAQSearchView unanswered posts

Smiley face and mainstyle.css

Post Posted: 5.03.09. 11:16:18

Just trying to understand...

Comments at top of mainstyle.css
/* This file is loaded only if real header.html template is used.
Anything here will overwrite style.css counterpart
*/

imply mainstyle does not need to be called.

But I changed theme.php line 108 to
PHP:
      'ALL_OK'        => !$MAIN_CFG['global']['maintenance'] && is_admin(),
which I expected to cause smiley face to display only to Admins. Instead whole display was screwed.

So it seems mainstyle.css is required, but my attempts to integrate it into style.css to make it optional again failed.

Any ideas how to merge, or not possible?

TIA!

layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
L:U8.1/A:2.2.8/M:5.0.51a/P5.2.5/D:9.2.1

layingback
Tõusmas kõrgemale
Tõusmas kõrgemale
 

Re: Smiley face and mainstyle.css

Post Posted: 5.03.09. 11:23:22

What smiley face Confused

EDIT: Oh, you mean the one in the footer. Whatever you wanted to do, don't do it. Just edit the mainstyle.css, it's not meant only for admins.

Madis's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.0.63/5.0.67/5.2.5/9.2.1

Madis
Administraator
Administraator
 

Re: Smiley face and mainstyle.css

Post Posted: 5.03.09. 11:33:16

OK, thanks!

layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
L:U8.1/A:2.2.8/M:5.0.51a/P5.2.5/D:9.2.1

layingback
Tõusmas kõrgemale
Tõusmas kõrgemale
 
Page 1 of 1



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum