Thursday, July 25, 2013

Mentions in Blogger

Guess what, you can do this too in Blogger, not only in facebook: http://support.google.com/blogger/bin/answer.py?hl=en&answer=2884006&iph=2893014.

Is it so obvious that I'm in holiday mode right now...? :)

Monday, June 17, 2013

Dynamic copyright notice to always display the current year

Another quickie, but it will be very helpful in making sure you won't seem to have forgotten about another important detail: Always Display the Current Year in your © Copyright Notice.

Wednesday, May 22, 2013

Getting rid of flashing white page on your website

Today it's going to be a quick one, and I actually don't have a link this time, I just remember I had to deal with a flashing white page appearing for a split second on a black background website that obviously didn't look very good. Reading through a couple of articles, I learned that the cause of the issue is that I have used javascript on my website but the script itself was in the header. This could be anything, even your Google Analytics code. The solution:

Sunday, April 21, 2013

Polish and Hungarian to HTML character converter

As some of you may already know, I'm maintaining www.lengyel13.hu, a website that has mixed, Polish and Hungarian text. Both of these languages use special characters and as such, when you add them to a website, you will have to use their ASCII equivalent in your HTML code, otherwise some browsers might not interpret them correctly. For long time I have done this change to the original text manually in HTML using the find and replace function of my HTML editor, however this took a considerate amount of my valuable time, and I was sure there has to be another way, so I came up with this idea: why don't I create a Polish and Hungarian to HTML character converter myself?

Sunday, March 17, 2013

How to stop Blogger from redirecting to local domain extensions

Ok, just a quick one today. I realised Blogger is now redirecting to local domain extensions according to the location of the visitor (ie. .co.uk for the UK instead of .com). The problem with this for me was that I needed redirections to my own blog in the code that could not be made dynamic that way, so I had to look for a way to make Blogger always redirect to the .com domain extension.

Sunday, February 17, 2013

Even or odd number validation with PHP

The other day, while I was writing up some PHP code, I ran into a really cool way of identifying if a number is even or odd (refer to the link further down below). I needed it as I looped the creation of a couple of divs and wanted the odd numbered ones to be floated left, the evens to the right.

Thursday, January 17, 2013

Two new website designs - done!

They've both been ready for a while now, just didn't take the time to post about them, but hey, I feel this it the perfect time for it, right? ;)

One of them was created for a good friend, another photographer, just about to start opening her wings in this beautiful profession:

Monday, December 17, 2012

How to find your facebook id or facebook admin id (aka fb:admin)

Actually I realised that there is quite a lot of false or misleading information around this subject. Finding out one's facebook id or facebook admin id (aka fb:admins) apparently creates a lot of confusion as facebook itself does not provide a comprehensive help page with this subject. What would you need it for, you may ask. Well, some facebook social plugins, like the facebook "Like" button for example, need it in order to work properly.

So here it is, select one of these 2 easy ways to get it: