Hello everyone
Should I create a private area for the website http://www.eticamentesnc.it/
each user must access a page dedicated to him as this http://www.eticamentesnc.it/area-riserv ... a-Compagno
I was able to create users but I can not figure out how to manage access to pages and I can not find a clear guide I explain how to do
could you help me?
thank you
gianluca
[SOLVED] FEU help for create a private zone for user
[SOLVED] FEU help for create a private zone for user
Last edited by giapippo on Sun Jul 20, 2014 12:36 pm, edited 1 time in total.
Re: FEU help for create a private zone for user
I'm not entirely sure of what it is that you want/need to do, but...
If each user of a given group has to set a few settings that are unique to itself , it sounds like you need to set field definitions (Properties) for that particular group corresponding to each possible choice. Then you may have to adapt the edit FEU change settings template accordingly.
As FEU doesn't allow for multiple change settings templates I sometimes make a copy of the original template to a GCB, and create different GCB's for my needs, and then call them from FEU change settings template conditionally... usually depending on {$page_alias}.
This technique has been proven useful to me on more than one occasion when using FEU. Maybe not the best way to do it, but that's what I use
. HTH
If each user of a given group has to set a few settings that are unique to itself , it sounds like you need to set field definitions (Properties) for that particular group corresponding to each possible choice. Then you may have to adapt the edit FEU change settings template accordingly.
As FEU doesn't allow for multiple change settings templates I sometimes make a copy of the original template to a GCB, and create different GCB's for my needs, and then call them from FEU change settings template conditionally... usually depending on {$page_alias}.
This technique has been proven useful to me on more than one occasion when using FEU. Maybe not the best way to do it, but that's what I use
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: FEU help for create a private zone for user
thanks for the reply
I have to create users and access to each of them to a different page
RRR user only accesses the page reserved RRR
MMM user only accesses the page reserved MMM
users, passwords, and the corresponding pages are created by me
what I have stated is the correct method?
thanks
I have to create users and access to each of them to a different page
RRR user only accesses the page reserved RRR
MMM user only accesses the page reserved MMM
users, passwords, and the corresponding pages are created by me
what I have stated is the correct method?
thanks
Re: FEU help for create a private zone for user
If you are managing a reduced number of users, yes. Even if you only add users only every now and then. The problem would be if you needed to let FEU and SelfRegistration on auto mode, which doesn't seems to be the case.giapippo wrote:users, passwords, and the corresponding pages are created by me
what I have stated is the correct method?
So:
- With FEU you have a new content type (Protected Content) and you can create pages of this type, however you can only assign groups of users to the allowed viewers of that page, an not particular users, so I don't recommend this, unless you are willing to create a group for each user with one user per group....
- What I recommend is to instal the CustomContent Module and check on each page if the user is logged and has a particular ID;
Code: Select all
{if ccUser::loggedin() == 12} {* number is the user id*}
content for user id 12
{/if}
Code: Select all
{if ccUser::username() == 'someusername'}
content for user {ccUser::username()}
{/if}
HTH
PS Note: I still think that my 1st sugestion (my previous post) is more efficient, as you only need one page to do it all, but hey, it's your party...
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: FEU help for create a private zone for user
thanks for help
i have created the global content one for each customer
and a page with this code
{if ccUser::username()} {assign var="uname" value=ccUser::username()} {global_content name=$uname} {else}
Non sei autorizzato ad accedere a questa pagina.
{cms_module module=FrontEndUsers} {/if}
and all work fine

i have created the global content one for each customer
and a page with this code
{if ccUser::username()} {assign var="uname" value=ccUser::username()} {global_content name=$uname} {else}
Non sei autorizzato ad accedere a questa pagina.
{cms_module module=FrontEndUsers} {/if}
and all work fine


