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!

1 Answer 1

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
    Commented Feb 6, 2017 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. Commented Feb 6, 2017 at 18:03
  • Thanx you-got-mail sir.
    – Hansl
    Commented Feb 6, 2017 at 19:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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