Removing Forumbit-title from breadcrumb
#2
Alright so i found the code where the Breadcrumb trail is made:

Located in the   admin/inc/  folder the file named class_page.php


around line 242 in the code is where it for me starts.

	/**
	 * Add an item to the page breadcrumb trail.
	 *
	 * @param string $name The name of the item to add.
	 * @param string $url The URL to the item we're adding (if there is one)
	 */
	function add_breadcrumb_item($name, $url="")
	{
		$this->_breadcrumb_trail[] = array("name" => $name, "url" => $url);
	}

	/**
	 * Generate a breadcrumb trail.
	 *
	 * @return bool|string
	 */
	function _generate_breadcrumb()
	{
		if(!is_array($this->_breadcrumb_trail))
		{
			return false;
		}
		$trail = "";
		foreach($this->_breadcrumb_trail as $key => $crumb)
		{
			if(isset($this->_breadcrumb_trail[$key+1]))
			{
				$trail .= "<a href=\"".$crumb['url']."\">".$crumb['name']."</a>";
				if(isset($this->_breadcrumb_trail[$key+2]))
				{
					$trail .= " &raquo; ";
				}
			}
			else
			{
				$trail .= "<span class=\"active\">".$crumb['name']."</span>";
			}
		}
		return $trail;
	}

Sadly my php / js isnt the best but I will be looking into this code.

If someone finds a solution please post it!! Smile

If I solve the issue I will post again!
Reply


Messages In This Thread
RE: Removing Forumbit-title from breadcrumb - by Mr Frosty - 2016-07-16, 08:36 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)