Vue component are easy to re-use along the project. Let us use jQuery typeahead plugin and convert it into a Vue.js component. I will guide you through the steps on the basic conversion in this part 1
I recently ended up looking for a way to hook into the Laravel framework, the same way as what Artisan is doing but without a registered command. That was because of a requirement I had where I wanted to put a dynamically generated command which will give certain output to be processed from Laravel application.
mention input separating terms by an specified character.This is a type of mention input powered by jQuery. I started this code for one of my application project and later thought to compile as a separate project and to opensource it. I welcome your feedback and suggestion for the improvements. Thanks for reading this post and using ezeinput jquery plugin.
Basically what ini_set() does is, sets the value of the given configuration option. The configuration option will keep this new value during the script’s execution, and will be restored at the script’s ending. It takes 2 parameters, 1 is variable name, and other is value. I have used the ini_set() function mostly to set the […]
The default theming for any form element can be easily override in Drupal. There are two choices in the place of using the override function. One is in the template file, other is in modules. I am going to demonstrate the theming in module using Drupal 6. Using template file or Drupal 7 do not […]
There are several way we can work with Dojo Data Grid using Zend. All are very confusing until we are familier with the structure. I spent several hours on discovering the obstacle that are stopping me to get the right result on this. In this note, I am going to show a simple way on […]
One of the common complex task among webdevelopers is image resizing. It is a big headach when using multiple size images in multiple pages of a single version of image. For long I was using a an script that would create one thumnail version of the image when the image is uploaded. It was not […]
HTML is a language that provides a means to create structured documents by denoting structural semantics for text such as headings, paragraphs, lists, links, quotes and other items. HTML 5 is being developed as the next major revision of HTML. This code can now be used for new functions that can benifit developers and internet […]
If you are a Drupal developer, you probably know how to save a node using node_save() function. I am coming across saving node with CCK fields so often. I had no any issue while on the D6. First time on the Drupal 7, it hurt me lot leaving CCK field blank when saving where I […]
I wanted to run a SQL query against MySQL database server which contains search string and need to be formated using sprintf. The problem arise when format. It is because of the sign “%” am using to advance my search term. The query was…
$sql = "SELECT * FROM user WHERE country = '%s' AND fName LIKE '%s%' ORDER BY fName";
$sql = sprintf($sql, $country, $searchTerm);
Here where the error fires. Thanks God, I found the […]