9 years ago
5
Topic

How would I copy a content type, such as 'Article', so I can use it to start with for a new content type?

I tried creating a new content type based on 'Article', but it only starts off with the Article Title, Alias, Category Id, State, and Access.  It looks like all the rest of the fields would have to be added manually just to get back to the baseline article settings - why?

Thanks,

Magestyx

Get a Book for SEBLOD
9 years ago
0
Level 1

To copy a Content Type, check the box next to it in the Content Type list and then click the 'Batch' button at the top.

This is looking like a really cool system but there's some basic functionality so far that does take a while to search how to do.

Magestyx

9 years ago
1
Level 1

Hi,

I have tried to duplicate the Article-Form&Content-Type.

But it's not all fields included in the duplicate.

Does anybody know why?

Oliver

118 Posts
webchun
5 years ago
0
Level 2

One of your fields might be not available for any Content Type (created exclusively for specific content type only)

5 years ago
0
Level 1

Hello everyone,

Each type of content has its own database table to store each specific field you create for that type of content. By default, the storage of each field is associated with the content type. This is not specific to SEBLOD or Joomla but to the type of storage on a MySQL database.

However, we can control the storage on SEBLOD, and therefore have fields that are stored on another table of the database than that of the type of content.

Example with a content type with a name like FAQ:

If I make a field in this type of content and I do not take care of the storage, by default the field will have

  • This field is linked to the following Content Type: seb_faq

So if i make a copy of the content type, the field doesn't come.

Now, why other field come with the copy of a content type?

Because they don't have the same storage, like my title field in my FAQ content type, it's not linked :

And last question, how to create a field without linked?

Click on the and create a field.

So to understand why when we do a content type copy some field come and some field not, you can go to understand storage :

https://www.seblod.com/resources/manuals/advanced/understanding-the-storage

Best.

5 years ago
0
Level 1

Solved

Get a VIP membership