Hello
How can I get DIR_TEMPLATE . $this->config->get('config_template') for frontend from admin side?
Thanx
How can I get DIR_TEMPLATE . $this->config->get('config_template') for frontend from admin side?
Thanx
http://nwg.co.il/
“Compassion is the basis of morality.”
― Arthur Schopenhauer
I wonder, what you possibly try to achieve? There is not a frontend template directory, the are several such directories, related, to create CONTENT, i.E., in the THEME Directory used, named templates. But I really cannot see a reason, to address this from the Admin Section, exept with a FileManager, to edit some content.
Just to avoid, you, to be surprised, possibly not finding that kind of data/content/source, your'e looking for.
Ernie
hitline.info/shop/
Just to avoid, you, to be surprised, possibly not finding that kind of data/content/source, your'e looking for.

Ernie
hitline.info/shop/
I don't use Forum Mail, to reach me, contact: jti@jacob.ch
-
Server Q & A Basic Information on Code + Settings
http://www.everyauction.info/serverinfo.html
Demoversion OpenCart LIGHT v.1.5.6.5
http://www.jti.li/shop/
1'400+ FREE OC Extensions - from OC v.1.5.x up,
on the world's largest OC-related Github Site: https://github.com/IP-CAM
-
I know...
I was referring to define('DIR_TEMPLATE', '/PATH/Site.com/catalog/view/theme/');
This is defined on "client" side OR frontEnd...
So, is there a way to access this var or just redefine it on Admin side??
I was referring to define('DIR_TEMPLATE', '/PATH/Site.com/catalog/view/theme/');
This is defined on "client" side OR frontEnd...
So, is there a way to access this var or just redefine it on Admin side??
http://nwg.co.il/
“Compassion is the basis of morality.”
― Arthur Schopenhauer
Get front end theme path
Code: Select all
$path = str_replace("admin", "catalog", DIR_TEMPLATE);
$path = str_replace("template", "theme", $path);
$path .= $this->config->get('config_template');
http://nwg.co.il/
“Compassion is the basis of morality.”
― Arthur Schopenhauer
Who is online
Users browsing this forum: No registered users and 17 guests