Re: Custom CSS per theme

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>   I have sent a feature request to teh devel group for the ability to
> add a custom CSS per theme but while we wait to see if it can be done,
> does anyone a quick way of loading a custom CSS per theme in SQM
> 1.4.x?
> 
> I have tried adding a dynamic system wide CSS by defining a
> webmail.css.php with some PHP code to pull in the $color[] from the
> themes but they are not loaded at that point so the variables are
> blank.
> 
> This is the PHP code snippet that I tried in the "webmail.css.php"
> (the rest is standard). It does what I expect it do except that the
> $color[] variables are blank :
...
>   Does anyone have a method of implementing theme based CSS without
> editing the source code?

SquirrelMail 1.5.1 has stylesheet which sets colors according to color theme.

SquirrelMail 1.4.x has some themes that utilize generic_header hook. If page
does not disable this hook, your stylesheet will be loaded.

-- 
Tomas


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
--
squirrelmail-users mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux