I’m following the Kodular doc on how to use Dynamic Cards
https://docs.kodular.io/guides/component-examples/dynamic-cards/
and its refers to the JASON OBJECT quite a lot.
Question is - Where is it?
Any help appreciated
I’m following the Kodular doc on how to use Dynamic Cards
https://docs.kodular.io/guides/component-examples/dynamic-cards/
and its refers to the JASON OBJECT quite a lot.
Question is - Where is it?
Any help appreciated
Was removed
You now can use the built-in dictionaries blocks or an extension.
As always. Thank you very much.
Perhaps as a suggestion… (you know what Im going to suggest
Thanks Dora
What am I doing wrong, Dora
It pulls back the data but gives me an error
Invalid list of pairs - followed by all the data enclosed in brackets
and at the end is the notice…
Is Not a Well-formed List of Pairs
Without seeing your json structure I can not anwser what might be the problem
[
{
“news_id”: “1”,
“news_title”: “Title 1”,
“news_short_desc”: “news_short_desc 1”,
“news_content”: “news_article 1\r\nLorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.”,
“news_date”: “2021-06-12”,
“news_muni_name”: “Jeffreys-Bay”,
“news_image_url”: “https://www.jewishlivingwill.com/samcr/images/prov_card/ec.png”
},
{
“news_id”: “2”,
“news_title”: “Title 2”,
“news_short_desc”: “news_short_desc 2”,
“news_content”: “news_article 2\r\nLorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.”,
“news_date”: “2021-06-12”,
“news_muni_name”: “Jeffreys-Bay”,
“news_image_url”: “https://www.jewishlivingwill.com/samcr/images/prov_card/wc.png”
},
{
“news_id”: “3”,
“news_title”: “Title 3”,
“news_short_desc”: “news_short_desc 3”,
“news_content”: “news_article 3\r\nLorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.”,
“news_date”: “2021-06-12”,
“news_muni_name”: “Jeffreys-Bay”,
“news_image_url”: “https://www.jewishlivingwill.com/samcr/images/prov_card/nw.png”
}
]
You are dealing with an array that has 3 objects. To better understand your json structure you could use
jsonparseronline
Im afraid Im still getting the same errors
You are aware Im (trying) to use Dynamic Cards and not Lists
T
Yes, I have no doubt it will work given the actual JSON STRING
Thats where my problem comes from, obvioUSLY
try useing this
https://jewishlivingwill.com/samcr/php/selectj_news.php?news_muni_name=Jeffreys-Bay
Dora does it again. Your a honey! thanks
I discarded all my blocks and used yours and used the php and it worked.
Thank you VERY MUCH!
Tony
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.