[opencms-dev] show online Version of a Page
Peter korn
peterkorn at gmx.net
Mon Apr 18 16:51:32 CEST 2005
yes,
that should work, i then have some other problems. I must use a jsp page for
the direct edit link to. And for some other links i use on the page.
It would be easier if there is a request parameter.
But it will work this way too,
thank you
peter
----- Original -----
I don't know if exist a request parameter to do it.
You can make a jsp page in order to preview the online page, this jsp must
to conmute to online project using
this code:
cmsObject.getRequestContext().setCurrentProject(1); conmute to online
project
-----Mensaje original-----
De: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org]En nombre de Peter korn
Enviado el: lunes, 18 de abril de 2005 14:52
Para: opencms-dev at opencms.org
Asunto: RE: [opencms-dev] show online Version of a Page
Hi,
this works for a user that is using the opencms workplace but i am writing a
module in OpenCms that shows the page with the direct edit buttons so i have
to set the project to the offline Project. In the same page i need a link to
the online Version of the page.
So i have the problem that the current project is the offline project, so i
can link to the page with the directEdit feature, and on the other hand i
need a link to the online version of the page.
thanks
peter
----- Original -----
Conmute to the project online, using the combo box on the head.
-----Mensaje original-----
De: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org]En nombre de Peter korn
Enviado el: lunes, 18 de abril de 2005 13:15
Para: opencms-dev at opencms.org
Asunto: [opencms-dev] show online Version of a Page
Hi,
is there a way to link to the online version of a page if the user is logged
in and the project is offline.
Something like a parameter added to the link? Or to switch temporary to the
online project for this request?
thanks
peter
--
--
+++ GMX - Die erste Adresse f|r Mail, Message, More +++
1 GB Mailbox bereits in GMX FreeMail http://www.gmx.net/de/go/mail
_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev
_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev
--
+++ GMX - Die erste Adresse für Mail, Message, More +++
1 GB Mailbox bereits in GMX FreeMail http://www.gmx.net/de/go/mail
More information about the opencms-dev
mailing list