How to set php condition with field value ?

More
8 years 11 months ago - 8 years 11 months ago #54665 by bendeb
Yes :cheer:
I have actually 320 fields on this website, 13 types, 18 templates and approximatively 7500 items and 80 categories (it's a big flexicontent project).
I can give you an access to the Joomla admin panel if you want.

Flexicontent 4.1.0b1
Joomla 3.9.18
Last edit: 8 years 11 months ago by bendeb.

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

More
8 years 11 months ago #54666 by micker
question : did you put your field in render only position of your template ?

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
8 years 11 months ago #54669 by bendeb
Hello Micker,

I don't use this method for many flexicontent templates because it's not convenient to sort fields like this when you have many fields and have to call them in many differents ways. (I hope we talk about the same thing :cheer: )

In my template, I call all the fields in the item.php directly with this syntax :
Code:
<?php echo $this->fields['name-of-my-field']->display; ?>
It displays the value of the field "name-of-my-field". I can put this code whenever I want in my big big big template. :lol:

Flexicontent 4.1.0b1
Joomla 3.9.18

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

More
8 years 11 months ago #54671 by micker
you can change render field type in global config can you do this ?

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
8 years 11 months ago #54674 by bendeb
I don't know where it is in global config. :unsure:
Where can I find this parameter exactly ?
Thank. :)

Flexicontent 4.1.0b1
Joomla 3.9.18

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

More
8 years 11 months ago #54680 by micker
global config of flexicontent
Performance Options
Always create field 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.

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