First time with Flexicontent 2.0.2 r1680

More
12 years 9 months ago #37190 by babu65
Hello everyone,
as is evident from my post that I'm a newbie (24 h) of Flexicontent.
Even though I've known him very little I quickly realized that it is a very powerful component and as the name implies, very flexible. Thank you Emmanuel! Coming to the point of my post, I say that I want to take Flexicontent for a site that I had already made in Joomla 2.5 with another CCK but it does not offer the flexibility of FC.
In the site I would like to create a form that must be filled out by registered users, this form will be visible to public users and commentable by JComments.
I got lost in the reading of the features and some post but nonetheless escape me some very important details.
I have created a Type, the fields and a template, I have properly given the permissions to registered user in the Type " created " in configuration I've permitted items in the Items / Categories (inherited): create - Items / Categories (inherited): edit own - Items / Categories (inherited): delete own - Fields: edit values
After that I assigned to a menu voice " item submission form with its category".
Via the menu item, after authentication as a registered user, I've access my page and see my fields select text, calendar etc. image, they work, but in the form which I attach screenshots, appear many other things I want to hide.
I think I'm getting the logic of the operation and would love to have a flowchart of the basic operation of the FC.
Thank in advance who will give me the initial push to use the component.

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

More
12 years 9 months ago #37194 by micker
read this
www.flexicontent.org/documentati ... -form.html
or manage permission for each item

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 9 months ago #37197 by babu65
Hi Micker,
many thanks for your prompt reply.
Ok the override is the right way, in first for save the customization.
Through changes of the file form.php I can change the look of the page. Is possible change or create a new file form.php by backend of Joomla with for example Flexicontent --> Templates ?
At me Is not clear, I've created a new Type with new customized fields so I've set in to the new type the template created in Flexicontent so what I must do for display the new template?
I've try override and link the menu item to index.php?option=com_flexicontent&view=items&layout=form&task=add but the form is the same, of course because I'v not change form.php at the moment.
Sorry for the confusion but I can't understand the use of Flexicontent templates.

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

More
12 years 9 months ago #37203 by micker
you can override form.php for administration
apply same methode but in administration/template/your template ...
but it's recommend ...
why you have create field that you didn't wants user can fill ?
try to manage permission ACL
in your field left part you can choose to hidde field in form front-end backend ...

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 9 months ago #37222 by ggppdk
Hello, please note that for FRONTEND item submit form you can

1. Simplify it to remove various uneeded stuff (DO this in FLEXIcontent Component Configuration, just click the configuration button). Also note that you can "simplify" the FRONTEND item form differently per Content Type for this go to your content Type, and there there is a parameter 'slider' with same parameters for simplifying the form

2. About unregistered users you can allow submission in "Submit menu item", but they will not be able to edit it later !

3. Upcoming version v2.0.3 (or v2.1) has both FRONTEND/BACKEND form fully TABBED , with styling updates , that make it more professional looking and attractive, while probably more user friendly too.

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 9 months ago #37234 by bau65
Hi,
About the use of the Flexicontent templates this night I've understand a little bit more as you can see in screens hot n.1
About the ACL there is not any problem in fact i've set it, so the registered user can make a new content, Edit / delete own, see the list of his contents by the menu flexicontent "My Items" an edit they.
About hide field I'v hide description fileld in front-end and it's ok for my needs, but I've tried to set my content type as you can see in the screenshot 3 but I still see General
I need :
1. A input form in front-end where the registered user can digit only mine customized fields except the title field ( now are display as you can see screenshot 2 the General )
2. A output form in the front-and where the public user can see the items created by registered users and comment it (I do it and work almost as I need but is not a problem can do the changes needs )
I'm sure I'm missing the obvious, your component and already very frendly, me I'm dumb :shock:
Many thanks in advance and sorry for your lost time :)

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

More
12 years 9 months ago #37238 by ggppdk
Hello you cannot remove these fields as they are CORE and needed but you can hide them.

-- In v2.0.2 create a joomla template override of file
components/com_flexicontent/views/item/tmpl/form.php
to
templates/mytemplate/html/com_flexicontent/item/form.php

and customize it to add things that you want to hide inside :
<div style='visibility:hidden;'>...</div>

NOTE: do not hide category selection (unless... see below ...)



-- In upcoming v2.0.3 we added container boxes with CSS classes, e.g.

so you can
1. examine the HTML (e.g. with firebug for firefox, or in Google chrome with right click and "inspect element") find the class names and then
2. create a CSS file in your joomla template:

joomla_folder/templates/mytemplate/css/flexicontent.css

3. add some CSS:

.classname1, .classname2, .classname3 {
visibility:hidden;
}

NOTE for category you can set a fixed "submit" category in menu and then hide it with CSS (but do not hide category selection unless you set a fixed category)


-- 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 9 months ago #37257 by bau65
Hi George ,
many thanks for your polite help.
You are very clear so I'm proceed as you suggest me:
1 I've enable the override in menu and set the "default main category" as my need. Otherwise my articles would remain orphaned by category :)
2 I've put in the form.php file
Code:
<?php if ($isnew && $this->menuCats) : /* MENU SPECIFIED categories subset (instead of categories with CREATE perm) */ ?> <div style='visibility:hidden;'> <div class="flexi_formblock"> <label id="jform_catid-lbl" for="jform_catid" class="flexi_label"> <?php echo JText::_( !$this->menuCats->cid ? 'FLEXICONTENT_CATEGORY' : 'FLEXI_PRIMARY_CATEGORY' ); /* when submitting to single category, call this field just 'CATEGORY' instead of 'PRIMARY CATEGORY' */ ?> </label> <?php echo $this->menuCats->catid; ?> </div>
3 I've copy form.php in the override dir of the template

So now the formblock is hide !! :D but I've some empty rows from title to item type

About the upcoming v2.0.3 there is a different method and I understand that this second method is more flexible for the customization of the layout. Right?
In practice with v2.0.3 I can customized http://mydomain/components/com_flexicon ... ontent.css and copy it in template/mytemplate/css so I can custom at 100% the layout. Right?
Upcoming v2.0.3 are days, weeks or... ?

Have a nice day

P.S. for new version of Flexicontent don't exist the Italian translation. Right?
If don't exist I'll provide translation and send you

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

More
12 years 9 months ago #37289 by ggppdk
Hello, i have made a beta of v2.0.3 and is available for download here:

code.google.com/p/flexicontent/downloads/list

The new item edit form has a fully TABBED structure (frontend/backend)


-- 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 9 months ago #37303 by bau65
Thanks a lot George,
for the new version , I've upgrade mine, so I've I found that to change the appearance input form of items (no hide the fields) the css file to change is not flexicontent.css but flexicontentbackend.css, so in this case is not possible do an override. Right?
Have a nice day

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