Hello everybody,

I would like to replace my primary-links that are directly implemented into the page.tpl.php with the Menu Minipanels. I just do not understand how to do it at all. I have created one minipanel for testing purposes. Then I went into the menu adminitstration and clicked on 'add menu item' - at the very bottom I see the drop-down menu where I can choose the associated mini-panel, but my minipanel doesn't show up in the list.
What am I doing wrong?

Kirsten

Comments

KirstenLangholz’s picture

Component: User interface » Documentation
StatusFileSize
new166.79 KB

Hello everybody,

I could figure out how to display the dropdown menu with the mini-panels - I had to clear the cache AND run the cron job. Maybe this helps others.

It turns out, that the README.txt file is not extensive enough - at least for me. I have set up four links as first level of the primary menu. Then I have set up other menus to display as mega menu instead of the second level. I've combined three of them in the three columns layout as mini-panel. So in order to relate them to the first level I've made the following adjustments (see screenshot).

Where am I going wrong now?

Kirsten

KirstenLangholz’s picture

Some more information on this issue:

<!--//--><![CDATA[//><!--
jQuery.extend(Drupal.settings, { "basePath": "/", "menuMinipanels": { "panels": { "collections": { "position": { "type": [ "static", "static" ], "corner": { "target": [ "topLeft", "topLeft" ], "tooltip": [ "topRight", "topRight" ] } }, "show": { "delay": [ "0", "0" ], "when": { "event": [ "mouseover", "mouseover" ] }, "effect": { "type": [ "slide", "slide" ], "length": [ "0", "0" ] } }, "hide": { "fixed": [ "true", "true" ], "effect": { "type": [ "slide", "slide" ], "length": [ "0", "0" ] } }, "style": { "name": [ "dark", "dark" ], "width": { "min": [ "0", "0" ], "max": [ "250", "250" ] }, "border": { "width": [ "3", "3" ], "color": [ "#d3d3d3", "#d3d3d3" ], "radius": [ "0", "0" ] }, "tip": [ "topLeft", "topLeft" ] } } } }, "admin_menu": { "destination": "destination=node", "replacements": { ".admin-menu-users a": "0 / 1" }, "margin_top": 1, "toolbar": [  ] }, "viewsSlideshowDdblockContent": { "1": { "block": 1, "nrOfItems": 4, "setDimensions": "custom", "contentContainer": "div.slide", "sideFx": null, "sideSpeed": 0, "custom": null, "fx": "scrollRight", "speed": 500, "timeOut": 5000, "pause": 1, "next": 0, "overflow": null, "pager": "scrollable-pager", "pagerContainer": ".scrollable-pager-item", "pagerEvent": "click", "pagerFast": 1, "pagerPause": 1, "pager2": 1, "pager2Event": "click", "pager2PagerHide": 1, "pager2SlideHide": 0, "slideText": 1, "slideTextjQuery": 1, "slideTextPosition": "bottom", "slideTextDelay": 0, "slideTextDisplayTime": 0, "slideTextContainer": "div.slide-text", "slideTextEffectBefore": "hide", "slideTextEffectBeforeSpeed": 500, "slideTextEffectAfter": "show", "slideTextEffectAfterSpeed": 500 } } });
//--><!]]>



This code is displayed in the header, so I assume the module is implemented correctly.

In the body tag though you can only find the first level of the menu and not the mini-panel.

<div id="primary-left" class="withsearch">
		  <div id="primary-right"><div id="primary">
          <ul class="menu"><li class="leaf first active-trail"><a href="/" title="
	Get back to the starting page
" class="active"><span>Home</span></a></li>
<li class="leaf"><a href="/the-collection.htm" title="The Collection"><span>The Collection</span></a></li>

<li class="expanded"><a href="/your-club.htm" title="Your Club"><span>Your Club</span></a><ul class="menu"><li class="leaf first"><a href="/membership.htm" title="Membership"><span>Membership</span></a></li>
<li class="leaf"><a href="/donations.htm" title="Donations"><span>Donations</span></a></li>
<li class="expanded last"><a href="/club-area.htm" title="Club Area"><span>Club Area</span></a><ul class="menu"><li class="leaf first"><a href="/guestbook" title=""><span>Guestbook</span></a></li>
<li class="leaf"><a href="/profile" title="
"><span>Member List</span></a></li>
<li class="expanded last"><a href="/your-essays.htm" title="Your Essays"><span>Your Essays</span></a></li>
</ul></li>
</ul></li>
<li class="leaf"><a href="/legal-issues.htm" title="Legal Issues"><span>Legal Issues</span></a></li>

<li class="expanded last"><a href="/our-stores.htm" title="Our Stores"><span>Our Stores</span></a><ul class="menu"><li class="leaf first"><a href="/amazon_store" title="
"><span>Amazon Store</span></a></li>
<li class="leaf last"><a href="/catalog" title=""><span>Special Sale</span></a></li>
</ul></li>
</ul>        </div></div></div>


Maybe this helps to solve the issue.

willieseabrook’s picture

1. Can you give me a link to the site?
2. I'm assuming the minipanel that is showing "The Collections", is not the test minipanel you want to select?
3. Is there, by chance, other options in the select box, but are just blank text?

KirstenLangholz’s picture

StatusFileSize
new55.09 KB
new50.24 KB
new50.96 KB
new60.7 KB

1. I am developing it on a local machine. If you are using TeamViewer we can make up an appointment for you to test it, if you think this is really necessary.

2. Okay, I did not specify it clearly enough. Sorry.

  • I have a primary menu with the following first level links: HOME; THE COLLECTION; YOUR CLUB; LEGAL ISSUES; OUR STORES.
  • I set up three new menus called: THE HISTORY; COLLECTION CATEGORIES; FORMER EXHIBITS.
  • I then set up a mini-panel called THE COLLECTIONS with the machine name COLLECTIONS (small letters only).
  • I've chosen a three column layout (33/34/33) and placed the three new menus into this structure (one menu for each column).
  • I then opened the primary menu again and chose the menu item THE COLLECTION.
  • I kept the path as it was and additionally now chose the mini-panel called THE COLLECTIONS and chose the settings as attached below. (Made screenshots this time, so all settings are displayed; use different admin theme than default theme.) In case it is necessary to know this: I am using FEVER from ANTSIN as default theme where the primary-menu is already implemented into the page.tpl.php.

3. So far there is only one option that I can choose, as I only created this one mini-panel.

KirstenLangholz’s picture

I just found out, that it is obviously a theme related problem... I checked it out with my administration theme, here the menu is shown. So I wonder where I need to change something.....

willieseabrook’s picture

@KirstenLangholz

If it's theme based, I suspect your theme settings.

In your theme settings, is the toggle primary links enabled? Try that if it's not.

There's currently a bug on drupal.org where image attachments are currently dead, so I can't check your screenshots.

KirstenLangholz’s picture

StatusFileSize
new14.49 KB

Hello,
I've tried this, but it was already set properly. Unfortunately still couldn't get it to work. This site is now set up except for this - most important - feature and I start to panic a little bit.

Maybe the problem is located in the template.php, but my knowledge is not good enough to figure it out. I already contacted the theme creator, but don't get any support there. So I am bothering you again. Please forgive me.

Kirsten

willieseabrook’s picture

Status: Active » Closed (won't fix)

Hi @KirstenLangholz did you manage to figure this out?

You might try updating to the latest dev version and latest versions of panels etc.

If you're still having issues please open a new support request.