Solved

Embed a Joomla created menu into another php script

Posted on 2012-04-10
2
391 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
2 Comments
 
LVL 14

Accepted Solution

by:
Scott Madeira earned 500 total points
Comment Utility
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
Comment Utility
Thanks for the poke in the right direction.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
In this article, we will look at our content management system as a whole, to get an idea of how we will start to manage these content items.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
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.

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now