Support Tickets - CMS - Breadcrumbs no.2

CMS - Breadcrumbs no.2

CMS 11.12.2015 2497 Feedback Status: Open Solution: No bluesatkv


Hi Jerome,

We solved breadcrumbs in this last ticket https://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?


Replies (1)

  • avatar Jerome

    No that is way you have:

    $ca['showmenu'] == 1

    which will only be for the header menu, you could add:

    && $ca['showfooter'] == 0

    which would eliminate the footer menu.

    11.12.2015 0