This does not seem to apply to 3.1.  Any difference?



-----Original Message-----
From: Philippe Vollenweider [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 27, 2005 5:06 AM
To: [email protected]
Subject: Re: Integrate new box type into Jahia

Hello,

First, the declaration of the box is made into the file
include\box_declarations.inc So if you add a new sub container list (= a new
type).
Then you have to modify following files:

in box.jsp:
     <bean:define id="yourNewType" 
value='<%=ResourceBundleMarker.drawMarker(resBundleID,"yourNewType","")%>'/>
     ...
     <c:when test="${boxTypeValue == yourNewType">
          <%@ include file="box_yourNewType.inc"%>
     </c:when>

in include\declarations.inc you hace to add your type into boxTypes[]

in the Corporate_portal_templates.properties (in
WEB-INF/classes/jahiatemplates) you will have to add a resource for your
type
     yourNewType = Your new type


Then you will have to create the file include/box_yourNewType.inc to 
display your content.

Cheers,

Philippe

At 26.01.2005 23:10, you wrote:
>Hi,
>
>Does someone know (or have some documentation about) how to integrate a 
>new box type into Jahia ?
>
>Thanks
>
>--
>Allen E. Whittom, analyste en informatique
>Biblioth�que de l'Universit� Laval, Qu�bec�, Canada G1K 7P4
>www.bibl.ulaval.ca

-------=[ pvollenweider at jahia dot com ]=---------
Jahia : A collaborative source CMS and Portal Server
www.jahia.org Community and product web site
www.jahia.com Commercial services company

Reply via email to