Quick page creator???

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
burlington
Power Poster
Power Poster
Posts: 444
Joined: Wed Dec 27, 2006 5:15 pm

Quick page creator???

Post by burlington »

Running CMSMS 1.12

Can anyone advice on a quick way to add a large number of individual pages?

Thanks

Martin
JohnnyB
Dev Team Member
Dev Team Member
Posts: 731
Joined: Tue Nov 21, 2006 5:05 pm

Re: Quick page creator???

Post by JohnnyB »

There are two things that I've done.
1) use the copy page utility from the page list (right side of each page) which helps save a few steps.
2) Use CGContentUtilities
With that module, you can export a set of existing pages in XML format.
Then, using your exported XML file and following the XML structure, you can add several new pages, including their hierarchy. The XML data takes page title, alias, menu name, and I think some of the extra attribute fields. I think I usually use the page's menu name for the content field data and just use the wysiwyg editor to enter content.

Then, you can save the file and import using the same module and manage the pages normally.
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1974
Joined: Mon Jan 29, 2007 4:47 pm

Re: Quick page creator???

Post by Jo Morg »

burlington wrote:Can anyone advice on a quick way to add a large number of individual pages?
In addition to the previous reply, you can also do it programmatically inside a loop from an UDT:
- check this example...;
- or this...;
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Post Reply

Return to “The Lounge”