Blackbams Blog
development – digital arts – internet
Knowledge is free. No one may take possession of it.
Category "Web Development"
Today a little post about myself: I was speaker at Wordcamp Vienna 2020. It was my first talk in front of a huge audience and therefore definitely a challenge. Anyway I a am proud that I have done it and the message was recieved by the audience quite well. I had to speak in the […]
Laravel super short five minutes crash course – an overview of what it is, the core concepts and the core functionalities.
A little bit of advertising for my new Plugin “Simple User Locking” which I have just released to the WordPress plugin repository. It has just passed the security audit by the WordPress plugin team and is not publicly available and free for everybody.
qTranslate is a great multilanguage Plugin for WordPress. It is fast and easy. For many of my projects from 2012-2017 I have chosen it over WPML or multisite multilanguage as it is super fast and easy. Then the author suddenly has disappeared without a Word tens of thousands of WordPress sites have been affected. One […]
Answer: Do not use PHPMyAdmin. This is how you do it with the command line: Importing an SQL dump file: mysql -u [user] -p [password] [database name] < [Path to Dump File] Exporting an SQL dump file: mysqldump -u [user] -p [password] [database name] > [Path to Dump File]
Thats a very annoying common problem I discovered – if calling Ajax within a Javascript loop the callback function will be called asynchronously. That means: All local variables in the callback function will have their future value instead the value they had when the loop was running. Example 1 (probably unwanted results): var types […]
Probably every PHP developer in the world has already seen the following notice at least once: Notice: Undefined index: not_set in /home/.sites/../../../…php on line 1 It happens if accessing the key of an array which does not exist. There is a very similar problem with PHP objects: If you access a property of an object […]
If creating websites for local businesses which have a local store or something similar it is recommendable to use some geo optimization techniques. Using GEO optimization makes your website being found easier by customers which may be actually interested in what you have to offer. According to surveys 25% of commercially motivated searches on the […]
The following technique is very useful if you have to make existing websites responsive and e.g. want to have two sidebars after the main content without changing the original HTML. You can define the order of the HTML element which have a common parent element by doing the following: .parent { display:-webkit-box; display:-moz-box; display:box; -webkit-box-orient:vertical; […]
Sometimes when moving a WordPress installation to another Webhost if cloning the database and the files and even if the domain is the same you may get the error “Too many redirects”. This usually happens if the configuration of the new server environment is different from the old one. In many cases the problem is that […]