background preloader

Pro - Pricing

Pro - Pricing

Oxwall - Free Community Software | Open Source Social Networking Software Email Marketing and Email List Manager | MailChimp How To Add Tweeting With Short URL Functionality To A Website (With PHP) Social bookmarking buttons like Digg, Delicious or StumbleUpon on any website is very familiar. They help spreading the content. Twitter, getting bigger & better, is also another powerful network where content can reach to thousands easily in minutes. To help the readers of a website share/tweet a content at Twitter easily, here is a simple way of integration: You can send a querystring to Twitter like: The problem & the solution: There is a 140 character limit in Twitter & the length of the URL is a headache. The file_get_contents function of PHP helps us to easily get the short URL as a string. So, calling the function with the URL, like: will result in: And the link to this post will become: For WordPress users: WordPress users can add the makeShortURL function to the functions.php in the active theme folder. And, in the single.php file, where the posts are displayed, use the line (or update it to your needs) below:

Auto-populate multiple select boxes 18 Sep To follow on from Auto-populating Select Boxes using jQuery & AJAX, I’ve had more than a few requests for how to do this for multiple select boxes. In response, I’ve written a jQuery plugin and have included a simple example of three select boxes populating each other driven by a MySQL database. Download Prerequisites jQuery (this has been tested with 1.1.1 and 1.2 – so it should be fine).Basic knowledge of JSONAccess to the server side for PHP and MySQL if you want the selects driven by a database. Disclaimer I have to admit I wrote the plugin pretty quickly, so it might not have all the bells and whistles you might want it to have – but it definitely does the job. Also, the demo I’ve provided does not degrade if JavaScript is turned off. Demonstration This demonstration uses three select boxes, the first (element category) drives the next (elements) which drives the next (attributes). See the multiple-select population in action Usages / Config Required Optional What next?

Related: