<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Forum posts to 'Extending and hacking'</title>
		<link>http://www.silverstripe.com/extending-hacking-silverstripe-forum/</link>
		

		
		<item>
			<title>Re: Adding a script into a page</title>
			<link>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/78033?showPost=133424</link>
			<description>Have you had any success adding scripts via the cms yet?  As you mention, it is very frustrating not to be able to add a simple script in the html editor.   If you have been successful, please share your experience.  Thank you.&lt;br&gt;&lt;br&gt;Posted to: Adding a script into a page</description>
			<pubDate>Fri, 01 Aug 2008 14:19:39 +1200</pubDate>
			<author>Brian Reynolds</author>
			<guid>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/78033?showPost=133424</guid>
		</item>
		
		<item>
			<title>Re: Adding a script into a page</title>
			<link>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/78033?showPost=78199</link>
			<description>An idea might be to make a 'script' field, where you use Text as datatype and add a TextareaField to the cms?&lt;br /&gt;&lt;br /&gt;If you call it eg $CustomScript, you could then use it in the template wherever you want, althoug of course not somewhere in $Content...&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br&gt;Posted to: Adding a script into a page</description>
			<pubDate>Mon, 26 May 2008 05:31:54 +1200</pubDate>
			<author>Dieter Orens</author>
			<guid>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/78033?showPost=78199</guid>
		</item>
		
		<item>
			<title>Re: Adding a script into a page</title>
			<link>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/78033?showPost=78168</link>
			<description>The html in the editor does not allow scripts or iframes. I have made a few iframe templates which work great. I was hoping there is something that will add a script where I want it - like I could do in the html editor, but SilverStripe does not allow this.&lt;br /&gt;&lt;br /&gt;I'm hoping someone can help me with an existing widget and make some modifications.&lt;br&gt;&lt;br&gt;Posted to: Adding a script into a page</description>
			<pubDate>Mon, 26 May 2008 01:37:05 +1200</pubDate>
			<author>Steve Nyhof</author>
			<guid>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/78033?showPost=78168</guid>
		</item>
		
		<item>
			<title>Re: Adding a script into a page</title>
			<link>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/78033?showPost=78089</link>
			<description>Have you tried the 'edit html' button in the CMS, or editing your site template?&lt;br&gt;&lt;br&gt;Posted to: Adding a script into a page</description>
			<pubDate>Sun, 25 May 2008 20:49:07 +1200</pubDate>
			<author>Hamish Campbell</author>
			<guid>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/78033?showPost=78089</guid>
		</item>
		
		<item>
			<title>Adding a script into a page</title>
			<link>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/78033</link>
			<description>Has someone already made a widget or something to add a &quot;script&quot; into a page. I do not understand this. I have had other systems where I could add a module into a page (and inside a table for width) and add a script like this into a page.&lt;br /&gt;&lt;br /&gt;This is a weather forcast script from AccuWeather.com that I have on several sites...&lt;br /&gt;http://baumannbuilding.com/&lt;br /&gt;&lt;br /&gt;&amp;lt;div style='width: 240px; height: 420px; background-image: url(http://www.silverstripe.com/ http://vortex.accuweather.com/adcbin/netweather_v2/backgrounds/fall1_240x420_bg.jpg ); background-repeat: no-repeat; background-color: #E3B589;' &amp;gt;&amp;lt;div style='height: 405px;' &amp;gt;&amp;lt;script src='http://netweather.accuweather.com/adcbin/netweather_v2/netweatherV2.asp?partner=netweather&amp;amp;tStyle=normal&amp;amp;logo=1&amp;amp;zipcode=49424&amp;amp;lang=eng&amp;amp;size=12&amp;amp;theme=fall1&amp;amp;metric=0&amp;amp;target=_self'&amp;gt;&amp;lt;/script&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div style='text-align: center; font-family: arial, helvetica, verdana, sans-serif; font-size: 10px; line-height: 15px; color: #0000FF;' &amp;gt;&amp;lt;a style='font-size: 10px; color: #0000FF' href='http://www.accuweather.com/us/MI/HOLLAND/49424/city-weather-forecast.asp?partner=accuweather&amp;amp;traveler=0' &amp;gt;Weather Forecast&amp;lt;/a&amp;gt; | &amp;lt;a style='color: #0000FF' href='http://www.accuweather.com/maps-satellite.asp' &amp;gt;Weather Maps&amp;lt;/a&amp;gt; | &amp;lt;a style='color: #0000FF' href='http://www.accuweather.com/index-radar.asp?partner=accuweather&amp;amp;traveler=0&amp;amp;zipcode=49424' &amp;gt;Weather Radar&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt; &lt;br&gt;&lt;br&gt;Posted to: Adding a script into a page</description>
			<pubDate>Sun, 25 May 2008 17:55:35 +1200</pubDate>
			<author>Steve Nyhof</author>
			<guid>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/78033</guid>
		</item>
		

	</channel>
</rss>
