Piwigo Bugtracker

Viewing Issue Advanced Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000282 [Piwigo] display feature always 2006.02.04 12:26 2006.02.04 14:36
Reporter mathiasm View Status public  
Assigned To chrisaga
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 1.6 branch Product Version
  Target Version Product Build
Summary 0000282: CSS access in templates
Description HI!

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.
Steps To Reproduce
Additional Information
Tags No tags attached.
browser any
Database engine and version
PHP version
Web server Apache 1.3.x
Attached Files

- Relationships

-  Notes
(0000609)
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?
(0000610)
mathiasm (manager)
2006.02.04 13:28

yes.

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

Thanks

Kind regards

Mathias

- 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 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


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Contact
Powered by Mantis Bugtracker