[opencms-dev] Disable ADE for Template

Feuerstein Andreas andreas.feuerstein at solvistas.at
Mon Aug 22 10:02:15 CEST 2011


Hi all,
 
as there doesn't seem to be a possibility to disable visibility of the ade controls for all users or alternatively remove ade controls for containerpages - is there any "containerpage like" content type in opencms that is not based on ade? I really like the idea of containerpages but I don't like ade features as we want to edit page contents in the backend only.
 
Regards,
Andreas

________________________________

Von: opencms-dev-bounces at opencms.org im Auftrag von Tobias Herrmann
Gesendet: Do 11.08.2011 12:55
An: The OpenCms mailing list
Betreff: Re: [opencms-dev] Disable ADE for Template


Hi Andreas,

if you don't want your users to be able to edit any content, you could prevent them from viewing your pages in the offline-project. The login box in template 3 always switches to the offline project, that is mostly done for demonstration purposes. If you edit "/system/modules/com.alkacon.opencms.v8.login/formatters/all.jsp" and exchange "Offline" with "Online" in line 13, users that login will stay within the online project and won't see any direct edit controls. 
This way editors can still open the pages from the workplace and use the ADE features.

Greetings, Tobias

--

Alkacon Software GmbH - The OpenCms Experts

http://www.alkacon.com <http://www.alkacon.com/>   --  http://www.opencms.org <http://www.opencms.org/> 

Am 11.08.2011 12:33, schrieb Feuerstein Andreas: 

	Hi all,
	
	thanks for your answers.
	
	What I would like to get working: I would like to use containerpages and fill them with items via backend only. I want to disable ADE controls in the frontend.
	
	I tried to simply remove the <enable-ade /> tag in the main.jsp template file but this causes the javascript errors.
	
	Best Regards,
	Andreas
	
	-----Ursprüngliche Nachricht-----
	Von: opencms-dev-bounces at opencms.org im Auftrag von Tobias Herrmann
	Gesendet: Do 11.08.2011 10:35
	An: The OpenCms mailing list
	Betreff: Re: [opencms-dev] Disable ADE for Template
	
	Hi Andreas,
	
	I don't really get what you are trying to do.
	
	Do you want to use a container-page and edit it through old style direct edit? That won't be possible. Container-pages are ADE only.
	
	If you could explain in more detail what you are trying to achieve, there may be another solution.
	
	Greetings, Tobias
	
	--
	
	Alkacon Software GmbH - The OpenCms Experts
	
	http://www.alkacon.com <http://www.alkacon.com/>    --http://www.opencms.org <http://www.opencms.org/> 
	
	
	
	Am 11.08.2011 09:47, schrieb patric dosch:
	>
	> Hey Andreas,
	>
	> no problem,I unfortunately still waiting for answers L
	>
	> But howdo you want to use the container-pages without the ADE-Toolbar?
	>
	> Greets, Patric
	>
	> *Von:*opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] *Im Auftrag von *Feuerstein Andreas
	> *Gesendet:* Donnerstag, 11. August 2011 09:30
	> *An:* The OpenCms mailing list
	> *Betreff:* Re: [opencms-dev] Disable ADE for Template
	>
	> Hi Patric,
	>
	> thanks for your answer!
	>
	> The point is that I want to be able to use containerpages as I really like the basic concept behind these elements. And I thinkt that the javascript errors have to do something with containerpages...
	>
	> Best regards
	> Andreas
	>
	>
	> -----Ursprüngliche Nachricht-----
	> Von: opencms-dev-bounces at opencms.org <mailto:opencms-dev-bounces at opencms.org> im Auftrag von patric dosch
	> Gesendet: Do 11.08.2011 09:12
	> An: The OpenCms mailing list
	> Betreff: Re: [opencms-dev] Disable ADE for Template
	>
	> Hey Andreas,
	>
	>
	>
	> if I remove ADE-feature from my Template, I currently get no errors (and no way to edit the page).
	>
	> You want to create your pages without ADE, so it would probably be best not to use the template 3 as a foundation, right?
	>
	>
	>
	> Greetings, Patric
	>
	>
	>
	> Von: opencms-dev-bounces at opencms.org <mailto:opencms-dev-bounces at opencms.org> [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Feuerstein Andreas
	> Gesendet: Donnerstag, 11. August 2011 07:29
	> An: The OpenCms mailing list
	> Betreff: Re: [opencms-dev] Disable ADE for Template
	>
	>
	>
	> No idea?
	>
	>
	> -----Ursprüngliche Nachricht-----
	> Von: opencms-dev-bounces at opencms.org <mailto:opencms-dev-bounces at opencms.org> im Auftrag von Feuerstein Andreas
	> Gesendet: Mo 08.08.2011 15:22
	> An: opencms-dev at opencms.org <mailto:opencms-dev at opencms.org>
	> Betreff: [opencms-dev] Disable ADE for Template
	>
	> Hi,
	>
	> I've got a simple question with a difficult answer - how can I disable ADE for my template or all users?
	>
	> When I remove the <cms:enable-ade /> tag from my main.jsp, I get a lot of errors saying "org_opencms_ade_containerpage_containers is not defined"
	>
	> Is there any simple solution?
	>
	> Thanks a lot,
	> Andreas
	>
	> _____________________________________________________________________
	> Vorstand: Ralf Heller, Udo Möbes
	> Vorsitzende des Aufsichtsrates: Kirsten Heller
	> Sitz der Gesellschaft: Gruenwaelderstrasse 10-14, D-79098 Freiburg
	> Amtsgericht Freiburg HRB 6218
	>
	> Versand am 11.08.2011 09:12 von dosch patric
	> Validation-Code: 1471531131100
	>
	>
	>
	> _______________________________________________
	> This mail is sent to you from the opencms-dev mailing list
	> To change your list options, or to unsubscribe from the list, please visit
	> http://lists.opencms.org/mailman/listinfo/opencms-dev
	
	


	 
	
	_______________________________________________
	This mail is sent to you from the opencms-dev mailing list
	To change your list options, or to unsubscribe from the list, please visit
	http://lists.opencms.org/mailman/listinfo/opencms-dev

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


More information about the opencms-dev mailing list