[opencms-dev] Opencms 6.2.2 header editable

Nick Panienski panienski at codecentric.de
Wed Mar 26 11:38:37 CET 2008


Hi Tib,
 
first, I suggest, that you use the OpenCms Taglib rather than Scriptlet code. Import
<%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %>
and use <cms:editable/> in the head of your jsp.
 
Next, use the cms:include tag with the editable flag set to true for elements you include in your template:
<cms:include element="content" editable="true" />
 
These elements will be directly editable from the preview perspective.
 
HTH
Nick

--
Mit freundlichen Grüßen
Nick Panienski
IT Consultant

codecentric GmbH
Grünewalder Str. 29-31
42657 Solingen

Telefon  +49 (212)  24 94 330
Fax      +49 (212)  24 94 334
Mobil    +49 (151) 167 06 496
eMail    panienski at codecentric.de
Internet http://www.codecentric.de <http://www.codecentric.de/> 

Geschäftsführer: Peter Gierse, Mirko Novakovic und Rainer Vehns Sitz der Gesellschaft: Solingen
Registergericht: Amtsgericht Wuppertal, HRB 19214 

 


________________________________

	Von: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Nagy, Tibor KPI (GE Indust, ConsInd, consultant)
	Gesendet: Dienstag, 25. März 2008 15:51
	An: The OpenCms mailing list
	Betreff: [opencms-dev] Opencms 6.2.2 header editable
	
	
	Hi!
	 

	I am a newbie in Opencms, can anybody help me with this problem:
	 
	I set the <% cms.editable(true); %> in my template which generates my page's header, but this option sets only the body editable.
	 
	Is there an option or something that sets the header editable?
	 
	 
	 
	Thx.
	 
	Bye,
	 
	Tib

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20080326/b631b073/attachment.htm>


More information about the opencms-dev mailing list