Problem with 3rd Party Apps and CMSMS

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
dexlinx

Problem with 3rd Party Apps and CMSMS

Post 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?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Problem with 3rd Party Apps and CMSMS

Post by Dr.CSS »

You would need to do this the other way around and imbed the other things into pages in CMSMS
dexlinx

Re: Problem with 3rd Party Apps and CMSMS

Post 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
?>
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Problem with 3rd Party Apps and CMSMS

Post 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]
dexlinx

Re: Problem with 3rd Party Apps and CMSMS

Post 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.
Locked

Return to “Layout and Design (CSS & HTML)”