Please read and follow the COMMON ISSUES first!
Always add your version information in every new post! Thank you!

Form2Content Forum

Questions and answers for Form2Content, a Joomla CCK.
  1. Didier Pollez
  2. F2C submission form templating
  3. Saturday, 22 December 2018
  4.  Subscribe via email
Is it possible to publish the Submission Form Template from your demo site (https://demo.form2content.com/demo/new-article-form/article/new/)
I just started using F2C and I should have done it earlier, it is really an amazing help for Joomla sites: easy and powerful!
Documentation is very good, except maybe that for the submission form ?
I know this has been asked before but since then the demo site is using Joomla 3.9 and I hope the demo submission form The Content Type is no longer outdated.
This would be of great help for a lot of us I think.
Thanks.
Didier.
Responses (6)
Accepted Answer Pending Moderation
Hi Didier,

Thank you for the compliments and glad you are enjoying Form2Content.

The DEMO actually doesn't use a submission form override. It's the native form displayed in a Yootheme template. You can read more about creating your custom form layout here: https://documentation.form2content.com/f2c-front-end/submission-form-templating

Hope this helps!
Regards,
Patrick
Please read the F2C documentation before asking questions! Thank you if you've done so ;)
Accepted Answer Pending Moderation
Thanks Patrick,
I had read this before asking my question, and I managed to change the layout of the buttons.
But my (Joomlashack) template comes wit some nice buttons, form controls etc. and I should like to use them.
I am not a very experienced code writer so some detailed documentation on how to use the different FC2 fields and actions in one’s own form would be nice?
Didier.
Accepted Answer Pending Moderation
Hi Didier,

I understand your question. Our "problem" is that there are many front-end CSS frameworks. Our default is build for Joomla (i.e. bootstrap) and I often use the Protostar template for my front-end management area. It's simple, clean and works with all extensions. It also makes the user realise they are in a management area.

At the moment the submission form template has limited influence on how the form elements are generated. You can use Jlayout override for the form fields but the buttons are as is. What's probably doable is to copy paste your button CSS and add it to the F2C button class (which is bootstrap "btn" ) via custom.css.

Hope this helps.

Regards,
Patrick
Please read the F2C documentation before asking questions! Thank you if you've done so ;)
Accepted Answer Pending Moderation
Thanks Patrick
My template also use bootstrap, so I’ll experiment but your remark “At the moment the submission form template has limited influence on how the form elements are generated” does not give me much hope.
Anyway, I remain convinced that a nice example on how to enhance the submission form, eg as in your demo and this starting from standard Joomla (bootstrap) really would be a very great help.
Merry Christmas
Didier.
Accepted Answer Pending Moderation
Hi Didier,

I don't understand your "Example"question?? How can I write example documentation when I don't use the submission form override and yet the form looks good!? It's because I used a Joomla template that understands the bootstrap code and makes it look nice... in other words, I didn't do anything.

As for the customization. I don't understand "it doesn't give you hope". We support native Joomla JLayout override for the form elements, you can add all the css/html you want via the submission form override. The only thing you can't do is change the button class which is set to .btn, the Joomla standard (as my Yootheme template shows which does make the buttons lok nice).

Last, we have the feature to generate an example (default) submission form override. After generating it's a matter of changing some html/layout to your own wishes, all the place markers (template parameters) are already in it.

Perhaps creating documentation for Jlayout of form element might be useful and help you not having to search for it in the Joomla documentation but that I believe is not your question.

Have a good Christmas too!

Regards, Patrick
Please read the F2C documentation before asking questions! Thank you if you've done so ;)
Accepted Answer Pending Moderation
Well Patrick, what I wrote above ( “I am not a very experienced code writer”) can explain a lot ? So I’ll experiment and I’m confident I will find a way to make the form nicer.
Didier.
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.