Load Main CSS: Yes or... Yes...?

Phoca Cart - complex e-commerce extension
iWim
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 05 Jun 2019, 17:13

Load Main CSS: Yes or... Yes...?

Post by iWim »

Hey,

I am trying out PhocaCart and so far I like it.

As a template designer I really like it when developpers allow me to switch off the default css.
Giving me full freedom to write my own css.

However... the option Load Main CSS Yes/No is not working when using PhocaCart extensions.
In fact, when Load Main CSS is set to Yes, it's loaded before the template.css, if it's set to No, it's loaded after the template.css.

So far I noticed this in the Search, Cart and Category Modules.

Would it be possible for PCextensions to respect the Load Main CSS setting?
And while we're at it: an option to switch module specific css on or off?
I.e. Category Module loads an additional css file: /media/com_phocacart/js/jstree/themes/proton/style.min.css

Thank you.
Wim

Tags:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48416
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Load Main CSS: Yes or... Yes...?

Post by Jan »

Hi, thank you for the info, yes, I will add the parameters even to extensions.

Category Module - I will take a look at it but not sure if the style.min.css is important for the module - if it is not better to set another module for category tree without this style and without jstree option.

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48416
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Load Main CSS: Yes or... Yes...?

Post by Jan »

Hi, do you still get the same problem in version 3.3.1?
https://www.phoca.cz/news/1056-phoca-ca ... 1-released
Jan
If you find Phoca extensions useful, please support the project
iWim
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 05 Jun 2019, 17:13

Re: Load Main CSS: Yes or... Yes...?

Post by iWim »

Thank you, Jan.
The loading (or not loading) of the main CSS works correct now.

Wim
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48416
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Load Main CSS: Yes or... Yes...?

Post by Jan »

Hi, great to hear it.

Jan
If you find Phoca extensions useful, please support the project
Post Reply