5

I am using breadcrumbs in my zend application, the question is I have to use dynamicallly changing parameters.

In my breadcrumb it should be:

Manage hotels -> hotel1 -> rates -> add rate

the hotel is changing, but I can only do

Manage hotels-> rates -> add rate

I can't add the dynamically changing hotel name to my breadcrumb, how can I do this, is there any way to do this?

2
  • 1
    Zend_Navigation works best with a static structure. Perhaps it isn't the best solution for your application Commented May 4, 2011 at 6:30
  • oh really ............. then i have to look for another option , thanks lkke ..................... Commented May 4, 2011 at 8:39

1 Answer 1

3

You should be able to change the breadcrumbs dynamically. You can generate a navigation object from the database, You can find out how to create a navigation object in the following link..

http://framework.zend.com/manual/en/zend.navigation.pages.html

You can keep the Hotel Name as a hidden due (0), but to enable them for the breadcrumbs use the following: $this->navigation()->breadcrumbs()->setRenderInvisible(TRUE);

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.