Testimonials

Banner

Blog Tags

Lab Eleven Blogs

Web design & Programming tutorials
Category >> Joomla Tutorials

Modifying Page Title, Keywords and Description

Posted by: twmeier

Tagged in: SEO , Joomla

Modifying the page title, keywords and description for a page created by a component  in Joomla is very simple.

Inside your component, add the following:

<?php
global $mainframe;
$mainframe->SetPageTitle("Some Page Title");
$mainframe->appendMetaTag( "description", "Some Description.");
$mainframe->appendMetaTag( "keywords", "keyword1, keyword2");
?>

It is that simple.


Changing Page Title and Meta Info in Joomla

Posted by: twmeier

Tagged in: Programming , Joomla , Components

Changing the Page Title and the Meta Tags (keywords and description) in a Joomla Component is simple (this does not apply to articles or the home page of your site).

The first step is to include the following line of code inside php tags:

global $mainframe;

Then simply use the following functions to change the Page Title, Meta Keywords and the Meta Description:

$mainframe->SetPageTitle("Some Page Title");
$mainframe->appendMetaTag( "description", "Some Description.");
$mainframe->appendMetaTag( "keywords", "keyword, keyword2");

Since this code is php, it should all be inside php tags like it is below:


global $mainframe;

$mainframe->SetPageTitle("Some Page Title");
$mainframe->appendMetaTag( "description", "Some Description.");
$mainframe->appendMetaTag( "keywords", "keyword, keyword2");

?>

That is all there is too it. You will notice that your Meta Description and Keywords will be appended to your global Meta Description and Keywords, which can be found in the "Global Configurations" in the backend of Joomla.


Turn on Caching to Speed Up Your Joomla Site

Posted by: twmeier

Tagged in: Joomla

There is a simple and effective way to help speed up your Joomla site. It is called "caching". When you use the caching feature, Joomla creates a static file (or cache), of your web pages. This means that your website can use this cached file instead of making redundant database calls each time someone goes to a page. This in turn saves time and speeds up your site.


Creating a Joomla Menu Item

Posted by: twmeier

Tagged in: Joomla

Creating a new menu item in Joomla is extremely easy. Joomla uses these menu items to create a menu of links as seen below.

menu


How to add pages in Joomla

Posted by: twmeier

Tagged in: Joomla

The first step in adding a page in Joomla is to understand how Joomla displays pages. To display page, Joomla uses what it calls articles. Articles can be assigned to an infinite number of pages.

To create new articles, you must first sign in to the backend of you website:
http://your_domain_name.com/administrator


Joomla's Global Check-in Feature

Posted by: twmeier

Tagged in: Joomla

When a user is editing a content item, module, menu item etc., Joomla "locks" this item to other users. This insures that changes can not be made by different users at the same time. Below is a picture of what another user would see in the backend if he were to try to also edit the setting of the "Who's Online" module.

locked


Joomla 1.5 Popups

Posted by: twmeier

Tagged in: Joomla

Joomla 1.5 has a great pop up class which will dim the webpage and popup a smaller page over top of it. In order to use this feature, you must include the following in your code, or you could also place it inside your template between the tags.

JHTML::_('behavior.modal');

Then put in a link with the information you want similar to the one below:

popupcode

If you want to popup a page from your own website without all the menus and modules, then all you need to do is change the index.php in the URL to index2.php or adding &tmp=component to the end of the URL (if you do not have a ? in your URL use ?tmp=component).

Using Joomla's Media Manager

Posted by: twmeier

Tagged in: Joomla

There are times when you may need to upload an images, pdf or any other type of file to your site. Luckily, Joomla has a built in tool for uploading your files. This tool is called the Media Manager.


There are times when you may not want the ability to edit a Virtuemart product from the front end. This may be due to a poorly designed template that just doesn't work well with this feature.

To remove the edit button from the product detail page, you will need to open the following file:

/administrator/components/com_virtuemart/html/shop.product_details.php


How to enable SEF Urls in Joomla

Posted by: twmeier

Tagged in: SEO , Joomla

In order to use Joomla's built in SEF Urls feature, you must first enable it. To do so, go to the backend of the site (/administrator) and go to the "Site" tab and select "Global Configuration."

On that page you will see the following:

Set the "Search Engine Friendly URLs" to Yes and the "Use Apache mod_rewrite" to Yes.

You will next need to rename the htaccess.txt file in your root directory to .htaccess as seen below:



That is all there is too it. Joomla will now automatically change all your standard dynamic URLs in your content items to more friendly URLs. 


<< Start < Prev 1 2 Next > End >>

Latest Blogs

Custom Rack Shelves
Aug 9th 2011 by: Administrator

Utah Criminal Defense Attorneys
Aug 8th 2011 by: Administrator

Oil Storage Tanks Customization
Aug 5th 2011 by: Administrator

The Best Hotel Near or Around Salt Lake City
Aug 1st 2011 by: Administrator

Salt Lake City Divorce Attorney
May 18th 2011 by: Administrator

Read all blogs