Changer en masse le type de document

More
12 years 4 weeks ago #29975 by Chabi01
I think i have to follow this order :
1. put back all the articles to the native item type (joomla article) : if i do this by phpmyadmin, i dont lose my fields ?
2. put the content with id from 135 to 247 to my type "association".

That's because all the others ids (there is some below 135 and some above 247) should be bind to native joomla article type.

For now, all my content is assigned to "associations"...

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

More
12 years 4 weeks ago #29982 by ggppdk

Chabi01 wrote: I think i have to follow this order :
1. put back all the articles to the native item type (joomla article) : if i do this by phpmyadmin, i dont lose my fields ?
2. put the content with id from 135 to 247 to my type "association".

That's because all the others ids (there is some below 135 and some above 247) should be bind to native joomla article type.

For now, all my content is assigned to "associations"...


You will not Loose any data with the update SQL queuries,

but if you do not assign all needed fields to article type too, the existing field values will become unusable and will be also delete next time you save an item,

so make sure your content types have the correct fields assigned TO THEM,

so do you want the query for this?


-- 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 4 weeks ago #29985 by Chabi01
Ok, i assigned all fields to both type...
And...yes i want it !!! :D

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

More
12 years 4 weeks ago #30000 by ggppdk
You can use this in phpmyadmin:
Code:
UPDATE JJJ_flexicontent_items_ext SET type_id=1; UPDATE JJJ_flexicontent_items_ext SET type_id=NN WHERE item_id >= 135 AND item_id <= 247;

-- Replace JJJ with your db prefix e.g. jos
-- Replace NN with id of you content type


-- 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 4 weeks ago #30011 by Chabi01
So simple and so cool to send me back the response.
Thanks ! I will do this today.

Just before closing this post, i read you are almost finish for the "advanced search possibilities" (multiples cross search) ?

Best wishes,

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

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