All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Make group ID variable available in front end for LV

ben.parizek 28 Jul 2012 01:47 idea, pending

For channel entries, I typically add a small edit button on the front end of a site so a client can easily click the link and get transported to exactly where they need to be in the control panel. I tried doing this with a low variable today and didn't have any luck.

Am I overlooking anything? If not, my request is that "group_id" be one of the variables output from a low variables tag pair so that I can use some code like the following on the page and make clients lives even easier! (i've spaced the HTML out so get satisfaction doesn't eat it):

{if member_group == 1}


<
a
href="/administrate/index.php?

S=0&
D=cp&
C=addons_modules&
M=show_module_cp&
module=low_variables&
group_id={low_variables_group_id}"
title="Edit {title}" target="_blank">
edit
<
/a
>

{/if}

Replies

  1. Low 28 Jul 2012 10:02

    Seems like a nice idea, Ben. I'll look into it.

  2. ben.parizek 29 Jul 2012 19:55

    Thanks Low.