Thursday 10 March 2011

Trying to set up a cron job on Heart internet.

I've been trying to set up a cron job to run a webpage


I've tried setting up a redirect in .htaccess to send the address 'http://www.mysite.co.uk/mycron' to it. And then use 'wget' in the command line.


wget -O - -q -t 1 http://www..mysite.co.uk/mycron


and got the error
'Your script returned the following:
Can't find 'wget'. Check that you have the correct location. '

and i've also tried setting up a php script and forwarding there the header at http://www.mysite.co.uk/cron/rsscontent.php using the command

/home/sites/mysite.co.uk/public_html/cron/rsscontent.php


but this method returns a report that my method to call this page up using 'Location:' is inappropriate.


After mailing Heart support the reply was that in regards to the calling a page direct it cannot be done from the same server as it could cause a loop. However after trying the command

wget -O - -q -t 1 http://www..mysite.co.uk/mycron

from another server ( still on heart ) theres still no success.

I've got it sorted now though - just signed up for an account at www.setcronjob.com where you can use them for free ( you have to redo them every month though or pay! ) and am now free to spend time doing other work ;) phew...

Wednesday 9 March 2011

Learning Dutch in 3 months

We're going to a wedding in Holland in 3 months so the target is to learn as much Dutch as possible but this is what I'm up against.

* 2 kids under 3 years of age
* Self Employed business owner ( dawn to dusk work !)
* have to spend at least! 20 hrs a week building our house to live.

So the plan is to utilise any spare time ie, walking, driving, yoga, tv time - and try and fit in a hour a day 6 days a week.

My smart phone will be one of my best friends through this, so mp3 downloads, android apps, you tube videos will be major tools in this mission. I'll let you know how I get on.

Monday 7 March 2011

Create awesome Mega drop down menus in Joomla

I've been asked by a client to create a killer drop down menu like on Msw store page http://store.magicseaweed.com/?utm_source=MSW%2BSite&utm_medium=SB&utm_campaign=homepage or on Next Clothings website .

After finding a link to this module Maxi Menu in Joomlas Forum . I installed the module on a testing server and it seems to do all the things I need it to.

Here's what I've done so far to get it working. I'll be playing around with it over the next day so will hopefully get it looking professional.

Heres what I did.

> Opened up the current menu that I wanted to swap with the new one in a seperat browser window.

> created a new menu with the maxi menu module

> copied all relevant deatils from the old menu ie location, pages.

> in the joomla admin > menu > click on menu I'm changing.

> in the title of the top level menu item I want multi rows on add '[cols2]' - ( 2 being the number of rows you wish )

> create 'seperator' menu items and put [col] in the title when I want to start a new row (to create 'seperator' menu go ot 'new' in the menu screen and under 'select Menu Item type' scroll down to 'seperator. )

They'll be more to come on this module. Here's what I googled looking for the best solution for this

awesome joomla dropdown menus
joomla killer dropdown menus
the best joomla dropdown menu
joomla mega menu