Drupal

Zyxware default image1
| 2 min read
I had a requirement to add a multi-level responsive drop down menu in a Zyxware theme. Please do refer the below reference links to know more about responsive themes and free Drupal themes. So for that I had to edit page.tpl.php, page--front.tpl.php, style.css, template.php etc. First I added the following code to template.php of my theme. The steps that I followed here are,
Zyxware default image3
| 3 min read
In Drupal, usually the date field value is saved in the database in UTC timezone format. One of our requirements for a project was to show the date in the site's timezone format. So we generated a general function to convert date in UTC timezone to any required timezone and format it. Just use the below function to convert date in UTC timzone to a given timezone and the format date using a valid timestamp,
Zyxware default image4
| 3 min read
Introduction An international multilateral development financing institution needed a digital platform to share its dynamic contents. Being a global entity they needed to distribute content in multiple languages. Challenge The financial institution needed an editorial content workflow customized to each department. The system needed department based content type permissions. For Instance:
Zyxware default image2
| 3 min read
Have you been trying to index your node to Apache immediately after its been created, updated or deleted! Read On!! By default Apache Solr uses a queue system to index data to Solr. We can preconfigure the interval in which the indexing should perform. Still, there occurs a delay for the node to get indexed.
Drupal Logo
| 3 min read
If you are a Drupal enthusiast, business owner, consultant or anyone one who loves web technology, this infographic will be useful for you. It explains the capabilities of Drupal in various aspects like types of project, integration capabilities, database choices, and interoperability. This infographic can be used as a quick check sheet for driving conclusions on technology choices.
Drupal Security Audit
| 1 min read
E-governance has grown and developed rapidly reflecting the social, economic, and cultural changes happening. The increased usage of the web by the citizens, the ease of use, the ubiquity of digital connectivity, IoT have allowed for the emergence of a number of applications for Government to Citizen, Government to Government, and Government to Business Services. Leveraging the web for citizen engagement, delivery of government services to citizens, businesses and inter-government departmental services is key to strengthening the e-governance capability of a government.
Zyxware default image4
| 3 min read
A patch is a small file which shows what was changed in a repository. It shows the new changes in an existing file, details of the new files in the current directory, file deletion details etc. A patch file can be pushed to the git repository so that it is useful in the future for updating the changes in the corresponding file. For creating a patch file in your current git repository, make changes in your files. Now open the terminal. For unstaged changes, type the following command,
Zyxware default image2
| 4 min read
To render a Drupal form to a node, drupal_build_form function is used. This function allows us to render all forms except the admin forms. Note that, admin forms didn't find success while rendering the same. In-order to render a form the following syntax is used,