Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to use BREADCRUMB in Zend Framework

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 293
    Comment on it

    Hello Guys,

    If you are looking to set Breadcrumb in zend framework. Please follow the below code for the same::

    1)Open your controller file and function in which you want to add breadcrumb.

    /* BreadCrumb starts Here */
    $breadcrumbArray = Array("Hostipal Listing" => "http://www.abc.com/hostpitals/listing/", "Xyx Hostpital" => "");
    //key will describe the word appear in breadcrumb and value will the Path of this.
    $this->view->breadcrumbArray = $breadcrumbArray;
    /* BreadCrumb ends Here */
    

    2) Open the view html file to display breadcrumb

    echo Zend_Common_Common::breadcrumb($this->breadcrumarray); 
    

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: