<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Forum posts to 'Archive'</title>
		<link>http://www.silverstripe.org/archive/rss</link>
		<atom:link href="http://www.silverstripe.org/archive/rss" rel="self" type="application/rss+xml" />
		<description></description>

		
		<item>
			<title>Re: How to add custome PHP pages</title>
			<link>http://www.silverstripe.org/archive/show/141260?start=0#post141819</link>
			<description>&lt;p&gt;Thank you willr and Sean! I was able to figure it out with this post:&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://doc.silverstripe.com/doku.php?id=recipes:customising-content-in-your-templates&amp;amp;s=paypal&quot;&gt;http://doc.silverstripe.com/doku.php?id=recipes:customising-content-in-your-templates&amp;amp;s=paypal&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Pretty interesting how SS works! Once again thanx for all the help...&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: How to add custome PHP pages &lt;a href=&quot;http://www.silverstripe.org/archive/show/141260?start=0#post141819&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/141260?start=0#post141819&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Wed, 13 Aug 2008 07:42:32 +1200</pubDate>
			<dc:creator>luisq</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/141260?start=0#post141819</guid>
		</item>
		
		<item>
			<title>Re: How to add custome PHP pages</title>
			<link>http://www.silverstripe.org/archive/show/141260?start=0#post141749</link>
			<description>&lt;p&gt;Thank you for the help, I almost about to get it. Now I have this problem, inside the file that I'm including I'm using 'echo', normal text and some html tags, so I get this error:&lt;/p&gt;&lt;p&gt;XML Parsing Error: syntax error&lt;br /&gt;Location: &lt;a href=&quot;http://sitesimpleonline.com/&quot;&gt;http://sitesimpleonline.com/&lt;/a&gt;&lt;br /&gt;Line Number 1, Column 1:&lt;/p&gt;&lt;p&gt;Title&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&lt;br /&gt;^&lt;br /&gt;Also how can I Include html tags, for example and iframe?&lt;br /&gt;thank you!!&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: How to add custome PHP pages &lt;a href=&quot;http://www.silverstripe.org/archive/show/141260?start=0#post141749&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/141260?start=0#post141749&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Wed, 13 Aug 2008 04:31:25 +1200</pubDate>
			<dc:creator>luisq</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/141260?start=0#post141749</guid>
		</item>
		
		<item>
			<title>Re: How to add custome PHP pages</title>
			<link>http://www.silverstripe.org/archive/show/141260?start=0#post141620</link>
			<description>&lt;p&gt;Like willr said, you'll want to create a custom page type, then you'll probably want to include your custom PHP script whenever the page type is initialized:&lt;/p&gt;&lt;p&gt;e.g. HomePage.php inside mysite/code:&lt;/p&gt;&lt;p&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;class HomePage extends Page {&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;class HomePage_Controller extends Page_Controller {&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;function init() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;parent::init();&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Specify our custom PHP file for inclusion on this page&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;include('my/path/to/file.php');&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;init() is called on any controller class when that page type is initialized (i.e. when the controller is invoked by someone viewing a page with that page type applied to it).&lt;/p&gt;&lt;p&gt;Hope this helps!&lt;/p&gt;&lt;p&gt;Sean&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: How to add custome PHP pages &lt;a href=&quot;http://www.silverstripe.org/archive/show/141260?start=0#post141620&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/141260?start=0#post141620&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Tue, 12 Aug 2008 22:56:34 +1200</pubDate>
			<dc:creator>Sean</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/141260?start=0#post141620</guid>
		</item>
		
		<item>
			<title>Re: How to add custome PHP pages</title>
			<link>http://www.silverstripe.org/archive/show/141260?start=0#post141584</link>
			<description>&lt;p&gt;tutorial 1 and 2 cover adding page types. The first one shows you how to make a 'HomePage' page type which sounds like what you want to do  &lt;img src='http://www.silverstripe.org/sapphire/images/smilies/smile.gif'&gt; . &lt;/p&gt;&lt;p&gt;[1] &lt;a href=&quot;http://doc.silverstripe.com/doku.php?id=tutorial:1-building-a-basic-site&quot;&gt;http://doc.silverstripe.com/doku.php?id=tutorial:1-building-a-basic-site&lt;/a&gt;&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: How to add custome PHP pages &lt;a href=&quot;http://www.silverstripe.org/archive/show/141260?start=0#post141584&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/141260?start=0#post141584&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Tue, 12 Aug 2008 21:17:27 +1200</pubDate>
			<dc:creator>willr</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/141260?start=0#post141584</guid>
		</item>
		
		<item>
			<title>How to add custome PHP pages</title>
			<link>http://www.silverstripe.org/archive/show/141260#post141260</link>
			<description>&lt;p&gt;Hello everyone!&lt;/p&gt;&lt;p&gt;I'm really new with CMS, and I'm trying to add a page that has PHP. Something like this:&lt;/p&gt;&lt;p&gt;&amp;lt;?php&lt;br /&gt;// START of &quot;Frontpage Slideshow&quot; settings&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;$nameOfSlideshowToDisplay = &quot;demoslideshow&quot;; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Enter the name of your slideshow. Slideshows are in folders inside /fpss/slideshows/.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;$URLofyoursite = &quot;http://sitesimpleonline.com&quot;; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Enter your site's URL.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;$AbsoluteServerPathofyoursite = &quot;/home/hsphere/local/home/wwwuser/sitesimpleonline.com&quot;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Enter the root path of your site on the server.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// do not edit below this line&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;include_once($AbsoluteServerPathofyoursite.&quot;/fpss/mod_fpslideshow.php&quot;);&lt;br /&gt;// END of &quot;Frontpage Slideshow&quot; settings&lt;br /&gt;?&amp;gt;&lt;/p&gt;&lt;p&gt;This code it's to insert a slideshow that I bought. And I want to put it in the home page. I went through the manuals to add modules, but I don't want to add it as a module, just as a custom home php page. It's there anyway that I can do that? if there is a manual for it, can somebody provide me the link =(   &lt;/p&gt;&lt;p&gt;I was able to this using joomla! by adding a tag like this {jumi [includes/slideshow.php]} in an article. It's there any tag that I can add in my  home page article to &quot;include&quot; a php page?&lt;/p&gt;&lt;p&gt;Thank you very much for the HELP!!&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: How to add custome PHP pages &lt;a href=&quot;http://www.silverstripe.org/archive/show/141260#post141260&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/show/141260#post141260&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Tue, 12 Aug 2008 06:43:22 +1200</pubDate>
			<dc:creator>luisq</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/141260#post141260</guid>
		</item>
		

	</channel>
</rss>