Jump to content

Download: ProMenu Basic


Robert Simons

Recommended Posts

  • Replies 858
  • Created
  • Last Reply

its in the promenu.css file ... change the background colours to suit your needs .. and knowing skinbox themes you might want to make the top left corner rounded


to do that change


border-radius: 0px 4px 4px 4px !important;

-moz-border-radius: 0px 4px 4px 4px !important;

-webkit-border-top-left-radius: 0px !important;

to


border-radius: 4px 4px 4px 4px !important;

-moz-border-radius: 4px 4px 4px 4px !important;

-webkit-border-top-left-radius: 4px !important;



in both locations within the promenu.css

if you need help tweaking it let me know .. I know all too well how it can be a bear to alter to suit the needs of their skins

Link to comment

well I had to leave something to add into an upgrade LOL



but seriously .. I didn't know fusion's did that .. will definitely have to look into how something like that is done .. as that would be an ideal solution.



I never said fusionmenu auto-inherited.
I'm saying any skinner "can" skin the css to match the skin, if app is installed before skin or skin re-imported after, these css changes do inherit.
And fusionmenu, nor ipb has seen unlimited subs before, so... yeah lol no standard CSS to use.
Link to comment

I never said fusionmenu auto-inherited.


I'm saying any skinner "can" skin the css to match the skin, if app is installed before skin or skin re-imported after, these css changes do inherit.


And fusionmenu, nor ipb has seen unlimited subs before, so... yeah lol no standard CSS to use.




Ahhh ok...I misread what you had posted .. but still..I would love to able to find a way to utilize IPB's existing style's versus having to have the application create one.
Link to comment

Wow, sub menus, better functionality, AND support? I can drop Fusion now like a hot potato. This looks so much better.



Multilevel menus .. you bet .. and don't forget its multilevel LOL ..

better functionality wouldn't be entirely accurate ... fusion has a solid product, it just lacks certain features that have been in demand for some time, yet not fulfilled .. this menu application was designed specifically to fill those needs ...

and support .. indeed .. I'm a firm believer in proper product support
Link to comment

ok I found the issue and made the changes ... but to fix it on your build..you'll have to uninstall, download a fresh copy, upload it to your server overwriting the old files then reinstall...or manually edit the template bits...its your choice

In skin_promenu, you would need to alter 3 of the 4 templates

for nav_menus select all and replace with


		<if test="hasmenus:|:is_array($menudata) AND count($menudata) > 0">

				<ul class='menu' id='menu'>

   <foreach loop="menus:$menudata as $menuid => $menuitem">

							<if test="$menuitem['promenu_parent_id'] == 0">

							   <if test="$menuitem['promenu_use_app']=='ccs' AND $this->settings['ccs_default_page']==$menuitem['promenu_app_page']"><li id="nav_app_{$menuitem['promenu_use_app']}{$menuitem['promenu_id']}" class='left<if test="$this->registry->getCurrentApplication()==$menuitem['promenu_use_app'] AND (($this->settings['ccs_default_page'] == $menuitem['promenu_app_page'] AND ($this->registry->ccsFunctions->getPageName()=='' OR $this->registry->ccsFunctions->getPageName()==$this->settings['ccs_default_page'])) OR ($this->registry->ccsFunctions->getPageName()==$menuitem['page_seo_name']))"> active</if>'></if><if test="$menuitem['promenu_use_app']=='ccs' AND $this->settings['ccs_default_page']!=$menuitem['promenu_app_page']"><li id="nav_app_{$menuitem['promenu_use_app']}{$menuitem['promenu_id']}" class='left<if test="$this->registry->getCurrentApplication()=='ccs' AND $this->registry->ccsFunctions->getPageName()==$menuitem['promenu_app_page']"> active</if>'></if><if test="$menuitem['promenu_use_app']=='arcade'"><li id="nav_app_{$menuitem['promenu_use_app']}{$menuitem['promenu_id']}" class='left<if test="isactive:|:IPS_APP_COMPONENT == 'arcade' OR IPS_APP_COMPONENT == 'iArcade'"> active</if>

'></if><if test="$menuitem['promenu_use_app']!='ccs' AND $menuitem['promenu_use_app']!='arcade'"><li id="nav_app_{$menuitem['promenu_use_app']}{$menuitem['promenu_id']}" class='left<if test="isactive:|:IPS_APP_COMPONENT == $menuitem['promenu_use_app']"> active</if>'></if><a href="{$menuitem['promenu_url']}"title='<if test="$menuitem['promenu_description']"> {$menuitem['promenu_description']}<else />{$menuitem['promenu_title']}</if>'<if test="$menuitem['promenu_open_new_window'] == 1"> target='_blank'</if>><if test="$menuitem['promenu_icon']"><img src="{$menuitem['promenu_icon']}" height='14px' width='14px' />&nbsp;&nbsp;&nbsp;</if>{$menuitem['promenu_title']}</a>{parse template="nav_submenus" group="promenu" params="$menudata, $menuitem['promenu_id']"}</li>

						  </if>

				 </foreach>

				</ul>

		</if>

<script type="text/javascript">

var menu=new menu.dd("menu");

menu.init("menu","menuhover");

</script>

for nav_submenus select all and replace with


		<if test="hasmenus:|:is_array($menudata) AND count($menudata) > 0">

				<ul>

   <foreach loop="menus:$menudata as $menuid => $menuitem">

							<if test="$menuitem['promenu_parent_id'] == $id">

							   <if test="$menuitem['promenu_use_app']=='ccs' AND $this->settings['ccs_default_page']==$menuitem['promenu_app_page']"><li id="nav_app_{$menuitem['promenu_use_app']}{$menuitem['promenu_id']}" class='left<if test="$this->registry->getCurrentApplication()==$menuitem['promenu_use_app'] AND (($this->settings['ccs_default_page'] == $menuitem['promenu_app_page'] AND ($this->registry->ccsFunctions->getPageName()=='' OR $this->registry->ccsFunctions->getPageName()==$this->settings['ccs_default_page'])) OR ($this->registry->ccsFunctions->getPageName()==$menuitem['page_seo_name']))"> active</if>'></if><if test="$menuitem['promenu_use_app']=='ccs' AND $this->settings['ccs_default_page']!=$menuitem['promenu_app_page']"><li id="nav_app_{$menuitem['promenu_use_app']}{$menuitem['promenu_id']}" class='left<if test="$this->registry->getCurrentApplication()=='ccs' AND $this->registry->ccsFunctions->getPageName()==$menuitem['promenu_app_page']"> active</if>'></if><if test="$menuitem['promenu_use_app']=='arcade'"><li id="nav_app_{$menuitem['promenu_use_app']}{$menuitem['promenu_id']}" class='left<if test="isactive:|:IPS_APP_COMPONENT == 'arcade' OR IPS_APP_COMPONENT == 'iArcade'"> active</if>

'></if><if test="$menuitem['promenu_use_app']!='ccs' AND $menuitem['promenu_use_app']!='arcade'"><li id="nav_app_{$menuitem['promenu_use_app']}" class='left<if test="isactive:|:IPS_APP_COMPONENT == $menuitem['promenu_use_app']"> active</if>'></if><a href="{$menuitem['promenu_url']}"title='<if test="$menuitem['promenu_description']"> {$menuitem['promenu_description']}<else />{$menuitem['promenu_title']}</if>'<if test="$menuitem['promenu_open_new_window'] == 1"> target='_blank'</if>><if test="$menuitem['promenu_icon']"><img src="{$menuitem['promenu_icon']}" height='14px' width='14px' />&nbsp;&nbsp;&nbsp;</if>{$menuitem['promenu_title']}</a>{parse template="nav_submenus" group="promenu" params="$menudata, $menuitem['promenu_id']"}</li>

						  </if>

				 </foreach>

				</ul>

		</if>

and finally for prim_nav_app select all and replace with


											   <if test="$app == 'ccs'">

												   <foreach loop="$pages as $page">

													   <li id="nav_home" class='left <if test="$this->registry->getCurrentApplication()==$app AND (($this->settings['ccs_default_page'] == $page['page_seo_name'] AND ($this->registry->ccsFunctions->getPageName()=='' OR $this->registry->ccsFunctions->getPageName()==$this->settings['ccs_default_page'])) OR ($this->registry->ccsFunctions->getPageName()==$page['page_seo_name']))">active</if>'><a href='$baseurl' title="<if test='$this->settings['promenu_default_app_desc']'>{$this->settings['promenu_default_app_desc']}<else />{$appname}</if>"><if test="$this->settings['promenu_default_app_icon'] != ''"><img src="{$this->settings['promenu_default_app_icon']}" height="14px" width="14px" />&nbsp;&nbsp;&nbsp;</if>{$appname}</a>

													   </li>

												  </foreach>

											   <else />

												   {parse variable=$appname."Active" default="" oncondition="IPS_APP_COMPONENT == $app" value="active"}

												   <li id='nav_home' class="left {parse variable=$appname."Active"}"><a href='$baseurl' title='<if test="$this->settings['promenu_default_app_desc']">{$this->settings['promenu_default_app_desc']}<else />{$appname}</if>' rel="$appname"><if test="$this->settings['promenu_default_app_icon'] != ''"><img src="{$this->settings['promenu_default_app_icon']}" height="14px" width="14px" />&nbsp;&nbsp;&nbsp;</if>$appname</a>

												   </li>

											   </if>



for those that use the shoutbox count hook, this should allow for its diplay as well ...

Link to comment

Bought this Robert and its great, can I make one small suggestion please is it possible to add a small arrow to the right of an item in the menu to show it has sub menus. Thanks



already in the works gerry .. will be in the next version

@richard .. no I didn't supply a version of icons as they are easy enough to find across the net though if ppl desired I can throw in a set
Link to comment

As soon as I know this has been done I will try this out, any idea when this might be?



I'm working on an upgrade right now, in hopes to get it out tonight.

It will include the arrows for submenu indication and a reworking of the bug report to include an rte editor.

The "more" disable option will be next on the block, but prolly wont make this version release.

As far as a timeline, all I can say is I'm shooting to have that implemented and any other small enhancements done before the weekend but no guarantees.
Link to comment

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...