Need Help with Log in process for a site
Permalink
First off, I'm brand new to Concrete5 but have worked with CMS's before.
I just started this job on the 1st and The site I'm working on is due on the 31st.
The site has an area a user can log in (or register) and then four invisible menu options will appear alongside the other menu options.
I've examined another Concrete5 site where there is a member table and somehow that member information is showing in the dashboard.
I THINK the login process is a Javascript process and it's on an HTMLblock that I can 't edit.
So there's the quandry.
A user needs to log in or register to log in.
Invisible menu options need to be made visible after log in.
and I don't know the best (or the simplest) way to do this.
The company also wants an outside lookup area which I think can be added to a form.
I would appreciate any assistance.
Thank you.
Michael
I just started this job on the 1st and The site I'm working on is due on the 31st.
The site has an area a user can log in (or register) and then four invisible menu options will appear alongside the other menu options.
I've examined another Concrete5 site where there is a member table and somehow that member information is showing in the dashboard.
I THINK the login process is a Javascript process and it's on an HTMLblock that I can 't edit.
So there's the quandry.
A user needs to log in or register to log in.
Invisible menu options need to be made visible after log in.
and I don't know the best (or the simplest) way to do this.
The company also wants an outside lookup area which I think can be added to a form.
I would appreciate any assistance.
Thank you.
Michael
be sure to check out this:
http://www.concrete5.org/marketplace/addons/login_block/...
It's a free login block you can place anywhere.
I also sometimes apply the attached custom template to it when I want to display a user name and sign out link after they've logged in. Unzip and upload it to your blocks folder in the folder and then add the login block. then click on it and choose Custom Template. Select Sign In from the drop down. You may need to futz around with its css styles to get it to look right.
http://www.concrete5.org/marketplace/addons/login_block/...
It's a free login block you can place anywhere.
I also sometimes apply the attached custom template to it when I want to display a user name and sign out link after they've logged in. Unzip and upload it to your blocks folder in the folder and then add the login block. then click on it and choose Custom Template. Select Sign In from the drop down. You may need to futz around with its css styles to get it to look right.
Thanks for your replies.
Since I posted my message, I discovered that the login is something that I don't have to worry about!
Since I posted my message, I discovered that the login is something that I don't have to worry about!
You can probably use the Advanced Permissions system of Concrete 5 to accomplish this:
http://www.concrete5.org/help/building_with_concrete5/installation/...
Make sure to back up the config.php file on your remote server (in the site root, not the concrete directory) in case you overwrite it with your local computer copy.
If you're trying to hide pages/links:
Once that's done, go to your Dashboard and find the pages those "hidden" links will go to on the Sitemap. Click on a page and select Set Permissions. On the Set dropdown choose --> Manually. Then uncheck Guest from being able to Read the page. Make sure Registered Users can Read it.
If you want pages beneath it to also be hidden from the general public then keep the Inherit Permissions from this Page option in the bottom dropdown.
Save the settings and do it for the other pages as well. Voila! Pages should now be hidden from the general public but not from Registered Users. Log out and test this... :)
You may also want to let a Group or specific User Read the page and not go the Registered User route. You can click the add User/Group button in the Set Permissions pop up.
See this discussion I had yesterday with someone:
http://www.concrete5.org/community/forums/usage/advanced-permission...
Hiding page elements:
Now, with that said, I was assuming that you were referring to pages/links as the "options". However, if you weren't, you can still hide them. Go to the page with the items, this time on the front end/regular page where you normally make edits and add content.
Go into Edit mode --> Click the blocks/elements that you want to hide. Choose Set Permissions and do essentially the same thing described above for each.
This is can be fairly labor intensive but is probably the most straightforward means of doing it. There's probably more elegant coding solutions but I imagine this is the more user friendly method. You need to be careful to remember what you hide from whom since later on it can lead to much confusion, lol.
Good luck!