CodeIgniter URL's are search engine friendly and user friendly. CodeIgniter using segment based approach rather than query string. But it supports query strings, you can optionally enable it.
Articles
drupal_add_js() function is mainly used to add JavaScript to the page, either as reference to an existing file or as in-line code (by writing the code directly in the page). But it also add settings to Drupal's global storage of JavaScript settings. These settings can access using Drupal.settings variable in JavaScript file.
We can create custom rules programmatically using the function hook_rules_action_info(). hook_rules_action_info() is a useful hook provided by rules API to create custom rules programmatically. We can use our custom functions to perform the actions that we require.
Following is a sample of the hook_rules_action_info implementation:
The Paragraphs module is a new way of content creation. Instead of putting all contents through WYSIWYG body field, including videos and images, end-users can now choose on-the-fly between pre-defined Paragraph Types independent from one another.
I am here to help you how to work with twitter API v1.1 because Version 1.0 will be deprecated. In Version, v1.1 need a authorization to work with. For the authorization, we need to create a Twitter APP first. Steps for authorization is listed below.
Quickbooks is a book keeping software. It combines a variety of accounting processes into a user-friendly system. The main function of this software is to reduce the use of tracking sheets, multiple tables and spreadsheets that are necessary to document and maintain accounting tasks of a company. Also the accounting figures are easily reconciled using Quickbooks for tax purpose. This software was developed by Intuit and it can be customized based on the needs of our business.
In Drupal 7, when we do customizations we would want the custom module to create content in the form of a render array. We know that a page callback should return a render array which allows the custom module to handle the content as long as possible in the page generation process. Sometimes, wrapping two render array elements together could be an easy way out while dealing with render array manipulations. Here is how we can achieve that.
Drupal offers a variety of ways to implement solutions when it comes to custom theming and it has been abused often due to the very same reason. Choosing the right way is what Drupal developers find tricky. If it is not done right, it is quite likely that you 'Awesome Drupal Website' would turn into a code-monster soon. This can even make maintenance difficult. Hope this 'tiny bit of' information could help you through it.
Zyxware Technologies, a leading Indian Drupal service provider are looking for Drupal Developers to join our fast growing web application development operations. Candidates will be expected to develop web based applications using Drupal. They will also have to interact with clients and analyze requirements as and when needed. They will also get opportunities to mentor new developers. It is an opportunity to evolve as a well rounded software professional. They will be placed at either of our offices in Technopark, Thiruvananthapuram or in Kochi.
Virtual host setup in Ubuntu is very simple, we can do this in few steps. The following commands will help you to download the latest version of all software from its repositories(that is updation) and then install 'apache2', if you have no apache2 software. Otherwise ignore the following commands and go through the main steps for VirtualHost setup.
In Drupal 7, a theme function is a PHP function that is used to wrap the output variables with HTML. For adding a theme function in our custom Drupal 7 module, we need to implement hook_theme(). A theme function is prefixed with 'theme_'. However, they can't override existing theme functions. Such functions are invoked using theme() rather than being directly called. Also, they are faster compared to the template (.tpl) file implementations.
Developer tool is an add-on of Mozilla which helps to debug the elements in a web page. You can get the tool from Add-ons (go to Add-ons and install web developer Tools (Add-ons > install web developer tools). On complete installing the Add-on, you can see a menu bar with items like disable, cookies, images, miscellaneous etc. You can use these items to measure, re-size, disable images, view source code, responsive view etc.
In one of my Drupal projects, I had a requirement to submit data from a webform to an external application. hook_webform_submission_insert() helps to meet my requirement. In your custom module, call the hook function hook_webform_submission_insert().
The last release of Drupal was about three years back and Drupal lovers - site builders, developers and administrators - are more than excited to get their hands on the hottest addition to the Drupal Web Development family, Drupal 8. With over 1700 contributors working diligently at building the latest version of Drupal, it comes as no surprise that Drupal 8 has exceeded the expectations of its loyal users and arrived with a bang.
The launch of Drupal 8 is bound to create more than a ripple in the pond. This latest version of Drupal, the world’s most popular enterprise web CMS, hosts around 200 new features and some much-needed advancements.
While working on a Drupal 6 project, I came across the requirement to send some mails. Interestingly, I couldn't find any good articles or procedures on the same. So, here, I am going to explain how to send mails in Drupal 6 with attachments. If you need any business support, get in touch immediately.
There will be many situations when you need to handle files from an FTP server in PHP. PHP provides a handful of functions to do the task quite easily, but there are some hidden difficulties too. So here I am going to explain the process of connecting to and FTP server and handling files there.
We can execute system commands using SHELL. shell_exec is a PHP function that returns the output as a string or null if it is a wrong output. Note that, this function is disabled when the PHP is running in a safe mode.
The purpose of implementing hook_theme either in a custom module or theme is to register it's theme implementations which specify how a particular render array is to be rendered as HTML.
What do you usually go to create a virtual host? If I am right, then you will copy the default file, change the contents, add entry in host file and then you will enable the site, right? Well, if you are thorough with the above steps, then I would advise you not to waste your time any more by repeating the steps each time you need to create a virtual host, because I am going to provide you a script using which you can easily create a virtual host.