Hotproperty browser module display problem


Author Message
Eddy

Posted: 3/26/2009
Quote message 

I created a template with 2.0.2.15338 Standard Edition. I specified user3 for Mosets Hot Property's browser module so that it would display as the horizontal menu. However, it displays vertically without any styling. If I change the position to "left", the module appears on the left and the appropriate styling is applied. This module has a module class suffix set to "_menu".

The module displays fine using either rhuk-milkyway or beez templates. This suggests to me that there is something missing from the Artisteer generated template. Is there some code that I can add to the template so that I can use the browser module as the horizontal menu?



 
jennifer

Posted: 3/26/2009
Quote message 

try giving it a menu class style of nav and a module class style of _menu in the parameters when you set it in user3
 
Eddy

Posted: 3/26/2009
Quote message 

Greatly appreciate the quick response!

I gave that a try, but unfortunately it still displays the same as before.
 
jennifer

Posted: 3/26/2009
Quote message 

Try changing the menu type around (list, legacy-horizontal, etc) on the horizontal version. It probably should be List, but if that's an older component, might need one of the other types.
 
Eddy

Posted: 3/26/2009
Quote message 

Do you mean changing the menu type in the Module Parameters? If so, I do not have that option. This module type is specific to the Hot Property extension - mod_hp_browse. There are only two module parameters that I can set Menu Class Suffix and Module Class Suffix. The module class suffix defaults to _menu; the menu class suffix starts out empty. I have tried various combinations of _mainmenu, menu and list in these fields and nothing makes any different. I have also tried another non-Artisteer template and it works fine with the other template.

This version of Hot Property is specifically for Joomla 1.5. There is an older version for Joomla 1.

 
jennifer

Posted: 3/27/2009
Quote message 

For future reference:
Module Class Suffix is the class that module chrome applies.
Menu Class Suffix is an additional class suffix applied to items - usually it is nav and usually it is only used on top horizontal mod_mainmenus.

Do you have a link where I can see this happen?

 
Eddy

Posted: 3/27/2009
Quote message 

erlcomputer.consulting.com/pm

Apartment, Condo, duplex, Single Family, etc. is supposed to show up as a horizonal menu.

If you give me an email address I will set up an account so that you can see how it works with other templates. I just uploaded the site to siteground and tried some of the siteground templates. The menu worked fine with all the ones I tried. But, the Artisteer template still does not work.

Thanks!
 
jennifer

Posted: 3/27/2009
Quote message 

I only see one of those domain parked search page things at that URL.

You can email me through: http://nodwell.net/contact-us
 
Eddy

Posted: 3/27/2009
Quote message 

sorry - I put an extra period in the url - it's
erlcomputerconsulting.com/pm

I'll email you an id so you can try it with other templates.
 
jennifer

Posted: 3/27/2009
Quote message 

I see what you're saying., I looked at it in beez and milkyway, and it appears fine. I think it's because the artisteer template doesn't have any styles defined for
class menu_mainmenu.

<ul class="menu_mainmenu">

<li><a href="/pm/index.php?option=com_hotproperty&amp;view=type&amp;id=1">Apartment</a></li>
<li><a href="/pm/index.php?option=com_hotproperty&amp;view=type&amp;id=6">Condo</a></li>
<li><a href="/pm/index.php?option=com_hotproperty&amp;view=type&amp;id=5">Duplex</a></li>

<li><a href="/pm/index.php?option=com_hotproperty&amp;view=type&amp;id=2">Single Family</a></li>
<li><a href="/pm/index.php?option=com_hotproperty&amp;view=type&amp;id=3">Townhouse</a></li>
<li><a href="/pm/index.php?option=com_hotproperty&amp;view=type&amp;id=4">Other</a></li>
</ul>
is what is spit out by that module. If you just go into your style.css and define ul.menu_mainmenu to handle how you want that menu to look
 
Eddy

Posted: 3/27/2009
Quote message 

I don't know enough css to code how I want it to look. That's why I'm using Artisteer.

However, if you look at my site now, you'll see that I now have two horizontal menus - one is a standard joomla menu, the other is the browse menu from Hot property. I was able to get the browse menu horizontal by entering artmenu in the menu class suffix. However, the graphic part is not right.

If you compare the code from the two menus, you will see that the joomla menu is a ul with class="artmenu" and is within a nav div. However, the hot property menu ul is not within a nav div.

Could missing nav div account for the problem with the graphic part of the menu?




 
Eddy

Posted: 3/31/2009
Quote message 

I believe that I have tracked down the problem, but I do not know the solution. It looks like the code for the menu is generated in default.php in templatename /html/mod_mainmenu. Line 117 starts with "if ($attribs['name'] == 'user3')". If I understand correctly the code in this file should be executed for any module of type menu including those that are from extensions if the module class suffix is _menu.