Page 1 of 1

PHP Include Files

Posted: Wed Dec 21, 2016 6:01 pm
by webguru
CMSMS 2.1.6

I like to use include files. They don't show though using the code: <?php include 'uploads/includes/menu.php'; ?> in CMSMS. Is there a trick to it or something else I should be doing?

Reason for it is, I have a section in my templates (homepage and secondary templates) where the content is in a pop-up type box. The content is in both templates and thus, is on every page and needs to be updated often. I had it in an include file. Now that I switched the site to CMSMS, how would I allow the client to edit this content so that it shows up on every page in both templates?

If you go to: bandtcpas.com and click in the NEWSWORTHY ITEMS link in the top right, you will see what I mean. The client needs to be able to edit this and let it show on every page.

Thanks...

Re: PHP Include Files

Posted: Thu Dec 22, 2016 5:05 am
by webguru
I found the extension called: Widgets. This seems to do the trick for a small site like this one.