MX Breadcrumbs Forum :: displaying the breadcrumb more than once

This thread was displayed: 294 times


Starting with 17th May 2007, Adobe Systems will stop offering support for any version of the discontinued InterAKT products. As a result, we will not answer to new support incidents starting with May 17th, 2007. Pending support incidents will still be followed in order to be closed. The product forums will remain open and be transformed in user-to-user forums. The general forums will be made read-only and not allow new posts or comments.

For more information about the affected products visit: www.interaktonline.com/Support/

View Threaded Show descending
jboy
11-24-2006 03:41:09 GMT +2

hi, i am trying to display the breadcrumb more than once. 

Once in the page header  and once in the main body of the page (excluding the HREF tags).

this works fine if i do it once in the body... 

<?php do { ?>
      <?php if ($totalRows_Breadcrumbs > 0) { // Show if recordset not empty ?>
      &gt; <a href="treatments.php?catID=<?php echo $row_Breadcrumbs['catID']; ?>"><?php echo $row_Breadcrumbs['catName']; ?></a>
      <?php } // Show if recordset not empty ?>
      <?php } while ($row_Breadcrumbs = mysql_fetch_assoc($Breadcrumbs)); ?>

However if i but the same piece of code on the page somewhere else it just does display it.

any ideas

Back | Reply | Quote | Top
Razvan Racasanu[InterAKT]Adobe Systems Romania staff
11-24-2006 12:35:25 GMT +2

Hello,

This could be happening because after the first loop the recordset is at it's end. You need to reset it after the first loop like this:

mysq_data_seek($Breadcrumbs, 0);
$row_Breadcrumbs = mysql_fetch_assoc($Breadcrumbs);

Regards,
Razvan RACASANU

Reply | Quote | Top
jboy
11-27-2006 21:18:46 GMT +2

thanks.. that worked

Any ideas on how to display or Categories and subcategories.. e.g.

  • Cat 1
    •  > Cat A
    •  > Cat b
  • Cat 2
    • A
    • B
      • i
      • ii
        • Ai

etc.??

Reply | Quote | Top
Razvan Racasanu[InterAKT]Adobe Systems Romania staff
11-28-2006 10:05:18 GMT +2

Hello,

You could use a dynamic MX CSS Menus to display this structure. If you do not want the skin, you can remove the CSS that is generates from the page.

Regards,
Razvan RACASANU

Reply | Quote | Top
MX Breadcrumbs 1.8.3
© Adobe Systems Romania. All rights reserved.