Adding a Boolean Toggle to a grid in Joomla admin

Joomla has a fantastic tutorial on MVC components on it’s website, but it seems to stop way short of explaining how to make a fully featured admin panel.

One of the features it doesn’t seem to explain well is how to add those little green ticks and red circles that you can click and it changes (toggles) from one to the other.

Joomla Demo - Administration - Google Chrome_2013-04-30_16-55-57

I like to use it for chosing if an item will appear on the front page or not – but I’m sure you could think of other uses for it. Joomla also has a built in ‘Published’ button which is a bit simpler, so I’ll start from that and move on up.

Hadrian’s wall

DSC03472

This is the second weekend in a row we’ve managed to get out and explore the beauty of the world around us, and I’m loving where God has placed us in the world. We walked along a picturesque section of Hadrian’s wall – like the Great wall of China, but not quite as great. It was built with much the same purpose: to keep out the northern barbarians – in this case the Scots.

Invisible roadworks

2013-02-09 16.35.08

In Australia roadworks were traditionally done by the local council, and though for many years it has been subcontracted out to private companies there is still a general image of ‘council workers’ who dress in reflective gear and sit by the roadside smoking cigarettes. I’ve discovered recently that it’s the same in England – except for the name.

All around the world I have seen this same phenomenon. I can’t imagine why the government needs to install traffic cones along a 3 mile stretch of the motorway where there is no appearance of any work being done or any damage to the road. Do they just do it for fun?

I decided that I needed to look this up on the web. The Highways Agency twitter account mentioned the closed lane:

#M6 northbound between J39 and J40 | Lane(s) blocked http://bit.ly/sutXS1

Still, I found it very difficult to find out WHY the lanes were blocked – as the highways agency doesn’t allow you to search in the past (though it’s helpful for the future – http://www.trafficengland.com/disruptions.aspx)

Eventually I found this on a cached version of the advanced driving website:

http://www.advanced-driving.co.uk/traffic-reports/north-west-england/

M6 northbound between J39 and J40 | Northbound | Resurfacing

On the M6 northbound between junctions J39 and J40, minor delays can be expected at peak times due to carriageway resurfacing , between 8 pm and 6 am, from 5 February 2013 to 8 February 2013.

I passed through on the 9th of February, so I guess they finished the job and decided to leave the cones in place one more day (or more!). Oh well.

Yesterday I saw some guys doing works on the road while there was snow coming down and wind blowing it everywhere, so I guess that kind of makes up for it.

Transformed

Untitled 2On Monday I launched the newest revision of the Transform website http://www.transform.om.org/. This is the first website I’ve created by using wordpress – and it’s not half bad looking. I was really surprised at how swish a website can look with the right themes and customisation – and a few plugins.

Here is a look at the website itself. The fairly wide image in the middle is a slideshow with 5 images that take you to some of the site’s pages for more information – and the last slide is a link to a youtube video that opens up in a pretty lightbox and plays right away. That’s pretty cool. This is all part of the theme I used called ‘Duotive’.

Untitled

The website can be viewed in several different languages such as French, Italian and even Korean – thanks to a fantastic plugin called qtranslate. All the links have a 2-letter language code somewhere in the URL to keep the language. Personally I would have prefered a cookie or a session variable, but this seems to work fine.

Untitled 6

It also pulls all of the short term missions opportunities for Transform participants into the website. The best part of this is that the options change depending on which country you are from – so with geoip country detection, the options are correct for your country and your currency. I used a simple rss feed reader and customised the code pretty heavily for this.

Untitled 3

The gallery is also pretty swish. The videos are hosted by OMNItube – something I’ve helped work on at OMNIvision for a while now – the advantage being no ads. The picture gallery is a part of the theme again, with nice lightboxes. The second video has subtitles based on the language you are viewing the site in, but this is just done with seperate videos at the moment.

Untitled 4

 

Lastly the prayer map is pretty cool. You click on one of the Mediterranean countries and it gives you a short bio with links to full information and how to pray for the country.

I’ve had some ups and downs with the website. The contact form that comes with the theme has no anti-spam protection so the owners got spammed as soon as it went online. Of course there’s always a better plugin available so I just dropped one in and the problem is solved. All in all, wordpress is a great CMS for simple and complex websites – there’s no reason to waste time with Joomla.

Setting up

So we’ve been here in Carlisle for just over two weeks now and we’re almost all settled in. We are so very thankful for the gifts that people have given us towards setting up a new home together. Every time I cut up vegetables I am thankful for sharp knives and nice (colour coded!) chopping boards. We love the concept of being able to store things in places other than our bedroom for once! One important part of setting up a home happened just last night – we finally got our new book-cases. Ruth had lots of fun putting out all her books on display, and I must say they look great. And don’t worry, I’ve set up the TV and Wii so we’re all set there!

But we’ve had little time to sit at home and play with our toys because we are already hard at work at OM. With the TeenStreet conference in Germany happening this month, Ruth has been planning a whole kid’s program and I have been training in the use of some pretty crazy sophisticated equipment. It is going to be a hectic two weeks so please pray for us as we go on this adventure together.

We’re married!

Yes, Ruth and I finally tied the knot on the 9th of June 2012 at Northchurch Baptist Church, Berkhamsted, England. We had a magnificent day that (save for a slight delay) turned out just the way we planned. The sun even made an appearance in the afternoon and there was an especially beautiful sunset to end the day. You can see lots of photos of the big day on our facebook pages.

We had a lovely relaxing honeymoon in tropical north Queensland, Australia before heading to Australia for a whole second wedding and reception! It was lovely to celebrate again with the people who are special to me, and who had already met Ruth and encouraged us on our journey together. It was also a time for last goodbyes as we flew back to the UK two days later!

We’ve been very busy setting up our new home in Carlisle, UK and we will have some photos for you to see soon. We’ve also started work already as volunteers for Operation Mobilisation – Ruth is working with families in the mission field and I am working with a multimedia ministry called OMNIvision. Between our day jobs, setting up a home, getting over jetlag and getting used to each other – we’re quite drained – so please pray for energy and grace for one another.

Counting the days

June 9th 1:30pm BST / 10:30pm EST

It’s only 9 days now until Ruth and I tie the knot here in Berkhamsted, England. We’re both super excited and thankful we can count the days on our fingers now. Everything seems to be coming together quite well for us as far as wedding planning and preparing for the future.

We will be broadcasting the wedding live over the internet from our church streaming channel:
http://www.ustream.tv/channel/northchurch-baptist-broadcast
Note that this is not going to be a television worthy production, but you will be able to see and hear all the essentials if you want to stay up till 10:30pm EST. You can see another wedding has been recorded as ours will be to get an idea of the quality of coverage – though our ceremony will be quite different!

Ruth and I have been going through The Marriage Preparation Course by the makers of Alpha with our pastor and would happily recommend the course to new couples. http://relationshipcentral.org/marriage-preparation-course

Our first couple of months in Carlisle seem to be shaping up as well. We have both been selected to be involved in TeenStreet - a huge Christian event challenging teenagers to live for Christ – in July and we have both been recruited for the Go conference – where new missionaries come to be equipped before going out into the world. I will be doing audio visual and Ruth will be looking after kids and consulting with families entering the mission field.

We can hardly wait for our new life to begin. We are seeing God’s provision for us every day in having enough money to buy food and bus tickets, to the big things like wedding rings and houses. Ruth’s monthly support income is almost at 100% – we are just seeking God for another £100 – £200. She is also looking for part time teaching work to give us enough to live on. If she is unable to find enough work, my monthly support will need to increase by up to $600 per month to give us spending money for things like groceries and public transport. Please continue to pray that the rest of the figures add up and we can begin serving God without being a burden to the organisation we go with.

Ground work

Having spent another week in Carlisle – this time on my own – what do I have to show for it? I have been working on a project which will allow people to easily give monthly to the ship Logos Hope. There are many people out there – some Christians and some not – who would like to make regular contributions, and the technology needs to catch up. Over the week I have made enough progress for other people to take on the job of testing and implementing it. It feels good to have achieved something in the time that I’ve spent there. Others really appreciated the work I did.

I also had the chance to visit another church in Carlisle, which I really enjoyed. Carlisle Christian Fellowship is a small church that grew up out of house churches. They are fairly modern and charismatic and I’ve seen at least one thing in the news sheet about a kindness evangelism outreach this month. I had the pleasure of going to a men’s dinner at the church and connecting with some of the blokes there. I’m still not sure if this will be where Ruth and I settle, but it’s nice to experience fellowship with believers in a totally different place.

Ruth and I have also been looking at houses, and we think we may have found one close to the city center with all the furniture included. It’s a two bedroom terraced house – very typical English home. Whatever we decide on, OM will take care of all the rental agreements, which is very helpful for us.

 

Men’s Conference

“It’s such a relief that you could come to help out today Chris, you were a big help” a member of the OMNIvision crew remarked as he dropped me home late Saturday night. I was just thankful to God for the opportunity to be a part of the event.

Last Wednesday I left my lovely fiancee in Berkhamsted and caught a train to Carlisle to work on a software project for OM ships. I had wanted to spend some more time in Carlisle connecting and getting accustomed to the area, and OM had kindly paid my way up here for a week and a half. On Friday morning in devotions, a member of OMNIvision approached me and asked me if I’d like to go to Manchester with them for the weekend Northern Men’s Conference. I agreed without delay and was whisked off to the bus as soon as I could tell people where I was going.

One crew member had fallen ill and I was needed to help with setup, packdown and camera. I had operated a camera many times before on the ship, but this was a step up from that. Bigger cameras, more professional crew, and an audience that expect quality.

The Northern Men’s Conference was a one day Christian conference with keynote speaker Dr David Cook from Australia encouraging men from all around Northern England how to be the man God designed them to be. As I operated the camera, it struck me that he was saying some key stuff that mattered to me at this point in my life. I am moving from being a single man under my parents to being a husband and head of the household. Whilst I won’t repeat his talks, I especially like that he said God designed us in his image – to work as He does, to rest as He does and to Love as he does. This and many other truths washed over me as I operated the camera – I felt doubly blessed hearing this instruction and doing what I love doing.

The Audio/Visual side of things ran very smoothly and everyone was thankful that I could come along and fill in for the other camera operator. I am looking forward to the big events like Teen Street that I’ll be involved with this summer. I thank God for the surprise adventure, the blessing of growing relationships with the crew and the instruction I received on being a man of God.

Connecting

Following our week in Carlisle nailing down the details of our future, this week has been spent connecting (or re-connecting in Ruth’s case) with the community of Ruth’s Home Church, Northchurch Baptist. I’ve been staying with two lovely families that live near Ruth. It’s been great to get to know them better by living in their homes and sharing a little in their lives. Ruth and I have been doing our best to share with others what God has called us to do in Carlisle. (you can read it here: Chris|Ruth) A big part of this has been participating in home groups. We’ve also had penty of time to spend on wedding planning – which as you could imagine, turns out to be quite a bit of work when you want to stick to a budget!

We are both really excited about continnuing work with OM, and sometimes I feel like I’d like to be there right now serving God with my skills and giftings – but He is encouraging me each day that building my relationship with Ruth and connecting with people in her life – laying down a good foundation for the future is the best use of my time right now.

This Wednesday I’m headed to Carlisle for 1.5 weeks to work on an urgent project, then I’m back here in Berkhamsted until the wedding on June 9th. We’ll disappear until our Australian blessing and reception on June 26th, and after that we’ll return to Carlisle to set up home and start work on July 2nd.

We’ve been really encouraged so far by generous gifts and pledges of financial support. it’s still early days as far as Ruth’s levels are concerned. I’m still resting at 70%. We can’t help but testify that God has suppplied all of our needs up to this point and we Trust he will continue to surprise us in the future.