WebSite X5Help Center

 
Joe H.
Joe H.
User

Custom home page depending on login crieteria  en

Auteur : Joe H.
Visité 802, Followers 2, Partagé 0  

I'm looking for some help on the following issue:

I am creating a website which requires users to log in. I understand that within the "access management" section I can customise the page which the user is taken to after login, but is there any way that I can set it up so that this page becomes available on the navbar?

So for example, on the navbar I have "home page" followed by "My services". The site is accessed by "admin users" and "beta users". When admin users login it takes them to "admin_home.html" and when beta users log in it takes them to "beta_home.html". Is there anyway that I can set up my site so that when they click on the "my services" button in the navigation bar that they are taken to "admin_home.html" or "beta_home.html" depending on their access rights?

Many thanks,

Joe

Posté le
4 RéPONSES
Anthony A.
Anthony A.
User

redirect your my services to admin-home

go to sitemap creation, select your page, go to properties>expert tab, and in head section put this code

<metahttp-equiv="refresh"content="0; url=http://example.com/admin_home.html"/>

if this post is the correct answer, please mark this answer as correct answer.

------------------------------------------------------------

Good Luck
http://www.usx5host.com (6 months free Web Host for x5 users, promo code: usx56m)
http://www.usx5.com (Templates and support for x5)
http://www.wdesigners.us

Lire plus
Posté le de Anthony A.
Joe H.
Joe H.
User
Auteur

Thanks for this, but does this not mean that even "Beta Users" will also get directed to "admin_home.html"?

Lire plus
Posté le de Joe H.
Anthony A.
Anthony A.
User

well, if they have valid username and password, then yes, but remember you can always customize which users are able to log in to that page. create 2 groups inside your access management, test and not test (or any other name) then add your users under each folder, go to sitemap and change the permission to access to admin_home.html

if this post is the correct answer, please mark this answer as correct answer.

------------------------------------------------------------

Good Luck
http://www.usx5host.com (6 months free Web Host for x5 users, promo code: usx56m)
http://www.usx5.com (Templates and support for x5)
http://www.wdesigners.us

Lire plus
Posté le de Anthony A.
Joe H.
Joe H.
User
Auteur
Anthony A.
well, if they have valid username and password, then yes, but remember you can always customize which users are able to log in to that page. create 2 groups inside your access management, test and not test (or any other name) then add your users under each folder, go to sitemap and change the permission to access to admin_home.html

Thanks for your help but either I am not understanding your suggestion or I don't think it will work for my scenario.

Basically, I want to have at least two levels of users (at present). On the homepage, the user will be required to login. According to their login details, they will then be forwarded to a particular page which is set in the Access Management. This page will then contain a list of pages which are available to them (the "my services" page.)

So when the user navigates the site from this page, I would like them to be able to get back to the "my services" page which is why I would like so set a "My Services" page on the navigation bar. 

I understand your suggestion that I could put some script on the page to set it to forward it to the relevant user page and if they have access rights, the user will be presented with the page. But presumably if they don't, they will be asked to login again.

It may be a better way of expressing what I am after to ask how can I dynamically chose the page of a navbar item according to the user who is logged in?

Thanks for your help.

Lire plus
Posté le de Joe H.