Solved

Embed a Joomla created menu into another php script

Posted on 2012-04-10
2
408 Views
Last Modified: 2012-04-16
Hello.  I am working on a site that has a separate Joomla CMS and a PHP based ecommerce system.  I would like to be able to somehow display the Joomla top or main menu within the shopping cart system template. I am trying to create a single consistent menu across the two platforms and would really love to be able to use Joomla to manage the menu rather than hard coding it into the ecommerce system.   Is there a technique that would allow this to happen?

I am aware of the wrapper functions and the different eCommerce systems available for Joomla, but I want to utilize this legacy system because it is highly modified and tuned to the owners particular business. I don't want to have to create a custom component or module that would embed the ecommerce platform into the CMS and possibly break compatibility with other ecommerce addons.  Thanks for the help.
0
Comment
Question by:FourMat
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 14

Accepted Solution

by:
Scott Madeira earned 500 total points
ID: 37832350
My suggestion would be to figure out how Joomla stores the menu data in the MySQL database.  Once you figure out how the data is stored you should be able to write some PHP code to extract the data from the database and format it the same way in your eCommerce system.  

In your ecommerce system you would use your code to build the menu.  

This should always keep the two menus in sync as long as you make all menu changes through Joomla.
0
 

Author Closing Comment

by:FourMat
ID: 37851151
Thanks for the poke in the right direction.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Read about how to approach blogging and about ways to do it right. Stand out from the crowd and let your knowledge be consumed by a large audience. This article aims to explain how your blog should look like,  the most important things to do while b…
This article discusses how to create an extensible mechanism for linked drop downs.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question