About format storage of flexicontent fields

More
13 years 9 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
13 years 9 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 review. Thanks!

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

More
13 years 9 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
13 years 9 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 review. Thanks!

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

More
13 years 9 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
13 years 9 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.

More
13 years 9 months ago #25387 by refacil
a: 3: { means weblink and a:4:{ mean image
others do not know.

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

More
13 years 8 months ago #25549 by refacil
I perform a bulk load of data and it generates this error:

The theme: 'Title of item' is being edited by another contribuitor.

which was my mistake?
or which table should I change the code indicating that no longer being edited?

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

More
13 years 8 months ago #25550 by ggppdk
When exactly are you getting this message, this is for existing records, but you are loading new data, so even if some record(FC item) is "checked out" by some editor, you should not get this error

-- how exactly are loading you data???
-- you get this error when? while storing the item data to the DB, or after the storing finishes and you try to edit the item?


-- 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 review. Thanks!

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

More
13 years 8 months ago - 13 years 8 months ago #25573 by refacil
I Have Joomla 2.5

The procedure used was as follows:
through phpMyAdmin, and using SQL statements, I to load the followings tables :
- flexicontent_fields_item_relations
- flexicontent_versions
- content

the load was successful

but when I try to edit from the front end an article it generates this message:

FLEXI_DESCBEINGEDITTED="The item: '%s' is being edited by another contributor."

This is one example:

www.uninternet.org/web7.0/index . ... 518:u07497

How can I edit the item in the front end? ¿ in which table and column is the code of status of edition?
Last edit: 13 years 8 months ago by refacil.

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

Moderators: vistamediajoomlacornerggppdk
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