+ Reply to Thread
Results 1 to 3 of 3

Thread: What is the code that limits an action to an account group?

  1. #1
    Senior Member
    Join Date
    Aug 2014
    Posts
    163

    What is the code that limits an action to an account group?

    Hello,

    I want to add a custom menu manually in the account section for each type of account.

    What is the code that limits an action to an account group?

    {if $account_info.Own_page} ??


    Menu 1 for (account_1)
    Menu 2 for (account_2)
    Etc

  2. #2
    Hello Blackred,

    You can create pages and set permissions for each page by account types. Also, you can add this pages only to account menu. Try to do it and let us know about results.
    Viktor,
    Flynax technical department,
    Best wishes.

  3. #3
    Senior Member
    Join Date
    Aug 2014
    Posts
    163
    Hello Viktor,


    thanks for the answer, that's what I did.
    there, I ask how to make a menu manually for each type of account.

    {if $account'account_type_1} Menu 1{/if}
    {if $account'account_type_2} Menu 2{/if}


    Some things like that, just know the function that manages the authorization of each account

    Thanks

+ Reply to Thread