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
3
votes
1 answer

Zend Framework 2 Adding Navigation Items from the Module

I am trying to add module specific navigation items from within the module. I may be doing this completely wrong. What I have so far is: config/autoload/navigation.global.php (this works so far) array( …
Aaron Murray
  • 1,920
  • 3
  • 22
  • 38
3
votes
1 answer

Zend_Navigation with dynamic URL parameters

I'm struggling to implement Zend_Navigation breadcrumbs with dynamic URL parameters. Simple scenario: Imagine a CompanyController with a viewAction() that takes an id parameter from the URL to fetch information about a particular company. URL:…
Freek Vanraes
  • 227
  • 5
  • 11
3
votes
3 answers

ZF2: create url aliases in router

I'm new to Zend Framework 2 and i want to learn this framework. I want to create url aliases in router. For example, I have defined something like this in module.config.php 'router' => array( 'routes' => array( 'home' => array( …
mkatanski
  • 508
  • 6
  • 19
3
votes
3 answers

Zend_Navigation rendering submenu with partial

I've posted an edit to my question. While working on it I noticed the problem is easy to simplify. I need a custom format of my submenu so i have to use partial. But then the problem occurs. The below code shows the INCORRECT level (0): …
dbq
  • 111
  • 2
  • 11
3
votes
2 answers

How to avoid bloat in Zend_Navigation?

I've been researching using Zend_Navigation in combination with Zend_Acl to manage navigation and access permissions in a new app I'm working on. One thing that really bothers me, is the examples I have seen end up making an enormous XML file that…
Jeremy Harris
  • 24,318
  • 13
  • 79
  • 133
3
votes
1 answer

Zend View Helper Navigation removes active branch so breadcrumbs don't show up

Hey I want a layout in my header where I have the global menu, then the page menu and then breadcrumbs. To do this I, mostly, took away from this answer: Rendering Active Branch of Zend Navigation Without Top Level This works great, except the…
Penetal
  • 83
  • 2
  • 6
2
votes
1 answer

Editable Breadcrumb for Dynamic Pages

Looking for a better Breadcrumb solution for a Zend Framework project. Currently I have a navigation.xml like
Hari K T
  • 4,174
  • 3
  • 32
  • 51
2
votes
1 answer

ZendFramework - Zend_Navigation. Find* methods removes pages from container object

When using findAll method on Zend_Navigation_Container pages, that are found, are being removed from container object. Same thing happens, even when I clone container object and findAll is being called on this cloned one. I can't figure how is it…
drep
  • 65
  • 1
  • 7
2
votes
1 answer

Fixing Zend_Route to work with Zend_Navigation

So i have a Zend_Route in my application like this : public function _initRoutes() { $front = Zend_Controller_Front::getInstance(); $router = $front->getRouter(); $route = new…
phil
  • 137
  • 12
2
votes
1 answer

Zend Navigation : url of current page instead url of my xml files

I have a navigation Zend_Navigation. It allows me to detect the current page. The problem is that some of my pages: All links are replaced by "current page" All labels are good Here is a bizarre result. You can see my site:…
Raphaël
  • 1,141
  • 3
  • 18
  • 32
2
votes
1 answer

Zend_Navigation for displaying different menus in Layout

trying to print out about 3 menus on ZF. Currently I can't even get one out. Not quite sure what's going on and why theres no mention of how to get it working on the manual. So this is my layout.phtml: layout()->nav; ?> …
creamcheese
  • 2,524
  • 3
  • 29
  • 55
2
votes
2 answers

is it possible to set permission in zend acl to action level insted of controller level

i am using zend framework , in my site i have two types of users , guest and loggeduser , i have a controller called . books , in there i have 3 actions . add , edit and delete , in my zend acl i give the permissions to books controller only to…
Kanishka Panamaldeniya
  • 17,302
  • 31
  • 123
  • 193
2
votes
1 answer

Setting active page when Zend_Navigation is cached?

Update - Please see update below. I'm attempting to improve the performance of our ZF based CMS, and am trying out caching the Zend_Navigation object I create with the menu structure. Caching the object means I can't set the current page to active,…
ChrisA
  • 2,091
  • 1
  • 14
  • 23
2
votes
2 answers

Zend ACL in models vs Zend Navigation

I like the idea of binding ACL to models like described here: http://weierophinney.net/matthew/archives/201-Applying-ACLs-to-Models.html But how can I combine this with Zend Navigation? When rendering the sitemap, I'd have to instantiate all the…
takeshin
  • 49,108
  • 32
  • 120
  • 164
2
votes
1 answer

How do I set the class for

I am using an xml file in creating my navigation in a zend framework app. I have a multilevel menu like so: /home home home
Napoleon
  • 879
  • 2
  • 14
  • 36
1 2
3
13 14