Content templates creation

More
13 years 3 weeks ago #20049 by artisanwebandprint
Hello,

Just curious if you have a new tutorial in progress for the Content Templates Creation. I'm planning to present FlexiContent at the Joomla New England Users Group and I'd like to cover how to customize the display of content.

Thanks,

Dawn

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

More
13 years 3 weeks ago #20050 by ggppdk
Replied by ggppdk on topic Content templates creation
You can read a tutorial here:
extensions.netassopro.com/9-tutorials

Plus this site has a couple of good extensions for FLEXIcontent

We want to write more documentation for FLEXIcontent after the final version of v1.5.6 for J1.5 and v2.0 for J1.6/J1.7+

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

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

More
13 years 3 weeks ago #20051 by artisanwebandprint
Awesome, thanks. Yes this site will have fleximport and I have a subscription with them,

All the best,

Dawn

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

More
13 years 1 week ago #20308 by artisanwebandprint
Hello,

I've reviewed the FlexImport tutorials on template creation and I'm wondering if I need to create that entire file structure to achieve a backend entry form like yours as seen here: screencast.com/t/4zh8eQbIR I would like to simplify the input forms for the user and the default template has too many fields.

Thanks,

Dawn

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

More
13 years 1 week ago #20406 by ggppdk
Replied by ggppdk on topic Content templates creation
To create more item EDIT templates in the backend.
--1-- In file
administrator\components\com_flexicontent\views\item\view.html.php
replace line:
Code:
parent::display($tpl);
with:
Code:
$BIOGRAPHY_TYPE_ID = 2; if ($typesselected == $BIOGRAPHY_TYPE_ID) { parent::display('biography'); } else { parent::display($tpl); }
--2--Then copy file
administrator\components\com_flexicontent\views\item\tmpl\default.php
to:
administrator\components\com_flexicontent\views\item\tmpl\default_biography.php

--3-- Edit it to make some form fields to be of type hidden with default values
For example:
The parameter that defines layout would be:
<select id="paramsilayout" class="inputbox" onchange="activatePanel(this.value);" name="params[ilayout]">...</select>
will become
<input type="hidden" name="paramsilayout" value='biography' />

NOTE 1, you will also need PHP to retrieve some values to put in the hidden fields. If i had something ready i would give you, maybe i will do something like this in the future.

NOTE 2, when you upgrade your default_biography.php will not be overwritten (although better backup) but you will have to restore the above -if- php code

NOTE 3, YOUR best change to make it easy is to find the boxes that contain stuff you don't need and and them add this:
style='display:none;'
This way you will hide them and hopefully the default values will do the job.

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

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

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