About format storage of flexicontent fields

More
12 years 7 months ago #25189 by refacil
Please Can you explain the logic of how works the field flexicontent_fields_item_relations

What does the a: and the s: and the number against each

for example
a: 3: {s: 4: "link"; s: 24: " www.iseuan.ed.ao/ "; s: 5: "title"; s: 32: "Higher Institute of Nursing" ; s: 4: "hits", s: 0: "";}

Thanks

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

More
12 years 7 months ago #25191 by ggppdk
Please post such questions into new Forum thread and not to the thread about FC v2.0

I have splitted your topic into a new Forum thread.

When value of a field has multiple properties
e.g. weblink has URL, title, hits, etc then it is transform to a single "text" value via calling PHP serialize() on the array of the URL, title, hits, etc data.

to see the actual data:
Code:
print_r(unserialize(value));


-- 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
12 years 7 months ago #25193 by refacil
still can not understand because a part is out a: 3: and another within {s: 4: "link"; s: 24: " www.iseuan.ed.ao/ "; s: 5: "title"; s: 32: "Higher Institute of Nursing" ; s: 4: "hits", s: 0: "";}
which defines the codes s: 4: ; s: 5:; s: 32:

referred to "a:" and to "s:"

excuse me misplaced thread

Regards,

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

More
12 years 7 months ago #25194 by ggppdk
The exact format of serialized data is no reason of concern , unless you want to un-serialize manually outside of PHP code.

About format, you could search the web or PHP website for information.


-- 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
12 years 7 months ago #25268 by refacil
I understand:
for example s: 4: "link";
4 is four characters of link l(1) i(2) n (3) k (4)

s: 24: " www.iseuan.ed.ao/ ";
s: 24: is twenty four characters of " www.iseuan.ed.ao/ ";

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

More
12 years 7 months ago #25293 by refacil
what is the difference between extended weblink and weblink?

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

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