where to set no_header_css

  • Posts: 17
  • Thank you received: 1
9 years 5 months ago #177369

-- 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.

Please Log in or Create an account to join the conversation.

  • Posts: 26008
  • Thank you received: 4004
  • MODERATOR
9 years 5 months ago #177375

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 :

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.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: hans2103, abealpha

Please Log in or Create an account to join the conversation.

  • Posts: 17
  • Thank you received: 1
9 years 5 months ago #178571

Works like a charm.
Problem solved

Please Log in or Create an account to join the conversation.

Time to create page: 0.037 seconds
Powered by Kunena Forum