nican VIP
Total posts: 392
10 Apr 2014 18:11

If I have a type assigned to a multitype section and create records with that type, and if in a second moment I disable that type in the section "submit type" selection parameter

then when I visit pages where those records should be published the site layout gets broken,

I know this is an unusual situation but maybe you could think of a solution to avoid this happening

thank you

Last Modified: 11 Apr 2014


Sergey
Total posts: 13,748
11 Apr 2014 07:17

yes, but that wuld require aditional queries. This is why we jave a parameter.

If you unselect one of the types, you have to make sure articles with this type are not in the section.


nican VIP
Total posts: 392
11 Apr 2014 09:35

I see... a OT question Sergey: if I have some records created with a type A and that type has the same fields type of another type B

is it possible to move those records fomr type A to type B via phpmyadmin?

and if so (and if it's not extremely complicated) can you suggest how to do it?


Sergey
Total posts: 13,748
11 Apr 2014 11:21

With PMA everything is possible.

But it is not possible by simply changing id of the type. Field values are bonded to field IDs. You will have to change all those IDs including inside serialized arrays in fields field of record table.

This is very complicated, even to explain.

Powered by Cobalt