目录
[隐藏]

Joomla breadcrumbs的设置其实还算蛮简单的,breadcrumbs基本上对一个网站是很重要的,然后还有一些问题就是很多主题对设置选择里面的比如 "you are here"这个没效果,选择不显示也没用,这是因为主题里面自己写上去了。

Joomla breadcrumbs module can be really helpful if you have a site with a lot of information. For instance, if you have multiple menu items and sub menu items, a breadcrumbs module will display the location of each page as you browse through all the pages on the site. For instance, we have enabled the breadcrumbs module for learning.cloudaccess.net as illustrated below.

breadcrumbs1.5

This article explains how install and manipulate a breadcrumbs module in Joomla 1.7.

After logging into the Administration area (the back end) of your site, go to Extensions > Module Manager.

breadcrumbs2

Once inside the Module Manager, select the "New" button to create a new module.

breadcrumbs3

Select "Breadcrumbs" from the list of Module Types that appears.

breadcrumbs4

In the "Details" area of the module, add a title. For the purposes of the sample breadcrumbs that we re creating for these screenshots, we ll title our module "Breadcrumbs", but we ll change the Show Title feature to "Hide" instead of "Show". Also, select a position for the module by selecting the "Select Position" button.

breadcrumbs5

You should consult the Module Map for the template that you re using before selecting a position. For the purposes of this article, we ve selected the "feature a" position in the Cloudbase 2.0 template.

breadcrumbs6

Be sure to save your work. visit the front end of your site, hit refresh, and you ll see your breadcrumbs module in the position that you selected.

breadcrumbs7

 

Visit the front end of your site, hit refresh, and you ll see your breadcrumbs module in the position that you selected.

breadcrumbs8

If you don t like the "You are here" or "Home" text or the arrows that are used to separate the items in your breadcrumb module, you can control a few of those settings. Simple return to the back end of your site, and look for the Basic Options area off to the right side of the article.

breadcrumbs9

via:http://www.cloudaccess.net/joomla-2-5/78-module-manager/139-breadcrumbs-module-joomla-2-5.html

removing "you are here" from specific Page

You can change that in the Breadcrumbs module / Module Parameters.

Extensions > Module Manager > Breadcrumbs > Basic Options. Show "You are here" to No

To remove the breadcrumbs you need to disable it from the specific module, not the generic breadcrumb module. For instance, in the Beez_20 template, the breadcrumbs are placed in module 2. Go to Module Manger. You may see more than one breadcrumb module listed. Look for the the breadcrumb module that is in the position where you want to remove it from - in this case, position 2. After clicking that module, go to Menu Assignment and choose No Pages. Or you can selectively choose which pages you want to remove it from.

一般的只要按照上面的设置就可以了,但是有些主题没效果呢,就要看主题里面的文件了Joomla Breadcrumbs

很多主题会有这样的/html/mod_breadcrumbs,在里面找找。看看有没有类似echo JText::_('You are here')这样的语句。

然后还有的呢,比如我的主题会在yjsg_pathway.php里有这样一句


1
2
3
<div id="pathway"><?php echo JText::_( 'PATHWAY_MSG' ); ?>&nbsp;&nbsp;
  <jdoc:include type="modules" name="breadcrumb" />
</div>

然后接着找,找到:


1
PATHWAY_MSG="You are here:"

所以删掉上面的echo就好了  Joomla Breadcrumbs