Forums

semanticui and CEGCore2

benbeek 17 Apr, 2018
I want to move websites from Chronoforms 4 to Chronoforms 6, but I have troubles with new functionality in Chronoforms 6.

A lot of css is automatic generated ( semanticui-styling ) and implied on the form.
CEGCore2 makes a lot of large css files (300Kb) in folder libraries/cegcore2/cache and implies that css multiple times (I have seen the same css implied up to six times), eg:[pre].semanticui-body h1, .semanticui-body h2, ... {
line-height: 1.2857em;
margin: calc(26.0001px) 0em 14px;
font-weight: bold;
padding: 0em;
}[/pre]This means that, if I make my h1 font-weight: normal, Chronoforms6 overrules this setting up to 6 times in font-weight: bold. To do that it implies 6 times 300Kb of css (!)[br][br]I think you understand that I am not happy with this. Can I turn off this semanticui css that I do not need and the CEGCore2-caching system? Turning off the CEGCore2 library does not help (it keeps placing css files in libraries/cegcore2/cache and keeps using them).[br][br]Regards,[br]Ben
Max_admin 19 Apr, 2018
Hi Ben,

The files are generated based on the output, so if you create the form then you do not change it then only 1 file will be generated, but other files are generated for the admin area too, this can be enhanced in a future update.

There is no way to disable the Semantic ui, and usually the total size of cache will not exceed 5MB of space or so

Best regards
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
benbeek 20 Apr, 2018
Thanks for your reply Max.

In Chronoforms 4 there was a form setting "Load Chronoforms files" where you could choose between all / needed / none.
I can see that semanticui is needed for the administratorside of Chronoforms, but I would like be able to choose what css and js is loaded.
For a simple form 5Mb of extra css is an overload. And the behavior of CegCore that repeats this css several times is weird (that is: I do not understand why this is needed).
Because now my own css file is overruled multiple times by this, I can not use Chronoforms 6.

Regards,
Ben
Max_admin 20 May, 2018
Hello Ben,

In the latest update the files should not be repeated, and the total CSS file size is about 0.5 MB, this is very low specially if you enable the GZip compression on your website which is the recommended.

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
benbeek 20 May, 2018
Thanks for this update Max, will look into it.

Regards,
Ben
This topic is locked and no more replies can be posted.