Are you thinking of moving your static website to a dynamic CMS? Do you need to understand what the Content Management System is? Go through our articles and find some interesting facts...



How to access menu params in Joomla component

It might be useful to read the menu params for instance in your component's router.php.

You need to use the JParameter class to read the params. Do the following

$component =& JComponentHelper::getComponent('com_courseman');
$menus    = & JSite::getMenu();

$items    = $menus->getItems('componentid', $component->id);:
foreach($items as $item){
$params = new JParameter($item->params); $myParam = $params->get('theParamIwant');
}

 
JoomFish Fatal error: Call to a member function getTable()

If you are experiencing an error saying - Fatal error: Call to a member function getTable() on a non-object, then here is a simple solution that worked for us. Simply make sure you are using a valid filename.

Read more...
 
How to diaply Facebook Like It button in Joomla

Many people are having problems with getting the current URL in Joomla CMS and calling Facebook's IFrame with a Like It button. Here is a quick tutorial that might help.

Read more...
 
Cathing an exception for SOAP Client

PHP supports a webservice communication via SOAP protocol, so you can easily create a new SOAP client and retrieve data from any webservice. Problem occurs when you get disconnected from the network or cannot access the remote websiervice WSDL. Then the SOAP library displayes an error message and you cannot format it.

Read more...
 
How to get the language locale

In Joomla you extensively work with Locale language string such as en-GB. To retrieve the current language Locale just use the following code in your Joomla extension:

<?php
$lang =& JFactory::getLanguage();
echo $lang->getTag();
?>

 
Count the number of days between two dates with PHP

It might be very useful to count the number of days between the two dates. The calculation is quite straight forward

<?php

function dateDiff($start, $end) {

$start_ts = strtotime($start);

$end_ts = strtotime($end);

$difference = $end_ts - $start_ts;

return round($difference / 86400);

}

echo dateDiff("2010-05-05", "2010-07-09");

?>
 
Internet bots

Internet bots, also known as web robots, WWW robots or simply bots, are software applications that run automated tasks over the Internet. Typically, bots perform tasks that are both simple and structurally repetitive, at a much higher rate than would be possible for a human alone. The largest use of bots is in web spidering, in which an automated script fetches, analyses and files information from web servers at many times the speed of a human. Each server can have a file called robots.txt, containing rules for the spidering of that server that the bot is supposed to obey. 

Read more...
 
Internet usage facts

Internet has become a vital resource for all difference source of information. Nowadays people are asking “Mr. Google” instead of their printed encyclopaedias for the information, because Google can answer it within few seconds.
Internet has become a must-have tool for commercial business as well. Companies need to advertise their services and product online, otherwise nobody contacts them. This rule works for 90% of all businesses world wide.

Read more...
 
Hire the right web designer

Today, anyone who wants to provide information, sell something, share information or promote a business knows that a Web presence will help them achieve those goals.

A charity organization may want to promote itself to potential members and volunteers, as well as provide information through newsletters and articles related to its work, so that anyone who's interested can learn about that organization. A rock climbing center may want to display a map with directions that explain how to get to the center, hints on climbing techniques, tips on where to find good equipment, a photo gallery of the gym with action shots of climbers... Unlike other marketing strategies, a Website has a global reach and can be accessed online 24-7.

If you want a Website, but you're not a designer or developer, how can you go about getting one? You don't have the time to learn what it takes to be a Web design guru and you don't trust that your cousin, who studied computer science, has enough experience to build you a professional Website. So, who can you hire to build your site? With thousands of Web designers and developers out there, ranging from individual freelancers to big Web design agencies, how can you make sure you choose the right help?

Read more...
 
Do you really need a CMS for your website?

Many of us are probably asking themselves if the Content management system brings real benefits for your website. Our experience with the most popular CMSs assured us that using the CMS is one of the smartest decissions you can have. Those who still need to help with the decission can read the flowchart below.

Read more...