<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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/"
	>

<channel>
	<title>CommunityHost</title>
	<atom:link href="http://www.communityhost.org.uk/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.communityhost.org.uk</link>
	<description>To help non-profit organisations further their aims and objectives through free web hosting and consultancy.</description>
	<lastBuildDate>Sun, 01 Jun 2008 23:14:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Wordpress Templates</title>
		<link>http://www.communityhost.org.uk/?p=10</link>
		<comments>http://www.communityhost.org.uk/?p=10#comments</comments>
		<pubDate>Sun, 09 Mar 2008 14:45:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Technical Support]]></category>
		<category><![CDATA[Wordpress Issues]]></category>
		<category><![CDATA[mailing list]]></category>
		<category><![CDATA[support]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.communityhost.org.uk/?p=10</guid>
		<description><![CDATA[I use Wordpress to run a few other websites, such as this CommunityHost site, and wanted to add a form to support a mailing list.  My hosting company, Servage, supports mailing lists and I&#8217;ve used them with some success, so I didn&#8217;t need to re-invent the wheel and decided that the best bet would be [...]]]></description>
			<content:encoded><![CDATA[<p align="left">I use Wordpress to run a few other websites, such as this <a href="http://www.communityhost.org.uk" title="Community Host">CommunityHost</a> site, and wanted to add a form to support a mailing list.  My hosting company, <a href="http://www.servage.net" title="Servage">Servage</a>, supports mailing lists and I&#8217;ve used them with some success, so I didn&#8217;t need to re-invent the wheel and decided that the best bet would be to somehow get the HTML form that Servage supply on to a Wordpress page.</p>
<p align="left">I did try the obvious &#8211; just paste the HTML source code in to a page &#8211; and that was about as effective as the proverbial cat flap in an elephant house.  So I then decided to create a new template page containing the code.  And for all who&#8217;re interested, here&#8217;s what I did in Version 2.3.x.</p>
<p align="left"><span id="more-10"></span></p>
<h3 align="left">Create a blank page</h3>
<p align="left">In the relevant theme folder I copied the existing PHP file that is used as the basis for displaying pages on the site.  The name of this file varies between themes, but typically it will be soemthing like &#8216;page.php&#8217;.  Anyway, copy this and rename it to something like &#8216;mailinglist.php&#8217;, and leave it in the same folder.  Also, use FTP to set the file to be writable.</p>
<h3 align="left">Convert to template</h3>
<p align="left">Go in to the Presentation-&gt;Theme Editor option for the Theme you&#8217;re modifying, and your new page should be listed with all the others.  Click on it to open the file up in the editing window, and then add the folloiwng code as the first thing in the file:</p>
<pre>&lt;?php    

/*    

Template Name: Servage Mailing List    

*/    

?&gt;</pre>
<p align="left">This sets the Template Name to, in this instance &#8216;Servage Mailing List&#8217;.  Save this change and you should see the page is now listed as &#8216;Servage Mailing List&#8217; in the list of pages.</p>
<h3 align="left">Add the HTML Code</h3>
<p align="left">The Servage Mailing List management program generates a simple form that you can paste in to a web page.  All I needed to do now was to add this code in to the Template.  Reload the template and locate the code that brings in the content for the page.  This will be something like:</p>
<pre>&lt;?php the_content(); ?&gt;</pre>
<p align="left">and it will be in a suitably named DIV in the page.  Again, exact details of the line will vary from Theme to Theme, but look for &#8216;the_content()&#8217; or similar.</p>
<p align="left">Now, if you want to be able to add content to the page later, leave this line in.  If your new Mailing List page will just contain the form, remove this line.  You can then simply paste in the HTML Form code provided by Servage. </p>
<p align="left">This approach is applicable to ANY similar requirements where you want a static HTML page within the context of a Wordpress page.</p>
<p align="left">Save the changes.</p>
<h3 align="left">Adding the Page</h3>
<p align="left">We now have a Template that can be used to provide a Page.  This is a pretty limited Template; it has been created with one particular purpose in mind, but it works well.  To add a page based on it, Add a new Page from the &#8216;Write&#8217; menu, then open up the &#8216;Page Template&#8217; tab on the right hand side and set the Template to whatever you&#8217;ve named your template &#8211; in this case &#8216;Servage Mailing List&#8217;.</p>
<h3 align="left">Finished Result</h3>
<p align="left">The finished result is seen here, on my <a href="http://www.communityhost.org.uk/?page_id=9" title="Community Host Mailing List Signup.">CommunityHost </a>site.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.communityhost.org.uk/?feed=rss2&amp;p=10</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wordpress Gremlins to watch!</title>
		<link>http://www.communityhost.org.uk/?p=6</link>
		<comments>http://www.communityhost.org.uk/?p=6#comments</comments>
		<pubDate>Sat, 23 Feb 2008 23:17:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Technical Support]]></category>
		<category><![CDATA[Wordpress Issues]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[IE7]]></category>
		<category><![CDATA[support]]></category>
		<category><![CDATA[tinyMCE]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.communityhost.org.uk/?p=6</guid>
		<description><![CDATA[Here are some useful tips if you get weird stuff happening with your Wordpress installation.  I&#8217;ve experienced all of these, and the fixes seem to work.
Cannot write text or edit text in IE7
If you&#8217;re using IE7 and you try and edit an existing post, or create a new one,  with the &#8216;Visual&#8217; editor in operation, [...]]]></description>
			<content:encoded><![CDATA[<p>Here are some useful tips if you get weird stuff happening with your Wordpress installation.  I&#8217;ve experienced all of these, and the fixes seem to work.</p>
<p><strong><u>Cannot write text or edit text in IE7</u></strong></p>
<p>If you&#8217;re using IE7 and you try and edit an existing post, or create a new one,  with the &#8216;Visual&#8217; editor in operation, you are either unable to enter text or existing text disappears.  On the Status bar you may see a Javascript error warning, which will include such phrases as Permission Denied or &#8221;this.contentWindow.document&#8217; is null or not an object&#8217;.</p>
<p><span id="more-6"></span></p>
<p>This is due to IE7 being overly keen on security &#8211; rare for a Microsoft product, but there you go.  Anyway&#8230;solutions.  Quick fix is go to your user profile and turn off the &#8216;Visual Editor&#8217; by clearing the &#8216;Visual Editor&#8217; check box.</p>
<p>Proper fix is to check that you are referencing yyour Wordpress installation with <strong>exactly</strong> the same URL as you have set up in &#8216;Options&#8217;.  If you have &#8217;site.com&#8217; in your Options, and try accessing the site through &#8216;www.site.com&#8217; you will see this error.  So, ensure that you are consistent.</p>
<p><strong><u>Using the Picture Insert button from Visual Toolbar display a blank window</u></strong></p>
<p>Ensure that in your options you have the site domain entered as <a href="http://www.xxxx.com/">www.xxxx.com</a>, and not just xxx.com.</p>
<p><strong><u>I deleted an entry from the page list and it still shows!</u></strong></p>
<p>Typically you delete a page from the &#8216;Manage Pages&#8217; section, it tells you the page has gone, and lo and behold on checking the site the page is still there!  First of all, do a Ctrl-F5 to force a refresh; if the page is still present, then check that there is a www. at the start of the domain name in the Wordpress options page.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.communityhost.org.uk/?feed=rss2&amp;p=6</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
