Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Automate guest log in
#1
Hi

Just installed Letodms, and it is looking great.

The way I want to use this is that I will upload documents (PDF's).

From my main website I want anybody to be able to click a button that will take them not just to the log in screen, but directly into the system logged in as guest

Anyone know if this could be possible?

Thanks

Ron
Reply
#2
(06-12-2011, 11:10 PM)haylau Wrote: Hi

Just installed Letodms, and it is looking great.

The way I want to use this is that I will upload documents (PDF's).

From my main website I want anybody to be able to click a button that will take them not just to the log in screen, but directly into the system logged in as guest

Anyone know if this could be possible?

Thanks

Ron

Any ideas if this is possible? To provide a link that would take users directly in to the site logged in as guest?
Reply
#3
(06-15-2011, 05:07 PM)haylau Wrote: Any ideas if this is possible? To provide a link that would take users directly in to the site logged in as guest?

If you activate Guest login "var $_enableGuestLogin = true;" then you can create simple shortcut and your users will open DMS Login page and click link
[ATTACHMENT NOT FOUND]
Also you can set page for default login:
Quote:// Default page on login. Defaults to out/out.ViewFolder.php
var $_siteDefaultPage = "";
I think it is convinient enough. Otherwise you can not use dynamic DMS variable "guest_login".

"Whatever you do, work at it with all your heart, as working for the Lord, not for human masters". Kol.3:23
Reply
#4
(06-15-2011, 08:24 PM)kotikov_a Wrote:
(06-15-2011, 05:07 PM)haylau Wrote: Any ideas if this is possible? To provide a link that would take users directly in to the site logged in as guest?

If you activate Guest login "var $_enableGuestLogin = true;" then you can create simple shortcut and your users will open DMS Login page and click link

Also you can set page for default login:
Quote:// Default page on login. Defaults to out/out.ViewFolder.php
var $_siteDefaultPage = "";
I think it is convinient enough. Otherwise you can not use dynamic DMS variable "guest_login".

Thanks for your reply. We must have guest log in enabled, as we have the button you show in the screen print.

Quote:// Default page on login. Defaults to out/out.ViewFolder.php
var $_siteDefaultPage = "";

Does this jsut alter the page the users see AFTER they log in?

Looks like I can't just send people from another site to the DMS and be autoamtically logged in,. which I suppose is fair enough

So, the problem then is the "Log in as Guest" is very small I presume there is somewhere we can alter that text and text size? Possibly even move it?

Reply
#5
(06-15-2011, 08:37 PM)haylau Wrote:
(06-15-2011, 08:24 PM)kotikov_a Wrote:
(06-15-2011, 05:07 PM)haylau Wrote: Any ideas if this is possible? To provide a link that would take users directly in to the site logged in as guest?

If you activate Guest login "var $_enableGuestLogin = true;" then you can create simple shortcut and your users will open DMS Login page and click link

Also you can set page for default login:
Quote:// Default page on login. Defaults to out/out.ViewFolder.php
var $_siteDefaultPage = "";
I think it is convinient enough. Otherwise you can not use dynamic DMS variable "guest_login".

Thanks for your reply. We must have guest log in enabled, as we have the button you show in the screen print.

Quote:// Default page on login. Defaults to out/out.ViewFolder.php
var $_siteDefaultPage = "";

Does this jsut alter the page the users see AFTER they log in?

Looks like I can't just send people from another site to the DMS and be autoamtically logged in,. which I suppose is fair enough

So, the problem then is the "Log in as Guest" is very small I presume there is somewhere we can alter that text and text size? Possibly even move it?

Of course you can. For example in out.Login.php before <table> tag.
Quote:<?php
if ($settings->_enableGuestLogin)
print "<p style=\"font-size: 16px\"><a href=\"javascript:guestLogin()\">" . getMLText("guest_login") . "</a></p>";
?>
<table border="0">
It will look like
[ATTACHMENT NOT FOUND]
"Whatever you do, work at it with all your heart, as working for the Lord, not for human masters". Kol.3:23
Reply
#6
(06-16-2011, 06:55 PM)kotikov_a Wrote:
(06-15-2011, 08:37 PM)haylau Wrote:
(06-15-2011, 08:24 PM)kotikov_a Wrote:
(06-15-2011, 05:07 PM)haylau Wrote: Any ideas if this is possible? To provide a link that would take users directly in to the site logged in as guest?

If you activate Guest login "var $_enableGuestLogin = true;" then you can create simple shortcut and your users will open DMS Login page and click link

Also you can set page for default login:
Quote:// Default page on login. Defaults to out/out.ViewFolder.php
var $_siteDefaultPage = "";
I think it is convinient enough. Otherwise you can not use dynamic DMS variable "guest_login".

Thanks for your reply. We must have guest log in enabled, as we have the button you show in the screen print.

Quote:// Default page on login. Defaults to out/out.ViewFolder.php
var $_siteDefaultPage = "";

Does this jsut alter the page the users see AFTER they log in?

Looks like I can't just send people from another site to the DMS and be autoamtically logged in,. which I suppose is fair enough

So, the problem then is the "Log in as Guest" is very small I presume there is somewhere we can alter that text and text size? Possibly even move it?

Of course you can. For example in out.Login.php before <table> tag.
Quote:<?php
if ($settings->_enableGuestLogin)
print "<p style=\"font-size: 16px\"><a href=\"javascript:guestLogin()\">" . getMLText("guest_login") . "</a></p>";
?>
<table border="0">
It will look like

That looks excellent, many thaks for your help
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)