inserting PHP Block into template

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"
Post Reply
d4ngermouse
New Member
New Member
Posts: 3
Joined: Fri Jan 25, 2013 11:50 am

inserting PHP Block into template

Post by d4ngermouse »

Hi There, I hope I have the correct section of the forum for my question.

I need to put the following block of php into my cmsms template but when I do the code doesn't seem to work.

Any help would be appreciated!

Code: Select all

<?php
$type=1; 
$text1="<p>Some text here</p>";
$text2="<p>Some more text here</p>";
include "booking.php";
?>
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: inserting PHP Block into template

Post by Rolf »

- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
d4ngermouse
New Member
New Member
Posts: 3
Joined: Fri Jan 25, 2013 11:50 am

Re: inserting PHP Block into template

Post by d4ngermouse »

That looks perfect! I'll take a look. Cheers :D
Post Reply

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