Welcome, Guest. Please login or register.
Did you miss your activation email?
February 12, 2012, 09:41:04 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.
149630 Posts in 21098 Topics by 7537 Members
Latest Member: lotte2
* Home Help Search Login Register
Pages: 1 [2]   Go Down
Print
Author Topic: Breadcrumb module  (Read 19810 times)
bling

Offline Offline

Posts: 6


« Reply #25 on: August 31, 2006, 11:34:59 AM »

Little help please  cry
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 Offline

Posts: 6819


WWW
« Reply #26 on: August 31, 2006, 12: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

WebsiteBaker Org e.V. - for WebsiteBaker

bling

Offline Offline

Posts: 6


« Reply #27 on: August 31, 2006, 01: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, 01:18:00 PM by bling » Logged
bling

Offline Offline

Posts: 6


« Reply #28 on: August 31, 2006, 01:31:59 PM »

Thanks kweitzel   cheesy
show menu2 worked very well !!!
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6819


WWW
« Reply #29 on: August 31, 2006, 02:55:27 PM »

Thanks kweitzel   cheesy
show menu2 worked very well !!!

and obviously quite well if it took you less than 20 minutes ... smiley

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

tomhung

Offline Offline

Posts: 353


« Reply #30 on: November 21, 2006, 09:20:07 PM »

404 on the breadcrumb.zip
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6819


WWW
« 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

WebsiteBaker Org e.V. - for WebsiteBaker

ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7661



WWW
« 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
potain

Offline Offline

Posts: 36


« 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
WebsiteBaker Org e.V.

Offline Offline

Posts: 7661



WWW
« 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
potain

Offline Offline

Posts: 36


« 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
WebsiteBaker Org e.V.

Offline Offline

Posts: 7661



WWW
« 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
potain

Offline Offline

Posts: 36


« Reply #37 on: November 24, 2006, 08:29:45 AM »

Thank you Matthias

Jean
Logged
Pages: 1 [2]   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!