First time with Flexicontent 2.0.2 r1680

More
12 years 3 weeks 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...

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

More
12 years 3 weeks 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 2 weeks 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...

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

More
12 years 2 weeks 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.

More
12 years 2 weeks ago #37304 by ggppdk
Hello,

Where a CSS rule is loaded (file) is little relevant in regards with the possibility of being overridden.

Simply add your override rule in any other loaded file, e.g. in

joomla_folder/templates/mytemplate/css/flexicontent.css

So to make e.g. the following rule more important:

#flexicontent div.fields_tabset {...}

use:

body #flexicontent div.fields_tabset {...}


-- 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...

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.383 seconds
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