By jason342 on
Looking at 5 RC 1, I noticed there were no page.module?!?
What is going to happen when I upgrade to 5.x.x, since all my contents are created in Page (currently using 4.7.4)?
I’m I going to lose my contents or experience problems? I’m kind of nervous about this, I just noticed the omission of the page.module now!
Comments
No problem.
No problem.
The page content type still exists. Its code is just not a separate module. The same happened with the story module.
----------
Edited to add:
And what is more interesting, the 'page' and 'story' content types are now defined in the database. This means that if in a future Drupal version these content types don't exist, they will be created from your database.
So by me just updating it
So by me just updating it will take care of anything thats needed? Or do I have to do something to compensate for the fact the page.module does not exist as a module anymore?
No, nothing at all. Just the
No, nothing at all. Just the regular update procedure (replacing the files and running update.php).
Is this change something to
Is this change something to do with CCK? Specifically, will CCK in 5.0 enable tweaking of default content types instead of (or, of course, in addition to) having to create new ones from scratch?
Without CCK installed,
Without CCK installed, Drupal 5.0 lets you create new simple content types like story and page. Actually, story and page have been created this way through the database, as simple CCK types (take a look in system module, system.install file,
INSERT INTO {node_type}lines).With CCK installed, all new or existing content types are tweakable in the same ways (by adding fields etc).
HECK YES!
SWEETNESS. Now I just need figure out how to convert all the blog entries I made as a new CCK type to the default blog type with extra fields added. (Maybe there's no difference, but I'll just feel better about it that way.)
Hmm... I am not sure about
Hmm... I am not sure about the 'blog entry' type. There is no INSERT INTO for that and there is still the blog.module. I am not sure to what extent it is there to provide the blog behavior (teaser list by author) and how tied it is with the 'blog entry' type. I suspect we are not there yet.
However, I can see that adding fields is available to 'blog entry' too.
I think I deleted the page type
I am using drupal 5.2 but I do not see the 'page' and 'story' content types. I think I deleted them. How can I get them back?
(no title)
These are initially created by the installer with some code which you can find in the system.install file, under
// Insert default user-defined node types into the database.But you can create them yourself easily from the /admin/content/types page, "Add content type" tab.