0

I am unfamiliair with the Query module and I hope someone here could guide me.

In a Template I want to change the group_id of a chosen member (member_id in stash snippet) from 13 to 14. The template is only accessable for super-admins.

Reason for that is that I want an editor of that site to be able to do this, but I do not want them to access the full member-section in the CP. (Too complicated)

Is this possible?

Really thank you for helping me out!

0

The query module can only be used for data lookups, not for modifying the DB. You either have to use PHP in your template or, much better, write a small add on - this can probably best be done with a plug-in.

3
  • Thank you for your answer. I do not trust myself doing this safely. So we'll have to look for a developer that can do this for us....
    – Hansl
    Feb 6 '17 at 13:16
  • It's not a big job - I'll do it if you buy me a beer - careful - I have expensive taste in beer - email me if interested. Feb 6 '17 at 18:03
  • Thanx you-got-mail sir.
    – Hansl
    Feb 6 '17 at 19:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.