Problems, need help? Have a tip or advice? Post it here.
2 posts Page 1 of 1
Hello,
I think i'm having a strange problem.
Whatever access level i log into backend with (super admin or admin) when i dump the couch variables in a template to show in the backend form i always get
Code: Select all
k_user_id: 1
k_user_name: magma-core
k_user_title: magma-core
k_user_email: admin.ambi@gwil.it
k_user_access_level: 10
k_user_disabled: 0
k_logged_in: 1

even if it reads "Hello admin" above sidebar.
any ideas? or am i missing something obvious?

I've tried the obvious, like logging out and closing all browser windows, only have one open and reaccessing as super-admin, logging out, reaccessing as admin, etc.

all i wanted to do was hide the name field unless logged in as super_admin.
cheers, gwil
KK answered this for me in another thread
https://www.couchcms.com/forum/viewtopic.php?f=4&t=12271&p=34048#p34045

The <cms:config_list_view> tag (and all other tags that are meant to be placed within the <cms:template> block) fire only when the template is accessed by the super-admin from the front-end. That should explain the behavior you are getting


I have an answer there using js injection
2 posts Page 1 of 1