Skip to main content

Bad Request (404) HTML

More
10 years 7 months ago #231849 by Holmes-Pierce
-- HikaShop version -- : 2.6.1

Hello,

I'm not using style_blue.css?t= with my new website and I was wondering where I can remove this request.

Many thanks,
Hal

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

More
10 years 7 months ago #231862 by nicolas
Replied by nicolas on topic Bad Request (404) HTML
Hi,

Go in the Display tab of the HikaShop configuration and under the "CSS" section, set the "Styles for the front-end" setting to "none".

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

More
10 years 7 months ago #231949 by Holmes-Pierce
Hello,

It's already set to none, but the HTML request is still being made.

Thanks,
Hal

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

More
10 years 7 months ago #231957 by nicolas
Replied by nicolas on topic Bad Request (404) HTML
Can you save the hikaShop configuration with that setting set to none ?
Because it might be set to none because the file is not there and thus can't display it in the dropdown, but in the database it's still the blue style that is selected. Saving the HikaShop configuration would force the value to be none in the database too.

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

More
10 years 7 months ago #232040 by Holmes-Pierce
Yes it's saved with none, please see screenshot.

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

More
10 years 7 months ago #232046 by nicolas
Replied by nicolas on topic Bad Request (404) HTML
Hi,

No, I'm talking about the setting below the "frontend CSS file".
The problem is that you removed all the style files and thus you don't see the dropdown with the styles selection and thus can't select none in it.
Change the line:
return '<a target="_blank" href="'.HIKASHOP_REDIRECT.'hikashop-styles'.'">'.hikashop_tooltip(JText::_('STYLE_TOOLTIP_TEXT'), JText::_('STYLE_TOOLTIP_TITLE'), '', JText::_('STYLE_HIKASHOP')).'</a>';

to:
return '<input type="hidden" value="" name="'.$map.'"/><a target="_blank" href="'.HIKASHOP_REDIRECT.'hikashop-styles'.'">'.hikashop_tooltip(JText::_('STYLE_TOOLTIP_TEXT'), JText::_('STYLE_TOOLTIP_TITLE'), '', JText::_('STYLE_HIKASHOP')).'</a>';

in the file administrator/components/com_hikashop/types/css.php and then save the configuration of HikaShop. That should solve the problem automatically.

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

More
10 years 7 months ago #232097 by Holmes-Pierce
Thanks for your help with this,

Unfortunately, there's still no dropdown in the configuration after changing the code.

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

More
10 years 7 months ago #232104 by nicolas
Replied by nicolas on topic Bad Request (404) HTML
Hi,

That change doesn't add a dropdown. That change adds a hidden field to force the reset of the option when you save.
So you just need to go in the HikaShop configuration and click on the save button to fix the problem.
The following user(s) said Thank You: Holmes-Pierce

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

More
10 years 7 months ago #232184 by Holmes-Pierce
Excellent, thank you for your help.

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

Time to create page: 0.217 seconds
Powered by Kunena Forum