Bad Request (404) HTML

  • Posts: 265
  • Thank you received: 1
9 years 6 months ago #231849

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

  • Posts: 84307
  • Thank you received: 13701
  • MODERATOR
9 years 6 months ago #231862

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.

  • Posts: 265
  • Thank you received: 1
9 years 6 months ago #231949

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.

  • Posts: 84307
  • Thank you received: 13701
  • MODERATOR
9 years 6 months ago #231957

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.

  • Posts: 265
  • Thank you received: 1
9 years 6 months ago #232040

Yes it's saved with none, please see screenshot.

Attachments:

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

  • Posts: 84307
  • Thank you received: 13701
  • MODERATOR
9 years 6 months ago #232046

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.

  • Posts: 265
  • Thank you received: 1
9 years 6 months ago #232097

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.

  • Posts: 84307
  • Thank you received: 13701
  • MODERATOR
9 years 6 months ago #232104

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.

  • Posts: 265
  • Thank you received: 1
9 years 6 months ago #232184

Excellent, thank you for your help.

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

Time to create page: 0.075 seconds
Powered by Kunena Forum