[opencms-dev] Direct Edit not working with a custom login

Olli Aro olli_aro at yahoo.co.uk
Mon Oct 9 16:42:28 CEST 2006


Use:

cms.login(username, password, login_project, null);

where the login_project is the name of the content management project that
your users would normally use when editing the content e.g. "Offline".

Regards,

Olli

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Leo
Sent: 09 October 2006 15:28
To: opencms-dev at opencms.org
Subject: [opencms-dev] Direct Edit not working with a custom login

Hi coders

I have a login page in my site and i want that when an admin user logs
in the direct edit function works. How can i do that?. If i log in
using the workplace the direct edit works normally but when i log in
from my login page i never see the direct edit button

the code i use for log in is:

<jsp:useBean id="cmslogin" class="org.opencms.jsp.CmsJspLoginBean">
 <% cmslogin.init(pageContext, request, response); %>
</jsp:useBean>

<%
cmslogin.login(username, password);
%>

docs?, tips?

Any help would be greatly appreciated

-- 
Leonardo Moreno Guzmán
http://leo.logtar.com
http://www.flickr.com/photos/leillo/ | http://www.flickr.com/people/leillo/

_______________________________________________
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

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.407 / Virus Database: 268.13.1/466 - Release Date: 07/10/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.407 / Virus Database: 268.13.1/466 - Release Date: 07/10/2006
 


		
___________________________________________________________ 
Try the all-new Yahoo! Mail. "The New Version is radically easier to use" – The Wall Street Journal 
http://uk.docs.yahoo.com/nowyoucan.html



More information about the opencms-dev mailing list