Jump to content

Download: ProMenu Basic


Robert Simons

Recommended Posts

  • Replies 858
  • Created
  • Last Reply

Ok everyone .. new version is posted .. adds in the submenu indicators, fixed the chat/shoutbox counts not showing, build in a setting to disable of the "More" dropdown, the bug report has been upgraded to have the rte editor and display a confirmation on delivery, and I added some base icons to use.

Take special care when uploading files, as you need to rename the theme folder to suit your needs (and make as many copies needed to accommodate your total themes). Don't change the folder name for the icons or move its location as it will break the the indicator.

Note: this upgrade will be replacing the skin templates and css files, so any alterations made to these sections will need to be redone.

Link to comment

for those who installed the upgrade..it has a template bug

for nav_menus the template should be ..


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

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

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

   <php>

   $hassub = $this->registry->getClass('class_menus')->CheckChildrenTree($menudata,$menuitem['promenu_id']);

   </php>

						    <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']}" 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']}<if test="$hassub == 1">&nbsp;<img src="{style_images_url}/_menu_icons/down_arrow.png"/></if></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>]]>

and for nav_submenus


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

			    <ul>

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

   <php>

   $hassub = $this->registry->getClass('class_menus')->CheckChildrenTree($menudata,$menuitem['promenu_id']);

   </php>

						    <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']}<if test="$hassub == 1">&nbsp;&nbsp;&nbsp;<img src="{style_images_url}/_menu_icons/right_arrow.png"/></if></a>{parse template="nav_submenus" group="promenu" params="$menudata, $menuitem['promenu_id']"}</li>

						  </if>

				 </foreach>

			    </ul>

	    </if>

Link to comment

I just bought fusion about 2 days before you released this LOL


I am looking very closely at this.



Well fusion is a solid product ... just lacks a few features that people have desired for awhile ... like multilevel menus and IPC support


We have been testing out fusion for a while, I've just bought this system from Robert and will install it tonight :smile:



Rich.



Glad to have you onboard Rich


Thanks Robert! I'm really looking forward to trying this. :grin:




your welcome arikbo ... enjoy!!
Link to comment

Does this allow for custom menu's and can these menus (say dropdown1 / dropdown2) not go to a URL - i.e. not need to be clickable.





Thanks.




has multilevel submenus yes ... those menus can be an application or url


LOL if I had waited 2 more days I could afford it LOL




well its not like I'm going anywhere or will be raising prices .. so you have time :D
Link to comment

I just upgraded to 1.0.1 and again got the same fatal error.

Fatal error: Call to a member function prim_nav_app() on a non-object in /home/<host-account>/public_html/hooks/globalProMenuPrimNavApp_942fdb73339cb59e21d20d48be359c6a.php on line 96



Rebuild and recache worked like a charm! Not sure how we can sort that? It is no big deal for me right now.

I have yet to fix the bug mentioned here, I just do not have the time right now, I hope to get around to fixing that later today.

Link to comment

I just upgraded to 1.0.1 and again got the same fatal error.



Fatal error: Call to a member function prim_nav_app() on a non-object in /home/<host-account>/public_html/hooks/globalProMenuPrimNavApp_942fdb73339cb59e21d20d48be359c6a.php on line 96



Rebuild and recache worked like a charm! Not sure how we can sort that? It is no big deal for me right now.

I have yet to fix the bug mentioned here, I just do not have the time right now, I hope to get around to fixing that later today.



I'm pretty sure that issue has to deal with the skin key issue currently present in 3.2.3 .. as I see no other reason why it would be

if you haven't done the upgrade yet..just grab a fresh copy..as the edit is already added to the current version uploaded ..the patch is only necessary if you had installed the upgrade b4 I was notified of the template glitch .. I did patch it but did not make it as an upgrade..so those who installed b4 the change will need to either patch the templates or reinstall the application from a fresh copy
Link to comment

Adding
<script type="text/javascript">
var menu=new menu.dd("menu");
menu.init("menu","menuhover");
</script>]]>

Will end up showing ]]> on your skin. Surely it should be:

<script type="text/javascript">
var menu=new menu.dd("menu");
menu.init("menu","menuhover");
</script>

Link to comment

if I buy this can I leave fusion installed (but disabled) or do I have to uninstall that first?



I've never tested having both installed at once...I don't foresee it being an issue as long as its disabled...that would include the hooks for it as they have similar features ...

of coarse backup everything before installation as you never know what can happen when installing any new application
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...