Page 1 of 1
Problem with 3rd Party Apps and CMSMS
Posted: Wed Sep 13, 2006 4:40 am
by dexlinx
I use several 3rd party PHP applications in my websites for everything from bogging to calendars. While I understand this CMS has some of these built in, I would still like to use some of the applications I am already using. I would like to do this without having to integrate the full application into a template. So, what I would really like to do is insert the dynamic menu system into one of my existing applications.
Is there a way to insert some code into my existing PHP pages to display the dynamic menu system from the CMS?
Re: Problem with 3rd Party Apps and CMSMS
Posted: Sat Sep 30, 2006 12:08 am
by Dr.CSS
You would need to do this the other way around and imbed the other things into pages in CMSMS
Re: Problem with 3rd Party Apps and CMSMS
Posted: Sat Sep 30, 2006 7:24 am
by dexlinx
Well, not really. After much pain I finally figured out how to do this. While it is a bit messy, it works. I would think, since the app allows you to put html blobs in external pages, there would be an easy way to add the dynamic menu to external pages. However, here is how I did it:
Page where you can see it works:
http://www.gcfweb.org/calendar/calendar.php
Here is how it works (Basically, I created a flexable wrapper):
variables['pageinfo'] =& $pageinfo;
$html = $smarty->fetch('template:'.$pageinfo->template_id) . "\n";
echo $html;
//-----------------------------------------------------------------------------------------------------CODE
?>
Re: Problem with 3rd Party Apps and CMSMS
Posted: Sat Sep 30, 2006 8:31 am
by Dr.CSS
Cool looks like it worked, but there is something in the menu when using Firefox, screen shot so you see...
[gelöscht durch Administrator]
Re: Problem with 3rd Party Apps and CMSMS
Posted: Mon Oct 02, 2006 4:59 am
by dexlinx
Cool. Thanks for the heads up on that. It's a CSS problem with the overlay I did. I will need to adjust it. Thanks again.