Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 09:49:05 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155536 Posts in 21713 Topics by 7737 Members
Latest Member: chris85
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Breadcrumbs without links?  (Read 415 times)
CodeALot

Offline Offline

Posts: 58



« on: March 19, 2010, 01:50:18 PM »

Is it possible to use the "show_breadcrumbs" statement in a template without having the breadcrumbs act as links?

(Don't ask why please, I had a long discussion about it with the client already LOL)
Logged
Stefek
WebsiteBaker Org e.V.

Offline Offline

Posts: 4884



« Reply #1 on: March 19, 2010, 01:54:11 PM »

Hello,

I dont know if the show_breadcrumbs function is a good choice for it (didn't test it yet), but show_menu2() is great for this.

Just see the documentation page....

Regards,
Stefek
Logged

"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
Argos
Moderator
**
Offline Offline

Posts: 2161


WWW
« Reply #2 on: March 20, 2010, 03:01:12 AM »

Something like this should work (not tested):

Code:
<?php show_menu2(0SM2_ROOTSM2_CURRSM2_CRUMB'<span class="[class]"> &raquo; [menu_title]''</span>''''''[if(id!=1){Home &raquo; }]<span class="[class]">[menu_title]'); ?>
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!