Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7742703
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T09:20:35+00:00 2026-06-01T09:20:35+00:00

I make navigator through XML navigation file, and I specify the default action for

  • 0

I make navigator through XML navigation file, and I specify the default action for each item in the menu. When I create custom routing for all others routes in the system the navigator is not working correctly, it takes the routing from the URL ?!!

Does it have any relation between navigators and custom routing?

Here’s where I initialize the navigator

protected function _initNavigation() {
    $this->bootstrap('layout');
    $layout = $this->getResource('layout');
    $view = $layout->getView();
    $config = new Zend_Config_Xml(APPLICATION_PATH . '/configs/navigation.xml', 'nav');
    $navigation = new Zend_Navigation($config);
    $view->navigation($navigation);


}

EDIT

  <visits>
        <label>Visits</label>
        <module>visits</module>
        <controller>visit</controller>
        <action>index</action>
        <route>visits/visit/index</route>
    </visits>

and I make routing in application.ini

;routing
resources.router.routes.visit.route = /visits
resources.router.routes.visit.defaults.module = visits
resources.router.routes.visit.defaults.controller = visit
resources.router.routes.visit.defaults.action = index
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T09:20:37+00:00Added an answer on June 1, 2026 at 9:20 am

    Try using <route> (untested, but should work according to documentation):

    <controller>index</controller>
    <action>index</action>
    <route>yourRouteName</route>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here is what I've done. How to make navigation menu similar to FF and
I am currently trying to make a navigation-menu where an active-class is applied to
Hey guys I'm trying to make a GUI which can navigate through JTextAreas when
I need to make a tab navigator in flex3. If no. of tabs increases
I have a tab navigator control and I would like to make all of
i had soulation .i want to make navigation bar with items i will select
I'm trying to make a navigation for my website and would greatly appreciate any
Im using a typical situation with UINavigationController, id like to make the navigation bar
Got a question for you all! I'm trying to make a navigation system for
I'm trying to create an effect similar to the navigation on this site: http://rogwai.com/

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.