Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
March 16, 2010, 04:34:06 PM
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
.
110108
Posts in
15906
Topics by
9274
Members
Latest Member:
someWBUser
WebsiteBaker Community Forum
English
Archive (posts up to 2007)
(Moderators:
Argos
,
BerndJM
)
Breadcrumb module
Pages:
1
[
2
]
Author
Topic: Breadcrumb module (Read 16782 times)
bling
Offline
Posts: 6
Re: Breadcrumb module
«
Reply #25 on:
August 31, 2006, 12:34:59 PM »
Little help please
I tried to use the breadcrumb module but when I add this to page the error message will come:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'loop,footer,class,show_title) VALUES ('1','3','1','Home ',' : ',' >>','breadcrum' at line 1
Please help !
Logged
kweitzel
Forum administrator
Offline
Posts: 5550
Re: Breadcrumb module
«
Reply #26 on:
August 31, 2006, 01:46:40 PM »
Can you tell us, what you have done to implement this function?
You could also use the show_menu2 function to achieve this ...
cheers
Klaus
Logged
http://www.weitzel.biz
PM has been disabled
bling
Offline
Posts: 6
Re: Breadcrumb module
«
Reply #27 on:
August 31, 2006, 02:13:48 PM »
I tried two ways.
First I tried to add this as a section to the page. This gave me the error message (right after I tried to add this in admin).
Should this even work that way ?
Also I tried to add this to the template like pcwacht wrote:
Copy this code to the top of your templates's index.php...
-and code-
But it does not show me breadcrumb...
«
Last Edit: August 31, 2006, 02:18:00 PM by bling
»
Logged
bling
Offline
Posts: 6
Re: Breadcrumb module
«
Reply #28 on:
August 31, 2006, 02:31:59 PM »
Thanks kweitzel
show menu2 worked very well !!!
Logged
kweitzel
Forum administrator
Offline
Posts: 5550
Re: Breadcrumb module
«
Reply #29 on:
August 31, 2006, 03:55:27 PM »
Quote from: bling on August 31, 2006, 02:31:59 PM
Thanks kweitzel
show menu2 worked very well !!!
and obviously quite well if it took you less than 20 minutes ...
cheers
Klaus
Logged
http://www.weitzel.biz
PM has been disabled
tomhung
Offline
Posts: 352
Re: Breadcrumb module
«
Reply #30 on:
November 21, 2006, 09:20:07 PM »
404 on the breadcrumb.zip
Logged
kweitzel
Forum administrator
Offline
Posts: 5550
Re: Breadcrumb module
«
Reply #31 on:
November 21, 2006, 10:17:50 PM »
don't know which version it is I have, but here you go ..
cheers
Klaus
Logged
http://www.weitzel.biz
PM has been disabled
ruebenwurzel
Leaders Team
Offline
Posts: 7211
Keep on Rockin
Re: Breadcrumb module
«
Reply #32 on:
November 21, 2006, 11:19:50 PM »
Hello,
breadcrumbs are included in WB 2.6.4. Only call in the template where the breadcrumbs should be:
Code:
<?php show_breadcrumbs
();
?>
Matthias
Logged
You search for help, please look here:
Help-Page
You search for Modules, Templates or Languages, please look here:
Addons-Page
potain
Offline
Posts: 36
Re: Breadcrumb module
«
Reply #33 on:
November 22, 2006, 10:24:08 PM »
Hi
The link to breadcrum.zip does not seem to be working.
There is a Breadcrumbs PHP Class v. 2.4.2 (
http://www.baskettcase.com/classes/breadcrumb/
).
Has anyone tried to implement this in WB and know how to call it in the template?
The great template that Matthias recently revamped for me has the
Quote
<?php show_breadcrumbs(); ?>
which is exellent but it only shows the current page on my computer (don't know if should reveal all the full paths).
I am after something similar to the Joomla - mosPathWay(); function, see
http://joomla.org.in/doc/nav.html?_functions/index.html
:
function mosPathWay() {
5196 $Itemid = mosGetParam($_REQUEST,'Itemid','');
5197 require $GLOBALS['mosConfig_absolute_
path'] . '/includes/pathway.php';
5198 }
or that displayed on :
http://www.phpriot.com/d/articles/php/navigation/breadcrumbs/index.html
which unfortunately use smarty.
Thank you.
Jean
Logged
ruebenwurzel
Leaders Team
Offline
Posts: 7211
Keep on Rockin
Re: Breadcrumb module
«
Reply #34 on:
November 23, 2006, 07:36:27 AM »
Hello,
Quote
<?php show_breadcrumbs(); ?>
which is exellent but it only shows the current page
This function shows all pages and subpages. If you only have pages in the root it only could show one level. Add subpages and subsubpages and you will see that it works.
You also can use show_menu2 for the breadcrumbs. Install the modul from the
Addons Repository
and look at the readme.txt wich comes with the modul. Example Codes you find here:
http://code.jellycan.com/sm2test/
But this (as all breadcrumbs function) can show only available pages, if now subpages are created they cannot be seen.
Matthias
Logged
You search for help, please look here:
Help-Page
You search for Modules, Templates or Languages, please look here:
Addons-Page
potain
Offline
Posts: 36
Re: Breadcrumb module
«
Reply #35 on:
November 23, 2006, 08:59:25 AM »
Hi Matthias
You're right, sorry.
I could not see a link to the home page on the breadcrum from a page that I created with the home page not as the parent. That's where where the confusion arises, I think.
Would you then suggest that all pages should be created as children of the home page for easy navigation?
Thanks
Jean
Logged
ruebenwurzel
Leaders Team
Offline
Posts: 7211
Keep on Rockin
Re: Breadcrumb module
«
Reply #36 on:
November 23, 2006, 11:28:32 AM »
Hello,
why wanna use the breadcrumb as navigation? For this the menue structure is thought. A good page has 8-10 menupoints (root pages) and under this the sub- , subsub-, and subsubsubpages. Breadcrumbs could help if you have a lot of levels in your whol structure to easy see where the user is and wasy go back. If you only plan to have root pages with max 1 subpage you don't need the breadcrumbs.
In you specific case with the master_green Template you can make in the Topmenu 4-8 "Static" Pages like Kontakt, Impressum, Help or whatever and make the Main Navigation in the Leftmenu with 8-10 main Menupoints and how much subpages you need to this main meinupoints.
The breadcrumb function show only where (on wich page or subpage) you are at the moment, it is no menufunction.
Matthias
Matthias
Logged
You search for help, please look here:
Help-Page
You search for Modules, Templates or Languages, please look here:
Addons-Page
potain
Offline
Posts: 36
Re: Breadcrumb module
«
Reply #37 on:
November 24, 2006, 08:29:45 AM »
Thank you Matthias
Jean
Logged
Pages:
1
[
2
]
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> 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
=> 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
Loading...