Jump to content


Including scripts in templates


3 replies to this topic

#1 mickengland

    Young Padawan

  • Members
  • Pip
  • 35 posts

Posted 24 October 2005 - 10:03 AM

I have done some of the slicing and coding tutorials, but what I would like now is a tutorial that shows the splicing and coding and then how to include scipts onto the page such as a shoutbox/poll etc.

Edited by mickengland, 24 October 2005 - 10:10 AM.


#2 FFX

    Young Padawan

  • Members
  • Pip
  • 105 posts

Posted 01 November 2005 - 12:43 PM

well depending on the type of file html/php/asp ect it you can use different ways

#3 mickengland

    Young Padawan

  • Members
  • Pip
  • 35 posts

Posted 01 November 2005 - 07:25 PM

I have managed to put a shoutbox in using an iframe which looked quite well.

#4 Stu

    Retired P2L Staff

  • Publishing Betazoids
  • PipPipPipPip
  • 1,761 posts
  • Gender:Male

Posted 02 November 2005 - 06:49 PM

there are some tutorials on here on how to do this using php...

http://www.pixel2life.com/tutorials/PHP_Co...&d=1&ss=include

you just add

<?php
include 'path/to/file.php';
?>

where you need the page to be included

note that your page must have the .php extension and not .html





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users