So I changed catusergroups.tpl so that it used a neat table but then the resulting display was different! For some reason the str-replace code above didn't activate... I attach my changed catusergroups.tpl and you'll see that the only thing thats different is that its all in table cells....
it does not work Paul. If you change catusergroups.tpl from <input type="checkbox" to <select, you'll get this when you view the edit page of a category:
Spot the difference... Please tell me definitively what I'm supposed to do. All I want is to put the cat permissions (that are currently all over the place as you can see from the attached screenshot in the first post) into a table, so that there's some order to the chaos.
The appearance of something only seen by administrators isn't on top of my priority list, but glancing at the template you posted all the template variables are wrong... {canviewpages} instead of {CANVIEWPAGES} et cetera. I don't know how you would've messed up every one.
Also I don't know if there's screen width to fit everything in a table row.
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on which file to edit to put catpermissions
Forum Regular
Usergroup: Customer
Joined: Aug 05, 2005
Total Topics: 94
Total Comments: 272
what file do I have to edit to put what you see in the attached screenshot into a neat table?
Attached Files:
Forum Regular
Usergroup: Customer
Joined: Aug 05, 2005
Total Topics: 94
Total Comments: 272
well, admin/catusergroups.tpl has the HTML, which is like this:
I don't know why it says input type="checkbox" but classes/category.php has code on line 1290 which does this:
So I changed catusergroups.tpl so that it used a neat table but then
the resulting display was different! For some reason the str-replace
code above didn't activate... I attach my changed catusergroups.tpl and
you'll see that the only thing thats different is that its all in table
cells....
Attached Files:
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
It says checkbox simply for easy porting of the main usergroup permissions. Doesn't matter if you change to <select.
Forum Regular
Usergroup: Customer
Joined: Aug 05, 2005
Total Topics: 94
Total Comments: 272
so why does it happen automatically at first... and then when you sort catusergroups.tpl into a table, it doesn't...?
Forum Regular
Usergroup: Customer
Joined: Aug 05, 2005
Total Topics: 94
Total Comments: 272
it does not work Paul. If you change catusergroups.tpl from <input type="checkbox" to <select, you'll get this when you view the edit page of a category:
whereas before it would be like this:
Spot the difference... Please tell me definitively what I'm supposed to do. All I want is to put the cat permissions (that are currently all over the place as you can see from the attached screenshot in the first post) into a table, so that there's some order to the chaos.
Forum Regular
Usergroup: Customer
Joined: Aug 05, 2005
Total Topics: 94
Total Comments: 272
any ideas with this issue?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
The appearance of something only seen by administrators isn't on top of my priority list, but glancing at the template you posted all the template variables are wrong... {canviewpages} instead of {CANVIEWPAGES} et cetera. I don't know how you would've messed up every one.
Also I don't know if there's screen width to fit everything in a table row.