You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Rolf Kulemann <ma...@rolf-kulemann.com> on 2003/10/24 21:09:31 UTC

Customizing default publication

Hello List,

my plan is to copy the default publication and use that copy as basis
for a new publication. 

First I want to remove the current navigation items. To achieve this I
thought I have to edit pubs/default/content/authoring/sitetree.xml. I
removed one entry only. I reloaded the page and the navigation item
disappeared as expected. But then I noticed, that it isn't possible to
publish pages anymore.

To reproduce this behavior I do:

1.) remove an item from pubs/default/content/authoring/sitetree.xml
i.e. remove

<node id="tutorial">
    <label xml:lang="en">Features</label>
    <label xml:lang="de">Features</label>
</node>

1.1) Remove pubs/default/content/authoring/features

2.) Go to http://127.0.0.1:8080/lenya/default/authoring/tutorial.html

3.) Choose File->submit

4.) Go to admin page and add user lenya to group reviewer

5.) Go back to
http://127.0.0.1:8080/lenya/default/authoring/tutorial.html

6.) Choose File->publish and publish the doc

7.) Go to url http://127.0.0.1:8080/lenya/default/live/tutorial.html


Then, on my machines (yes I have installed Lenya on another machine,
too), I get a page saying that the requested page isn't published yet.


Anybody else having that problem?

Can anybody tell me a(nother) (good) way to start with a new
publication?


-- 
Rolf Kulemann

Never drink coke in a moving elevator.  The elevator's motion coupled
with the chemicals in coke produce hallucinations.  People tend to
change into lizards and attack without warning, and large bats usually
fly in the window.  Additionally, you begin to believe that elevators
have windows.


PGP/GPG public key:
	 http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6B4EA7EA


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: AW: [RT ] Cloning/Overwriting publications

Posted by Rolf Kulemann <ma...@rolf-kulemann.com>.
On Sun, 2003-10-26 at 21:15, Christian Kreutz wrote:
> 
> Sorry maybe I got you wrong but how can you publish something when you
> remove it first from the sitetree?

Of course you publish another site than the removed one :)

I will give it another try now. So stay tuned....


-- 
Rolf Kulemann

The plot was designed in a light vein that somehow became varicose.
		-- David Lardner


PGP/GPG public key:
	 http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6B4EA7EA


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


AW: [RT ] Cloning/Overwriting publications

Posted by Christian Kreutz <sc...@gmx.de>.

> -----Ursprüngliche Nachricht-----
> Von: Rolf Kulemann [mailto:mail@rolf-kulemann.com]
> Gesendet: Sonntag, 26. Oktober 2003 21:57
> An: Lenya Users List
> Betreff: Re: [RT ] Cloning/Overwriting publications
> 
> On Sun, 2003-10-26 at 20:51, Michael Wechner wrote:
> > Rolf Kulemann wrote:
> >
> > > On Sun, 2003-10-26 at 20:34, Andreas Hartmann wrote:
> > >
> > >>Rolf Kulemann wrote:
> > >>
> > >>>Sounds for me, that I can not copy an existing pub to use as
basis
> for a
> > >>>new one?
> > >>
> > >>I guess it will take several weeks until publication cloning /
> > >>templating is ready to use, even if we really start working on
> > >>it now. Until then, you have to copy the publication by hand.
> > >
> > >
> > > Mhh. I HAVE copied it by hand. I copied pubs/default to
pubs/mindpipe.
> > > After that I removed one entry from sitemap.xml from mindpipe pub.
If
> > > you then try to edit a already published doc and save it and
publish
> > > that doc the changes are not copied to live area. I will now try
to
> > > disable error handling, but I think I won't see anything, because
I
> get
> > > no error. The problem is: I click publish and get no error. If I
then
> > > try to watch the file in live area, I can't see changes in case of
a
> > > already published doc and the error file not published in case of
a
> > > first time publish.
> >
> > maybe you should do a "grep -rl default
> src/webapp/lenya/pubs/mindpipe/*"
> 
> I have already tried that, but I do it again.
> Beside this, the above problem after removing stuff from sitetree.xml
> also happens if I directly use the default pub. This means, remove a
nav
> item from pubs/default/content/authoring/sitetree.xml and try to
publish
> a doc. Nothing happens here.
> 

Sorry maybe I got you wrong but how can you publish something when you
remove it first from the sitetree?

I do constantly work with the default pub to develop new publications
and it works fine. Here is a quick an dirty way.

1) Create your own directories and files in the live area and put the
images into the resources. Change and add styles to the stylsheet
/resource/css/pages.css For example change the stylsheet for the menue
or tabs.

2) Go the xslt/page2xhtml.xsl and create your own layout. Place the
body, menue tabs where and how you want them.

3) Copy the live are to the live area file to the authoring area and
start using cms. It works just fine with some exceptions for the
workflow...

Hope it helps 

Greetings 
Christian


> 
> --
> Rolf Kulemann
> 
> 	A master was explaining the nature of Tao to one of his
> novices.  "The Tao is embodied in all software -- regardless of how
> insignificant," said the master.
> 
> 	"Is Tao in a hand-held calculator?" asked the novice.
> 
> 	"It is," came the reply.
> 
> 	"Is the Tao in a video game?" continued the novice.
> 
> 	"It is even in a video game," said the master.
> 
> 	"And is the Tao in the DOS for a personal computer?"
> 
> 	The master coughed and shifted his position slightly.  "The
> lesson is over for today," he said.
> 		-- "The Tao of Programming"
> 
> 
> PGP/GPG public key:
> 	 http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6B4EA7EA
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-user-help@cocoon.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: [RT ] Cloning/Overwriting publications

Posted by Rolf Kulemann <ma...@rolf-kulemann.com>.
On Sun, 2003-10-26 at 20:51, Michael Wechner wrote:
> Rolf Kulemann wrote:
> 
> > On Sun, 2003-10-26 at 20:34, Andreas Hartmann wrote:
> > 
> >>Rolf Kulemann wrote:
> >>
> >>>Sounds for me, that I can not copy an existing pub to use as basis for a
> >>>new one?
> >>
> >>I guess it will take several weeks until publication cloning /
> >>templating is ready to use, even if we really start working on
> >>it now. Until then, you have to copy the publication by hand.
> > 
> > 
> > Mhh. I HAVE copied it by hand. I copied pubs/default to pubs/mindpipe.
> > After that I removed one entry from sitemap.xml from mindpipe pub. If
> > you then try to edit a already published doc and save it and publish
> > that doc the changes are not copied to live area. I will now try to
> > disable error handling, but I think I won't see anything, because I get
> > no error. The problem is: I click publish and get no error. If I then
> > try to watch the file in live area, I can't see changes in case of a
> > already published doc and the error file not published in case of a
> > first time publish.
> 
> maybe you should do a "grep -rl default src/webapp/lenya/pubs/mindpipe/*"

I have already tried that, but I do it again.
Beside this, the above problem after removing stuff from sitetree.xml
also happens if I directly use the default pub. This means, remove a nav
item from pubs/default/content/authoring/sitetree.xml and try to publish
a doc. Nothing happens here.


-- 
Rolf Kulemann

	A master was explaining the nature of Tao to one of his
novices.  "The Tao is embodied in all software -- regardless of how
insignificant," said the master.

	"Is Tao in a hand-held calculator?" asked the novice.

	"It is," came the reply.

	"Is the Tao in a video game?" continued the novice.

	"It is even in a video game," said the master.

	"And is the Tao in the DOS for a personal computer?"

	The master coughed and shifted his position slightly.  "The
lesson is over for today," he said.
		-- "The Tao of Programming"


PGP/GPG public key:
	 http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6B4EA7EA


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: [RT ] Cloning/Overwriting publications

Posted by Michael Wechner <mi...@wyona.com>.
Rolf Kulemann wrote:

> On Sun, 2003-10-26 at 20:34, Andreas Hartmann wrote:
> 
>>Rolf Kulemann wrote:
>>
>>>Sounds for me, that I can not copy an existing pub to use as basis for a
>>>new one?
>>
>>I guess it will take several weeks until publication cloning /
>>templating is ready to use, even if we really start working on
>>it now. Until then, you have to copy the publication by hand.
> 
> 
> Mhh. I HAVE copied it by hand. I copied pubs/default to pubs/mindpipe.
> After that I removed one entry from sitemap.xml from mindpipe pub. If
> you then try to edit a already published doc and save it and publish
> that doc the changes are not copied to live area. I will now try to
> disable error handling, but I think I won't see anything, because I get
> no error. The problem is: I click publish and get no error. If I then
> try to watch the file in live area, I can't see changes in case of a
> already published doc and the error file not published in case of a
> first time publish.

maybe you should do a "grep -rl default src/webapp/lenya/pubs/mindpipe/*"


HTH

Michi


> 
> 


-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com              http://cocoon.apache.org/lenya/
michael.wechner@wyona.com                        michi@apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: [RT ] Cloning/Overwriting publications

Posted by Rolf Kulemann <ma...@rolf-kulemann.com>.
On Sun, 2003-10-26 at 20:34, Andreas Hartmann wrote:
> Rolf Kulemann wrote:
> > Sounds for me, that I can not copy an existing pub to use as basis for a
> > new one?
> 
> I guess it will take several weeks until publication cloning /
> templating is ready to use, even if we really start working on
> it now. Until then, you have to copy the publication by hand.

Mhh. I HAVE copied it by hand. I copied pubs/default to pubs/mindpipe.
After that I removed one entry from sitemap.xml from mindpipe pub. If
you then try to edit a already published doc and save it and publish
that doc the changes are not copied to live area. I will now try to
disable error handling, but I think I won't see anything, because I get
no error. The problem is: I click publish and get no error. If I then
try to watch the file in live area, I can't see changes in case of a
already published doc and the error file not published in case of a
first time publish.


-- 
Rolf Kulemann

All science is either physics or stamp collecting.
		-- E. Rutherford


PGP/GPG public key:
	 http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6B4EA7EA


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: [RT ] Cloning/Overwriting publications

Posted by Andreas Hartmann <an...@apache.org>.
Rolf Kulemann wrote:

> On Sun, 2003-10-26 at 19:40, Michael Wechner wrote:
> 
>>Rolf Kulemann wrote:
>>
>>
>>>Hello List,
>>>
>>>my plan is to copy the default publication and use that copy as basis
>>>for a new publication. 
>>
>>
>>Since publications are being improved and enhanced, I think we should 
>>give it some thought how we can solve the problem of cloning/overwriting 
>>publications without entering a maintenance nightmare.

[...]

> Sounds for me, that I can not copy an existing pub to use as basis for a
> new one?

I guess it will take several weeks until publication cloning /
templating is ready to use, even if we really start working on
it now. Until then, you have to copy the publication by hand.

-- Andreas



---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: [RT ] Cloning/Overwriting publications

Posted by Andreas Hartmann <an...@apache.org>.
Rolf Kulemann wrote:

> On Mon, 2003-10-27 at 10:20, Andreas Hartmann wrote:
> 
>>Actually, I'm working on such a tutorial. But it takes a lot of time
>>and won't be finished during the next days.
>>
> 
> 
> Maybe you can show me what you already have. So I can validate the steps
> and try to contribute some parts of the tutorial. (If you want)

It's in the cocooncenter publication in the lenya-samples module
(www.wyona.org). There are just a few files, I don't know what
is already included in the sitetree.

-- Andreas



---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: [RT ] Cloning/Overwriting publications

Posted by Rolf Kulemann <ma...@rolf-kulemann.com>.
On Mon, 2003-10-27 at 10:20, Andreas Hartmann wrote:
> 
> Actually, I'm working on such a tutorial. But it takes a lot of time
> and won't be finished during the next days.
> 

Maybe you can show me what you already have. So I can validate the steps
and try to contribute some parts of the tutorial. (If you want)

Again a question:

How do you delete a document from sitetree? There is by default no
"delete" option in file menu or so.

I'm sure, that removing it directly from sitetree.xml breaks workflow in
lenya. I'm currently digging in the publish usecase to locate the
problem.


-- 
Rolf Kulemann

Hartley's First Law:
	You can lead a horse to water, but if you can get him to float
on his back, you've got something.


PGP/GPG public key:
	 http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6B4EA7EA


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: [RT ] Cloning/Overwriting publications

Posted by Andreas Hartmann <an...@apache.org>.
Michael Wechner wrote:
> Rolf Kulemann wrote:

[...]

> If nobody disagrees then I would like to add a "hello-world" pub, which
> has the minimal ingredients. Hey, another pub ;-)

-1 (at least not before 1.2)

>  I
> 
>> need your help to setup a pub from scratch. I haven't found any docs
>> about it. 
> 
> 
> I'm afraid not. But I am sure everyone would welcome a tutorial on this 
> very much ...

Actually, I'm working on such a tutorial. But it takes a lot of time
and won't be finished during the next days.

-- Andreas



---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: [RT ] Cloning/Overwriting publications

Posted by Michael Wechner <mi...@wyona.com>.
Rolf Kulemann wrote:

> On Sun, 2003-10-26 at 19:40, Michael Wechner wrote:
> 
>>Rolf Kulemann wrote:
>>
>>
>>>Hello List,
>>>
>>>my plan is to copy the default publication and use that copy as basis
>>>for a new publication. 
>>
>>
>>Since publications are being improved and enhanced, I think we should 
>>give it some thought how we can solve the problem of cloning/overwriting 
>>publications without entering a maintenance nightmare.
>>
>>A very first simple step would be to provide a clone.xml where all the
>>files are being listed (to be copied and patched with XSLT) which are 
>>necessary for a certain publication.
>>
>>Another idea might be that each publication has a "template publication" 
>>which contains all the necessary files. This way you wouldn't have to 
>>copy them actually.
> 
> 
> Sounds for me, that I can not copy an existing pub to use as basis for a
> new one?

sure you can but it's a matter of maintenance. A clone.xml would 
certainly help.

  Ok, but what is the best way to start with a new pub then?


If nobody disagrees then I would like to add a "hello-world" pub, which
has the minimal ingredients. Hey, another pub ;-)

  I
> need your help to setup a pub from scratch. I haven't found any docs
> about it. 

I'm afraid not. But I am sure everyone would welcome a tutorial on this 
very much ...

> 
> I think my problem is: Lenya is a cms framework and not a ready to use
> cms, as I thought. So I can use the default pub to see how everything
> could work and then I have to set up everything by hand?

no, the idea is that you use an existing pub and just need to customize 
the layout (e.g. the "blog" publication: http://127.0.0.1:8080/lenya/blog/)

> 
> I'm sure there is a way to use the default pub as a basis for a new one.
> I have little time at the mom, but I will continue trying to customize
> the default pub.

it sounds to me the most reasonable for the time being

Michi


> 
> 


-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com              http://cocoon.apache.org/lenya/
michael.wechner@wyona.com                        michi@apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: [RT ] Cloning/Overwriting publications (was: Re: Customizing default publication)

Posted by Rolf Kulemann <ma...@rolf-kulemann.com>.
On Sun, 2003-10-26 at 19:40, Michael Wechner wrote:
> Rolf Kulemann wrote:
> 
> > Hello List,
> > 
> > my plan is to copy the default publication and use that copy as basis
> > for a new publication. 
> 
> 
> Since publications are being improved and enhanced, I think we should 
> give it some thought how we can solve the problem of cloning/overwriting 
> publications without entering a maintenance nightmare.
> 
> A very first simple step would be to provide a clone.xml where all the
> files are being listed (to be copied and patched with XSLT) which are 
> necessary for a certain publication.
> 
> Another idea might be that each publication has a "template publication" 
> which contains all the necessary files. This way you wouldn't have to 
> copy them actually.

Sounds for me, that I can not copy an existing pub to use as basis for a
new one? Ok, but what is the best way to start with a new pub then? I
need your help to setup a pub from scratch. I haven't found any docs
about it. 

I think my problem is: Lenya is a cms framework and not a ready to use
cms, as I thought. So I can use the default pub to see how everything
could work and then I have to set up everything by hand?

I'm sure there is a way to use the default pub as a basis for a new one.
I have little time at the mom, but I will continue trying to customize
the default pub.


-- 
Rolf Kulemann

"Why be a man when you can be a success?"
		-- Bertold Brecht


PGP/GPG public key:
	 http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6B4EA7EA


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


[RT ] Cloning/Overwriting publications (was: Re: Customizing default publication)

Posted by Michael Wechner <mi...@wyona.com>.
Rolf Kulemann wrote:

> Hello List,
> 
> my plan is to copy the default publication and use that copy as basis
> for a new publication. 


Since publications are being improved and enhanced, I think we should 
give it some thought how we can solve the problem of cloning/overwriting 
publications without entering a maintenance nightmare.

A very first simple step would be to provide a clone.xml where all the
files are being listed (to be copied and patched with XSLT) which are 
necessary for a certain publication.

Another idea might be that each publication has a "template publication" 
which contains all the necessary files. This way you wouldn't have to 
copy them actually.

Well, anyway, ideas are very welcome.

Thanks

Michi



> 
> First I want to remove the current navigation items. To achieve this I
> thought I have to edit pubs/default/content/authoring/sitetree.xml. I
> removed one entry only. I reloaded the page and the navigation item
> disappeared as expected. But then I noticed, that it isn't possible to
> publish pages anymore.
> 
> To reproduce this behavior I do:
> 
> 1.) remove an item from pubs/default/content/authoring/sitetree.xml
> i.e. remove
> 
> <node id="tutorial">
>     <label xml:lang="en">Features</label>
>     <label xml:lang="de">Features</label>
> </node>
> 
> 1.1) Remove pubs/default/content/authoring/features
> 
> 2.) Go to http://127.0.0.1:8080/lenya/default/authoring/tutorial.html
> 
> 3.) Choose File->submit
> 
> 4.) Go to admin page and add user lenya to group reviewer
> 
> 5.) Go back to
> http://127.0.0.1:8080/lenya/default/authoring/tutorial.html
> 
> 6.) Choose File->publish and publish the doc
> 
> 7.) Go to url http://127.0.0.1:8080/lenya/default/live/tutorial.html
> 
> 
> Then, on my machines (yes I have installed Lenya on another machine,
> too), I get a page saying that the requested page isn't published yet.
> 
> 
> Anybody else having that problem?
> 
> Can anybody tell me a(nother) (good) way to start with a new
> publication?
> 
> 


-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com              http://cocoon.apache.org/lenya/
michael.wechner@wyona.com                        michi@apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Customizing default publication

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Thomas Wasserberg wrote:

> org.apache.excalibur.source.SourceNotFoundException: 
> file:/d:/server/http/localhost/lenya/lenya/content/live/sitetree.xml 
> doesn't exist.

> As soon as I created the missing directory and sitetree (just a simple
> skeleton without any nodes inside), the page showed up.

thanks. i commited that fix to cvs to make life easier for first-time users.

-gregor

-- 
Gregor J. Rothfuss
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://wyona.com                   http://cocoon.apache.org/lenya
gregor.rothfuss@wyona.com                       gregor@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Customizing default publication

Posted by Thomas Wasserberg <th...@web.de>.
Hi list!

Andreas Hartmann wrote:
>>> I didn't yet try to reproduce the problem, but in the default
>>> publication, the "page isn't published yet" error message is
>>> shown regardless of the occuring exception (we have to improve the
>>> error handling there). 
> 
> Did you try to remove the <map:handle-errors> to see the
> real exception?
I removed the error handling and got a message like this:

<error:message>Failed to execute pipeline.</error:message>
<error:description>
org.apache.cocoon.ProcessingException: Failed to execute pipeline.: 
org.apache.cocoon.ResourceNotFoundException: Resource not found.: 
org.apache.excalibur.source.SourceNotFoundException: 
file:/d:/server/http/localhost/lenya/lenya/content/live/sitetree.xml 
doesn't exist.
</error:description>
<error:extra error:description="cause">
java.io.FileNotFoundException: 
d:\server\http\localhost\lenya\lenya\content\live\sitetree.xml (Das 
System kann die angegebene Datei nicht finden)
</error:extra>

As soon as I created the missing directory and sitetree (just a simple
skeleton without any nodes inside), the page showed up.

Thomas



---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Customizing default publication

Posted by Andreas Hartmann <an...@apache.org>.
Rolf Kulemann wrote:
> On Sun, 2003-10-26 at 13:16, Andreas Hartmann wrote:
> 
>>Rolf Kulemann wrote:
>>
>>[...]
>>
>>
>>>Then, on my machines (yes I have installed Lenya on another machine,
>>>too), I get a page saying that the requested page isn't published yet.
>>
>>I didn't yet try to reproduce the problem, but in the default
>>publication, the "page isn't published yet" error message is
>>shown regardless of the occuring exception (we have to improve the
>>error handling there). 
> 
> 
> It also happens after clicking publish in file menu. That means, after
> removing  entries from sitetree.xml, the workflow gets confused. You can
> not publish anymore....

I don't think that it has to do with the workflow.
Did you try to remove the <map:handle-errors> to see the
real exception?

-- Andreas



---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Customizing default publication

Posted by Rolf Kulemann <ma...@rolf-kulemann.com>.
On Sun, 2003-10-26 at 13:16, Andreas Hartmann wrote:
> Rolf Kulemann wrote:
> 
> [...]
> 
> > Then, on my machines (yes I have installed Lenya on another machine,
> > too), I get a page saying that the requested page isn't published yet.
> 
> I didn't yet try to reproduce the problem, but in the default
> publication, the "page isn't published yet" error message is
> shown regardless of the occuring exception (we have to improve the
> error handling there). 

It also happens after clicking publish in file menu. That means, after
removing  entries from sitetree.xml, the workflow gets confused. You can
not publish anymore....

> You could try to remove the error handling
> in the default publication sitemap to get more information about
> the actual problem.


-- 
Rolf Kulemann

"Of ______course it's the murder weapon.  Who would frame someone with a
fake?"


PGP/GPG public key:
	 http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6B4EA7EA


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Customizing default publication

Posted by Andreas Hartmann <an...@apache.org>.
Rolf Kulemann wrote:

[...]

> Then, on my machines (yes I have installed Lenya on another machine,
> too), I get a page saying that the requested page isn't published yet.

I didn't yet try to reproduce the problem, but in the default
publication, the "page isn't published yet" error message is
shown regardless of the occuring exception (we have to improve the
error handling there). You could try to remove the error handling
in the default publication sitemap to get more information about
the actual problem.

-- Andreas



---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: AW: Customizing default publication

Posted by Rolf Kulemann <ma...@rolf-kulemann.com>.
On Fri, 2003-10-24 at 22:14, Christian Kreutz wrote:
> Why don't you work first without the cms and build your own file
> structure and ignore the workflow. Copy the default directory and rename
> it in pubs.
> Build your own sitetree manually in the live area and choose either
> simple or xhtml file and build your live directories according to it.
> So you can build slowly a new website. Later on you can copy it to the
> The structure to the authoring directory and work with the workflow and
> the publish function.  That's how it worked good for me.

Thanks for the hint, but didn't really solve my problem. I did as you
said, but after copying the "tree" from live to authoring I can not
publish anymore. Lenya is not copying the files from authoring to live
section. If I caeete a new page in authoring section and publish it I
have the same problem, but the sitetree.xml gets updated in live dir,
but no sub dir for the newly published page is created.

I still can not publish after modifiying authoring/sitetree.xml.

More ideas on that simple task (publishing a page in a modified default
publication)?


-- 
Rolf Kulemann

"Calvin Coolidge was the greatest man who ever came out of Plymouth
Corner, Vermont."
		-- Clarence Darrow


PGP/GPG public key:
	 http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6B4EA7EA


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


AW: Customizing default publication

Posted by Christian Kreutz <sc...@gmx.de>.
Why don't you work first without the cms and build your own file
structure and ignore the workflow. Copy the default directory and rename
it in pubs.
Build your own sitetree manually in the live area and choose either
simple or xhtml file and build your live directories according to it.
So you can build slowly a new website. Later on you can copy it to the
The structure to the authoring directory and work with the workflow and
the publish function.  That's how it worked good for me.

Greetings Christian



> -----Ursprüngliche Nachricht-----
> Von: Rolf Kulemann [mailto:mail@rolf-kulemann.com]
> Gesendet: Freitag, 24. Oktober 2003 21:10
> An: Lenya Users List
> Betreff: Customizing default publication
> 
> Hello List,
> 
> my plan is to copy the default publication and use that copy as basis
> for a new publication.
> 
> First I want to remove the current navigation items. To achieve this I
> thought I have to edit pubs/default/content/authoring/sitetree.xml. I
> removed one entry only. I reloaded the page and the navigation item
> disappeared as expected. But then I noticed, that it isn't possible to
> publish pages anymore.
> 
> To reproduce this behavior I do:
> 
> 1.) remove an item from pubs/default/content/authoring/sitetree.xml
> i.e. remove
> 
> <node id="tutorial">
>     <label xml:lang="en">Features</label>
>     <label xml:lang="de">Features</label>
> </node>
> 
> 1.1) Remove pubs/default/content/authoring/features
> 
> 2.) Go to http://127.0.0.1:8080/lenya/default/authoring/tutorial.html
> 
> 3.) Choose File->submit
> 
> 4.) Go to admin page and add user lenya to group reviewer
> 
> 5.) Go back to
> http://127.0.0.1:8080/lenya/default/authoring/tutorial.html
> 
> 6.) Choose File->publish and publish the doc
> 
> 7.) Go to url http://127.0.0.1:8080/lenya/default/live/tutorial.html
> 
> 
> Then, on my machines (yes I have installed Lenya on another machine,
> too), I get a page saying that the requested page isn't published yet.
> 
> 
> Anybody else having that problem?
> 
> Can anybody tell me a(nother) (good) way to start with a new
> publication?
> 
> 
> --
> Rolf Kulemann
> 
> Never drink coke in a moving elevator.  The elevator's motion coupled
> with the chemicals in coke produce hallucinations.  People tend to
> change into lizards and attack without warning, and large bats usually
> fly in the window.  Additionally, you begin to believe that elevators
> have windows.
> 
> 
> PGP/GPG public key:
> 	 http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6B4EA7EA
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-user-help@cocoon.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org