If you cannot log into Joomla 1.7 Administration Panel, you can use your admin email to reset the password; if you forget your admin email also, you have to reset your admin password via phpmyadmin.
If you do not know your mysql user name and password, no problem, login your web hosting via ftp software, open configuration.php which is just under the root, $mosConfig_user and $mosConfig_password will be the user name and password. Continue reading How to reset Joomla 17 admin password?
If our wordpress blog has many categores, say 5000 thousands, we can not show them all at sidebar. For seo purpose, we have to let search egnines to spider categories or posts without any difficulth and easily spidered. We can use many methods to achieve this, we can show some random posts under a post, we also can show some random categories under a post, how to do then? Here are the code: Continue reading How to show 5 WordPresss Random Categories?
We found that wordpress default templete or classic template does not show a post category’s parent category if the post category has its parent category. As we know a website inner link is also very important for human being reading or for seo purpose. The fucntion of “the_category” only a post category, not show the category’s parent category. Continue reading How to displaying a posts current category and parent category?
At x-cart product detaied page, there is an image, indicating the discount of the product. How to delete this function?
Very simple, Look in product_details.tpl for “save” word – delete the whole if statement there. Continue reading How to deleted x-cart save how much image?
We oftern test x-cart at our local server. After everything is OK, we always want to colone our local x-cart shop to our remote web host. Here are some tips on how to to:
Go to your x-cart shop root directory, and open config.php, exchange your mysql database connect information, including $sql_host = ‘localhost’; $sql_db = ‘your database’; $sql_user = ‘database user name’;$sql_password = ‘database user password’; Continue reading How to colone x-cart local shop to your domain shop?
Do you find wordpress will now show category descriptions if you use default themes? Here is the method:
<div><?php echo category_description( $category ); ?></div>
at the end of header.php or footer.php
If you use other themes, and you still can not find the categories description, the you can add the code: Continue reading How to show category description?
Sometimes we need to add some very important test at homepage for SEO purpose, say I am running an eyeglasses blog, and I need to add a short description at the beginning of homepage so that google can know the main point. How to do?
<?php if (is_home()): ?>
Do you like discount eyeglasses? Do you want to know how to buy cheap glasses online?
<?php endif; ?>
The the text within <div> </div> with show properly, why not have a try now!
The code of rel=”EditURI” and rel=”wlwmanifest” is only for Windows Live Writer to offer the posts for your wordpress blog, if you do not need them, you can del them as follows:
1.Login to your WordPress admin panel
2.Navigate to Appearance > Editor
3.Click Theme Functions (functions.php) from the Theme Files section
4.Add the following code to the end of the file. Just before the closing <?php } ?> or ?> tags:
add_action(‘init’, ‘remheadlink’); Continue reading How to Remove link rel=”EditURI” and link rel=”wlwmanifest” of WordPress
After I have set Default Post Category of wordpress 3.0.1 correctly, I found I can not post posts successfully, the wordpress show: Oopes! You forgot to selecta category!
How come, I am sure I have set Default Post Category already! I googled for half an hour, still can not find an answer. So I try to disable the plugins one by one, at last I can post posts after I disable the plublin “Article Directory 1.6.1 by Dimox”.
We can use php to detect visitor’s computer language, ans show them different page: