Letractively / osclass

Automatically exported from code.google.com/p/osclass
0 stars 0 forks source link

Interesting path in the config file #63

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It is interesting to have a variable with your entire path of your images.
I mean, in my new theme I need to use this path: 
<?php echo WEB_PATH; ?>/oc-content/themes/my_theme/images/logo.png
And I prefer:
<?php echo ACTIVE_THEME_WEB_PATH; ?>images/logo.png

What do you think? Is better to have this variable inside the config file
and change the value of this variable in the file when you change the theme. 

Also is better if you want to copy another theme because you don't need to
change all the paths.

Original issue reported on code.google.com by danielgs on 7 Apr 2010 at 5:11

GoogleCodeExporter commented 8 years ago
I agree, I would also add absolute path to the root folder of the OSClass. 
Discussion here - 
http://forums.osclass.org/index.php/topic,14.0.html 

Original comment by max.podu...@gmail.com on 8 Apr 2010 at 7:16

GoogleCodeExporter commented 8 years ago
Moved to http://issues.osclass.org

Original comment by santiago...@gmail.com on 19 Apr 2010 at 5:39

GoogleCodeExporter commented 8 years ago
Moved to http://issues.osclass.org

Original comment by santiago...@gmail.com on 19 Apr 2010 at 5:42