All posts by imonhf
Fix cordova update problems
The best solution is to A. remove all existing installations of cordova, node and npm. Then B. reinstall latest node C. update npm D. install latest cordova A. To uninstall node and npm follow the steps – 1. Uninstall from Programs & Features with the uninstaller. 2. Reboot (or you probably can get away with […]
Changing the default site of a WordPress multisite/network installation
from http://wordpress.org/support/topic/default-multisite-redirect-to-one-particular-blog?replies=8 1) In Network Admin -> Sites and edit the site you want to be the new ‘main’ domain so it’s url is http://example.com (remove the subdomain or subfolder path totally). 2) Change the define(‘BLOG_ID_CURRENT_SITE’, 1); to whatever you want. Save it, upload it. DO NOT CHANGE SITE ID, YOU WILL BREAK THINGS. 3) […]
Create Android Phonegap 3.x Application on Windows “The Easy Way”
1. Install Node.js from link 2. Download and unzip ant at a preferred directory. Download from link 3. Create the following environmental variables in windows ANT_HOME set to the unzipped ant directory JAVA_HOME set to the installed jdk folder (Not Jre) [Ensure that ANT_HOME and JAVA_HOME variables are set, and that they do not have […]
WordPress p2p plugin problem: Connected posts are not shown in admin panel
I have come to this situation when I was using p2p (Post to post) plugin with a theme “Superstore” from wootheme. The problem is in the theme. If I change the theme it works well. For my situation it was solved using the instruction from wordpress support. Add the code below in the theme “functions.php” […]
HTML tags aware version of PHP substr
If you need a html-tags aware version of substr, this one should do the job. It works fine for me <?php /** * Truncates text. * * Cuts a string to the length of $length and replaces the last characters * with the ending if the text is longer than length. * * @param string […]
jQuery change event for Dynamically Created Radio Buttons
Use .live() when adding controls dynamically, like this: $(“input[name=’songs’]”).live(“change”, function() { alert($(this).val()); }); linkстратегия бренда пример
Control Link Description of a WordPress link shared on Facebook
Today I have been facing problem sharing my website link at facebook. It was showing the wrong description, which I have recognized as the previous description of my site. After changing the description google is showing okay, but facebook seems to fail at getting the new description. After some googling I have come to that […]
WAMP Server “Forbidden You don’t have permission to access / on this server.”
Are you using WAMP server and getting 403 Forbidden message like the one shown below? I have wasted an hour on that. Funny! Seems like it was my fault — To recover from that – Just select the put online option using the icon at the taskbar as shown in the screenshot below translation from […]
Google Analytic Integration in Android app
old method new method гаи в харьковской области
Google play ‘The server could not process your apk. Try again.’
From yesterday, I was trying to upload my new application to the Google Play, but every time I was trying, I was getting the error message ‘The server could not process your apk. Try again.’ Doing some googling on the internet I have found the cause and successfully repaired the error. The steps you have […]