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
1
vote
1 answer

Zend navigation breadcrumbs

I have an xml navigation system with article as an element. The breadcrumb works as far as my article page where i display the list of articles with their title (as a link) and a teaser paragraph. The page where i display the full article does not…
user949852
  • 57
  • 1
  • 1
  • 7
1
vote
1 answer

Zend_Navigation: How to add numberings in the menu items?

I am generating XML from database records, then feeding it to Zend_Navigation to render it as treeview and before rendering I would like to add the level numbers, like a TOC numberings: I have: $partial = array('partials/menu.phtml',…
Arman
  • 4,566
  • 10
  • 45
  • 66
1
vote
2 answers

Assign multiple roles in Zend_Navigation using Zend_ACL in Zend Framework PHP?

I can't get my Zend_Navigation to work properly, When logging in user with AUth/Doctrine, I am pulling out the roles assigned to the user (usually it's a few of them) from a Many-to-many table, Then in the bootstrap.php on line: …
1
vote
2 answers

Zend Framework: Navigation items remain visible

I can't figure out why this is not working. The item element always remains visible. I am using the latest release and my menu looks like: public function hook_menu() { $menu['menuPageController'] = array( array( 'label' =>…
Carl McDade
  • 634
  • 9
  • 14
1
vote
2 answers

Zend_Navigation isActive not working

I have the following code:
1
vote
2 answers

Zend_Navigation: how to manage menu items?

I have menu like this: item1 - item1.1 - item 1.1.1 - item 1.1.2 - item 1.1.3 - item1.2 - item 1.2.1 - item 1.2.2 item2 - item2.1 - item2.2 I set `setOnlyActiveBranch(true); And if I choose item.1.1.1 or item.1.1 I get this…
Anthony
  • 3,218
  • 3
  • 43
  • 73
1
vote
2 answers

Zend_Navigation_Page_Mvc and Fragment Identifiers

I use Zend_Navigation on my site. Most of the items are Zend_Navigation_Page_Mvc and NOT Zend_Navigation_Page_Uri. I know that I can easily add a fragment identifier to a Zend_Navigation_Page_Uri item, but that's not the elegant solution I'm…
Sonny
  • 8,204
  • 7
  • 63
  • 134
1
vote
1 answer

Different Navigation Menus for Controller Views - Zend Framework

I currently have 3 controllers, AdministratorController.php, ResellerController.php and ServiceProviderController.php. Each of these have their own actions and views. For instance, AdministratorController.php has the views: Each of these…
kaese
  • 10,249
  • 8
  • 29
  • 35
1
vote
2 answers

submenu not showing when having get request params

I have an navigation.xml file, where I have a simple menu, with a submenu within the tag. The submenu is working well, except when I have addition $_GET params which are in the url. Like this: admin/manage/pages/id/1 <-- With this url…
DelphiLynx
  • 911
  • 1
  • 16
  • 41
1
vote
1 answer

Zend_Navigation rendering submenu

I have the following Zend_Navigation config -Item1 -Item2 |---SubItem2 1 |---SubItem2 2 |---SubItem2 3 (Visible = false) -Item3 |---SubItem3 1 |---SubItem3 2 -Item4 |---SubItem4 1 Now, in application, whenever the user is on…
panxpress
  • 63
  • 2
  • 8
1
vote
2 answers

php version required for Zend Navigation to work

does anybody know what minimum php version do you need to get Zend Navigation working? If I recall it didn't work with 5.1 though it was long ago, not sure if I am not confusing something
Amir
  • 13
  • 2
1
vote
2 answers

Zend_Navigation menu works but not breadcrumbs

I have configured my zend navigation menu like Config: http://pastebin.com/B212uWKz public function _initNavigation() { $config = new Zend_Config_Xml(APPLICATION_PATH . '/configs/navigation.xml', 'nav'); $navigation = new…
Jiew Meng
  • 84,767
  • 185
  • 495
  • 805
1
vote
3 answers

How to create "Dynamic" Breadcrumbs in Zend Navigation

With Zend_Navigation, I can do something like Home > Projects > Collaborators but What if I want something more useful Home > Project name > Collaborator name How can I acheive this? Is it a good idea? Possibly, there would be performance issues?…
Jiew Meng
  • 84,767
  • 185
  • 495
  • 805
1
vote
1 answer

Encoding Problem with Zend Navigation using Zend Translate Spanish in XMLTPX File Special Characters

I have been attempting to use Zend Translate to display translated menu items to the user. It works fine until I introduce special characters into the translation files. I instantiate the Zend_Translate object in my bootstrap and pass it in as a…
Nick
  • 1,180
  • 1
  • 10
  • 15
1
vote
2 answers

How do I apply class="current" to an tag when using Zend_Navigation?

As you can read from the title, I'm trying to add class="current" part to the HTML anchor tag that my zend_navigation renders. Here's what i have: Bootstrap.php protected function _initNavigation(){ $this->bootstrap('layout'); …
Still Questioning
  • 670
  • 2
  • 7
  • 23