06-16-2011, 06:55 PM
(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.phpI think it is convinient enough. Otherwise you can not use dynamic DMS variable "guest_login".
var $_siteDefaultPage = "";
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:<?phpIt will look like
if ($settings->_enableGuestLogin)
print "<p style=\"font-size: 16px\"><a href=\"javascript:guestLogin()\">" . getMLText("guest_login") . "</a></p>";
?>
<table border="0">
[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