Fork me on GitHub

Extended Blockmenu Permission style  Bottom

Go to page 1 - 2 [+1]:

  • I have some questions/problems with the extende menublock

    Unregistered | ExtendedMenublock | test:(Log Out|Your Account): | none

    test = name of the ExtendedMenublock
    I do have two blocktitles [which override the setting on top [in my case test]]
    - Main Menu
    - Hoofdmenu
    I just can't get it to work....

    - Igor
  • Found it... it's different...
    First you have to find the block ID [in my case '10'], after that, just count, first line equals 0 [zero], eg.

    Code

    Unregistered | ExtendedMenublock | 10:(2|3|4): | none


    - Igor
  • Uhm... and every time you insert/remove a row you have to modify the permission? It not sound so good, I hope to have misunderstand it...

    --
    Zikula Italia
    SimpleGallery
  • Arthens

    Uhm... and every time you insert/remove a row you have to modify the permission? It not sound so good, I hope to have misunderstand it...

    i agree sounds rather complicated and annoying. especially if you have a site thats kinda new and constantly growing. guess for the site i just create and extend for a community project here i better stick with 76 and pray (not that i believe that will change things)somebody sees the potential problem of it and fixes the code.

  • It is a decision in the development of the block,
    but we can change it to the old style if be necessary.

    Just a few security checks changes and ready,
    is not a big problem...

    --
    - Mateo T. -
    Mis principios... son mis fines
  • Arthens

    Uhm... and every time you insert/remove a row you have to modify the permission? It not sound so good, I hope to have misunderstand it...


    Yes, you do icon_smile

    Unlike the old menublock the extended menublock does not need the link names for permission settings, but the IDs of the links (see the 2|3|4 in the a.m. example) - not the order in the block! These IDs do not change unless you remove a link, if you add a new link, you will get a new ID for this. This makes it possible to use one block for a multilingual navigation because all links that lead to eg. "my page" or "meine seite" have the ID 3.

    Even if you move the links around the ids do not change which means the permission do not need to be changed.

    Does this make the things a little bit clearer?



    --
    "He is not dangerous, he just wants to play...."
  • I didn't test that, but I figured that was the way...
    Maybe a request, but how about a ID number [like in permissions], would make things a bit easier... icon_smile especially when deleting and adding links...

    - Igor
  • Aehm... this is using IDs. Please re-read my previous posting icon_wink . I uppercased the word ID.



    --
    "He is not dangerous, he just wants to play...."
  • Yes, yes, I understand, I guess I wasn't clear...

    In permissions you see:
    (1) Administrators | .* | .*
    (2) All groups....
    etc...
    You actually see the number [according to the permission-ID]

    In extmenu you only see the forms and
    Image | Name | URL | Title | Options [(in)active/delete]
    One doesn't see any numbers...
    I was planning to do that myself, but thinking about the future, everytime I'll upgrade I'll have to remember to do so...

    - Igor
  • Oh, I see... please add this to the bugtracker so that I can change this to make it more obvious if necessary.



    --
    "He is not dangerous, he just wants to play...."
  • Landseer

    Arthens

    Uhm... and every time you insert/remove a row you have to modify the permission? It not sound so good, I hope to have misunderstand it...


    Yes, you do icon_smile

    Unlike the old menublock the extended menublock does not need the link names for permission settings, but the IDs of the links (see the 2|3|4 in the a.m. example) - not the order in the block! These IDs do not change unless you remove a link, if you add a new link, you will get a new ID for this. This makes it possible to use one block for a multilingual navigation because all links that lead to eg. "my page" or "meine seite" have the ID 3.

    Even if you move the links around the ids do not change which means the permission do not need to be changed.

    Does this make the things a little bit clearer?



    That's nice icon_smile
    Thank you Landseer

    --
    Zikula Italia
    SimpleGallery
  • Now ID's have sense...
    but can be a short-keyword too right?

    For those who doesn't like use numbers, there can be a keyword for each option...
    Only if people is having troubles with a 'numeric' style permissions after years of using the 'text' style, then have to insert a new field (keyword) to manage permissions...

    --
    - Mateo T. -
    Mis principios... son mis fines
  • This needs some major changes in the permission system. A major overhaul is planned for .9, for .8 it is too late now.

    My vision to use some kind of drag&drop not only for moving the perms but also for creating them from a list of possible options.



    --
    "He is not dangerous, he just wants to play...."
  • Quote

    In extmenu you only see the forms and
    Image | Name | URL | Title | Options [(in)active/delete]
    One doesn't see any numbers...


    I added this now to the template, simply showing the ID in the Action-column and an additional sentence in the hint on top of the menuitem list. This is a quick and not really good looking fix, this needs some work in .9.

    It is in the SVN and will be in the next snapshot.



    --
    "He is not dangerous, he just wants to play...."
  • Thank you, will test as soon as I get back, and get back to you.

    - Igor

Go to page 1 - 2 [+1]:

This list is based on users active over the last 60 minutes.