How To

Zyxware default image3
| 1 min read
Using Facebook API we can pass instructions for several operations in a single HTTP request. Facebook API process operations as sequentially if it is dependent otherwise it will process as parallel. After completing all the operation it will send a consolidate response to you.
Zyxware default image3
| 2 min read
We had a requirement in one of our projects to pull the order status from SAP Business One to the orders of our Ecommerce site. Our site was integrated to SAP Business One using Zedsuite. Zedsuite allows custom queries created in SAP Business One to be accessed through an external interface. The query results can be fetched by calling the external URL provided by Zedsuite in our site and the customizations can be made as per our requirement in Drupal. Here in this case we are going to update the order status in E-Commerce site based on the status updates in SAP Business One. Read on to know more.
Zyxware default image1
| 2 min read
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.
Zyxware default image2
| 2 min read
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.
Zyxware default image4
| 2 min read
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.