- Posts: 17
- Thank you received: 1
where to set no_header_css
11 years 11 months ago #177369
by hans2103
where to set no_header_css was created by hans2103
-- url of the page with the problem -- : localhost
-- HikaShop version -- : 2.3.3
-- Joomla version -- : 3.3.6
-- Error-message(debug-mod must be tuned on) -- : no error message
Default Joomla installation
Default Hikashop installation with demo data
Created a menu item to a catalog view
When you look at the source code you can see header css added by Hikashop into <style>
This is done via administrator/components/com_hikashop/helpers/module.php in function setCSS on line 107
$doc->addStyleDeclaration($css);
In the same function there is an exit route created when you don't want header css to be set (line 26 - 29)
$config =& hikashop_config();
if($config->get('no_css_header',0)){
return true;
}
It seems that no_css_header is a configurable item and is set to 0 by default.
Where in Joomla backend can I find this setting?
I want no_css_header set to 1.
I don't want hikashop to add styling. It's my job as the developer to add the styling using less and then compile it.
-- HikaShop version -- : 2.3.3
-- Joomla version -- : 3.3.6
-- Error-message(debug-mod must be tuned on) -- : no error message
Default Joomla installation
Default Hikashop installation with demo data
Created a menu item to a catalog view
When you look at the source code you can see header css added by Hikashop into <style>
This is done via administrator/components/com_hikashop/helpers/module.php in function setCSS on line 107
$doc->addStyleDeclaration($css);
In the same function there is an exit route created when you don't want header css to be set (line 26 - 29)
$config =& hikashop_config();
if($config->get('no_css_header',0)){
return true;
}
It seems that no_css_header is a configurable item and is set to 0 by default.
Where in Joomla backend can I find this setting?
I want no_css_header set to 1.
I don't want hikashop to add styling. It's my job as the developer to add the styling using less and then compile it.
Please Log in or Create an account to join the conversation.
11 years 11 months ago #177375
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic where to set no_header_css
Hi,
"no_css_header" is an hidden/advanced option ; it means that you have to add it directly in the database.
In the table "hikashop_config", you can simply add/edit a line for that.
Something like :
Because the configuration screen is already big ; we have some advanced options which are not accessible directly but we planned to change some elements in order to propose an interface for them.
Regards,
"no_css_header" is an hidden/advanced option ; it means that you have to add it directly in the database.
In the table "hikashop_config", you can simply add/edit a line for that.
Something like :
Code:
UPDATE #__hikashop_config SET `config_value` = 1 WHERE `config_namekey` = 'no_css_header';
Because the configuration screen is already big ; we have some advanced options which are not accessible directly but we planned to change some elements in order to propose an interface for them.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
11 years 10 months ago #178571
by hans2103
Replied by hans2103 on topic where to set no_header_css
Works like a charm.
Problem solved
Problem solved
Please Log in or Create an account to join the conversation.
Time to create page: 0.161 seconds