How to Display Breadcrumb in Websites That Created With PHPMaker 8.0.3

The only way to let your users/visitors know about where they are or what is the full path of the current website page they are visitting now is to display the breadcrumb link in your website. By displaying this breadcrumb link, in addition they will not be lost about the location where they are, your users also will be easily jump to the certain parent page link of the current page, especially if your menu structure has more than one levels. Unfortunately, PHPMaker has not provided this breadcrumb feature until 8.0.3 version.

All right then. Here is the good news. I have successfully customized the PHPMaker template in order to implement this breadcrumb link feature in most of pages that generated by PHPMaker. You are also able to display or hide (disable/enable) this breadcrumb link by simply adjust the related constant value in your configuration (ewcfg*.php) file. Not only that, the style of the breadcrumb that will be displayed looks simple, yet so very very nice. This will make your website will look smarter and more professional for your users or visitors.

Another good news that you need to know is that you are able now to create unlimited breadcrumb levels, as well as the unlimited menu levels you may create that provided by PHPMaker itself. Not only that, you are also now able to display the current page title in your title bar of your browser. For example, your current page title is “Customers List” and your web application title is “My Online Shop”. Instead of displaying only “My Online Shop” in the browser’s title bar as the current condition that provided by PHPMaker, now you are able to display Customers List « My Online Shop in your title bar of the browser.

Updated on February 25, 2012: Now the breadcrumb also supports for multi language feature! Please re-check all steps below, especially the $rs->fields(“Page_Title”) syntax, make sure you have replaced it become: $Language->Phrase($rs->fields(“Page_Title”)). Do not hesitate to leave your comment just in case you are still having the problem to implement multi language feature for the breadcrumb.

All we have to do is customizing the PHPMaker template files. In other words, we do not modify any generated script files.

Please click on the following image below to watch the demo:

Displaying Breadcrumb Link

Displaying Breadcrumb Link

Please Login or register to read the rest of this content.

Comments

  1. Paulo Santos says:

    Can’t find the file at point 9. (edit-script.php).
    Thought it could be and error.
    Tried to execute the rest but, in the end, nothing works.

Speak Your Mind

s2Member®