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
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- internetking created topic »password problem« 25. May
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
- nestormateo responded to »Fillters in Clip« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Extended Blockmenu Permission style
-
**unknown user**
- Rank: Helper
- Registered: Mar 16, 2002
- Last visit: May 18, 2010
- Posts: 985
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 -
- Rank: Developer
- Registered: Mar 29, 2005
- Last visit: Mar 13, 2010
- Posts: 228
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 -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Feb 29, 2008
- Posts: 12
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.
-
- Rank: Team Member
- Registered: Sep 06, 2006
- Last visit: May 09, 2010
- Posts: 2446
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 -
- Rank: Team Member
- Registered: Jan 02, 2003
- Last visit: Oct 21, 2009
- Posts: 800
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
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...." -
**unknown user**
- Rank: Helper
- Registered: Mar 16, 2002
- Last visit: May 18, 2010
- Posts: 985
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...
especially when deleting and adding links...
- Igor -
- Rank: Team Member
- Registered: Jan 02, 2003
- Last visit: Oct 21, 2009
- Posts: 800
Aehm... this is using IDs. Please re-read my previous posting
. I uppercased the word ID.
--
"He is not dangerous, he just wants to play...." -
**unknown user**
- Rank: Helper
- Registered: Mar 16, 2002
- Last visit: May 18, 2010
- Posts: 985
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 -
- Rank: Team Member
- Registered: Jan 02, 2003
- Last visit: Oct 21, 2009
- Posts: 800
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...." -
- Rank: Developer
- Registered: Mar 29, 2005
- Last visit: Mar 13, 2010
- Posts: 228
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
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
Thank you Landseer
--
Zikula Italia
SimpleGallery -
- Rank: Team Member
- Registered: Sep 06, 2006
- Last visit: May 09, 2010
- Posts: 2446
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 -
- Rank: Team Member
- Registered: Jan 02, 2003
- Last visit: Oct 21, 2009
- Posts: 800
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...." -
- Rank: Team Member
- Registered: Jan 02, 2003
- Last visit: Oct 21, 2009
- Posts: 800
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...."
- Moderated by:
- Support
