Am 10.07.2006 um 10:29 schrieb Andreas Hartmann:

Jürgen Ragaller wrote:
Hi all!
I'm trying to switch from lenya12x to lenya 14x.
How can I make a copy of the default publication under a different publication_id (folder name) and a different Publication Name? Up to now it was basically trial and error finding occurences of «default» in the various files and replacing them with my publication id (and partially also java package names). The result of my attempts is only partially working. Where do I have to change what to get a new and fully working Publication? The «New Publication» mechanism does not seem to help me here because it delivers a publication based on the default pub.

That depends if you want to use publication templating [1] or if you want
to create a publication from scratch.

Some hints:

- If you use publication templating and base your pub on the default pub,
  use the "New Publication" function, copy the results to a source
  directory of your choice, and start adding and overriding stuff.

Thank You for the quick answer.

I'm opting for the first version. If I'm trying this with todays 14x svn I get an error after the login in the new publication:
The requested document '' with document-id '' does not exist.

If I now click on «create this document» the error message says:
The parameter [document] must not be null!

Maybe this has problem has already been posted...
Do I have to convert the default pub to uuid first?

Help is appreciated!


- If you want to start from scratch, put your custom resource types
  and other functionality in modules, and put only presentation logic
  and styles in your publication.

[1] http://lenya.apache.org/1_4/reference/publication-templating/ index.html

HTH,

-- Andreas


--
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                     [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Jürgen Ragaller, null-oder-eins ltd.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to