New Website for Garrett Leather

Garrett Leather Website Development

Check out the new website developed by Axis Web Art for Garrett Leather Corp. Garrett is the leading supplier of premium quality Italian upholstery leather. Website is fully customized B2B magento store with wide range of leather products and innovative way of leather selection and various order types as sample, reserve and purchase.

We have prepared a detailed case study and a project in our portfolio.

Joomla Module Development Part I

This article is to teach you how to develop your own custom module around joomla CMS. This course will start with simple joomla module development and will move on to teaching extensive joomla development.

Joomla is a most widely used and popular content management system. If you are a professional or freelance website developer, many times your client might ask you to develop website with joomla or you may propose a certain website to be developed with joomla. Joomla comes with lots of features buts its not possible for a CMS to cater all your project requirements. Joomla development skills comes very handy in situations like this.

Developing a Simple Joomla Module – Lets start with a hello world kind of module with joomla. First of all we need to create a folder for our module that will have a name starting with mod_ followed by name of your module. so if we want to create a module having name helloworld, we will create a folder named mod_helloworld in our computer.

Inside that mod_helloworld folder we will create two files (only two files are required for a basic module). One xml file that will tell joomla about our module and one php file to perform our intended task for the module. Name of these two files must be same as the name of our module so two files created will be mod_helloworld.php and mod_helloworld.xml.

What will go inside these two files?

Lets open our favorite text editor (I am fan of adobe dreamweaver) and create a new file xml file and save it the folder you created in starting and name of the file must be mod_helloworld.xml.

Lets understand each line of code one by one:

First line says about the xml version and its character set. Actual code of our module starts with the tag and attributes of this tag defines the type of extension, version of joomla and client. In our case type is module as we are developing a joomla module, that changes to component if we are developing a component or to plugin if we are developing a joomla plugin. Version is the version of joomla for which we are developing our module. 1.6.0 works in all versions of joomla 1.7 and joomla 2.5. Client tells the area for which we are developing the module. Site means we are developing it for site part, other possible value can be admin if we want to develop a module for joomla admin section.

here is the explanation for each tag inside extension tag

<name> tag contains the name of your module that is mod_helloworld in our case. change if you are developing it with your own name.
<author> tells the name of author of the module. change it with your name
<creationDate> of the the module
<copyrights> name of the party, individual having copyrights of this module
<license> license text of the module
<authorEmail> email id of the author
<authorUrl> URL of author’s website
<version> version of your module
<description> description about what your module do.

Next important tag is files. It tells joomla what are the files to upload while installing your module from admin section. Each file is specified individually with a filename tag inside files tag. One important thing to note here is module=”mod_helloworld” in first <filename> tag. It should be always the name of your module.

At the end of this file we close the extension tag. Now lets move on to the another file of our module that is mod_helloworld.php. This file is actually responsible for printing the output of our module.

Just three lines of code and out of that the first one is the start of php tag itself. Second is most important one and goes in every php file of weather we are developing a module, component, plugin or template. We use this line to prevent direct access to our code, that means if our website is this line of code prevent direct access to in web browser address bar.

Next line is a simple php echo statement, announcing your first joomla module! We can output whatever we want here.

Download the zip file of exercise and post any question comment below. In the next tutorial we will learn how to add module parameters and use that in frontend.

Launched website for Dj Nyk

Dj Website design With Joomla Framwork

We launched the website of Dj NYK after a continuous work of four months. The website is now now and presented to his fans all around the world. Website has many exciting features including music player to download or listen DJ NYK’s music online, NYK TV featuring his YouTube channel’s video, podcast, photo gallery and much more.

Checkout the project details here.


Ajax reqest in joomla 1.6 and later

Due to Mootools version change in joomla 1.6, ajax request would not work the way it used to work in joomla 1.5. In this article we would discuss how to get ajax request in admin part of a joomla component for version higher than 1.5. We will take a typical example of Loading state of a country so that even a new joomla developer can understand it.

I suppose you are following MVC architecture while developing your joomla component. In the edit view of your component open edit.php file (or whatever if you have renamed it). Render the country form field like below –

  • form->getLabel(‘country’); ?> form->getInput(‘country’); ?>

Now add below code to load your default state list box –

  • form->getLabel(‘states’); ?> form->getInput(‘states’); ?>

Note the span tag with ID “ajax-container”. We will load the list of state returned by ajax request here once a user changes country from the above dropdown. We are not done with the html part of our ajax request.

Now we will add a onchange event to our country dropdown using below javascript –

document.addEvent( 'domready' ,  function() {
$('jform_country').addEvent( 'change' ,  function() { 

	//Ajax Request start here
	var myElement = document.getElementById('ajax-container');
 	var cid = document.getElementById('jform_country').value;
	var myRequest = new Request({
    url: 'index.php?option=com_country&view=items&task=getstates&format=raw',
    method: 'get',
	evalResponse: 'true', 
	data: { 
	'id' : cid,	 	 
    onRequest: function(){
        myElement.set('text', 'Loading. Please wait...');
    onSuccess: function(responseText){
        myElement.set('html', responseText);
    onFailure: function(){
        myElement.set('text', 'Sorry, your request failed :(');

 } );

Now we will create a function in controller file of our component that would respond to our ajax request. Open controller.php located at administrator/components// and below function in that –

	function getvendors()
		$db 	=& JFactory::getDBO();
		$query = 'SELECT id, title FROM #__product_vendors where published = 1 and catid  =  '.JRequest::getInt('id');
		$db->setQuery( $query );
		$vendors = $db->loadObjectlist();
		echo '<select id="jform_vendor" name="jform[vendor]">';
		echo '<option value="0">-- Select --</option>';
		for ($i=0, $n=count( $vendors ); $i < $n; $i++)	
			$row = &$vendors[$i];
			echo '<option value="'. $row->id.'">'.$row->title.'</option>';
		echo '</select>';	

That’s it. Your ajax request should load states of the selected country. Please use the comment box below if you face any problem with the above code. Please also comments if you think there is a better way to use ajax in admin part of a joomla component.

Few Unique Elements for a Business Website

However, the challenge to having a business website is not only about building a 7-8 page’s website but it’s got everything to do with doing the whole deal right. One usually ends up asking a decent web design firm to do the job, the trick lies in making it unique, making it informative and making it braced with all the competent aspects to not only drive visitors but drive business from the same.

This write-up briefs about few essentials that usual business websites miss and don’t include in their online agenda, but the same can escalate their online presence to newer heights. Top web design service provider suggest covering all these elements in a business website.

Social Media Integration

The social media crazy world out there is looking for your business on these ‘in’ platforms. A majority of educated and informed audience is present on networking websites like Facebook, Twitter, LinkedIn etc. It makes a lot sense to have a social networking integration mechanism in place on your website so that a visitor to your site is able to broadcast information from your business website to his friends or followers. Professional web design firm suggest that business websites must integrate social networking onto their website especially for areas like news, press releases, photo galleries etc.


Newsletters are a great way to stay in touch with prospects, interested groups and individuals. They typically carry news, updates, and promotional messages to propagate content to subscribers. By having a newsletter subscription mechanism in place, a visitor who is interested in your company or getting updates from you can enlist himself in the mailing list. Several seo services india companies offer added services like email marketing to target your mailing list based on a wide range of criteria.

Web Syndication

Web Syndication enables visitors to extract information from a website to the program of their choice, without visiting your website. These feeds are accessed through RSS Readers, or e-mailers. Companies must consult their website development companies about RSS or Atom syndication for their business websites. Generally, top website design companies include this as an integral feature of their services.

The quest of building USP and repute company websites is addressed by seasoned website development companies. The need of having ‘technically correct’ website in terms of right sitemap, xml structure, SEO etc. is addressed by professional companies that are equipped with seasoned staff and technological support to give professional websites an edge above others.


Looking to Get Started?

We have an online project planner that is the most simpler way to
get your project started. Start a Project