Using CMSMS Menu On Non CMSMS Pages

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
jcherry84
New Member
New Member
Posts: 3
Joined: Tue Jul 10, 2007 3:56 pm

Using CMSMS Menu On Non CMSMS Pages

Post by jcherry84 »

Hi,
I am trying to integrate a site running on CMSMS with a new shopping cart software installation. I thought it would be really nice if I could include the menu from the CMSMS site on the shopping cart, so the cart menu stays updated as the pages, etc are edited in CMSMS. I've not found an easy way to do this in any of the documentation. I've taken a look at the classes and MenuManager module code but its all pretty obscure. Is there an object somewhere which I can use to display just the menu?

Thanks!
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Using CMSMS Menu On Non CMSMS Pages

Post by tsw »

create hidden page with a template that only has menu call..

then include that page in your page (with curl or something)

hope this helps
jcherry84
New Member
New Member
Posts: 3
Joined: Tue Jul 10, 2007 3:56 pm

Re: Using CMSMS Menu On Non CMSMS Pages

Post by jcherry84 »

This works perfect!! Thank you so much!!
Post Reply

Return to “CMSMS Core”