Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 26, 2012, 06:11:40 AM
1 Hour
1 Day
1 Week
1 Month
Forever
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
WebsiteBaker Community Forum
English
Help & Support
(Moderators:
Argos
,
badknight
)
Showing hidden pages in breadcrumb
Pages: [
1
]
Go Down
Author
Topic: Showing hidden pages in breadcrumb (Read 432 times)
Argos
Moderator
Offline
Posts: 2161
Showing hidden pages in breadcrumb
«
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
Posts: 816
Re: Showing hidden pages in breadcrumb
«
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
(
0
,
SM2_ROOT
,
SM2_CURR
,
SM2_CRUMB
|
SM2_SHOWHIDDEN
,
'&#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
Posts: 208
Re: Showing hidden pages in breadcrumb
«
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.' ';
to
Code:
print '<span class="crumb">'.$page['menu_title'].'</span> ';
regards
Logged
Boudi
Addon Team
Offline
Posts: 816
Re: Showing hidden pages in breadcrumb
«
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
Thank you.
Logged
...:: Bake the Unbakable ::...
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...