[SOLVED] How to get "CUSTOM 1" Field from Field type image

More
8 years 4 months ago - 8 years 4 months ago #58602 by grand
Hi,

i got a Field with type "Image or Gallery".
Under "Optional Properties" i enabled "CUSTOM 1".

In the Item i entered the text in the Custom1-Field. For example "Dummytext"

In the Template
Code:
<?php echo $field->display; ?>
gets me something like this:
Code:
<img src="/IMAGEPATH/FILENAME.png" data-original-title="FLEXI_FIELD_IMG_CUST1: Dummytext">

How can i only get "Dummytext"(without the img-Tag HTML) in the template?

Thank you!
Last edit: 8 years 4 months ago by ggppdk.

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

More
8 years 4 months ago #58645 by ggppdk
Hello Please see our FAQ. Search for
Raw field values


-- 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...
The following user(s) said Thank You: grand

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

More
8 years 4 months ago #58655 by grand
Thanks for the hint.

If anyone else looking for the answer:
www.flexicontent.org/documentation/faq/7...stom-field-type.html

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

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