using a multi value field in another value.

More
11 years 10 months ago #39291 by rottenberg
hello,

I'm using a multi value field in another field.
The number of value in the multi field is not definite (number of value = 0).

Presently i'm using {{field##0}}{{field##1}}{{field##2}}.
For my test it's working (as I have only 3 value in the test).

I don't want to limit the number of value. Is there a way to get all values as in the display or do I need to limit the number of values possible for the multi value field.

thanks for help
best regards

Michel

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

More
11 years 10 months ago #39298 by ggppdk
Hello,

unfortunately the current implementation has it's limitations

so you should consider the only other real alternative:

duplicate and customize a FLEXIcontent template

you can use (for accessing the fields of the item in item view or the current item in the loop of category view)

$item->fields or $items[$i]->fields or etc
use:
echo "<pre>";
print_r($item->fields);
echo "</pre>";

to see available data

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
11 years 10 months ago #39318 by rottenberg
Thank you

Finally, in the present case, I will use the original value and not a copy of the values in another one.

I prefer doing that, as I don't want to customize the templates. It's more easier to get alway the same code and only customize the field to be displayed.

Best regards

Michel

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

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