Joomla instalation time issues

When installing Joomla it checks for configurations and PHP settings .
1. PHP Version >= 5.2.4(as per joomla version it looks for PHP Version)
Joomla is expecting php version of 5.2.4. click here to download requires php version.
just download and install the required Joomla version and restart Apache server


Joomla installation step by step guide

Joomla is a best CMS for WEB. We have lot of methods but installation using browser is the best and easiest way. Follow the easy steps and enjoy Joomla great features.

Step1:- Download latest Joomla version. Click here to download Joomla1.7

Step2:- Extract files and upload to your root folder. When you have finished uploading the files and folders, go to your homepage ( or You should now see a pre-installation check page generated by Joomla.
first step is for select language jut select language click next

step3:- Now the following screens appears

everything is clear press next(Click here to solve installation issues)

step4:- this is just for agree the license press next.
before goto next step create a database using phpmyadmin
step5:- This step is ask for database details Enter the configuration of your MySQL Database(which just before created). The hostname of your database is usually localhost. This means the database server is running on the same computer as your web server. On occasions where localhost is not a usable database server, you will need to contact your administrator.
Host Name: Generally this is localhost
User Name: datbase username
Password : ****

Table prefix: Choose a table prefix or use the randomly generated. Ideally, three or four characters long, contain only alphanumeric characters, and MUST end in an underscore.
If everything is filled up press next
Step6:- This is optional step you can skip this.

Step7:- This step is for main Main Configuration. Fill the required details and press next.

Step 8: Now we need to remove the installation directory. Just press the “Remove installation” Folder button.

Admin Dashboard:- http//

installation is completed. enjoy the Joomla features.

Create custom wordpress page navi

Try this one
Paste the following code in function.php

#Page Navi

function page_navi($before = ”, $after = ”) {
global $wpdb, $wp_query;

$request = $wp_query->request;
$posts_per_page = intval(get_query_var(‘posts_per_page’));
$paged = intval(get_query_var(‘paged’));
$numposts = $wp_query->found_posts;
$max_page = $wp_query->max_num_pages;

if(empty($paged) || $paged == 0) {
$paged = 1;
$pages_to_show = 5;
$pages_to_show_minus_1 = $pages_to_show-1;
$half_page_start = floor($pages_to_show_minus_1/2);
$half_page_end = ceil($pages_to_show_minus_1/2);
$start_page = $paged – $half_page_start;
if($start_page <= 0) {
$start_page = 1;
$end_page = $paged + $half_page_end;
if(($end_page – $start_page) != $pages_to_show_minus_1) {
$end_page = $start_page + $pages_to_show_minus_1;
if($end_page > $max_page) {
$start_page = $max_page – $pages_to_show_minus_1;
$end_page = $max_page;
if($start_page <= 0) {
$start_page = 1;

echo $before.'<center><div class=”page_navi”>’.”\n”;
if ($start_page >= 2 && $pages_to_show < $max_page) {
$first_page_text = “First”;
echo ‘<a href=”‘.get_pagenum_link().'” title=”‘.$first_page_text.'”>’.$first_page_text.'</a>’;
for($i = $start_page; $i  <= $end_page; $i++) {
if($i == $paged) {
echo ‘<span class=”current”>’.$i.'</span>’;
} else {
echo ‘<a href=”‘.get_pagenum_link($i).'”>’.$i.'</a>’;
if ($end_page < $max_page) {
$last_page_text = “Last”;
echo ‘<a href=”‘.get_pagenum_link($max_page).'” title=”‘.$last_page_text.'”>’.$last_page_text.'</a>’;
echo ‘</div></center>’.$after.”\n”;

cal the following function where ever you want

 <?php page_navi(); ?>

use the following css for styling

.page_navi{padding:10px 0 10px 10px;}
.page_navi a,.page_navi a:link,.page_navi a:visited{text-decoration:none;border:1px solid #ccc;color:#2b74b4;background-color:#fff;font-weight:700;margin:2px;padding:2px 4px;}
.page_navi a:active,.page_navi a:hover{text-decoration:none;border:1px solid #2b74b4;color:#fff;background-color:#0F0;margin:2px;padding:2px 4px;}
.page_navi span.current{font-weight:700;border:1px solid #2b74b4;color:#fff;background-color:#03C;margin:2px;padding:2px 4px;}

WP-PageNavi not working

I also faced same issue. I found solution for this follow these steps

1. After activating the plugin
2. <?php $page = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;?> add this code before the query_posts
3. Add the paged=$page argument query_posts like <?php query_posts(“paged=$page&showposts=10”); ?>
4.after while loop add the following code
<?php wp_pagenavi(); ?>                        
//Reset Query

Get Post Comments count

Try this one

$num_comments = get_comments_number(); // for some reason get_comments_number only returns a numeric value displaying the number of comments
if ( comments_open() ){
if($num_comments == 0){
$comments = __(‘No Comments’);
elseif($num_comments > 1){
$comments = $num_comments. __(‘Comments’);
$comments =”1 Comment”;
$write_comments = ‘<a href=”‘ . get_comments_link() .'”>’. $comments.'</a>’;
else{$write_comments =  __(‘Comments are off for this post’);}


now use $num_comments just like

<?php echo $num_comments; ?>


Checkout fields have BR tags? Ecommerce Plugin

This is a small issue but I have taken great time to rectify this. Follow the below steps
1. Go to “wp-content\plugins\wp-e-commerce\wpsc-theme\ ” directory
2. Open wpsc-shopping_cart_page.php with the text editor
3. find the  <label  ” tag and remove the line breaks in the label tags

Open Categories in new window when it is dropdown list

1. Go to wp-includes/default-widgets.php and find the following line
location.href = “/?cat=”+dropdown.options[dropdown.selectedIndex].value;(line no 451)
2. Replace the above line with the following“/?cat=”+dropdown.options[dropdown.selectedIndex].value,’_blank’);