Suppose, you have a very popular "simple article" on your Drupal-powered site. May be, this is a "page", with a lot's of comments and incoming links. Suppose, you have decided to add a couple of child articles to it. To form the tree-like structure like in the Book module. You'll not be able to do this since only "book" pages can be a root of the book. This is only one of the cases when you have to change the content type of the existing node.
The first solution, coming to you head, would possibly be very simple: just create new node and copy the whole content from the original one.But wait. You don't want to lose the commens and incoming links, do you?
Of course, you can go to the drupal.org and enter something like "change node type" in the search field. You will find the nodetype module.
Please do not use it in the production systems.
It just changes a little record in the DB without changing any structure of the node. For example, after I have tried to change "Page" into "Book", it has changed. But the outline feature just have not works after that change. The node just starts to be named "book".
We have to live with the fact that it is impossible to change the node type. Instead we can try to achieve the same goal by creating new node. We have no other choice.
Okay. New node is created. But we have old comments and old incoming links still.
No problem. All comments can be easily transfered to the new node using Comment mover module.
There is a little trick in the aliases feature of the drupal. It accepts the local addresses. Even the existing ones. Let's take by example that your old node's number was x and new node's number is y. So in order of the new node to look like it resides on the old address, you can establish URL alias between old node (node/x) and new node (node/y). As a result, when user will request yoursite.com/node/x, he will actually receive yoursite.com/node/y. Of course, there will be impossible for the regular users to access the old node contents. On the other side, it seems, this is exactly what we need. Users will even can not notify the changes.
And of course, if your old node has an alias previously, you should change this alias with the new node.
Tue, 07/01/2008 - 06:04
Thank you so much. Very help me.... :)
»
Fri, 07/03/2009 - 11:18
Extravagance to an aion kina orc was having a permanent place to live at all. They had been nomads or prisoners for buy cheap wow goldso long that the concept of “home” had been all buy gold wowbut lost. Several of the massive, greenish figures tilled a cheapest wow goldfield. Watching the tusked, brutish-looking workers, Krasus marveled at buy warhammer goldthe concept of orc farmers. Thrall, however, was a aion goldhighly unusual orc and he had readily grasped the ideas that would return aion kinastability to his people. Stability was something the entire world needed wow gold for salebadly. With another wave of his hand, the dragon mage dismissedwow gold cheapKalimdor, summoning now a much closer location—the once world of warcraft goldproud capital of his favored Dalaran. Ruled by the wizards of the Kirin Tor, the prime wielders of magic, it had been at the forefront of the Alliance’s battle against Wow Gold the Burning Legionwww.game4power.com in Lordaeron and one of the first and most prized targets of the demons in turn.
»
Mon, 06/08/2009 - 11:39
As soon as wow goldI walked outside, wow power levelingI was greetedworld of warcraft gold with the shimmering wow goldwhite blanket ofwow power leveling cold. Despite thewow gold chill overwhelming wow goldmy skin, inside I was warm.
»
Wed, 06/17/2009 - 08:35
In wow gold order not to wow gold inconvenience anyone, wow gold he always walks buy wow gold sideways. Instead of saying buy wow gold 'Excuse me', he prefers to buy wow gold glide by one side. If the cheap wow gold gap is so narrow that it cheap wow gold will not allow him to pass, cheap wow gold Luke waits patiently until the world of warcraft gold obstruction -- be it animate world of warcraft gold or inanimate, rational or world of warcraft gold irrational -- moves by itself. wow power leveling Stray dogs and cats panic He nike shoes speaks with a very jordan shoes thin, subtle voice, sport shoes so inaudible that casual shoes it is hard to tell if he buy nike shoes is speaking at all. cheap nike shoes He has never interrupted wholesale nike shoes anybody. On the other hand, buy jordan shoes he can never manage more than two cheap jordan shoes words without somebody interrupting wholesale jordan shoes him. This does not seem to irritate Luke wholesale watches is the oldest wholesale watch and the least important replica watches employee of watches replica a dismal company replica watches that imports watch replica cloth. It operates fake watches out of a very fake watch dark building with cheap watches black-stained rolex replica wooden floors replica rolex situated in Alsina street. replica rolex watches The owner -- I know replica rolex watch him personally fake rolex -- is called don breitling replica Aqueróntido -- I don't wholesale watches know whether wholesale watch that is his first replica watches name or watches replica his surname -- and replica watch he has a watch replica ferocious fake watches moustache, is fake watch bald and has a cheap watches thunderous voice. rolex replica He is also replica rolex violent and replica rolex watches greedy. My replica rolex watch friend Luke fake rolex goes to work breitling replica dressed all in wholesale watches black, wearing wholesale watch a very old replica watches suit that watches replica shines from replica watch age. He watch replica only owns one fake watches shirt -- the fake watch one he wore cheap watches for the first rolex replica time on the replica rolex day of his replica rolex watches marriage -- and replica rolex watch it has an fake rolex anachronistic breitling replica plastic collar. wholesale watches He also only wholesale watch owns one tie, replica watches so frayed watches replica and greasy replica watch that it looks watch replica more like fake watches a shoelace. fake watch Unable to cheap watches bear the disapproving rolex replica looks of don replica rolex Aqueróntido, Luke, replica rolex watches unlike his replica rolex watch colleagues, does fake rolex not dare work breitling replica without his car insurance jacket on and auto insurance in order home insurance to keep this health insurance jacket in life insurance good condition business insurance he wears a auto insurance quotes pair of grey cheap auto insurance sleeve-protectors. cheap car insurance His salary car insurance quotes is ludicrously ugg boots low, but he still buy ugg boots stays behind cheap ugg boots in the office wholesale ugg boots every day and works for another three or four hours: the tasks don Aqueróntido gives him are so huge that he has no chance
»
Fri, 06/19/2009 - 06:45
Promo Wheels Martin Williams
Poker Chip Company
TriState Casino Garage
Poker Store Outlet
Pokerchip Whole Bargains
Trinity Tables
Global Gaming Supplies
Token PokerChest
Wikipedia DrinksMixer
Jeux de la Webtender
Terrain StudentDrinking
Henry's conseils Dragonhex
Battlefield Props
»
Fri, 06/19/2009 - 06:57
wow gold Cheap & Fast, We are selling wow gold,at an unimaginable price. wow gold , cheap wow gold, buy wow gold.
»
Fri, 06/19/2009 - 07:00
BUY wow gold ,wow gold,world of warcraft gold wow po, wow gold,wow power leveling, wow gold,wow or,wow po, warhammer power leveling.Professional wow gold,wow gold kaufen store,We offer cheap wow gold,wow po,wow or AND wow gold kaufen.5 mins delivery wow gold, , $100/10000 world of wow gold.500+ farmers work for you!
»
Tue, 06/23/2009 - 03:28
العاب
العاب بنات
العاب طبخ
العاب سيارات
العاب تلبيس
_________________
العاب
العاب بنات
ازياء
ثيمات
اطباق ساخنه
العاب بنات مكياجموقع العاب بنات
العاب بنات مناكيرالعاب للبنات بس
العاب بنات ميك ابالعاب بنات جديده
العاب بنات الوجبات الخفيفهالعاب بنات حلوه مره
العاب بنات ام بي سيللبنات بس العاب بنات
العاب بنات شوربة الشوفان
العاب طبخ 2009العاب طبخ للبنات الحلوات
العاب تلبيس العاب تلبيس البنات
العاب ديكور البيتالعاب فن الديكور
العاب ترتيب الديكورترتيب الديكور الحلو
العاب بنات العاب بنات بس
»
Wed, 07/01/2009 - 03:42
Japanese regulatorswow goldordered Citibank on Fridaywow goldto suspend all saleswow goldoperations in itswow goldretail banking divisionwow goldfor a month startingwow goldJuly 15 because thewow goldlender had failedwow goldto make notification of wow goldto make notification of wow goldincluding wow goldmoney laundering.”
»
Wed, 07/01/2009 - 03:44
In a statement,dofus kamaskamas dofusthe Financial Servicesdofus kamaskamas dofusAuthority citedacheter dofusacheter kamasfundamental problemsdofus kamaskamas dofusacheter kamaswith CJL’s compliance anddofus kamaskamas dofusacheter kamasgovernance system,dofus kamaskamas dofusacheter des kamasreferring to Citibank Japan dofus kamaskamas dofusbuy kamasLtd. by its initials.dofus kamaskamas dofus“CJL has not accuratelyachat kamasidentified a seriesdofus kamaskamas dofusof problems that were ffxi gilfinal fantasy xi gilbuy ffxi gilrecently found,” themaple story mesosmaplestory mesosagency added,runescape goldrunescape money“and the effectivenessaoc goldage of conan goldof the internal auditage conan goldhas not been ensured.
»
Fri, 07/03/2009 - 11:56
Extravagance to an
aion kina orc was having a permanent place to live at all. They had been nomads or prisoners for
buy cheap wow goldso long that the concept of “home” had been all
buy gold wowbut lost.
»
Post new comment