(unknown)
"Juan A. Nervion" <[email protected]>
| Newsgroups | gmane.comp.cms.jahia.template |
|---|---|
| Message-ID | <000f01c43dc7$f9a56990$82fa25d5@micasa> |
<x-html> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.2800.1400" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>unsubscribe_<A href="mailto:[email protected]">[email protected]</A> <</FONT></DIV> <DIV>----- Original Message ----- </DIV> <BLOCKQUOTE dir=ltr style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> <A [email protected] href="mailto:[email protected]">Serge Huber</A> </DIV> <DIV style="FONT: 10pt arial"><B>To:</B> <A [email protected] href="mailto:[email protected]">[email protected]</A> </DIV> <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, May 19, 2004 5:25 PM</DIV> <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: (Categories browsing) Setting starting category </DIV> <DIV><BR></DIV><BR>No but you could use a field attached to a page once it is created to select the starting category. You could then either type in the starting category, or select it from a list if you have constructed a dynamic default value for the field using the category list.<BR><BR>Regards,<BR> Serge Huber.<BR><BR>At 15:43 19.05.2004, you wrote:<BR> <BLOCKQUOTE class=cite cite="" type="cite"><FONT face=arial size=2>Hi.<BR>I was studying the category browsing template of jahia 404.<BR>The list of the category is retrieved and put in session using the following tag:<BR></FONT> <BR><FONT face=arial size=2><content:category key="root" id="rootCategory" subTreeID="categoryTree" /><BR></FONT> <BR><FONT face=arial size=2>Key is the id of the category, hardcoded in the page.<BR>So, if I want to use this template having a category tree that starts from a non-root category, let's say category 'italianProducts', I have to create a new template writing:<BR></FONT> <BR><FONT face=arial size=2><content:category key="italianProducts" id="italianProductCategory" subTreeID="categoryTree" /><BR></FONT> <BR><FONT face=arial size=2>Is ti possible to set the starting point of the category list when a user creates a new page, in the phase when he chooses the template ?<BR>Thankyou, bye.</BLOCKQUOTE><X-SIGSEP> <P></X-SIGSEP>- -- --- -----=[ serge.huber at jahia dot com ]=---- --- -- -<BR>Jahia : A collaborative source CMS and Portal Server<BR><A href="http://www.jahia.org/" eudora="autourl">www.jahia.org</A> Community and product web site<BR><A href="http://www.jahia.com/" eudora="autourl">www.jahia.com</A> Commercial services company</FONT> </P></BLOCKQUOTE></BODY></HTML> </x-html>