Piwigo Bugtracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000282Piwigodisplaypublic2006.02.04 12:262006.02.04 14:36
Assigned Tochrisaga 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version1.6 branch 
Summary0000282: CSS access in templates

You set in the header.tpl a BIG FIXME on the paths to CSS. But why???
You set a T_STYLE variable in the page_header.php that refer to a specific CSS named like the template. And you don't use it in your template! :-)
AT least, you can get the path to the css with PHPWG_ROOT_PATH.'template/'.$user['template'].

So I advise to either use only one CSS named as the template (as you first planned) or create a T_STYLE_PATH variable which leads to the template folder.
TagsNo tags attached.
Database engine and version
PHP version
Web serverApache 1.3.x
Attached Files

- Relationships

-  Notes
plg (manager)
2006.02.04 12:44

chrisaga has been working on this issue. He has separated templates and themes. For each template (like "yoga"), you can have multiple themes (clear, dark, and so on). First commit from chrisaga on this issue was [Subversion] r960

FIXME in header.tpl was deleted thanks to use of template variables : template/{themeconf:template}/default-layout.css

Does it answer your request?
mathiasm (manager)
2006.02.04 13:28


And it answers also another request of copying theme without search/replace for the folder of the template.


Kind regards


- Issue History
Date Modified Username Field Change
2006.02.04 12:26 mathiasm New Issue
2006.02.04 12:26 mathiasm browser => any
2006.02.04 12:26 mathiasm Web server => Apache 1.3.x
2006.02.04 12:44 plg Note Added: 0000609
2006.02.04 12:44 plg Assigned To => chrisaga
2006.02.04 12:44 plg Status new => feedback
2006.02.04 12:44 plg Product Version 1.5.2 =>
2006.02.04 13:28 mathiasm Note Added: 0000610
2006.02.04 14:36 plg Status feedback => closed
2006.02.04 14:36 plg Resolution open => fixed
2006.02.04 14:36 plg Fixed in Version => 1.6 branch

Copyright © 2000 - 2015 MantisBT Team
Powered by Mantis Bugtracker