CMS - Breadcrumbs no.2

11.12.2015 329
Assigned to: CMS Option: Feedback Status: Open Solution: No From: bluesatkv

Hi Jerome,

We solved breadcrumbs in this last ticket https://www.jakweb.ch/support/t/52/cms-breadcrumbs

The final code has been

<?php foreach($jakcategories as $ca) if ($ca['catorder'] == 1 && $ca['showmenu'] == 1) { echo '<a href="'.BASE_URL.'">'.$ca["name"].'</a>';}?>

It has one small mistake.

$ca['catorder'] == 1 is same for two category, for 'Home' and 'Sitemap'.

Conflicting situations:

Category 'Home'  have settings 'Show in Header - YES'

Category 'Sitemap'  have settings 'Show in Header - YES'

Result

HomeSitemap

It is possible to set another catorder for Home page and Sitemap?

Sign in to see the solution.