Forums

Where is CFv6 basic documentation?

HerKle 14 Jul, 2019
Hi,
I worked with CFv4 and CFv5 since years and managed to get things work with hardly understanding code languages.

Now I purchased a full version of v& and find myself helpless in front of the screen: What is a "block"? What is its purpose? What makes its difference from a "form"?

v6 seems very different from the older versions and I am missing a documentation explaining from the scratch how to work with it. Although I read all the detail FAQs for v6 including the one about migrating v5 to v6, I am not understanding how to start my work with it. Eg. the "include css" in v5 had two fields, one for code itself, the other for including a css file - in v6 it's only one field left for coding. The FAQ explains how to include JS files but not how to include css files. Do I have to use the forum for any single detail question? Please provide a basic instruction.

Thx, Herbert
healyhatman 14 Jul, 2019
https://www.chronoengine.com/chronoforms/download and select "Manual" under "File"

It's a little out of date though, but gives you an idea still.

There are also demo forms - click "New" and it'll be right there as an option.

And yes maybe the CSS block SHOULD include the ability to load an external CSS file. Until then you can just do
<linkrel="stylesheet"href="styles.css">
in HTML, or better use PHP (under the "events" tab, in your load event) and do
JFactory::getDocument()->addStyleSheet("www.mystylesheeturl.com");
healyhatman 14 Jul, 2019
Answer
1 Likes
Or the following code will work in either Joomla OR WP.
\GApp::document()->addCSSFile("www.mystylesheeturl.com");
HerKle 14 Jul, 2019
Thank you so much, that's exactly what I needed.
This topic is locked and no more replies can be posted.