<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" version="2.0">

<channel>
	<title>www.acewebdesign.com.au</title>
	
	<link>http://www.acewebdesign.com.au/blog</link>
	<description />
	<lastBuildDate>Wed, 14 Apr 2010 12:17:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/acewebdesign" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="acewebdesign" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Add Templates to CKEditor</title>
		<link>http://www.acewebdesign.com.au/blog/2010/04/14/add-templates-to-ckeditor/</link>
		<comments>http://www.acewebdesign.com.au/blog/2010/04/14/add-templates-to-ckeditor/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 12:17:03 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[CKEditor]]></category>
		<category><![CDATA[cms]]></category>

		<guid isPermaLink="false">http://www.acewebdesign.com.au/blog/?p=24</guid>
		<description><![CDATA[While I&#8217;ve been developing a newsletter module for Zend Framework this  week, I have had to look at ckeditor very closely.
I saw that you can  edit the templates that are available, and also the styles you can use.
Also  the icons in the toolbar are customizable also.
I will quckly  run through what [...]]]></description>
			<content:encoded><![CDATA[<p>While I&#8217;ve been developing a newsletter module for Zend Framework this  week, I have had to look at ckeditor very closely.</p>
<p>I saw that you can  edit the templates that are available, and also the styles you can use.</p>
<p>Also  the icons in the toolbar are customizable also.</p>
<p>I will quckly  run through what you need to do to add a template to the ckeditor  instance. It really is quite simple.</p>
<p>First thing to do is work  out what you would like as a template.<br />
Probably best to find this in  a previous project or something, and customise it to suit a template.<br />
Then  take a screenshot and upload it to the directory.  /ckeditor/plugins/templates/templates/images/</p>
<p>Then find the file  that the templates are stored in, which would normally be located at  /ckeditor/plugins/templates/templates/default.js</p>
<p>Then copy the  code from the original item, and paste it in as follows, removing all  line breaks in the html, so that it all sits on one line, and make sure<br />
you  dont use &#8216; instead use &#8221; where needed<br />
add an entry in this style<br />
{title:&#8217;Image  and Title&#8217;,image:&#8217;screenshot.gif&#8217;,description:&#8217;Description  Here.&#8217;,html:&#8217;&lt;h3&gt;html here&lt;/h3&gt;&#8217;}<br />
replacing the &#8216;Image  and Title&#8217; with the name of the template<br />
replacing the  &#8217;screenshot.gif&#8217; with the name of the screenshot that you put into the  images subdirectory.<br />
replacing the &#8216;&lt;h3&gt;html here&lt;/h3&gt;&#8217;  with the html of the template.</p>
<p>Open the image below to see where to put it.</p>
<p><a href="http://www.acewebdesign.com.au/blog/wp-content/uploads/2010/04/ckeditortemplate-html1.gif"><img class="size-thumbnail wp-image-28 alignnone" title="ckeditor templates" src="http://www.acewebdesign.com.au/blog/wp-content/uploads/2010/04/ckeditortemplate-html1-150x69.gif" alt="ckeditortemplate-html" width="148" height="69" /></a></p>
<p>To add the styles to the editor from a css file add it like this, change the line config.contentsCss = &#8216;/css/fckstyles.css&#8217;; to resemble the path used. Also remember to use this in the front end of your site also.</p>
<blockquote><p>CKEDITOR.editorConfig = function( config )<br />
{<br />
config.toolbar = &#8216;MyToolbar&#8217;;<br />
config.baseHref = &#8216;http://www.mysite.com/&#8217;;<br />
config.entities = false;<br />
config.contentsCss = &#8216;/css/fckstyles.css&#8217;;<br />
config.htmlEncodeOutput = false;<br />
config.font_names =<br />
&#8216;Arial/Arial, Helvetica, sans-serif;&#8217; +<br />
&#8216;Times New Roman/Times New Roman, Times, serif;&#8217; +<br />
&#8216;Verdana;&#8217; +<br />
&#8216;Test;&#8217;</p>
<p>;<br />
config.toolbar_MyToolbar =<br />
[<br />
['Source','-','Preview','Templates','Undo','Redo'],<br />
['Cut','Copy','Paste','PasteText','PasteFromWord','-', 'SpellChecker', 'Scayt'],['Maximize', 'ShowBlocks'],<br />
['-','Find','Replace','-','SelectAll','RemoveFormat'],['Link','Unlink','Anchor'],<br />
['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],</p>
<p>['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],<br />
['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],<br />
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],</p>
<p>&#8216;/&#8217;,<br />
['Styles','Format','Font','FontSize'],<br />
['TextColor','BGColor']<br />
];</p>
<p>};</p></blockquote>
<p>then, open the browser and click the templates button to check  that it is there.</p>
<p>Too easy hey?</p>
<dl id="attachment_32" style="width: 446px;">
<dt><img title="ckeditor-template-screenshot" src="http://www.acewebdesign.com.au/blog/wp-content/uploads/2010/04/ckeditor-template-screenshot.gif" alt="Screenshot of new template" width="436" height="447" /></dt>
</dl>
<p>You can use this for anything you like, email templates, full pages,  snippets. Enjoy, and I hope I helped someone.</p>
<img src="http://feeds.feedburner.com/~r/acewebdesign/~4/wqnS5ZuGgog" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.acewebdesign.com.au/blog/2010/04/14/add-templates-to-ckeditor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create form elements in E text editor</title>
		<link>http://www.acewebdesign.com.au/blog/2009/10/13/form-elements-etexteditor-zendframework/</link>
		<comments>http://www.acewebdesign.com.au/blog/2009/10/13/form-elements-etexteditor-zendframework/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 02:07:04 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Screencasts]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[zend framework]]></category>

		<guid isPermaLink="false">http://www.acewebdesign.com.au/blog/?p=19</guid>
		<description><![CDATA[I was working with e &#8211; text editor which is my editor of choice, and decided to publish a look at how easy it is to set up a snippet to make your development time much quicker.
Just set up a snippet write the code that you want output, set the variables such as field name, [...]]]></description>
			<content:encoded><![CDATA[<p>I was working with e &#8211; text editor which is my editor of choice, and decided to publish a look at how easy it is to set up a snippet to make your development time much quicker.</p>
<p>Just set up a snippet write the code that you want output, set the variables such as field name, and then the tab activator.</p>
<p>This speeds up the development of common tasks a lot.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="340" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/0eLbBZ340iE&amp;hl=en&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="340" src="http://www.youtube.com/v/0eLbBZ340iE&amp;hl=en&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<img src="http://feeds.feedburner.com/~r/acewebdesign/~4/fhP8PiyFaXs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.acewebdesign.com.au/blog/2009/10/13/form-elements-etexteditor-zendframework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make a google weather plugin in Zend Framework</title>
		<link>http://www.acewebdesign.com.au/blog/2009/09/15/googleweather-plugin-zendframework/</link>
		<comments>http://www.acewebdesign.com.au/blog/2009/09/15/googleweather-plugin-zendframework/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 05:26:33 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[zend framework]]></category>

		<guid isPermaLink="false">http://www.acewebdesign.com.au/blog/2009/09/15/googleweather-plugin-zendframework/</guid>
		<description><![CDATA[I&#8217;ve been experimenting with creating a few new handy plugins and view helpers to assist in rapid fire development with Zend Framework.
I came across a post recently which outlined how easy it is to output weather with php and Google Weather API
So I thought I would share how to create an easy to use view [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been experimenting with creating a few new handy plugins and view helpers to assist in rapid fire development with Zend Framework.</p>
<p>I came across a post recently which outlined how easy it is to output <a target="_blank" href="http://komunitasweb.com/2009/09/showing-the-weather-with-php-and-google-weather-api/">weather with php and Google Weather API</a></p>
<p>So I thought I would share how to create an easy to use view helper for outputting basic google weather.<br />Simply set this up in your plugins directory, making sure that you have the prefix setup in your bootstrap.</p>
<p><code>&lt;?php<br />class Ace_View_Helper_GoogleWeather extends Zend_View_Helper_Abstract <br />{<br />&nbsp;&nbsp;&nbsp; public $view;<br />&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; public function __construct()<br />&nbsp;&nbsp;&nbsp; {&nbsp;&nbsp; }<br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; public function setView(Zend_View_Interface $view)<br />&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $this-&gt;view = $view;<br />&nbsp;&nbsp;&nbsp; }<br />&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; public function googleWeather($location)<br />&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp; <br />$xml = simplexml_load_file('http://www.google.com/ig/api?weather=' . $location);<br />$information = $xml-&gt;xpath("/xml_api_reply/weather/forecast_information");<br />$current = $xml-&gt;xpath("/xml_api_reply/weather/current_conditions");<br />$forecast_list = $xml-&gt;xpath("/xml_api_reply/weather/forecast_conditions");</p>
<p>$weatheroutput = "<br />&lt;div class='weather'&gt;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br />&lt;img src='http://www.google.com" . $current[0]-&gt;icon['data'] . "' alt='weather' /&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;span class='condition'&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; " .&nbsp; $current[0]-&gt;temp_c['data'] . "&amp;deg; C,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; " . $current[0]-&gt;condition['data'] . "iooooooo<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/span&gt;<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/div&gt;";<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return $weatheroutput;<br />&nbsp;&nbsp;&nbsp; }<br />}</p>
<p>Then from your view script you can call it with this<br />&lt;?= $this-&gt;GoogleWeather('Adelaide'); ?&gt;<br /></code></p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=f49cbd06-68fd-8b9f-9788-1a22c2dd997a" /></div>
<img src="http://feeds.feedburner.com/~r/acewebdesign/~4/EXMH6XZU4EQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.acewebdesign.com.au/blog/2009/09/15/googleweather-plugin-zendframework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prevent caching in internet explorer</title>
		<link>http://www.acewebdesign.com.au/blog/2009/07/30/prevent-caching-in-ie/</link>
		<comments>http://www.acewebdesign.com.au/blog/2009/07/30/prevent-caching-in-ie/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 02:50:15 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[zend framework]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://www.acewebdesign.com.au/blog/2009/07/30/prevent-caching-in-ie/</guid>
		<description><![CDATA[I had the most frustrating experience recently, with a page inside an admin area calling cached pages on the results page.So my client would input a new entry, but it wouldnt show in their results window.I personally use firefox, and it looked good, but because the project was not finished, I had not got to [...]]]></description>
			<content:encoded><![CDATA[<p>I had the most frustrating experience recently, with a page inside an admin area calling cached pages on the results page.<br />So my client would input a new entry, but it wouldnt show in their results window.<br />I personally use firefox, and it looked good, but because the project was not finished, I had not got to the cross browser thorough testing yet.<br />After a lot of frustrating time looking into what might be wrong with the code, I opened up debug bar for ie and found that it was just showing a cached version each time.<br />So I googled around and found that I needed to prevent ie from caching the pages.</p>
<p>The solution</p>
<p>Add this code to the php code of the page that you don&#8217;t want cached. In my case I put it in the init() area of my controller as I use Zend Framework.</p>
<pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 0px; overflow: auto; width: 640px; height: 82px; text-align: left;">header("Cache-Control: no-cache");
header("Expires: -1");
</pre>
<p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=35e2f8c1-fc0c-84d4-a643-ecf7b6472cc3" /></div>
<img src="http://feeds.feedburner.com/~r/acewebdesign/~4/BzNnb5eJzfk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.acewebdesign.com.au/blog/2009/07/30/prevent-caching-in-ie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Raine &amp; Horne Glenelg Web Design Released</title>
		<link>http://www.acewebdesign.com.au/blog/2008/02/28/raine-horne-glenelg-web-design-released/</link>
		<comments>http://www.acewebdesign.com.au/blog/2008/02/28/raine-horne-glenelg-web-design-released/#comments</comments>
		<pubDate>Thu, 28 Feb 2008 02:36:33 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Web Designs]]></category>

		<guid isPermaLink="false">http://acewebdesign.com.au/blog/?p=9</guid>
		<description><![CDATA[Ace Web Design and Raine &#38; Horne Glenelg are proud to announce the launch of their web site.
It features a corporate look and feel with easy to use navigation, and beautiful ajax slides on the front page. Ajax popup transitions for the newsletter sign up, terms, privacy policy etc really helped to polish this site [...]]]></description>
			<content:encoded><![CDATA[<p><a rel="attachment wp-att-8" href="http://acewebdesign.com.au/blog/?attachment_id=8" title="Raine &amp; Horne Glenelg Web Design"><img border="0" align="left" src="http://acewebdesign.com.au/blog/wp-content/uploads/2008/02/rhglenelg.thumbnail.jpg" alt="Raine &amp; Horne Glenelg Web Design" /></a>Ace Web Design and Raine &amp; Horne Glenelg are proud to announce the launch of their web site.</p>
<p>It features a corporate look and feel with easy to use navigation, and beautiful ajax slides on the front page. Ajax popup transitions for the newsletter sign up, terms, privacy policy etc really helped to polish this site up quite nicely.</p>
<p>We wish Gary and Monika all the best for their business.</p>
<p>Check out <a target="_blank" href="http://www.rhglenelg.com.au" title="Raine &amp; Horne Glenelg">Raine &amp; Horne Glenelg</a> for the best in <a target="_blank" href="http://www.rhglenelg.com.au" title="Real Estate Glenelg">Glenelg Real Estate</a></p>
<img src="http://feeds.feedburner.com/~r/acewebdesign/~4/wAHAip3L7vs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.acewebdesign.com.au/blog/2008/02/28/raine-horne-glenelg-web-design-released/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Luxury Comforts Ecommerce Site Setup</title>
		<link>http://www.acewebdesign.com.au/blog/2007/09/12/luxury-comforts-ecommerce-site-setup/</link>
		<comments>http://www.acewebdesign.com.au/blog/2007/09/12/luxury-comforts-ecommerce-site-setup/#comments</comments>
		<pubDate>Wed, 12 Sep 2007 01:25:41 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Web Designs]]></category>

		<guid isPermaLink="false">http://acewebdesign.com.au/blog/?p=7</guid>
		<description><![CDATA[Luxury comforts web design is complete, and they are now taking online orders. The shop is easy to navigate and features a back end with ajax features. Newsletter sign up feature incorporated into each page also relies on ajax, so the user never leaves the page when signing up.
]]></description>
			<content:encoded><![CDATA[<p><img src="http://acewebdesign.com.au/blog/wp-content/uploads/2007/09/luxurycomforts.thumbnail.jpg" title="Luxury Comforts" alt="Luxury Comforts" align="left" />Luxury comforts web design is complete, and they are now taking online orders. The shop is easy to navigate and features a back end with ajax features. Newsletter sign up feature incorporated into each page also relies on ajax, so the user never leaves the page when signing up.</p>
<img src="http://feeds.feedburner.com/~r/acewebdesign/~4/ZHLmoId3jG0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.acewebdesign.com.au/blog/2007/09/12/luxury-comforts-ecommerce-site-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Just 4 Fish Released</title>
		<link>http://www.acewebdesign.com.au/blog/2007/09/06/just-4-fish-released/</link>
		<comments>http://www.acewebdesign.com.au/blog/2007/09/06/just-4-fish-released/#comments</comments>
		<pubDate>Thu, 06 Sep 2007 07:16:00 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Web Designs]]></category>

		<guid isPermaLink="false">http://acewebdesign.com.au/blog/?p=4</guid>
		<description><![CDATA[Ace Web Design is proud to announce the arrival of Just 4 Fish. Just 4 Fish offers a variety of pet supplies available via online ordering.
The site is tableless, and is compliant to w3c standards.
Take a look at Just 4 Fish
]]></description>
			<content:encoded><![CDATA[<p><a rel="attachment wp-att-3" href="http://acewebdesign.com.au/blog/?attachment_id=3" title="Just 4 Fish"><img border="0" src="http://acewebdesign.com.au/blog/wp-content/uploads/2007/09/just4fish.jpg" alt="Just 4 Fish" style="float: left" /></a>Ace Web Design is proud to announce the arrival of Just 4 Fish. Just 4 Fish offers a variety of pet supplies available via online ordering.</p>
<p>The site is tableless, and is compliant to w3c standards.</p>
<p>Take a look at <a target="_blank" href="http://www.just4fish.com.au" title="Just 4 Fish">Just 4 Fish</a></p>
<img src="http://feeds.feedburner.com/~r/acewebdesign/~4/mDP2N6nAnBA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.acewebdesign.com.au/blog/2007/09/06/just-4-fish-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
