More than 1000+ satisfied clients and counting, since 2010

Category : Uncategorized

Map Joomla to an Old Data Base – How to Guide

Map Joomla to an Old Data Base – Step by Step Easy Guide

Map Joomla to an Old Data BaseWhat to do when you have the old data base but have lost the Joomla folder in the htdocs? How to map Joomla to an old data base? This post will cover all the steps to easily map Joomla to an old data base.

How to Map Joomla to an Old Data Base

  • Install fresh copy of Joomla
  • Rename data base to a different name in PHPmyAdmin
  • Change backup to currently used name
  • Clear cache and check for other caching issues
  • Edit configuration.php file

Code to Map Joomla to an Old Data Base

Use the following code to map Joomla to a n old data base:

public $dbtype = ‘mysqli’;
public $user = ‘**dbusername**’;   // this will be database user name of old db
public $password = ‘mypassword’; // your password to access old datbase
public $db = ‘jml17’;   // change it to old db
public $dbprefix = ‘j17_’; // change it to your old db prefix.

This change in code in the configuration.php file will connect the site with the newly created data base.

Remove Unnecessary Variable in Joomla Routing – How to Guide

Remove Unnecessary Variable in Joomla Routing

Remove Unnecessary Variable in Joomla RoutingCleaner URLs are not only appropriate from SEO point of view but also look good to the eye. A user can easily get to know what to expect from the site contents. So it is advisable to have clean URLs. You can remove unnecessary variables in Joomla routing by a number of ways.

How to Remove unnecessary Variables in Joomla Routing

Some of the best ways have been highlighted below. Follow anyone of the ways to remove unnecessary variable in Joomla routing.

  • Create a menu item
  • Look for the code in the component  (index.php?option=blabla&view=blabla)
  • Replace it with the following (index.php?Item=<menuitemid>)
  • In component router’s parse route, mention the other condition ($vars)

By this way you can build a route to your component and remove unnecessary variable in Joomla routing.

Other Methods to Remove Unnecessary Variable in Joomla Routing

Instead of preferring the above method, you can also use any of the following methods to remove unnecessary variable in Joomla routing. If you still face any difficulty then request a quote.

  • Insert one line of code in htaccess to have some nice URL
  • Rename htaccess.txt to htaccess
  • Use a SEF custom made extension
  • Go to Global Configuration and click on the site tab. Check the SEO settings.

Joomla Extensions & The Difference Between Them

Joomla Extensions  – Modules, Components and Plugins

Joomla extensions Modules, Components, Plugins together compromise Joomla extensions. This post on Joomla extensions covers the definition, needs and differences between various extensions.

List of Joomla Extensions

  • Plugin

Plugin are the extensions that help in executing codes in response to certain events. These events may be either Joomla core events or custom Joomla events which are triggered from the code that is used. Plugin are a powerful way of extending the basic Joomla functionality.

  • Components

Components are the main functional units which are displayed in the Joomla template, just like the contact forms and Web links. They are usually displayed in the center of the main content area depending on the template.

  • Modules

Modules are lightweight and flexible extensions used for rendering pages. Modules are usually less complex and used to add some extra functionality in the Joomla template. Sometimes modules are inter-linked with components.

  • Extensions

All components, modules, plugins and templates are collectively termed as Joomla Extensions. You can either use premium and free extensions or use custom made extensions in your website. For premium and custom extensions, request a quote today.

Joomla HomePage – How to Determine the Homepage in Joomla?

Test whether you are viewing the Joomla homepage or not

Joomla Homepage Each Joomla website has a home page from which all other pages are accessible. This unique page which is interlinked with all other pages after a specific number of navigation is called Joomla home page. But practically, it is difficult to identify the homepage in Joomla.

Determine the Joomla Homepage

This post covers how to determine whether a user is viewing the Joomla homepage or not. Follow the codes given below as per your Joomla version.

  • Test Joomla Homepage in 1.5

<?php

$menu = & JSite::getMenu();

if ($menu->getActive() == $menu->getDefault()) {

echo ‘This is the front page’;   } ?>

  • Test Joomla Homepage in 1.6

if(JRequest::getVar(‘view’) == “featured” )

{    //You are in!   }

else {   //You are out!   }

  • Test Joomla Homepage in 1.7

if(JRequest::getVar(‘view’) == “featured” )

{   //You are in!   }

else {   //You are out!   }

  • Test Joomla Homepage in 2.5

<?php

$app = JFactory::getApplication();

$menu = $app->getMenu();

if ($menu->getActive() == $menu->getDefault()) {

echo ‘This is the front page’;  }  ?>

  • Test Joomla Homepage in Multi-lingual Sites

<?php

$app = JFactory::getApplication();

$menu = $app->getMenu();

$lang = JFactory::getLanguage();

if ($menu->getActive() == $menu->getDefault($lang->getTag())) {

echo ‘This is the front page’;

}

else {   echo ‘Accueil’;   }   ?>

Importing jQuery into Joomla run Websites

Importing jQuery into Joomla

Importing jQuery into JoomlaJoomla content management system is an easy to use CMS. It has the right blend of advanced and user friendly features. Using jQuery you can add more functionality to the Joomla run website. But for this there is a need for importing jQuery into Joomla. Before mentioning how to import jQuery, let us first consider the problems faced while importing jQuery into Joomla.

Problems Faced While Importing jQuery into Joomla

Some of the main problems faced to import jQuery into Joomla are highlighted below:

  • After importing jQuery the site crashes.
  • The site may also slow down on importing jQuery into Joomla.
  • jQuery conflict when used with mootools.

Importing jQuery into Joomla Correctly

Consider the following code to import jQuery into Joomla correctly.

<?php

// load jQuery, if not loaded before

if(!JFactory::getApplication()->get(‘jquery’)){

JFactory::getApplication()->set(‘jquery’,true);

$document =& JFactory::getDocument();

$document->addScript(JURI::root() . “templates/template_name/js/jquery-1.8.2.js”);

} ?>

If you are still facing problems while importing jQuery then request a quote.

Use memcache – Advantages of Using memcache in Joomla

Why use memcache?

Use MemcacheThere are a number of reasons for using memcache. Below are some of the main points why you too should use memcache.

Advantages to Use memcache

  • Offload your database server

The main reason for slow database servers is because the queries are requested again and again. Another reason for this problem is the internal MySQL cache may not be functioning as expected. You may also be facing any of the following problems:

  1. Write performance issues
  2. Sever is getting clogged

Use memcache to off load your database server and work in a consistent manner.

  • Share data between users without relying on database

Use memcache to share data between your web application users. You don’t have to rely on files or SQL server queries. Using memcached you can set value from user’s perspective and load it from another user.

One good example is chat logs between users. This information need not be stored in a database. It is because these unnecessary and irrelevant data can be afforded to be lost in case of server failure or when the server restarts. To get rid of these less sensitive data, use memcache.

Joomla Login Redirect for Different Users

Joomla Login Redirect Destination Page

Joomla Login redirectJoomla CMS has sophisticated admin and user management systems. Some Joomla run websites also offers visitors to sing up or register in the website. These websites have login forms to register users, who can access confidential information not shared with regular site visitors.

While we have already discussed about Joomla form validation and its procedures, Joomla login redirect is another feature that needs to be highlighted. This post covers to which page different users will be redirected on successfully signing into their accounts.

Joomla Login Redirect – Howto Guide

Follow the steps given below for easy Joomla login redirect.

Login Redirection Page: You can either use the Login Redirection Page in the Parameters section of the Login Module, or the Login Redirection URL Parameter in the link to the Default Login Layout.

Authentication Plugin: You can also build an authentication plugin that hooks the necessary events and sets the location header for the Joomla login redirect.

Using these procedures you can set individual redirect locations for different users. In case you face any sort of difficulty in Joomla login redirect then request a quote. Our Joomla developers will assist you in providing the best plugin customization and Joomla services at affordable cost.

Joomla Dynamic Contents in Articles – Guide to Easy Access

Joomla Dynamic Contents in Articles for Easy Access

Joomla Dynamic Contents in ArticlesContent management system is all about maintaining data like articles, images, videos and others in a systematic way. It helps to add, edit and delete information in them easily. But while maintaining a large information portal, the task of creating individual set of information becomes tough. So to make things simpler there must be some way to access Joomla dynamic contents in articles.

How to Access Joomla Dynamic Contents in Articles

This post covers how you can easily access Joomla dynamic contents in articles. Follow the steps to achieve it.

  • Joomla Module Customization: You can make use of a custom module that accesses information stored in the database.
  • Joomla Extension Customization: Instead of a module, you can also opt for a Joomla extension directory.

Using any of these two methods you can easily access Joomla dynamic contents in articles. By the help of these, you can easily include an external PHP script inside the article for accessing contents of the database.

We hope you can access Joomla dynamic contents in articles. But in case you find difficulty in creating a custom Joomla module then request a quote today. Our team of professional Joomla developers will assist you in the entire process.

Edit Joomla Header Tag – Complete How to Guide

Edit Joomla Header Tag in 3 Easy Steps

Edit Joomla Header TagJoomla content management system is the most preferred CMS over the Internet. A number of websites are running successfully using Joomla CMS. Its functionalities and SEO features makes it user friendly and search engine friendly. Its inbuilt tools helps web pages to rank higher in search engines.

You can easily add any content and edit Joomla header tag. In most content management systems, you have complete control to decide what to display within the head tags. But in case of Joomla it is slightly different. Still you can edit Joomla header tags easily by the following way.

How to Edit Joomla Header Tag

This post covers how to edit Joomla header tag. Follow these easy steps to edit the meta data.

  • Add <jdoc:include type=”head”/> in the template file.
  • The tag content such as Meta data is automatically filled by Joomla.
  • Edit Meta Data: Control Panel Site >> Global Configuration

You can also edit Joomla header tag Meta data for individual articles.

If you are unable to edit Joomla header tag or don’t want to risk it, then get professional help. Hire a Joomla developer to assist you in the process. Request a quote today.

Rewrite Joomla URL Using SEF for Optimization

Rewrite Joomla URL Using SEF

Rewrite Joomla URL Using SEFJoomla is a search engine friendly CMS and ships well with SEO. It has a number of inbuilt tools for page optimization. Using Joomla native SEF you can easily rewrite web page URLs. You can also use custom plugins for rewriting URLs. But it is better to use Joomla search engine friendly component. You can do this by the help of the following steps.

How to Rewrite Joomla URL Using SEF

This post covers how you can rewrite Joomla URL using SEF easily. The core Joomla SEF URLs build urls based on the alias of your article/menu item. For Example: Instead of yourdomain.com/index.php?option=mycomponent&id=12 it would be yourdomain.com/page-name

To turn that on:

  • In the root of the directory Joomla is installed in and look for htaccess.txt and rename it to .htaccess
  • In the admin >> Global configuration >> site tab look for SEO settings and turn them all on (unless you dont want the .html extensions, that one is optional)

If you are unable to rewrite Joomla URL using SEF or don’t want to risk it, then request a quote today. Our team of professional Joomla developers will assist you in the process.