Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [How To?] Set permissions to theme template pages?
#1
Not Solved
How can I set permissions to a template in a theme. Here is an example of what I am talking about.

[Image: VDHUDcZ.png]

header_welcomeblock_guest is only accessiable to guests.
header_welcomeblock_member is what members see
header_welcomeblock_member_admin is only able to been seen from admins
header_welcomeblock_member_moderator allows moderators and admins to view


How can I set up templates like this where you can set permissions as to what groups can see them. I've looked inside the templates and there is nothing. Really need help with this, couldn't find anything related to this problem anywhere.
Reply
#2
Not Solved
You will have to look inside the code (php) files to see how it's done.

What goes around comes around



Reply
#3
Not Solved
(11-26-2015, 08:55 AM)Ashley1 Wrote: You will have to look inside the code (php) files to see how it's done.

Yes I know that but I do not know where those are located.
Reply
#4
Not Solved
Unless I'm not understanding what you're wanting correctly - it's already setup that way by default.
Reply
#5
Not Solved
(11-26-2015, 09:53 AM)Wage Wrote: Unless I'm not understanding what you're wanting correctly - it's already setup that way by default.

I want to be able to create new templates and set there permissions. Existing template already have permissions set, new templates however do not, they are global.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)