Re: Integrate new box type into Jahia
Philippe Vollenweider <[email protected]>
| Newsgroups | gmane.comp.cms.jahia.template |
|---|---|
| Message-ID | <[email protected]> |
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