#221 - theme issues w/ common.php:template()
Type Defect
Status Fixed
Milestone 2.3.2
Version 2.2
Component -
Priority Low
Severity Trivial
Assigned to -
Reported 12 years ago
Updated 10 years ago
Votes 0
Related tickets
Proposed time
Worked time

What did you do to cause this? Add new /x_theme dir to /system/views/

What page were you on? All

Describe the defect: The function template() is built inconsistently, I have fixed it in my installation but it in 2.x here is what is does: [code] if(file_exists(TRAQPATH.'/themes/views/'.settings('theme').'/'.$template.".php")) { return TRAQPATH.'/system/views/'.settings('theme').'/'.$template.".php"; } and it should be: if(file_exists(TRAQPATH.'/system/views/'.settings('theme').'/'.$template.".php")) { return TRAQPATH.'/system/views/'.settings('theme').'/'.$template.".php"; }[/code]

else it is looking for a new theme in /theme/views/ and including from /system/views/

Ticket History

Jack closed as Fixed 12 years and 10 months ago

12 years and 10 months ago by Jack

  • Milestone 3.0 2.3.2