Questions tagged [zend-navigation]

Zend_Navigation is a component for managing trees of pointers to web pages , on Zend Framework

Zend\Navigation is a component for managing trees of pointers to web pages.

Simply put: It can be used for creating menus, breadcrumbs, links, and sitemaps, or serve as a model for other navigation related purposes.

Source

201 questions
0
votes
1 answer

Zend Framework: Is it possible to create nested array from the list array?

For example, I have an array: array( array('id' => 1, 'parent' => 0), array('id' => 5, 'parent' => 0), array('id' => 3, 'parent' => 4), array('id' => 4, 'parent' => 6), array('id' => 6, 'parent' => 1), ); How generate nested array…
Anthony
  • 3,218
  • 3
  • 43
  • 73
0
votes
1 answer

how to decorate a zend navigation menu?

i have this menu: $menu['talent'] = array( array('id' => 'welcome', 'label' => 'My Profile', 'uri' => '/profile/, 'class' => 'navlink' …
Patrioticcow
  • 26,422
  • 75
  • 217
  • 337
0
votes
2 answers

How to hide some menu items - Zend Navigation

I am using zend navigation in my site and I have the following navigation.xml
dextervip
  • 4,999
  • 16
  • 65
  • 93
0
votes
1 answer

Zend_navigation: combine custom partial with selecting container

I'm rendering menu with custom partial but I need more than one menu so I want to select specific container for each view but renderMenu($container) overwrites setPartial(). Is there any way of selecting container and render it content with my…
Adam
  • 873
  • 7
  • 33
0
votes
1 answer

Inside menu, render the current category at top

I need to render a sidebar with a navigation menu that contains all the categories, and its respective subcategories, of an application. However, when the current page is referring to a category or subcategory, the current category needs to be the…
jonathancardoso
  • 11,737
  • 7
  • 53
  • 72
0
votes
1 answer

Zend nested navigation is not working with ACL

I am unable to get nested Zend_Navigation to work with Zend_ACL. I used XML to define my navigation. Please refer to it here: http://pastebin.com/GA8uQdKh The problem is that the nested elements such as filelabel do not show up on the web page. I…
ryy
  • 317
  • 1
  • 3
  • 13
0
votes
1 answer

Zend_Navigation and Zend_Translation France accent

I have setup a internet application with multi languages. The navigation is set by navigation.xml, zend translation files are .php files. Everything is going well but I cant make it to use accents for the france language in my navigation. When I put…
directory
  • 3,093
  • 8
  • 45
  • 85
0
votes
1 answer

Zend_Translate vs Zend_Navigation

I build a internet application with multi languages. I setup everything well, it work when I call as an example site.com/fr/ I get all in france or site.com/en/ all in english. I try to get these languages also in my zend_navigation url's like the…
directory
  • 3,093
  • 8
  • 45
  • 85
0
votes
1 answer

Zend_Translate Navigation items from application.ini

At the moment I try to translate my web application with zend_translate. I made it already that far to translate the view in the application. At the moment I struggle with the follow thing. I want to translate my navigation items who I setup by…
directory
  • 3,093
  • 8
  • 45
  • 85
0
votes
1 answer

Zend_Navigation add dynamically parameter after question mark

I'm using Zend_Navigation' reading fron xml. I want to add to the menu created from it an additional parameter (got it from the request for the first page). e.g if the first page is mysite.com/pages/page1?Id=42 then clicking on the menu would add…
0
votes
1 answer

Zend_Navigation in two layouts, frontend and backend

simple question. I've got a navigation that is being rendered from the database. I want to use it in two different layouts - one for default module (layout is "page.phtml") and one for admin module (this one is "layout.phtml"). I'm setting up…
bwitkowicz
  • 779
  • 6
  • 15
0
votes
1 answer

Zend_Navigation error while trying to render menu ("Unknown Method navigation->menu()")

I've got another problem with Zend. I am trying to get Zend_Naviation to work, it seems to be pretty simple but no matter how I implement it i get the same error: Zend_Navigation_Exception: Bad method call: Unknown method Zend_Navigation::menu in…
bwitkowicz
  • 779
  • 6
  • 15
0
votes
2 answers

Empty element added to a Zend_Navigation menu?

I just noticed a problem with my menu. I'm working on a php application, with Zend Framework. It looks like an empty text line is inserted in my menu and I don't understand why. For example ... As you can see, an empty space is between elements I…
Fanny
  • 127
  • 2
  • 10
0
votes
1 answer

How do I get Zend_Navigation to work with database defined data?

I've got a Zend_Navigation component I use to display breadcrumbs on a page. It currently says something like: "Companies > Edit a Company" when displaying the edit form. I would like to make it say something like "Companies > Editing FooBar" What's…
Billy ONeal
  • 104,103
  • 58
  • 317
  • 552
0
votes
2 answers

Render children of active branch with Zend Navigation view helper

What I am asking is similar to this issue, which is still unresolved. I'm trying to create a good submenu solution, but I can't seem to get Zend_View_Helper_Navigation_Menu to work with me. Here is my XML navigation config:
tjb1982
  • 2,257
  • 2
  • 26
  • 39