This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

This tag allows you insert a "trace" of the user's most recently visited pages on the Wiki.

It requires cookies to function correctly. If the user has disabled cookies, no trail is generated.

This tag has been contributed by Ken Liu (ken at kenliu.net).


Usage#

<wiki:Breadcrumbs maxpages="<integer>" separator="<string>" />

Parameters#

maxpages
How many pages should we track? Default is 10 most recent pages.
separator
HTML snippet for what should be between the listed pages. Default is " | ".
trailtype=(visit|breadcrumb)
what kind of trail should be left. The default is breadcrumb, this shows all the pages, in order that they were displayed. If you display a page twice, there will be two entries in the breadcrumb. Using visit as the parameter shows the trail as all the pages that were visited. If you visit a page more than once, it is only shown once in the list.

Example#

Your trail: <wiki:Breadcrumbs />

Known bugs#

<wiki:Breadcrumbs /> Separator does not clean the HTML it is given - it is thus a security hazard.
8 August 2004
New version uploaded - change was the trailtype support. Tested against the 2.0.54 release, change the log statements to have it work with 2.1.103. -- Foster Schucker
Regarding the FIXMEs in this code. How about something like this (tried in 2.1.106):
out.print(engine.textToHTML(m_wikiContext, "[" + curPage + "]"));

Instead of:

out.print("<a class=\"" + linkclass + "\" href=\"" + 
             engine.getViewURL(curPage)+ "\">" + curPage + "</a>");

Are the square brackets defined somewhere?

I haven't tested extensively to see what it breaks. It'd potentially allow non existant pages and attachments to show up in bread crumbs with their usual styles.


CategoryOfficialDocumentation http://www.shop263.com/i8-3/234.htm http://www.shop263.com/i8-3/235.htm http://www.shop263.com/i8-3/236.htm http://www.shop263.com/i8-3/237.htm http://www.shop263.com/i8-3/238.htm http://www.shop263.com/i8-3/239.htm http://www.shop263.com/i8-3/240.htm http://www.shop263.com/i8-3/241.htm http://www.shop263.com/i8-3/242.htm http://www.shop263.com/i8-3/243.htm http://www.shop263.com/i8-3/244.htm http://www.shop263.com/i8-3/245.htm http://www.shop263.com/i8-3/246.htm http://www.shop263.com/i8-3/247.htm http://www.shop263.com/i8-3/248.htm http://www.shop263.com/i8-3/249.htm http://www.shop263.com/i8-3/250.htm http://www.shop263.com/i8-3/251.htm http://www.shop263.com/i8-3/252.htm http://www.shop263.com/i8-3/253.htm http://www.shop263.com/i8-3/254.htm http://www.shop263.com/i8-3/255.htm http://www.shop263.com/i8-3/256.htm http://www.shop263.com/i8-3/257.htm http://www.shop263.com/i8-3/258.htm http://www.shop263.com/i8-3/259.htm http://www.shop263.com/i8-3/260.htm http://www.shop263.com/i8-3/261.htm http://www.shop263.com/i8-3/262.htm http://www.shop263.com/i8-3/263.htm http://www.shop263.com/i8-3/264.htm http://www.shop263.com/i8-3/265.htm http://www.shop263.com/i8-3/266.htm http://www.shop263.com/i8-3/267.htm http://www.shop263.com/i8-3/268.htm http://www.shop263.com/i8-3/269.htm http://www.shop263.com/i8-3/270.htm http://www.shop263.com/i8-3/271.htm http://www.shop263.com/i8-3/272.htm http://www.shop263.com/i8-3/273.htm http://www.shop263.com/i8-3/274.htm http://www.shop263.com/i8-3/275.htm http://www.shop263.com/i8-3/276.htm http://www.shop263.com/i8-3/277.htm http://www.shop263.com/i8-3/278.htm http://www.shop263.com/i8-3/279.htm http://www.shop263.com/i8-3/280.htm http://www.shop263.com/i8-3/281.htm http://www.shop263.com/i8-3/282.htm http://www.shop263.com/i8-3/283.htm http://www.shop263.com/i8-3/284.htm http://www.shop263.com/i8-3/285.htm http://www.shop263.com/i8-3/286.htm http://www.shop263.com/i8-3/287.htm http://www.shop263.com/i8-3/288.htm http://www.shop263.com/i8-3/289.htm http://www.shop263.com/i8-3/290.htm http://www.shop263.com/i8-3/291.htm http://www.shop263.com/i8-3/292.htm http://www.shop263.com/i8-3/293.htm http://www.shop263.com/i8-3/294.htm http://www.shop263.com/i8-3/295.htm http://www.shop263.com/i8-3/296.htm http://www.shop263.com/i8-3/297.htm http://www.shop263.com/i8-3/298.htm http://www.shop263.com/i8-3/299.htm http://www.shop263.com/i8-3/300.htm http://www.shop263.com/i8-3/301.htm http://www.shop263.com/i8-3/302.htm http://www.shop263.com/i8-3/303.htm http://www.shop263.com/i8-3/304.htm http://www.shop263.com/i8-3/305.htm http://www.shop263.com/i8-3/306.htm http://www.shop263.com/i8-3/307.htm http://www.shop263.com/i8-3/308.htm http://www.shop263.com/i8-3/309.htm http://www.shop263.com/i8-3/310.htm http://www.shop263.com/i8-3/311.htm http://www.shop263.com/i8-3/312.htm http://www.shop263.com/i8-3/313.htm http://www.shop263.com/i8-3/314.htm http://www.shop263.com/i8-3/315.htm http://www.shop263.com/i8-3/316.htm http://www.shop263.com/i8-3/317.htm http://www.shop263.com/i8-3/318.htm http://www.shop263.com/i8-3/319.htm http://www.shop263.com/i8-3/320.htm http://www.shop263.com/i8-3/321.htm http://www.shop263.com/i8-3/322.htm http://www.shop263.com/i8-3/323.htm http://www.shop263.com/i8-3/324.htm http://www.shop263.com/i8-3/325.htm http://www.shop263.com/i8-3/326.htm http://www.shop263.com/i8-3/327.htm http://www.shop263.com/i8-3/328.htm http://www.shop263.com/i8-3/329.htm http://www.shop263.com/i8-3/330.htm http://www.shop263.com/i8-3/331.htm http://www.shop263.com/i8-3/332.htm http://www.shop263.com/i8-3/333.htm http://www.shop263.com/i8-3/334.htm http://www.shop263.com/i8-3/335.htm http://www.shop263.com/i8-3/336.htm http://www.shop263.com/i8-3/337.htm http://www.shop263.com/i8-3/338.htm http://www.shop263.com/i8-3/339.htm http://www.shop263.com/i8-3/340.htm http://www.shop263.com/i8-3/341.htm http://www.shop263.com/i8-3/342.htm http://www.shop263.com/i8-3/343.htm http://www.shop263.com/i8-3/344.htm http://www.shop263.com/i8-3/345.htm http://www.shop263.com/i8-3/346.htm http://www.shop263.com/i8-3/347.htm http://www.shop263.com/i8-3/348.htm http://www.shop263.com/i8-3/349.htm http://www.shop263.com/i8-3/350.htm http://www.shop263.com/i8-3/351.htm http://www.shop263.com/i8-3/352.htm http://www.shop263.com/i8-3/353.htm http://www.shop263.com/i8-3/354.htm http://www.shop263.com/i8-3/355.htm http://www.shop263.com/i8-3/356.htm http://www.shop263.com/i8-3/357.htm http://www.shop263.com/i8-3/358.htm http://www.shop263.com/i8-3/359.htm http://www.shop263.com/i8-3/360.htm http://www.shop263.com/i8-3/361.htm http://www.shop263.com/i8-3/362.htm http://www.shop263.com/i8-3/363.htm http://www.shop263.com/i8-3/364.htm http://www.shop263.com/i8-3/365.htm http://www.shop263.com/i8-3/366.htm http://www.shop263.com/i8-3/367.htm http://www.shop263.com/i8-3/368.htm http://www.shop263.com/i8-3/369.htm http://www.shop263.com/i8-3/370.htm http://www.shop263.com/i8-3/371.htm http://www.shop263.com/i8-3/372.htm http://www.shop263.com/i8-3/373.htm http://www.shop263.com/i8-3/374.htm http://www.shop263.com/i8-3/375.htm http://www.shop263.com/i8-3/376.htm http://www.shop263.com/i8-3/377.htm http://www.shop263.com/i8-3/378.htm http://www.shop263.com/i8-3/379.htm http://www.shop263.com/i8-3/380.htm http://www.shop263.com/i8-3/381.htm http://www.shop263.com/i8-3/382.htm http://www.shop263.com/i8-3/383.htm http://www.shop263.com/i8-3/384.htm http://www.shop263.com/i8-3/385.htm http://www.shop263.com/i8-3/386.htm http://www.shop263.com/i8-3/387.htm http://www.shop263.com/i8-3/388.htm http://www.shop263.com/i8-3/389.htm http://www.shop263.com/i8-3/390.htm http://www.shop263.com/i8-3/391.htm http://www.shop263.com/i8-3/392.htm http://www.shop263.com/i8-3/393.htm http://www.shop263.com/i8-3/394.htm http://www.shop263.com/i8-3/395.htm http://www.shop263.com/i8-3/396.htm http://www.shop263.com/i8-3/397.htm http://www.shop263.com/i8-3/398.htm http://www.shop263.com/i8-3/399.htm http://www.shop263.com/i8-3/400.htm http://www.shop263.com/i8-3/401.htm http://www.shop263.com/i8-3/402.htm http://www.shop263.com/i8-3/403.htm http://www.shop263.com/i8-3/404.htm http://www.shop263.com/i8-3/405.htm http://www.shop263.com/i8-3/406.htm http://www.shop263.com/i8-3/407.htm http://www.shop263.com/i8-3/408.htm http://www.shop263.com/i8-3/409.htm http://www.shop263.com/i8-3/410.htm http://www.shop263.com/i8-3/411.htm http://www.shop263.com/i8-3/412.htm http://www.shop263.com/i8-3/413.htm http://www.shop263.com/i8-3/414.htm http://www.shop263.com/i8-3/415.htm http://www.shop263.com/i8-3/416.htm http://www.shop263.com/i8-3/417.htm http://www.shop263.com/i8-3/418.htm http://www.shop263.com/i8-3/419.htm http://www.shop263.com/i8-3/420.htm http://www.shop263.com/i8-3/421.htm http://www.shop263.com/i8-3/422.htm http://www.shop263.com/i8-3/423.htm http://www.shop263.com/i8-3/424.htm http://www.shop263.com/i8-3/425.htm http://www.shop263.com/i8-3/426.htm http://www.shop263.com/i8-3/427.htm http://www.shop263.com/i8-3/428.htm http://www.shop263.com/i8-3/429.htm http://www.shop263.com/i8-3/430.htm http://www.shop263.com/i8-3/431.htm http://www.shop263.com/i8-3/432.htm http://www.shop263.com/i8-3/433.htm http://www.shop263.com/i8-3/434.htm http://www.shop263.com/i8-3/435.htm http://www.shop263.com/i8-3/436.htm http://www.shop263.com/i8-3/437.htm http://www.shop263.com/i8-3/438.htm http://www.shop263.com/i8-3/439.htm http://www.shop263.com/i8-3/440.htm http://www.shop263.com/i8-3/441.htm http://www.shop263.com/i8-3/442.htm http://www.shop263.com/i8-3/443.htm http://www.shop263.com/i8-3/444.htm http://www.shop263.com/i8-3/445.htm http://www.shop263.com/i8-3/446.htm http://www.shop263.com/i8-3/447.htm http://www.shop263.com/i8-3/448.htm http://www.shop263.com/i8-3/449.htm http://www.shop263.com/i8-3/450.htm http://www.shop263.com/i8-3/451.htm http://www.shop263.com/i8-3/452.htm http://www.shop263.com/i8-3/453.htm http://www.shop263.com/i8-3/454.htm http://www.shop263.com/i8-3/455.htm http://www.shop263.com/i8-3/456.htm http://www.shop263.com/i8-3/457.htm http://www.shop263.com/i8-3/458.htm http://www.shop263.com/i8-3/459.htm http://www.shop263.com/i8-3/460.htm http://www.shop263.com/i8-3/461.htm http://www.shop263.com/i8-3/462.htm http://www.shop263.com/i8-3/463.htm http://www.shop263.com/i8-3/464.htm http://www.shop263.com/i8-3/465.htm http://www.shop263.com/i8-3/466.htm

http://www.haishun.net http://www.7766888.com http://www.7766888.com/introcom.htm http://www.7766888.com/introcn.htm http://www.7766888.com/u_puji.htm http://www.7766888.com/mysql.htm http://www.7766888.com/u_jingji.htm http://www.7766888.com/u_biaozhun.htm http://www.7766888.com/u_zhiqiang.htm http://www.7766888.com/w_jingji.htm http://www.7766888.com/w_biaozhun.htm http://www.haishun.net/p_mjds.htm http://www.haishun.net/p_mjds_dmmj.htm http://www.haishun.net/p_mjds_lwmj.htm http://www.haishun.net/p_mjds_yjs.htm http://www.haishun.net/cctv.htm http://www.haishun.net/p_cctv_jk.htm http://www.haishun.net/p_cctv_jk_sxj.htm http://www.haishun.net/p_cctv_jk_xsq.htm http://www.haishun.net/p_cctv_jk_yplxj.htm http://www.haishun.net/p_cctv_jk_yt.htm http://www.haishun.net/p_cctv_jk_zj.htm http://www.fm360.net http://www.fm360.net/page/001.html http://www.fm360.net/page/game.htm http://www.fm360.net/page/software.htm http://www.fm360.net/page/jinshi.htm http://www.fm360.net/page/music.htm http://www.fm360.net/page/053.html http://www.fm360.net/page/flash.htm http://www.fm360.net/page/newsweek.htm http://www.fm360.net/page/club.htm http://www.fm360.net/page/stock.htm http://www.fm360.net/page/love.htm http://www.fm360.net/page/netcard.htm http://www.fm360.net/page/025.html http://www.fm360.net/page/hardware.htm http://www.fm360.net/page/sport.htm http://www.fm360.net/page/shouji.htm http://www.fm360.net/page/ym.htm http://www.fm360.net/page/ylbj.htm http://www.fm360.net/page/car.htm http://www.jifamark.com/xhj.htm http://www.jifamark.com http://www.funasia.cn http://www.funasia.cn/pinpai.asp http://www.funasia.cn/client/gb_list.asp http://www.funasia.cn/design/index.asp http://www.funasia.cn/funasiaHome/index.asp http://www.funasia.cn/jiancai.asp http://www.funasia.cn/shishang.asp http://www.funasia.cn/mall/AboutOur.htm http://www.genset-sh.com http://www.asp169.com/marketingsoft1.htm http://www.asp169.com/marketingsoft2.htm http://www.asp169.com/zhaoguan.htm http://www.xsjby.cn http://www.asp169.com/zhaoguan2.htm http://www.asp169.com/crm.htm http://www.asp169.com/marketingsoft3.htm http://www.asp169.com/marketingsoft4.htm http://www.asp169.com/marketingsoft5.htm http://haishun11.51.net http://decorate.51.net http://www.xhhj.com.cn http://www.hdfix.com.cn

Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
java
BreadcrumbsTag.java 5.8 kB 1 09-Aug-2004 05:35 FosterSchucker
« This particular version was published on 07-Oct-2004 09:33 by 221.196.142.68.