I have created my own amended colorpack and have this assigned to my gallery 2 throughout. On all galley pages I can see the code:
<link href="modules/colorpack/packs/PJA/color.css" type="text/css" rel="stylesheet">
in the page head, but thios is omitted when on the login page - reverting to plain white background.
I am trying to figure out what inserts the css links into the theme.tpl. There is a section at the top of theme.tpl:
{* Let Gallery print out anything it wants to put into the <head> element *}
{g->head}
And it appears that the variable g->head puts those css links in, but I can't figure where that variable comes from.
Anyone any idea how to link my colorpack to the login page?
Thanks, Paul
using Gallery v2.3 on LAMP
Posts: 1642
The best way with the current implementation is to add that line into theme.tpl below the "g-head" line and before any line containing "</head>".
This will make it appear in all G2 pages.
You will need to remove it from other locations you might have added it to.
--
dakanji.com
Posts: 38
Thanks for the work-around. I will put that in just now until I find something more suitable (as this will have the same link line appear twice for most pages).
These forums are awesome! I love the fact that help is only a few minutes away.
Thanks again, Paul
Posts: 71
edit this file
modules\core\templates\UserLogin.tpl
or copy in a "local" directory
link your css code in that file using {g->head}