Archive

Posts Tagged ‘development’

Upgrading Joomla! Extensions

September 8th, 2009 No comments

When a new version of a Joomla! extension becomes available, you usually have to un-install the current version, download and then install the new version. This will often make you lose any saved parameters for the extension being removed.

However, with two words, extension developers can save you all this heartache, resulting in an upgrade process of simply, download new version and install, upgrading your existing version of the extension.

How you ask?

Simple. In the XML installer file, declare the install tag in the following way

<install type="component" version="1.5.0" method="upgrade">

The method is the key! When set to upgrade, Joomla! will simply overwrite any files being installed. Of course, these files need to be writable either by the web server, or the FTP user in order for the install/upgrade to be successful, but it will let you know about that.

You can use this attribute when doing a clean install of an extension too, it’s not restricted to upgrades only!

Extension developers, please start using this feature! It makes keeping a Joomla! site up-to-date much easier and keeps the whole process simple for end-users!

Categories: Developments Tags: , ,

Hiding a Menu Item in Joomla!

July 15th, 2009 6 comments

Ever wanted to use a menu item to link to a particular article or component, but don’t actually what that menu item to appear on your site?

First, create a new menu from the Menu Manager in your Joomla! Administrator area and call it something like ‘hiddenmenu’.

Now proceed to add new menu items to this ‘hiddenmenu’ and be sure they are Published. You will likely want them to be publicly accessible too. This allows you to set menu specific parameters for items like content articles, contacts, components and more, without actually showing the menu item on your website.

Basically, that’s it. Using the JCE editor for Joomla!, edit or create an article. To add a link to the ‘hiddenmenu’, select the text to link and click the ‘Add Link’ button. The JCE editor will popup a window allowing you to select an item to link to. Select the ‘Menu’ option to display the available menus. Then, expand the one you created earlier called ‘hiddenmenu’. Finally, select the menu item you created and click on the Insert button.

Save your article and take a look.

Categories: Developments Tags: , ,

BizTweet – A Unique Twitter Application for Joomla!

June 3rd, 2009 No comments

New from the developers of jTips, BizTweet presents an entirely new way to do business on your website using Twitter!

If you live in a cave and don’t know about Twitter

Twitter is a service for friends, family, and co–workers to communicate and stay connected through the exchange of quick, frequent answers to one simple question: What are you doing?

Source: http://twitter.com

There are a great many people using Twitter to promote their business, be it personal, small or even enterprise level. This is all great. However, people need to visit the Twitter.com website or using a Twitter Application to either find and follow your user, or search for a keyword in one of your tweets to see your messages.

Read more…

Useful Unused HTML

April 23rd, 2009 1 comment

During my years as a web developer, I have continued to discover and learn about often unused HTML tags and attributes. I have come to use many of these tags on a day to day basis to achieve more robust, usable, and compliant web sites and systems.

One of my new favourite HTML tags is LABEL. While the LABEL tag does not render anything visual on the page, it greatly assists with improving the usability and accessibility of the page. It is mainly used in conjunction with FORM input controls and essentially focus the cursor on the form field with the LABEL is clicked on. The LABEL tag should be wrapped around the text that represents the content of the form field. Then, when the user clicks on this text, they can immediately change the value of the associated form input. In the following example, with or without the LABEL tag, the text ‘First Name’ would still be visible on the page. Read more…

Categories: Developments Tags: ,

Work From All Angles

April 21st, 2009 No comments

Life is good. Life is fast.

With a new baby arriving recently my development projects have slowed down a bit. I still manage to find some time to work on them, but no where near as much as before. But that’s OK, I’m perfectly happy to make the sacrifice for my son…. (still sounds weird to say that).

My work with jTips has certainly lead to some interesting opportunities. I have been approached to develop some other Joomla! extensions for clients, which is fantastic. But, my time is limited. This only means that projects take a bit more time.

To help in sourcing additional projects, in an effort to eventually become full self-employed, I have recently started developing a new website for a development business called EvolutionEngin – yes, without an ‘e’ at the end. This new site will be a gateway for projects not related to jTips or my other Joomla! extensions. This is aimed at web development of absolutely any kind – applications, extensions, websites, e-commerce… anything! If you can dream it, me (and my small team) can build it!

The EvolutionEngin website is still very much under construction and has not yet been launched.

Categories: Developments Tags: , , , ,

CodeIgniter… eerrmmm Ignited?

March 8th, 2009 1 comment

Over the last weekend I was asked to develop a quick functional website to be used as an interim site while a more feature rich was being developed. I though this would be the perfect opportunity to get to know the CodeIgniter framework.

Previously, any site I developed was built using Joomla! and extensions. And, while it would have been quite simple to continue using Joomla! and then developing a custom component for the client to perform the desired actions, I decided that such a system was just a bit too feature rich (over-the-top) to be used as a ‘temporary solution’.

Enter CodeIgniter

Having never used CodeIgniter before, I found the setup incredibly simple and the learning curve more of a slight incline. After having downloaded version 1.7.1 of the framework I was up and running in no time. The built-in ‘Hello World’ example makes it even easier to get started.

While CodeIgniter is a very light-weight framework, it is still very powerful. There are loads of utility classes and helpers that take common complexity out of developing a site.

The best part is the easy to follow, concise documentation. Unlike some other systems and frameworks, CodeIgniter‘s documentation is straight to the point. Explaining how to include the functionality, and what each of the available methods do. I only have one criticism on the documentation – the method signatures are not quite excplicit enough. While it does go on to explain the parameters each method accepts, it is sometimes buried in a descriptive sentence rather than being listed. However, this didn’t really impede my development process.

The site I built was relatively simple, consisting of a couple of forms and file lookups. After further digging around in the documentation I found several HTML helper functions that will produce syntactically correct HTML tags for a variety of form fields, text properties and even DOCTYPE declarations!

I also found the built-in form validation techniques expecially handy. Rather then developing complex rules to validate a form on the client-side using javascript or AJAX, CodeIgniter provides simple and powerful server-side validation and makes it easy to re-populate an errornous form as well as control the look and feel of error messages.

CodeIgniter makes use of the latest development techniques by conforming to the MVC (Model-View-Controller) paradigm. This paradigm provides a great level of abstraction and is recommend for any developer.

Overall, I found the CodeIgniter framework very easy to use and am happy with the level of built-in functionality id provides. I am very happy with the resulting site I have developed and am very proud to announce that it is W3C compliant HTML and CSS as well as passing Accessibility Tests!

Take a look at the site.

codeignitersite.jpg
Categories: Developments Tags: , , ,

New Project Underway

February 25th, 2009 No comments

I’ve just started developing a brand new Joomla! component. This component compliments the jTips component to provide the complete tipping solution for any type of competition.

jTips is based on versus style competitions. This means you have a team playing against another team. This provides tipping functionality for most, but not all types of competitions. Tipping on races and the like is not really possible. Not to say it is impossible, but it’s certainly a bit more diffucult and abstract.

Enter jRace!

jRace will be a completely extensible Joomla! component which handles tipping of race style events. Let’s say you want to pick the top three runners in a marathon… jRace will let you!

This product will be heavily plugin based so that new scoring algorthms can be added and prioritized at any stage, making the system completely customisable.

Many of the features that exist in jTips will also exist in jRace. Features such as customisable layouts, time zone selections and user preferences, language packs, as well as having the ability to create menu links to various areas of the component.

jRace will be completely developed within the Joomla! 1.5 framework. There will however, be times when additional utility classes will need to be created.

It’s still very early days for this project, and with my first child on the way very soon, I can’t put a timeframe on it right now. The sooner the better though, of course.

Any ideas, questions, comments? Leave me a comment below.

Categories: jTips Tags: , ,