Post by richard » Thu Jul 23, 2009 3:29 am

Hi!

I don't consider this a bug but the template name on the stylesheet link on layout.tpl is hardcoded.

Code: Select all

<base href="<?php echo $base; ?>" />
<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/stylesheet.css" />
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/ie6.css" />
<![endif]-->
It would be better if this is dynamic, that way, when we create new templates by copying files from the 'default' template, we don't need to manually edit
'catalog\view\theme\TEMPLATE_NAME\template\common\layout.tpl' to reflect our own template name.

any ideas?
:)

Image a point in time
http://richarrdg.tumblr.com/


New member

Posts

Joined
Wed Jul 08, 2009 2:09 pm

Post by iloveopencart » Thu Jul 30, 2009 9:02 am

This has been discussed here: http://forum.opencart.com/viewtopic.php ... css#p16894. That should help :) .

User avatar
Global Moderator

Posts

Joined
Thu Mar 05, 2009 11:15 pm
Location - Phoenix, AZ
Who is online

Users browsing this forum: No registered users and 18 guests