Change template for x number of nodes Options
nikolas
Posted: Friday, September 05, 2008 11:55:15 AM

Rank: Devotee

Joined: 1/17/2007
Posts: 67
Location: Bergen, Norway
I've got a site with a lot of nodes stored in a folder system like this:

Code:

Library
- A
  - Node 1
  - Node 2
  - ...
- B
  - Node 3
  - Node 4
  - ...
- ...

My problem is that all of these nodes in the alphabetic folders have no templates attached to them and even though I have made a default template for the doc type and tried publishing them all together the template will not change.

Changing the template for each node will take a lot of time - there are more than 1000 nodes i think.

Anyone know how to do this easily? Making a .NET custom control changing the template of all nodes with the specific doc type maybe? Or could it be done in another way?
DeNY
Posted: Friday, September 05, 2008 11:58:23 AM
Rank: Enthusiast

Joined: 1/7/2008
Posts: 39
Just create user control with logic for changing template for your nodes.
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.