Discussion:
Code issue - Jahia 5 - Multiple stylesheet
Steeve LE PROVOST
2008-12-17 12:29:58 UTC
Permalink
Hello everybody,


I need your help concerning Jahia 5.

In fact, I'm looking to give the possibility for an administrator to change the stylesheet of a template (the CSS) for the website.

In order to create this, we can have for example 5 different stylesheets, with other colors or other text size...When the administrator want to change the look'n'feel of the website, he has only to click on it and the website will be display for the guest like the administrator wants.

I implemented the "Css Choice" with a multivalue list into the popup of the header logo (Where you can also make a choice for the footer). All this code with the container is into the file "site_settings.inc".

However, the value doesn't change when I modify it, I'm sure it's a coding issue concerning my container declaration or definition (Cf. below)

<content:declareField name="cssChoice" title="CSS Choice" type="SharedSmallText"
titleKey="cssChoice"
value="jahia_multivalue[template3_css.jsp:templates2_css.jsp:template_css.jsp]>template_css.jsp
bundleKey="<%=resBundleID%>"
/>
</content:declareContainer>
</content:declareContainerList>

<bean:define id="cssChoice" value="template_css.jsp"/>

<%
cssChoice = (String) pageContext.findAttribute("cssChoice");
%>

Thanks a lot for your precious help.

Steeve Le Provost
**********************************************************************
DISCLAIMER
This email and any files transmitted with it, including replies and
forwarded copies (which may contain alterations) subsequently
transmitted from Firmenich, are confidential and solely for the use
of the intended recipient.
The contents do not represent the opinion of Firmenich except
to the extent that it relates to their official business.
**********************************************************************
ali DAN-BOUZOUA
2009-02-05 04:56:24 UTC
Permalink
I am trying to setup eclipse for testing template ceration following the instruction below.
http://www.jahia.org/cms/lang/en/home/jahiapedia/Template_Developer_Guide/Using_Eclipse_For_Jahia

I am having this error when trying to setup new Maven Project.
Error reading archetype catalog http://maven.jahia.org/maven2

The http://maven.jahia.org/maven2 is sending 404 error, is there a new location ?

Regards
christophe Dumonet
2009-02-05 09:03:52 UTC
Permalink
Bonjour,
Désolé pour cette question peut-être bête :
Suite au nouveau site jahiaV6,toutes les URLs pour jahiaV5 ( javadoc,
download, SVN...) ne fonctionnent plus.
Où puis je trouver tout ça ? l'ancien site est-il dispo en archive ?
Merci à vous.
Cordialement,
CD.
--
----------------------------------------------------
Christophe Dumonet
Centre de Ressources Informatiques
Institut Francais de Mecanique Avancee (IFMA)
Campus des Cezeaux
BP 265
63175 AUBIERE Cedex
Tel : +33 - 4.73.28.80.64
Fax : +33 - 4.73.28.81.00
Mail : ***@ifma.fr
----------------------------------------------------
Serge Huber
2009-02-05 09:54:03 UTC
Permalink
Bonjour,

Merci pour votre retour, nous avons eu qq difficultés techniques suite
à l'installation des nouveaux sites. J'ai transmis votre requête en
interne aux administrateurs des sites, et j'espère que les contenus
seront bientôt disponibles

Meilleures salutations,
Serge Huber.

On Thu, Feb 5, 2009 at 10:03 AM, christophe Dumonet
Post by christophe Dumonet
Bonjour,
Suite au nouveau site jahiaV6,toutes les URLs pour jahiaV5 ( javadoc,
download, SVN...) ne fonctionnent plus.
Où puis je trouver tout ça ? l'ancien site est-il dispo en archive ?
Merci à vous.
Cordialement,
CD.
--
----------------------------------------------------
Christophe Dumonet
Centre de Ressources Informatiques
Institut Francais de Mecanique Avancee (IFMA)
Campus des Cezeaux
BP 265
63175 AUBIERE Cedex
Tel : +33 - 4.73.28.80.64
Fax : +33 - 4.73.28.81.00
----------------------------------------------------
_______________________________________________
template_list mailing list
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
Serge Huber
2009-02-05 09:52:54 UTC
Permalink
We are experiencing a few technical difficulties due to the new
website going in production. They should be solve in the day.

Regards,
Serge Huber.
Post by ali DAN-BOUZOUA
I am trying to setup eclipse for testing template ceration following the instruction below.
http://www.jahia.org/cms/lang/en/home/jahiapedia/Template_Developer_Guide/Using_Eclipse_For_Jahia
I am having this error when trying to setup new Maven Project.
Error reading archetype catalog http://maven.jahia.org/maven2
The http://maven.jahia.org/maven2 is sending 404 error, is there a new location ?
Regards
_______________________________________________
template_list mailing list
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
Benjamin Papez
2009-02-05 15:21:02 UTC
Permalink
_______________________________________________
template_list mailing list
***@jahia.org
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list

Loading...