Thursday, 30 September 2010

Display external remote HTML in a Joomla Template

This document is a little more general than having to be for Joomla.  It should work in any PHP environment.
What I'm wanting to do is have one file that I can change externally that I can display the HTML from on all of my sites .  Heres the code

 $filename = "";
       $handle = fopen($filename, "r");    

$contents = stream_get_contents($handle);

echo $contents;

Thursday, 16 September 2010

lost XML-Sitemap password

On many of the larger sites I'm doing I'm using the unlimited version of XML-Sitemap.  However with this version when you login your presented with a username and password option. If you've lost/forgotten it then heres a solution

modify generator/data/generator.conf

   < option name="xs_login" >........< /option >
   < option name="xs_password" >.........< /option >

Tuesday, 14 September 2010

Joomla Image only menus

This is something you'd think would be supported in the standard installation of Joomla but it's not, and that's the abililty to be able to show images only menus.  For this the simplist way is to install this module -> Joomla image only menus

Job done :)

Thursday, 2 September 2010

Failed attempts to get to download from an IMAP server to Outlook Express

Currently we have all out mail on an IMAP server but would like to be able to take it all somewhere else.  To achieve this the method I am using is to download it to outlook express and then save it from there.  

The only problem being when trying to do so I was getting this error

PLAIN * authentication failed. None of the authentication methods supported by your IMAP server (if any) are supported on this computer.

This is how I solved the problem 

Firslty I had a clean up of the computer and made a bit more space.  To know avail.

Secondly I used ctrl - alt - delete and shut down proccesses going on the background that where taking up a lot of CPU usage.