How to make Spring initialize a static variable

Jul 08

Two days ago, I faced a tricky situation while coding. Mainly I was using Spring to read database parameters into a variable so I’d never need to open the code to change database parameters. This is simply done by adding this to your applicationContext.xml file: XHTML <util:properties id="databaseConfig"...

Read More

Make Side Bars Visible in Suffusion Theme

Feb 23

After I start using wordpress for this site I discovered Suffusion theme (the awesome theme I’m currently using). So I started using it for a while but I faced a little problem. I tried to add a floating social bar (like the one in your left hand) but it gets display when scrolling a bit, not as soon as the page is loaded. I really tried a lot of options (for...

Read More