> -----Original Message----- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Richard Gate > Sent: dinsdag 27 maart 2007 14:49 > To: [email protected] > Subject: [SPAM] - Re: [SPAM] - Manually creating containers through code > (programmatically) - Found word(s) list error in the Text body > > Is it possible however to create site pages and containers within them > all programatically - without ever visiting the site? In your example > below I presume this site and containers have been declared previously > and your simply adding to them.
Your assumption is correct: my example comes from code that works with a pre-declared page and containers. > I will need to ultimately create an instance of the page as though it > had been executed - allowing the code to run to setup all the > containers, and then populate some specific ones. He main thing is that > I need to plug into Jahia's code far enough up the chain that the pages > are setup in precisely the same manor as they would be if I selected > them manually. > > Any ideas? My first guess would be to look into using page fields for this, but I have no idea if that would work and if so, how it should be implemented. > PS I apologise if this post is a little short sighted. I have yet to > look at the API documentation for creating pages. The API documentation for page creation is virtually non-existent (1 page in the template developer's guide), or so I have found. My knowledge on the matter I've scraped together from forum posts. Max.
