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 2004/01/10 11:40:32 UTC

Re: sitetree problem

On Sat, 2004-01-10 at 12:31, Christian Kreutz wrote:
> [...]
> I created a new directory in content/live and then
> included the file. But suddenly in lenya it is not found?
> I know it worked before and the pages could be edited.

Which url do you use to include that file?
What is the location of the file which includes the non-sitetree page?

-- 

Regards,

Rolf Kulemann

Always remember: 
	"There is inherently no silver bullet." - F.Brooks

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: sitetree problem

Posted by Christian Egli <ch...@wyona.net>.
"Christian Kreutz" <sc...@gmx.de> writes:

> I created a directory /content/live/sitemap/ and created an new
> xhtml file.  I try to access it with
> http://localhost:8080/lenya/default/live/sitemap.html
> 
> The result is a 404 error with not finding the document-id I tried
> with many other pages on different levels but it only works when it
> is in the sitetree file.

Yes, AFAIK the org.apache.lenya.cms.cocoon.acting.LanguageExistsAction
throws a DocumentDoesNotExistException if the document is not in the
sitetree.

> I think in generally it is not helpful when the whole file structure
> is shown in the menue. I think about a manipulating it so in the
> live area for instance only the first two levels are shown in the
> menue. But I guess this goes a bit to much in detail. :-)

As Andreas said I think we had an attribute in mind. The sitetree was
heavily inspired by the forrest site.xml

Might be worth checking the archives for some more information.

-- 
Christian Egli       christian.egli@wyona.com   +41 1 272 9161
                     Wyona AG, Hardstrasse 219, CH-8005 Zurich
Open Source CMS      http://www.wyona.org http://www.wyona.com 


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


AW: sitetree problem

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

> -----Ursprüngliche Nachricht-----
> Von: Rolf Kulemann [mailto:mail@rolf-kulemann.com] 
> Gesendet: Samstag, 10. Januar 2004 11:41
> An: Lenya Users List
> Betreff: Re: sitetree problem
> 
> 
> On Sat, 2004-01-10 at 12:31, Christian Kreutz wrote:
> > [...]
> > I created a new directory in content/live and then
> > included the file. But suddenly in lenya it is not found?
> > I know it worked before and the pages could be edited.
> 
> Which url do you use to include that file?
> What is the location of the file which includes the non-sitetree page?

I created a directory /content/live/sitemap/ and created an new xhtml
file.
 I try to access it with
http://localhost:8080/lenya/default/live/sitemap.html

The result is a 404 error with not finding the document-id 
I tried with many other pages on different levels but it only works when
it is in the
sitetree file.

I think in generally it is not helpful when the whole file structure is
shown in the 
menue. I think about a manipulating it so in the live area for instance
only the first
two levels are shown in the menue. But I guess this goes a bit to much
in detail. :-)

Regards 
Christian

> 
> -- 
> 
> Regards,
> 
> Rolf Kulemann
> 
> Always remember: 
> 	"There is inherently no silver bullet." - F.Brooks
> 
> 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