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

  • Home
  • SEARCH
  • 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 8443055
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T09:01:33+00:00 2026-06-10T09:01:33+00:00

I am trying to re-create the menu items from main menu in Joomla in

  • 0

I am trying to re-create the menu items from main menu in Joomla in a page, which is outside Joomla’s template folder.

Are there any method available, such as ‘wp_nav_menu’ in WordPress, which would help me to generate the Menu.

  • 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-10T09:01:35+00:00Added an answer on June 10, 2026 at 9:01 am

    There are two steps that you will need to follow

    First, make your external page capable of running joomla library. To do this you will need to include few lines of code in your external php page

    define( '_JEXEC', 1 );
    define('JPATH_BASE', dirname(__FILE__).'/../../../../' );   // should point to joomla root
    define( 'DS', DIRECTORY_SEPARATOR );
    require_once ( JPATH_BASE .DS.'includes'.DS.'defines.php' );
    require_once ( JPATH_BASE .DS.'includes'.DS.'framework.php' );
    $mainframe =& JFactory::getApplication('site');
    $mainframe->initialise();
    

    Second, Create a menu module for your desired menu and enable it on a custom position say ‘xxxx’
    and then put the following code where you want the put that menu

    jimport( 'joomla.application.module.helper' );
    $module = JModuleHelper::getModules('xxxx');
    // xxxx is any virtual position, no need to create it anywhere.
    echo JModuleHelper::renderModule($module[0]);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to create a menu that slides up from the bottom. It
I am trying to create a menu which is a series of floated li
I'm trying to create a context menu which will be able to add extra
I'm trying to create a navigation menu with menu items that don't always have
I'm trying to create a drop-down menu acting as the sub-menu of a main
I am trying to create custom function for Main Nav menu where I can
I am trying to create a menu bar which will consist of a series
I am trying to create a a box in a template in Joomla! that
I'm trying to create some Menu Item with Image & Label, using barry's class
I am trying to create a menu panel in jQuery, all is complete except

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.