Hi
How get variable with theme name or theme path?
I try use $config->get('config_theme') but it's not working.
Code from a theme maybe can help you.
And for css links he use
Or maybe is this...
Code: Select all
$data['mytemplate'] = $this->config->get('theme_default_directory');
Code: Select all
<link rel="stylesheet" type="text/css" href="catalog/view/theme/{{ mytemplate }}/....
Code: Select all
$this->config->get('theme_' . $this->config->get('config_theme'));
Last edited by xxvirusxx on Mon Oct 08, 2018 2:23 pm, edited 1 time in total.
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Who is online
Users browsing this forum: No registered users and 99 guests