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

Zend Navigation Custom Rendering

I'm trying to create a custom navigation for zend navigation but i have two questions: How do i pass variables to custom partial phtml, or if it's possible? How do i set a class trough the whole active menu tree? This is my code so far: in the…
MGP
  • 653
  • 1
  • 14
  • 33
3
votes
1 answer

How to render a parent and child active in a menu if they have the same URI and using Zend_Navigation?

Hello I'm digging into this problem without finding a solution. It seems very simple but I turn around for a while. I'm trying to highlight a parent and 1 child in a menu. Both have the same uri, but only the parent is getting the active class.…
FredRoger
  • 1,545
  • 1
  • 12
  • 17
3
votes
1 answer

Zend_Navigation_Container set separator

Is there a way when using Zend_Navigation to set a separator for pages? For example, I call $this->navigation()->menu() in my view to render a navigation menu in a form of an unordered list. I would like there to be a separator between all menu…
Richard Knop
  • 81,041
  • 149
  • 392
  • 552
3
votes
5 answers

Is there a way to have a navigation entry with no link in zend navigation?

I'm sure my question is pretty straight forward, and I've been looking for an answer to this, but I can't seem to make it work. I want to do something like this:
General Redneck
  • 1,240
  • 2
  • 13
  • 28
3
votes
1 answer

Zend Framework: Initializing Navigation in the Bootstrap

I currently initialize my web site navigation during bootstrap. I initialize anywhere from 1 to 3 navigation objects. Most requests will need the Navigation objects, but some don't. The ones that don't include files generated for download and…
Sonny
  • 8,204
  • 7
  • 63
  • 134
3
votes
2 answers

Zend Navigation: Where should I load the ACL 'Role' in a private application

I am working on a 'private' application, you must be logged in to do anything at all. This gives me a bit of a an issue loading the role for Zend Navigation. Currently I am 'init'ing Zend Navigation in my bootstrap; that was fine until I added ACL…
rhaag71
  • 519
  • 7
  • 22
3
votes
1 answer

How do I add a class name to
  • from Zend Navigation XML
  • Can someone please help me out, I'm totally stuck! I don't know how to add a class name to
  • tag in Zend navigation XML This is my XML
  • user648198
    • 2,004
    • 4
    • 19
    • 26
    3
    votes
    1 answer

    zf3 zend navigation helper

    I'm trying to implement my zend navigation from a container in ZF3. I have successfully created navigation with this quick start tutorial introducing navigation directly in config/autoload/global.php or config/module.config.php…
    jairusgr
    • 137
    • 2
    • 9
    3
    votes
    2 answers

    Zend Navigation - various navigation blocks

    I have a navigation.xml file:
    DarkLeafyGreen
    • 69,338
    • 131
    • 383
    • 601
    3
    votes
    1 answer

    zend headtitle using zend_navigation

    I am using zend_navigation for creating menu. Which works fine. Now i m looking if i can take current page and set it as page title using headTitle. Is there is any way to do that? or how can i use config files (.ini) for creating Pagetitle and…
    Pramendra Gupta
    • 14,667
    • 4
    • 33
    • 34
    3
    votes
    1 answer

    Zend Naviation Menu View Helper - All links are the same?

    heres my setup: http://www.example.com/// I have this route defined: $router->addRoute( 'editUser', new Zend_Controller_Router_Route('admin/users/edit/:id', array( 'module'…
    Mark Murphy
    • 2,834
    • 1
    • 31
    • 29
    3
    votes
    1 answer

    Zend Navigation and Zend Router problem - not finding correct active page

    Okay. I'm building a CMS with Zend. It isn't as simple as it looked but still — the best solution for me. I have a tree system with ID and PARENT, PARENT marks under which page the child resides. Anyway. Simple stuff. Every time a page is created or…
    Reyo
    • 148
    • 3
    • 11
    3
    votes
    1 answer

    zend_navigation and modules

    I am developing an application at the moment with zend and I have seperated the app into modules. The default module is the main site where unlogged in users access and have free reign to look around. When you log in, depending on the user type…
    Grant Collins
    • 1,781
    • 5
    • 31
    • 47
    3
    votes
    3 answers

    Giving Zend Navigation Pages Multiple ACL Privileges

    I'm using Zend_Navigation and am trying to integrate it with Zend_Acl. Each page in the navigation has a privilege attribute. What I can't determine is how to define multiple privileges for a single page. Use case: A page that is for managing…
    Sonny
    • 8,204
    • 7
    • 63
    • 134
    3
    votes
    2 answers

    Zend Navigation - Mark parent active if a child is active

    I'm currently creating my new website using Zend Framework 1.12.3 and I saw something I hate about Zend Navigation: When a children route is active (exemple: a blog single post, route blog-post), it doesn't mark the parent page (route blog in this…
    Frederick Marcoux
    • 2,195
    • 1
    • 26
    • 57
    1
    2
    3
    13 14