Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

tracking pages..

Go to End

4 Posts   1791 Views


Community Member, 36 Posts

21 October 2008 at 9:26am

hi everybody

my query is as follows:

I would like to know how to do, that the pages that I visit has a tracking pages..

as have several pages

I show them this picture page.png

again, sorry for my bad English



Community Member, 904 Posts

21 October 2008 at 10:15am

This looks a lot like a breadcrumb navigation.
You can do this easily with the built in page-control ($Breadcrumbs):

If you really want some sort of history, you'll probably have to implement something on your own using the Session Object or similar.


Community Member, 36 Posts

22 October 2008 at 6:05am


in the "templates \ Includes"

I made a new file called:

<% if Level(2) %>
  <div class="breadcrumbs">
<% end_if %>

and in the folder:

I put in my file as follows:

<div class="typography">
	<% if Level(2) %>
	  	<% include BreadCrumbs %>
	<% end_if %>
<% include GalleryPageContent %>

Anything I am doing wrong?
Because I do not have the result..



Community Member, 63 Posts

22 October 2008 at 8:00am

Edited: 22/10/2008 8:00am

Make sure you are calling the file with the right case.

example. you have function BreadCrumbs(){ ...

and you call $breadcrumbs on your page. you will get nothing. it has to match.

This would be Correct in this instance, $BreadCrumbs