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
2 answers

Login/Logout links in database driven navigation?

I have a database driven navigation mainly composed of two tables: menus and a menu_items, this works out fine for purely "static" links but now I need to have a dynamic link ( login/logout ). My menu_items table is just composed of links to pages…
meder omuraliev
  • 183,342
  • 71
  • 393
  • 434
0
votes
2 answers

Zend_Navigation: Having trouble getting breadcrumbs to render using multiple containers

Possible Duplicate: Zend Framework - multiplate navigation blocks I'm trying to make breadcrumbs render in my application ( they don't show up anywhere, not even the homepage, which has a corresponding Zend Page Uri object ), which has multiple…
meder omuraliev
  • 183,342
  • 71
  • 393
  • 434
0
votes
1 answer

Zend: Creating breadcrumb navigation with Zend_Config_Xml and Zend_Navigation

I'm having an issue, an exception is thrown when Zend_Navigation is being invoked on an instance of Zend_Config_Xml. Here's the method in which it fails in ( Bootstrap.php ): protected function _initNavigation() { $this->bootstrap('layout'); $layout…
meder omuraliev
  • 183,342
  • 71
  • 393
  • 434
0
votes
1 answer

Different submenus for different user roles in ZF2 navigation (Zend\Navigation)

In a project I use ACL menu for different kind of roles but faced with a problem when try to make same menu for several roles but for some roles I want to hide some points. Documentation says to use 'resource' parameter in array to do it but it…
Igor Vizma
  • 370
  • 5
  • 10
0
votes
1 answer

Zend_Navigation vs Zend Layout

Hi I am new to Zend Framework and using version 1.12 to start with. I am trying to build my first site and dont know which direction to take. I have an HTML template that I set as my Zend Layout and the navigation menu has link structured in a…
0
votes
1 answer

ZF2 - Navigation routing with language

In ZF2 I have two languages English and Chinese. Every route starts with language like: 'about' => array( 'type' => 'Zend\Mvc\Router\Http\Segment', 'options' => array( 'route' => '/[:lang]/about', …
Black
  • 9,541
  • 3
  • 54
  • 54
0
votes
2 answers

Zend2 Navigation - Render Level 1 Branch Head + Children if active

I created a menu in zend2 which works so far. Perfectly. - Parent 1 -- Child Page 1 -- Child Page 2 -- Child Page 3 - Parent 2 -- Child Page 1 -- Child Page 2 -- Child Page 3 - Parent 3 -- Child Page 1 -- Child Page 2 -- Child Page 3 Now I'd like…
n00b
  • 16,088
  • 21
  • 56
  • 72
0
votes
1 answer

zend Navigation not right work cause zend router

my url is http://mysite.com/index/bytype/id/5/name/ACTION when using zend router it'll be rewrite to http://mysite.com/index/bytype/5.ACTION.html i was config in file router.ini like this: routes.bytype.type =…
Rain
  • 601
  • 6
  • 10
0
votes
1 answer

Zend Navigation privileges without Zend ACL's

Ok, I have a code that generates a xml file like the following:
Cristiano Santos
  • 2,157
  • 2
  • 35
  • 53
0
votes
1 answer

Zend Navigation - All XML possible options

I've searching for a while now but I didn't anything concluent. I'm searching for a blog or anything that explain and shows all possible options of a Zend_Navigation XML config file. I know those for…
Frederick Marcoux
  • 2,195
  • 1
  • 26
  • 57
0
votes
2 answers

Multi navigation failed in layout

why second var_dump() display null in this code in my layout.phtml : var_dump(($this->navigation('navigation')->menu()->render())); var_dump(($this->navigation('navigation')->breadcrumbs()->render())); output : string '
Sina Miandashti
  • 2,087
  • 1
  • 26
  • 40
0
votes
2 answers

Call Modules Controller from Application Bootstrap

I've asked a question like this previously but I believe this is different (that one was just a general question). I implemented Zend_Navigation. For menu I used DB Table to store menu items and did recursion on Array-s to get the tree of menu…
mrGott
  • 1,066
  • 3
  • 18
  • 53
0
votes
1 answer

Zend_navigation & Zend_translate href attribute dont switch with language change

I have a zend framework project with zend version 1.12. I´m using zend_navigation with a xml file and zend_translation with the gettext adapter. This code creates the main menu: echo '
0
votes
1 answer

How do I insert a page into zend navigation container

I am currently using Zend_Navigation to create a menu from an XML file, so far so good the menu renders correctly. My problem is that I need to add page(s) to a specific location within the navigation container. So far I…
Garry
  • 1,455
  • 1
  • 15
  • 34
0
votes
1 answer

Zend_Navigation hierarchy issue with home page

I'm building a menu and breadcrumbs with Zend_Navigation but have a small problem with the hierarchy of the home page. Here's a basic example of a Zend_Navigation with an XML file.
Freek Vanraes
  • 227
  • 5
  • 11