Jump to content

Pages - Breadcrumbs that reflect pages structure

RaZor Edge

Recommended Posts


My website is using the Pages app as default.

So I've got something like : Homepage, Section 1, Section 2, Section 3, Forum, etc

On the Pages app, I have created folders reflecting this structure:


(I've got also a default page showing for Folder1)

So, the url show:


But the breadcrumb show:

Homepage / Page1

I would like it to be:

Homepage / Folder1 / Page1

or even

Folder1 / Page1

It seems to be done on IPS own website:


Can it be done without changing templates?

It was also requested in this thread:



Link to comment
Share on other sites

Well, I'll go the easy way.

I'll made a different template for each section and adjust the Breadcrum template in each :

<li {{if $useMicrodata}} itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"{{endif}}>
			<a title="{lang="home"}" href='{setting="base_url"}' {{if $useMicrodata}}itemscope itemtype="http://schema.org/Thing" itemprop="item"{{endif}}>
				<span {{if $useMicrodata}}itemprop="name"{{endif}}><i class='fa fa-home'></i> {lang="home"}{{if count( \IPS\Output::i()->breadcrumb )}} <i class='fa fa-angle-right'></i>{{endif}}</span>
			<meta itemprop="position" content="1">


Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...