Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- rgasch created topic »Using PageUtil::addVar() to load script code« 11:48 AM
- michiel responded to »password problem« 10:01 AM
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- 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
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. 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
Menutree permission problems, help!!
-
- Rank: Freshman
- Registered: Aug 29, 2002
- Last visit: Nov 03, 2009
- Posts: 85
The navtop menutree disappears when a user logs in with their login name and pw. When I as the admin logs in menutree does not disappear. So I gave 2 of my users "admin" privelidges. When these 2 log in as admin the menutree still disappears. Perhaps my permission file is corrupted so which file can I reupload and replace with a fresh copy or is my permissions rules screwed up? How should menutree permissions be set up so ordinary users can have access to it and not have it disappear when they login? The rules I set up for certain links not to show up for unregisterd users works properly, for example the link to "account" or "admin" does not show up when an unreigisterd user comes to the site. -
- Rank: Team Member
- Registered: Feb 27, 2005
- Last visit: Apr 12, 2010
- Posts: 665
If the other two users login with admin privileges (they are used to the admin group, I assume?) and still can't see the menutree, then I would think this is not a permission issue.Quote
When these 2 log in as admin the menutree still disappears.
For completeness: I have the following permission rules:Members and Admin are both root menu items, with several options beneath them.Code
Admins .* .* Admin
All groups menutree:menutreeblock: Navigationmenu:Admin: None
Users .* .* Comment
Unregistered menutree:menutreeblock: Navigationmenu:Members: None
Unregistered .* .* Read
Works fine here... Maybe, to be sure, could you post your permissions table here? Especially those lines with .* in the components-column, and of course those with menutree: in the component-column.
--
-- Teb
-- Dutch Zikula Community
Support questions in a Personal Message will be ignored. Use the forums at all times! -
- Rank: Software Foundation
- Registered: Jul 21, 2001
- Last visit: May 31, 2010
- Posts: 624
This is sort of off topic, but I wanted to update the fact that Justuff has updated Mentutree to work with Zikula 1.2.0 and it will be released around the same time as we release the core.
Drak
--
Zikula Lead Developer
Board Member of the Zikula Foundation
Follow me on twitter.com/zikuladrak -
- Rank: Team Member
- Registered: Apr 07, 2005
- Last visit: Jan 18, 2010
- Posts: 228
phprezdude - could you send mi your permissions rules by PM? I'll check what could be a problem
--
Polish Zikula Team
Bianor Works - my Zikula works on CoZi -
- Rank: Softmore
- Registered: Dec 31, 1969
- Last visit: May 25, 2010
- Posts: 326
Sorry to add on to an existing thread, but the forum isn't showing me the "new topic" link for some reason.
I've suddenly had an issue with Menutree 2.1 (Zikula 1.12) with an existing menutree menu, I was editing a link and when I submitted changes the styling of the menu went away and it's now an unstyled list.
http://groundmastersmemphis.com/
When I look at the menutree block settings in the Block Display Settings section where there is usually a drop down list for Templates and Stylesheets those drop downs are empty.
I've tried deactivating the module and reactivating with no change. Any idea what is causing this?
--
Damon
Catamaran Sailing at TheBeachcats.com -
- Rank: Team Member
- Registered: Apr 07, 2005
- Last visit: Jan 18, 2010
- Posts: 228
damon: what template and stylesheet did you use before? One of default, custom or some BlankTheme templates?
Did you do something with menutree or zikula recently? Upgrade, theme change or something like that?
--
Polish Zikula Team
Bianor Works - my Zikula works on CoZi -
- Rank: Softmore
- Registered: Dec 31, 1969
- Last visit: May 25, 2010
- Posts: 326
I thnk it was the cssplay_prodrop menu with the css_prodrop CSS, can't remember the style number, but it was two shades of grey.
When this happened I was saving an edit to an existing link in the menutree admin. I had initially created the links with a # in place of the page URL, and then created pages in the Pages module and came back to add the urls. As soon as I clicked on the Update button menutree lost all touch with templates and stylesheets.
--
Damon
Catamaran Sailing at TheBeachcats.com -
- Rank: Team Member
- Registered: Apr 07, 2005
- Last visit: Jan 18, 2010
- Posts: 228
Have no idea. Could you check what exactly version of menutree do you use? You wrote Menutree 2.1 - but this version is unreleased yet. Check please if it is Menutree 2.0.1?
--
Polish Zikula Team
Bianor Works - my Zikula works on CoZi -
- Rank: Softmore
- Registered: Dec 31, 1969
- Last visit: May 25, 2010
- Posts: 326
According to the modules admin and the pnversion file it is 2.1
I got it from the SVN at
https://code.zikula.org/svn/bianor
I had used the year old package of 2.0.1 on another site and had problems with updates changing earlier edits. I had filed a bug on Cozi for that and it looked like that had been fixed in SVN.
--
Damon
Catamaran Sailing at TheBeachcats.com -
- Rank: Team Member
- Registered: Feb 27, 2005
- Last visit: Apr 12, 2010
- Posts: 665
Ik ran into the exact same problem. Seems that I have moved away the template files from /themes/mytheme/templates/modules/menutree/* to /config/templates/menutree/*
The menutree still works that way (due to default template overriding), but the block config settings only shows the files present in /modules/menutree/pntemplates or in /themes/mytheme/templates/modules/menutree. NOT in /config. And, thus, whenever you save your menutree, the first template from the list is saved as the current one.
This is a bug in menutree..... (at least the config should also get a list of available templates from the config directory). It should be working again when copying the templates back to your theme.
--
-- Teb
-- Dutch Zikula Community
Support questions in a Personal Message will be ignored. Use the forums at all times! -
- Rank: Team Member
- Registered: Apr 07, 2005
- Last visit: Jan 18, 2010
- Posts: 228
Teb - config templates are ignored intentionally. In my opinion config templates should serve only for overwriting existing templates, which can be placed in module or theme directory.
damon - need to think about this issue. If your problem is not the same as Teb (templates moved to config dir) - don't have any idea for now.
But your site look bad right now. So you may at least temporary change default menutree template.
To do so - copy content of template you want to use and paste it to "menutree_block_menutree.htm" (placed in modules/menutree/pntemplates/ dir).
Next - add at the beginning of "menutree_block_menutree.htm" template this:
Code
<!--[pnpageaddvar name="stylesheet" value="modules/menutree/pnstyle/STYLESHEETNAME"]-->
where STYLESHEETNAME is stylesheet you wanted to use.
This is not best solution - but at least menu will look like you want.
I'll try to reproduce isse you run into
--
Polish Zikula Team
Bianor Works - my Zikula works on CoZi -
- Rank: Team Member
- Registered: Feb 27, 2005
- Last visit: Apr 12, 2010
- Posts: 665
Jusuff
Teb - config templates are ignored intentionally. In my opinion config templates should serve only for overwriting existing templates, which can be placed in module or theme directory.
Fair enough, your call, your module. I am very happy with menutree anyway and managed my way around this. Just had to dive into the source to solve the issue. Thanks for your efforts in this great module.
FWIW: I use my config dir for all my custom stuff, nothing is in my themes/ directory. This works fine for everything on my site (even the actual rendering of the menutree templates). Because, when I setup the module, the templates still were in my /themes dir. And I never touched the menu after initial setup and config.
But, a few weeks ago, I moved everything to /config. Menutree still worked. Untill I wanted to change something and hit the 'save' button: Then it was broken.
It just stroke my intuition of the system's overriding (and searching) of templates. Shouldn't it be possible to just keep the stucture from function get_template_path($template)?
--
-- Teb
-- Dutch Zikula Community
Support questions in a Personal Message will be ignored. Use the forums at all times! -
- Rank: Team Member
- Registered: Apr 07, 2005
- Last visit: Jan 18, 2010
- Posts: 228
Teb
Fair enough, your call, your module.
Do not place the matter in this way :) Anyway module is for users - not for author.
And about config dir - never used config in this way (I'm using theme dir for this purpose) and didn't look from this point of view.
Maybe there wont be any problem with adding config templates and styles to selection (I would just marked them as config items to avoid confusion). Just need to think if there is no hidden catch.
edited by: Jusuff, datetimebrief
--
Polish Zikula Team
Bianor Works - my Zikula works on CoZi -
- Rank: Team Member
- Registered: Feb 27, 2005
- Last visit: Apr 12, 2010
- Posts: 665
No offense meant whatsoever. I just appreciate your (everyone's) invested free time in open source products, and can in no way force any author / developer to fulfill my personal needs.Jusuff
Do not place the matter in this way :) Anyway module is for users - not for author.
If you want me to file a ticket for this, just say so.
--
-- Teb
-- Dutch Zikula Community
Support questions in a Personal Message will be ignored. Use the forums at all times! -
- Rank: Developer
- Registered: Aug 23, 2003
- Last visit: May 31, 2010
- Posts: 1428
That would help out in getting a more clear separation between menutree and the extra templates from BlankTheme for instance, or additional ones people make themselves. Although you could place them in your Theme as well, but then they only work in 1 theme.
The extmenu additional templates (see extdb) are also in config, which works fine.
Already been discussing the additional templates location over Mail with Jusuff
--
campertoday.nl, Module development, Dutch Zikula Community
- Moderated by:
- Support
