#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 10 years ago
Updated 8 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 10 years and 7 months ago

10 years and 7 months ago by Jack

  • Milestone 3.0 2.3.2