Jump to content

Download: ProMenu Basic


Robert Simons

Recommended Posts

Posted

LMAO



If you don't go to bed early and go to sleep, Santa won't bring you your Christmas presents !



:)
I usually only sleep 3 hours a night anyways so my timing is always off. I swear its tuesday now :)
  • Replies 858
  • Created
  • Last Reply
Posted

in the skin_promenu



open nav_menus and select all .. then replace with




		<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']}"  /><else />{$menuitem['promenu_title']}</if><if test="$hassub == 1">&nbsp;<img src="http://ipscommunity.invisionpowerser.netdna-cdn.com/public/style_images/master/_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>




this works great but not for submenus did i do something wrong?
Posted

is it tonight yet? :smile:




LMAO



If you don't go to bed early and go to sleep, Santa won't bring you your Christmas presents !




:smile:


I usually only sleep 3 hours a night anyways so my timing is always off. I swear its tuesday now :smile:



HA,,,
is it tuesday now ? :smile:
Posted

LOL he must have a hangover :smile: :smile:




funny .. sadly I can't drink due to having pancreatic issues .. so have one for me!!!!

now to keep everyone posted...

sadly I was not able to release the upgrade b4 the new year hit .. unfortunately we hit a few snags during production but is now fully functional

I should have the minor cleanup done and ready to be repackaged and uploaded by tomarrow's end at latest ... but I'm shooting for late this evening/early morning.

I want to take the time to give Marcher Tech a proper public "THANK YOU" for all his assistance ... if it wasn't for his help this build would have taken alot longer to get out .. his knowledge on IPC (and IPB overall for that matter) is amazing and we wouldn't have the new active tabbing options currently in place if it wasn't for his extensive knowledge.

I will be releasing without going through and recommenting the new areas (mainly to get this upgrade out due to the bug issues present in the current release) ... as the new groups build will require a whole new build and layout, making the commenting kind of pointless .. so bear this in mind if your skimming through their content.
Posted

this works great but not for submenus did i do something wrong?




I dont remember what changes ya needed .. I suggest waiting the day, grab the new upgrade and install..once thats done pm me when your free and I can help you retweek your template bits
Posted

I dont remember what changes ya needed .. I suggest waiting the day, grab the new upgrade and install..once thats done pm me when your free and I can help you retweek your template bits




thanks bud i love the support :D
Posted

Ok everyone .. the upgrade is posted

this was actually quite an extensive build, hence the long delay in release....

I did several test runs ... fresh installs and upgrades and all seems stable ...

anyone finds something amiss , just let know so I can get it patched

enjoy the new build!!!!!!!!!!

Posted

BTW..make sure to read the read me guys ... as there are things you must do before upgrading

backup and skin template changes ... as templates had to be dumped...

two variables where changed in the process so all existing menus will need to be edited as they will loose settings for "Link to IP.Board Application" and any IP.Content pages you might have selected.

Posted

I didn't make any css changes, background is now all dark blue, is this normal?


doing recaches now to see.




yes its been designed for the master theme only..you will have to tweak it to suite your needs ... keep in mind while editing as its more intense that it was before

commenting is there for ya ..but I didn't go thru it in detail .. if you need help with it just let me know
Posted

<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']}" /><else />{$menuitem['promenu_title']}</if><if test="$hassub == 1"> <img src="http://ipscommunity.invisionpowerser.netdna-cdn.com/public/style_images/master/_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>




this no longer works for using pics as tiltes :( whenver u get a channce let me know how to edit code to use it as main title :D
Posted

ok cool, figured that was the case but where I had not done any editing prior I wanted to verify.
should, for me, be just setting background color of the categories themselves
the blue works well for the dropdowns thenselves

Posted

ok cool, figured that was the case but where I had not done any editing prior I wanted to verify.


should, for me, be just setting background color of the categories themselves


the blue works well for the dropdowns thenselves




dont forget to edit existing menus and go thru main setting as there are new options!!! :D


this no longer works for using pics as tiltes :sad: whenver u get a channce let me know how to edit code to use it as main title :D




if memory servers .. you use an image for the title yes?
Posted

when item is category hovering shows a link. these were coverted, is this normal?




if you mean down in the bottom corner ... yes .. but if you'll notice..its not clickable .. and no hand pointer to indicate a link
Posted

right, noticed it was not an actual link. where I had not done any css edits prior I just wanted to make sure I was setup correctly before I try to :)
upgrade was a breeze btw, super simple.

Archived

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...