Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 06:11:40 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.
155533 Posts in 21713 Topics by 7739 Members
Latest Member: audillino
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Showing hidden pages in breadcrumb  (Read 432 times)
Argos
Moderator
**
Offline Offline

Posts: 2161


WWW
« on: March 17, 2010, 03:01:13 AM »

I want to show hidden pages in the breadcrumb, but cannot find out if it's possible. I tried using the SM2_SHOWHIDDEN command, but that doesn't seem to work. Ideally the hidden pages would be shown without link. So something like:

Home > Visible Page > Hidden Page > Visible Page > Current Page

Does anybody have a clue?

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!
Boudi
Addon Team

Offline Offline

Posts: 816



WWW
« Reply #1 on: December 15, 2011, 04:59:23 PM »

Same problem: there seems no solution while I need one!

This is what I have:

Code:

<?php show_menu2(0SM2_ROOTSM2_CURRSM2_CRUMB|SM2_SHOWHIDDEN'&#38;#8594; [a][page_title]</a>''''''''[a][page_title]</a>'); ?>


Anyone?

« Last Edit: December 15, 2011, 05:03:55 PM by Argos » Logged

...:: Bake the Unbakable ::...
marmot

Offline Offline

Posts: 208


« Reply #2 on: December 18, 2011, 10:43:21 AM »

Hi,

I can't see the problem.
Code:
<?php show_breadcrumbs(); ?>
and the code posted by Boudi show the hidden pages for me.  (wb rev. 1528 with hotfix).
If the only problem is the link to the hidden page use show_breadcrumbs(); and change line 383 in fronted.functions.p hp from
Code:
print $show_crumb.'&nbsp;';
to
Code:
print '<span class="crumb">'.$page['menu_title'].'</span>&nbsp';

regards
Logged
Boudi
Addon Team

Offline Offline

Posts: 816



WWW
« Reply #3 on: December 22, 2011, 09:09:23 AM »

Thnx Marmot for your answer.

In this particular case I solved it with the new mod http://www.websitebaker2.org/forum/index.php/topic,22160.0.html

But In a matter of time there will be another example in which I have to show the hidden bc's. I bookmarked this topic so then I can test your solution Smiley

Thank you.

Logged

...:: Bake the Unbakable ::...
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!