Continuing on from a gentlemans question about a private website below, I was wondering, will the frontend user system allow me to easily set up a number of users who each have their own individual page? It would be ideal for setting up a client login area, where each client can see their own work previewed to them, and no one elses.
Mambo struggles with this, whilst it is possible, its fiddly and long-winded, and the more users you add the more fiddly it gets to set the permissions.
Individual private pages. Topic is solved
Re: Individual private pages.
This is precisely the same question posed to me by my boss the other day. I've taken on the task of creating a corporate site for my 29 year old company (who only now is discovering the value of the Internet).
The Boss wants to be able to provide a private link to a page only specific customers can access where they can see blueprints or download files specifically aimed for them. Kind of a sales department ticketing system where a person in sales fires off an email to a customer and the email contains a private link (and access code) to view the link.
Is this possible without too much fiddling around with the current representation of CMSMS?
The Boss wants to be able to provide a private link to a page only specific customers can access where they can see blueprints or download files specifically aimed for them. Kind of a sales department ticketing system where a person in sales fires off an email to a customer and the email contains a private link (and access code) to view the link.
Is this possible without too much fiddling around with the current representation of CMSMS?
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Individual private pages.
Using FrontendUsers, and CustomContent, this should be possible. Especially with the smarty variables exported by customcontent and the frontend users module.
I'd setup a template for the private pages and in that template, along with the CustomContent tag
do somethng like
of course, $pagename is not the correct variable, and neither is $username
but you get the idea. You'll have to use the get_template_vars plugin to see what variables are available when logged in and on a page.
Hope this helps
I'd setup a template for the private pages and in that template, along with the CustomContent tag
do somethng like
Code: Select all
{cms_module module=CustomContent}
{if $pagename = $username }
...
{else}
<H1>You are not authorized to view this page</H1>
{/if}
but you get the idea. You'll have to use the get_template_vars plugin to see what variables are available when logged in and on a page.
Hope this helps
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Individual private pages.
Thanks for the detailed and informative reply. I had read other posts asking about this sort of thing but your response helps a lot.
I'm certain I'll work out a solution my Boss will be pleased with.
I'm certain I'll work out a solution my Boss will be pleased with.