Hi Wilhelm,

[EMAIL PROTECTED] wrote:

"/jsp/jahia/templates/SITE_NAME/TEMPLATE_FOLDER_NAME/vcard_popup.jsp");
}

The problem arises, when we introduce more than one site on our portal.
Each site should have the v-Cards but maybe with diferent look&feel.
So my question:

Is there a way to determine the template folder path for the site of the
current request dynamically? because now it is hardcoded
Actually the way we do it is to get the template for the current page (JahiaPage.getPageTemplate().getSourcePath()), and then simply look for the last "/" in the path and replace it with your JSP name.

Regards,
 Serge Huber.

Reply via email to