Searching a clean/simpler form template

More
12 years 4 months ago #41226 by strgg
Hi

I spent more than 8 hours uncluttering the default form template.

there is a tabberscript, tags, languages, very deep styling with legends, fieldsets, user permisssions etcetera by default in the theme. why?

it would be really cool if you could provide a clean theme with only the obligatory fields. So we could start doing our own styling without spending hours uncluttering the hardcoded style you chose. its impossible without knowing the whole script to unclutter the form template in decent time.

Files to be found:
components/com_flexicontent/views/items/tmpl/form.php
copy them to:
templates/mytemplate/html/com_flexicontent/items/form.php

thanks for any help
Maybe we could include from nowon a theme form_raw.php within
components/com_flexicontent/views/items/tmpl/form.php

what do you think?
Regards and thanks

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

More
12 years 4 months ago #41227 by ggppdk
Hello

1. the form is built to avoid need for build the form yourself

and provide validation and styling that will work in frontend with different frontend extensions and different joomla templates

(and you can add custom HTML(groupmarker) and custom JS/CSS (see below) without creating a form override)



2. please don't forget that this is a form that is meant to edit the Content Records of com_content !!

3. there are parameters to customize the frontend item form in Component settings , under TAB "item form"
(you can override most of these setting per content Type)
(you can also add custom JS and custom CSS which is different per content type)

4. use group marker field:
Using the group marker field, to add field group and tab set in your item forms

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 review. Thanks!

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

More
12 years 4 months ago #41272 by strgg
Hi ggppdk

Thanks for answering.

the form is built to avoid need for build the form yourself

Really?

and you can add custom HTML(groupmarker) and custom JS/CSS (see below) without creating a form override.use group marker field.

Than how can we delete the default fieldset you did with "Categories/Tags", "Languages" and "Manage Permissions"?

And how can we delete the tabs "Basic" and "Content Type:..."? Hoooow :) ?

How can we do this without a form override ggppdk?

Thanks for your tyme
Regards

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

More
12 years 4 months ago #41276 by ggppdk
Hello

these are displayed because they are a part of joomla article system that we extend !

about hiding,

1. we added CSS class to the containers for this purpose.

- e.g. if you only have one language, then just use CSS to hide the language

- same for permissions, you can use CSS

- also for categories you can force submitting to a specific category(ies)

also if you disable multi-category permission and if you disable tags the basic TAB will be removed

also with some CSS skill you manage to hide the first TAB title and first TAB container

anyway if you feel more comfortable then create a joomla template override for form.php

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 review. Thanks!

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

More
12 years 1 month ago #43944 by aramapa
Please could you give me some more information on how to hide the language and permissions on the item submission form using CSS.

Specifically, which file must I modify and what lines of code must I enter?

Thanks very much for your help.

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

More
12 years 1 month ago #43946 by micker
hello a first use ovrride of form.php ..
www.flexicontent.org/site-conten ... -form.html
and for css find it and read this
www.flexicontent.org/site-conten ... ntent.html

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
12 years 1 month ago #43969 by aramapa
Hi, thanks for your reply, I'll have a good poke around in the files soon to find what I need.

Bon weekend!

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

More
12 years 1 month ago #43978 by ggppdk
Hello

after many requests,
more options for simplifying the frontend form will be added !!

just reason form is a bit complex is because it is tightened to the Joomla article system, which makes it powerful for content management (language, multi-category assignment, featured categories, ACL, View Access levels, etc, etc), but a bit complex for other uses ...


but currently (for current FC version),

you must rely to existing parameters or create a Joomla template override (see links given by micker above)

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 review. Thanks!

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

More
12 years 1 month ago #44090 by aramapa
Hi there,

So accessing the template file and creating an override should pose no problem, but I would really appreciate knowing which part of the code I should change in order not to display Rights Management (and language selection).


I'm afraid I know little of php programming so would really appreciate your help.

Thank you

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

More
12 years 1 month ago #44093 by aramapa
Also,are you sure that the directory given for where the template override form must go is correct?

If I look for the templates/mytemplate/html/com_flexicontent/items/form.php it doesn't exist - should I create it?

This is what I did, and added the file after removing the following lines of code:

<fieldset class="flexiaccess">
<legend><?php echo JText::_( FLEXI_RIGHTS_MANAGEMENT' ); ?></legend>
<div id="tabacces">
<div id="accessrules"><?php echo $this->form->getInput('rules'); ?></div>
</div>
<div id="notabacces">
<?php echo JText::_( 'FLEXI_RIGHTS_MANAGEMENT_DESC' ); ?>
</div>
</fieldset>

but it had no effect. I feel I'm rather groping around in the dark :? :oops:

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

Moderators: vistamediajoomlacornerggppdk
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