[disable in mod] flexicontent.css loaded despite OFF in conf

More
11 years 8 months ago - 11 years 7 months ago #41142 by hede
In configuration one can disable the FC CSS. But flexicontent.css is still loaded despite it is disabled. So I wonder what this option is for? I guess this is a bug.

cheers

FF on Win10, FLEXIcontent version 3.0.10 on Joomla 3.4
Last edit: 11 years 7 months ago by hede.

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

More
11 years 8 months ago #41144 by ggppdk
Hello

-- this setting effects all component views

-- the modules also load this file, and the have a separate setting "Add default CSS" ...

the setting is inside Slider
"Advanced Parameters (styling & caching etc)"

... maybe this setting should also be used by modules, so that module parameter EFFECTS only the module specific CSS

Also have you seen this answer on a different topic:
www.flexicontent.org/forum/index ... pic#p41126

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
11 years 8 months ago #41146 by hede
Now I figured it works like this:

1. disabling CSS in the component configuration:
- disables flexicontent.css if the universal module is NOT on the same page
- does not disable flexicontent.css if on the same page the universal module appears and this does not have css disable in Advanced Settings (which is confusing IMHO)
- does not disable item.css (which is confusing IMHO)

2. disabling CSS in Advanced Settings of the universal module
- disables CSS for the module no matter what the global CSS setting is and also no module specific style is added (which is expected and very good, unfortunately there are images like com_flexicontent/assets/images/user.png hard coded in the HTML output - these should be background images, so they would be disabled via disabling the css and then the output would be truly customizable)
- if enabled, it loads the global flexicontent.css even when this file is set to be NOT loaded in the global component setting (which is confusing IMHO)

3. the advanced search module does not have an option to disable the CSS and loads flexicontent.css despite it is disabled in the global coniguration (which is a bug I guess)

The page www.flexicontent.org/documentati ... ntent.html says:
"the proper way is to create a CSS file inside your joomla template folder that will be loaded by FLEXIcontent automatically: joomla_folder/templates/mytemplate/css/flexicontent.css"
This loading does not work for me.

Since J3 utilizes bootstrap, FC should have the bootstrap markup too. With that FC would flawlessly blend in with all Joomla templates and almost no extra work would be required to style the FC output.

PS: have seen your answer and tried but no luck ... thanks anyway

FF on Win10, FLEXIcontent version 3.0.10 on Joomla 3.4

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

More
11 years 8 months ago #41147 by ggppdk
a. Loading the customized flexicontent.css works,
(so in your case, there must be a reason e.g. wrong path)
i can look at it if you have trouble loading it


b. if you want to load a customized flexicontent.css, then you do not disable default CSS,
you simply add into the customized file,
ONLY some few CSS rules (those that you need to override),
just prepend to each overridden CSS rule the 'body' tag, e.g.
#flexicontent .someclass {...}
becomes
body #flexicontent .someclass {...}

c. the autocomplete improvement works, i have tested it, i l make a public nightly build of r1791 (with this fix and a few other, particularly for J3.1)
you can download it
code.google.com/p/flexicontent/downloads/list

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
11 years 7 months ago #41182 by hede
Thanks, but what about 3. Will it be possible to correct this bug?
3. the advanced search module does not have an option to disable the CSS and loads flexicontent.css despite it is disabled in the global coniguration (which is a bug I guess)

FF on Win10, FLEXIcontent version 3.0.10 on Joomla 3.4

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

More
11 years 7 months ago #41191 by ggppdk
Hello

-- For every module, there is a parameter "Add css", which when you disable ALL CSS loaded by module
... so if you disable this parameter, then it will not load flexicontent.css and neither the module.css and module template CSS

-- so the component setting is not used, because we have a parameter per module too, e.g. the module maybe loaded in non-FC views, so using the component parameter is not appropriate


-- I have update description of component parameter to say:
Code:
Do not load the FLEXIcontent default CSS file (flexicontent.css). (Not recommended for inexperienced designers). NOTE: modules need and load this file(s), along with the module specific CSS, this is done because they may appear in non-FLEXIcontent views. There is a per module parameter to disable loading of CSS files
-- about bootstrap markup, yes we plan to make more use of this

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.303 seconds
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save