geting fields values of a related item

More
9 years 2 months ago #61395 by ydl
Maybe I didn't explain myself correctly.
What I did, and it works, is:
In the field definition, under the HTML attribute I put the following:
{"text":"{{text}}", "subtitle":"{{sub_title}}", "short":"{{short_desc}}"}
and it works. I have to do somting in my retrieving code before decode it to JSON with the newline BUT that manipulation is easy.

For the item data retrieving - I saw the FAQ you mention BUT could not understand from a print_r($item) of the specific item what its original ID

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

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