PHP include in template

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

PHP include in template

Post by streever »

Hey all,

I am probably just missing something.

I did try searching forum but could not find anything, and also looked at FAQs, which is empty, so this is my last resort :) If the info is documented elsewhere you can just point me so I don't waste anyone's time.

So far love the cms--my one problem is that I can't use PHP in my template!

I use a random image rotator which was popular via alistapart a while ago--http://www.alistapart.com/articles/randomizer/.

It worked until entered into the template.

When I view source, I see it's not being parsed by server.

Any advice or help? Thank you!!!!!!
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: PHP include in template

Post by Dr.CSS »

have you looked here http://dev.cmsmadesimple.org/softwarema ... rm_cat=312 there is a random imge tag you might be able to use,

  HTH
        mark
streever

Re: PHP include in template

Post by streever »

mark! you da man! thanks a lot, yo.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: PHP include in template

Post by Dr.CSS »

well one of them anyways,  ;)

    mark
Locked

Return to “CMSMS Core”