Remove button on field not working

More
13 years 9 months ago #8291 by ghrb
Hello

We have created a template for item type Archive with some new user fields.

Not all fields are used on all pages, client would like to remove fields from certain pages but clicking on the remove button does nothing.

Any ideas?

Thanks

Guy

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

More
13 years 9 months ago #8297 by micker
hello i don't understand your problem ...
i think
two categorie (one for complet field other with some field)
two template (one for complet field other with some field)
and drag and drop your selected field
That it ?

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
13 years 9 months ago #8300 by Rehne
I use one template
with additional parameters

like this in the xml
Code:
<param name="tpl_de_it_subtitle2_block2_show_position" type="list" default="1" label="FLEXI_TPL_SHOW_POSITION" description="FLEXI_TPL_SHOW_POSITION_DESC"> <option value="0">Hide</option> <option value="1">Show</option> </param>

in the template.php
Code:
<?php if (isset($this->item->positions['subtitle2_block2']) && ($this->params->get('tpl_de_it_subtitle2_block2_show_position', 1) == 1)) : ?> <!-- BOF subtitle2_block2 --> <div class="subtitle2_block2 block2"> <ul> <?php foreach ($this->item->positions['subtitle2_block2'] as $field) : ?> <li> <?php if ($field->label && $this->params->get('tpl_de_it_subtitle2_block2_icons_field_label', 0) == 1) : ?> <div class="element icon"> <?php else : echo '<div class="element">'; endif; ?> ... ...

so you can decide for each item
which position appears

maybe it helps you

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

More
13 years 9 months ago #8303 by micker
cool interesting tips
thanks

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
13 years 9 months ago #8456 by ghrb
Thanks Rehne, will try that out.

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

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