Members: 16,996
Threads: 38,846
Posts: 159,391
Online: 25

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse
Old 08.06.2004, 17:38   #1 (permalink)
Junior Mamber
 
Join Date: Apr 2004
Location: Toronto
Posts: 36
adam is on a distinguished road
Send a message via MSN to adam
Default Login Form

I've asked this question in another forum and no-one has answered my post so I thought I'd try it here. I am building an intranet site for my company using Mambo 4.5. I am trying to figure out how to have "registered menu items" appear in the front end without having the login form present on the home page. I'm guessing it can be done but I'm not sure. I don't want staff to see the login form and try using but I want the site admin to be able to access menu items when they preview the site that the public can't see. Please help me if you can. Thanks.
adam is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Old 08.06.2004, 18:18   #2 (permalink)
Professional Mamber
 
zorkhh's Avatar
 
Join Date: Apr 2004
Location: Northern Germany
Posts: 713
zorkhh is on a distinguished road
Default Re: Login Form

Hi,

i hope, i understand your problem. You want the possibility to login but you don't want to show the form to all users. Right?

If so, just change the Login-Module-Position to an unused value (as user2) and place "user2" directly under "mainbody" in your index.php. Then create a content-typed page called "login" or whatever you like. Last select this page from the "Page(s)"-Listbox in the Login-module.

Now you have an single page for login and the loginbox doesn't appear on any other page.

hth

Zork
zorkhh is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08.06.2004, 22:03   #3 (permalink)
Junior Mamber
 
Join Date: Apr 2004
Location: Toronto
Posts: 36
adam is on a distinguished road
Send a message via MSN to adam
Default Re: Login Form

That's a good way to do it as well, I never thought of it like that. What I was looking more towards was being able to login as an administrator and have the front end recognize that I'm logged in as the admin and give me access to all of the registered menu items etc. Any idea if this is possible?
adam is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08.06.2004, 22:13   #4 (permalink)
Expert Mamber
 
pixelsoul's Avatar
 
Join Date: Apr 2004
Posts: 288
pixelsoul is on a distinguished road
Send a message via MSN to pixelsoul
Default Re: Login Form

Well you can hide the login box from users like here..

http://www.jasonmurphy.net/

hidden on the left top menu....

and then disable registration.
__________________
Visit my site for pro mos templates www.pixelsoul.net
pixelsoul is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08.06.2004, 23:59   #5 (permalink)
Professional Mamber
 
zorkhh's Avatar
 
Join Date: Apr 2004
Location: Northern Germany
Posts: 713
zorkhh is on a distinguished road
Default Re: Login Form

@adam: hmm, i really don't know, if i understand your problem. Do you want to switch from the administration area (www.yourdomain.com/administrator/) to the frontend and mambo still keep you looged in? If so, i don't know if it's possible.

@pixelsoul: if it's there, it's hidden very good. Where is a login-box there?


Zork
zorkhh is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 09.06.2004, 05:38   #6 (permalink)
Professional Mamber
 
tonyskyday's Avatar
 
Join Date: Apr 2004
Location: Charlottesville, VA USA
Posts: 565
tonyskyday is on a distinguished road
Default Re: Login Form

Or you just give out the url of http://yoursite.com/index.php?option=com_login

Or even make it a "hidden" link on your site.

-Tony
tonyskyday is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 09.06.2004, 10:44   #7 (permalink)
Expert Mamber
 
pixelsoul's Avatar
 
Join Date: Apr 2004
Posts: 288
pixelsoul is on a distinguished road
Send a message via MSN to pixelsoul
Default Re: Login Form

Look into the source...

(click on the little round on the bar above the menu)

Quote:
Originally Posted by zorkhh
@adam: hmm, i really don't know, if i understand your problem. Do you want to switch from the administration area (www.yourdomain.com/administrator/) to the frontend and mambo still keep you looged in? If so, i don't know if it's possible.

@pixelsoul: if it's there, it's hidden very good. Where is a login-box there?


Zork
__________________
Visit my site for pro mos templates www.pixelsoul.net
pixelsoul is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 09.06.2004, 13:21   #8 (permalink)
Baby Mamber
 
wroxbox's Avatar
 
Join Date: Apr 2004
Location: Turku, Finland
Posts: 22
wroxbox is on a distinguished road
Default Re: Login Form

I dont't have the loginbox anywhere at my site (as a module), but some content are configured with accesslevel "registered"..

So when user goes to that page he gets an message "You are not authorized to view this resource."

So I changed that message in /language/english.php to this
PHP Code:
DEFINE("_NOT_AUTH","You are not authorized to view this resource. Pleace <a href='index.php?option=com_login'>login</a> or <a href='index.php?option=registration&task=register'>register</a> to the site"); 
AND

And made some changes to /components/com_login/ files explained here:
http://forum.mamboserver.com/showthread.php?t=9303

Now she/he clicks the link to "login" and after login he gets to page he requested!
wroxbox is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 13.12.2004, 21:16   #9 (permalink)
Baby Mamber
 
Join Date: Oct 2004
Posts: 8
Warewolf66 is on a distinguished road
Default Re: Login Form

Hey Pixelsoul,

I like that hidden login. How do you do that. Can you give an explanation....that is really cool.

Thanks!
Warewolf66 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Please help unable to login to Administrator section ! desi_style Mambo 4.5 'How Do I' Questions 1 04.07.2004 06:39
login form only works on frontpage davidb Mambo 4.5 'How Do I' Questions 9 06.05.2004 19:11
Component creation -> how can i use mambo's login form to register users ojahairi Component 'How Do I' Questions 0 23.04.2004 10:16
login form ojahairi Template Discussions 0 23.04.2004 03:32


All times are GMT +2. The time now is 05:02.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.