111
barryc
Re: [BETA] multiMenu 1.8, when mm goes dynamics
  • 2006/4/11 13:33

  • barryc

  • Just can't stay away

  • Posts: 480

  • Since: 2004/3/20


blueteen,

I have tested your treemenus on Firefox, MSIE, Opera and Safara on Mac OS X and they work in all cases.

I gather that we will have to upload the tree menu files to a subdirectory under multiMenu 1.8. Will you be incorporating those files into a new release of multimenu? Will you be adding new menu options for treemenu, so that the correct templates are used?

Thanks again for your efforts,

Barry
Barry Cooper
Sweet Home, Oregon

112
blueteen
Re: [BETA] multiMenu 1.8, when mm goes dynamics
  • 2006/4/11 14:02

  • blueteen

  • Quite a regular

  • Posts: 379

  • Since: 2004/7/16


when creating new template, we need to modify some files to incorporate the new menu.

otherwise, for my tests, i'm using another method :
i replace a menu's template which doesn't used on my site.
thus, i can correct template in admin, and i can test it simply


I think that Solo will have no objection to add this new template to multiMenu.
I will await his return to validate that.

but, if you want, i could install this template on barryc ?
replacing for the moment, "context menu" for example !

113
barryc
Re: [BETA] multiMenu 1.8, when mm goes dynamics
  • 2006/4/11 21:37

  • barryc

  • Just can't stay away

  • Posts: 480

  • Since: 2004/3/20


blueteen,

Yes, I thought of substituting the template of one of the unused menus. And, yes, it would be fine to install it on barryc.net. If it works well there for me, I will install it on my live site. I like the treemenu and it overcomes the one disadvantage I see to switch vertical - the two are similar functionally, but switch vertical closes the submenus when you select one of the links, while treemenu does not.

With the addition of treemenus, multiMenu becomes even better.

Barry
Barry Cooper
Sweet Home, Oregon

114
blueteen
Re: [BETA] multiMenu 1.8, when mm goes dynamics
  • 2006/4/12 6:27

  • blueteen

  • Quite a regular

  • Posts: 379

  • Since: 2004/7/16


ok, i've installed treemenu on your website
http://www.barryc.net
i've changed some css values, and modified pictures (black to white, to make them visible on your website

115
barryc
Re: [BETA] multiMenu 1.8, when mm goes dynamics
  • 2006/4/12 6:41

  • barryc

  • Just can't stay away

  • Posts: 480

  • Since: 2004/3/20


Thanks blueteen. It looks good. I will study what you have done over the next couple of days. I have a very busy week, teaching in two courses at the veterinary college as well as doing diagnostic biopsy work, so time is a little limited this week.

As always, I appreciate your help.
Barry Cooper
Sweet Home, Oregon

116
blueteen
Re: [BETA] multiMenu 1.8, when mm goes dynamics
  • 2006/4/12 6:45

  • blueteen

  • Quite a regular

  • Posts: 379

  • Since: 2004/7/16


ok, to save you time :

i've only replaced the "context menu" template by this code :

<!-- Start multiMenu <{$block.mm}> -->
<!-- 
thanks to Hans Bauer who permits us to use his treemenu -->
<!-- 
http://www.h-bauer.de/index.html?treemenu,eng -->
<script type="text/javascript">
var 
url="<{$xoops_url}>"
</script>

<
link   rel"stylesheet"   type="text/css"   href="<{$xoops_url}>/modules/multiMenu/script/10/css/treemenu.css" />
<
link   rel"stylesheet"   type="text/css"   href="<{$xoops_url}>/modules/multiMenu/script/10/css/config.css" />
<
link   rel"stylesheet"   type="text/css"   href="<{$xoops_url}>/modules/multiMenu/script/10/css/menu.css" />
<
script type="text/javascript" src="<{$xoops_url}>/modules/multiMenu/script/10/js/treemenu.js"></script>
<
script type="text/javascript" src="<{$xoops_url}>/modules/multiMenu/script/10/js/config.js"></script>

<
div align="left">
<
table cellspacing="0" cellpadding="0">
<
tr>
<
td>

<
script type="text/javascript">
<!--
tree<{$block.mm}> = new treemenu('tree<{$block.mm}>'truetruetruefalse);

<{
assign var=put_tree  value=0}>
<{foreach 
item=imenu from=$block.contents}>
<{if 
$imenu.submenu == AND $put_tree == 0}>
   
tree<{$block.mm}>.add(1,'<{$imenu.title}>''<{$imenu.target_context}>','<{$imenu.linkurl}>','<{$imenu.alt_title}>''',     '');
   <{
assign var=put_tree  value=1}>
    <{elseif 
$imenu.submenu == AND $put_tree == }>
    
tree<{$block.mm}>.add(0,' <{$imenu.title}>','<{$imenu.target_context}>','<{$imenu.linkurl}>','<{$imenu.alt_title}>',  '''' );
    <{elseif 
$imenu.submenu == OR $imenu.submenu == 2}>
   
tree<{$block.mm}>.add(0,'  <{$imenu.title}>','<{$imenu.target_context}>','<{$imenu.linkurl}>','<{$imenu.alt_title}>''''');
    <{elseif 
$imenu.submenu == OR $imenu.submenu == 4}>
    <{
assign var=put_tree  value=0}>
<{/if}>
<{/foreach}>
<{
assign var=ul_sec  value=0}>
document.write(tree<{$block.mm}>);
//-->
</script>

</
td>
</
tr>
</
table>
</
div>
<!-- 
End multiMenu <{$block.mm}> -->


then, i've uploaded a new folder with javascript/pictures/css in modules/multiMenu/script/10/

and created a new block, choosing 'context' in select box.

117
barryc
Re: [BETA] multiMenu 1.8, when mm goes dynamics
  • 2006/4/12 7:07

  • barryc

  • Just can't stay away

  • Posts: 480

  • Since: 2004/3/20


Yes, I saw that. I couldn't resist looking. Now I must really get to bed. I have to get up again in 5 hours.

Regards,

Barry
Barry Cooper
Sweet Home, Oregon

118
blueteen
Re: [BETA] multiMenu 1.8, when mm goes dynamics
  • 2006/4/12 7:08

  • blueteen

  • Quite a regular

  • Posts: 379

  • Since: 2004/7/16



good night !

119
barryc
Re: [BETA] multiMenu 1.8, when mm goes dynamics
  • 2006/4/12 23:09

  • barryc

  • Just can't stay away

  • Posts: 480

  • Since: 2004/3/20


Hi blueteen,

I have begun to try treemenus on my main site. When I set up a set of menus to show in a "tree block", selecting -context as the menu type, I get a message for each menu item about the indent needing to be <2. Can you tell me where that is coming from so that I can fix it? If I click OK for each such statement, the menu displays correctly, by the way.

Once I have this live, you would be welcome to also link to my site as a demo, if you wish.

Barry
Barry Cooper
Sweet Home, Oregon

120
blueteen
Re: [BETA] multiMenu 1.8, when mm goes dynamics
  • 2006/4/13 4:47

  • blueteen

  • Quite a regular

  • Posts: 379

  • Since: 2004/7/16


you must define 2 mainlinks, then sublinks.
and no url on mainlinks who have sublinks defined.
i've corrected your menu.

the best thing to do then, is to integrate your menus in your theme, to hide block title

Login

Who's Online

170 user(s) are online (98 user(s) are browsing Support Forums)


Members: 0


Guests: 170


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits