[HOW] HTML/CSS: Prevent Scrollbar Jump

Firefox and Chrome doesn't show a scrollbar on the right if the content of a page isn't longer than the window. But when the content becomes longer, the vertical scrollbar appears and causes the layout to shift. This "jump" can be quite annoying as the whole layout moves to the left. To fix this:

html {
  overflow-y:scroll;
}



[Fix] Joomla: Parameter 1 to modMainMenuHelper


 
Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a reference

At present Joomla! is not certified to work with PHP 5.3.0. If you see this error message on your Joomla website, probably your web host is running PHP 5.3 or recently upgraded to PHP 5.3 (which was my case).

To fix this, go in the helper.php file (/modules/mod_mainmenu/helper.php) and change

function buildXML(&$params)

to

function buildXML($params)

 
Now the error should be gone!
 


Useful Wordpress Plugins

Here's a list of useful Wordpress that I'm currently using for my blog. If you happen to know any other plugins that I should know about, feel free to post it on the comment section below :D

1. Add Link to Facebook

This plugin will allow you to publish to Facebook whenever you publish a post on your blog. It automatically adds a link to your posts or pages that are being published to your Facebook wall, pages or groups. Simple one time setup and forget. The way links appear on Facebook can be customized.

2. Akismet

Installed by default when you install Wordpress on your website. You can use it for free and it does a really good job of protecting you from any kind of spam!

3. All in One SEO Pack

Great package for all your SEO (Search Engine Optimization) needs! It's very extensive and you can customize it to your liking. This is a must have if you want to make your blog and content visible on search engines like Google, Yahoo, Bing, etc.

Read more