Fork me on GitHub

Menutree permission problems, help!!  Bottom

Go to page 1 - 2 [+1]:

  • 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.
  • Quote

    When these 2 log in as admin the menutree still disappears.
    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.

    For completeness: I have the following permission rules:

    Code

    Admins       .*                      .*                      Admin
    All groups   menutree:menutreeblock: Navigationmenu:Admin:   None
    Users        .*                      .*                      Comment
    Unregistered menutree:menutreeblock: Navigationmenu:Members: None
    Unregistered .*                      .*                      Read
    Members and Admin are both root menu items, with several options beneath them.

    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!
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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!
  • 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
  • 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!
  • 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
  • Jusuff

    Do not place the matter in this way :) Anyway module is for users - not for author.
    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.

    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!
  • 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 icon_smile

    --
    campertoday.nl, Module development, Dutch Zikula Community

Go to page 1 - 2 [+1]:

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