Where is the breadcrumb code be found?

Hey! I want to insert breadcrumb on the header of my website. How can i do this? first of all, where can i have the code? if am correct....breadcrumb is this: [Avatar] Hello, {username}. right?

Quote · 22 Oct 2011

if you need to remove/add items to that try in
templates/base/scripts/BxBaseMenu.php

 

at bottom you'll see the references to

 //--- Get breadcrumb path(left side) ---//
  $sDivider = '<img class="bc_divider" src="' . getTemplateImage('bc_divider.png') . '" />';
  $aPathLinks = array();
  foreach($aPath as $sLink)
   $aPathLinks[] = '<div class="bc_unit">' . $sLink . '</div>';
  $sPathLinks = implode($sDivider, $aPathLinks);
  
  //--- Get additional links(right side) ---//
  $sAddons = "";
  if(isMember()) {
      $aProfile = getProfileInfo();     

      $sAddons = _t('_Hello member', $aProfile['NickName']);
      $sAddons .= ' <a href="' . $this->sSiteUrl . 'member.php">' . _t('_sys_breadcrumb_account') . '</a>';
      $sAddons .= ' <a href="' . $this->sSiteUrl . 'logout.php">' . _t('_sys_breadcrumb_logout') . '</a>';
  }
  else {
      $sAddons = _t('_Hello member', _t('_sys_breadcrumb_guest'));
      $sAddons .= ' <a href="' . $this->sSiteUrl . 'join.php">' . _t('_sys_breadcrumb_join') . '</a>';
      $sAddons .= ' <a href="javascript:void(0)" onclick="showPopupLoginForm(); return false;">' . _t('_sys_breadcrumb_login') . '</a>';
  }

  return '<div class="breadcrumb"><div class="bc_open">&nbsp;</div>' . $sPathLinks . '<div class="bc_addons">' . $sAddons . '</div><div class="bc_close">&nbsp;</div></div>';
 }
}

Quote · 22 Oct 2011

 

Hey! I want to insert breadcrumb on the header of my website. How can i do this? first of all, where can i have the code? if am correct....breadcrumb is this: [Avatar] Hello, {username}. right?

 

that sounds more like the promo block section you are talking about.

this is the breadcrumb

Quote · 22 Oct 2011

aha...and how can i put it on the header of my website??? right side.... where can i insert this code to put it on the header of my website......??

Quote · 22 Oct 2011

 

aha...and how can i put it on the header of my website??? right side.... where can i insert this code to put it on the header of my website......??

 

you want to move it to the top of your site.?..

try in /templates/base/_sub_header.html      look for __top_menu_breadcrumb__  and move it around don't forget to clear cache see what fits.

Quote · 22 Oct 2011

yeah its the promo block section where it has the user's avatar picture and den it says Hello, Username

Quote · 22 Oct 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.