In my project I have a requirement to display the error message of webform submissions in a popup window. Webform is a module for creating simple or multi-step forms in Drupal in an easy way. To display the webform in popup is very hard to me. Webform Ajax module helps to meet this requirement. Its is very useful module for single or multi-step forms with pagination's in a popup box.
Drupal 7
We were working on creating a custom Drupal 7 module for making the comment management better. At some point, we started getting an error. Since the error came during the development, we were almost sure that it was from the custom module only.
While working with a project, I need to display a view in colorbox popup. I have done the following steps for processing popup for views. You may also look into other solved issues and details related to colorbox over here.
While dealing with webforms we may need to integrate webform fields to external API or may need to save data to a custom table. In case of webform we don't need to add custom submit handler to deal with submitted data.
If you are using the Views module to create a page that only specific users should be able to access, then a simple configuration will do the trick for you. Basically, we can set views access control by role or by specific type of permission that a user has. Here is how this can be configured in each view.
Organic Groups module is a powerful and useful module in Drupal. This module is used to create groups, add members to it, and to share content and comments. OG also has advanced access management through permissions and roles.
I have worked with a tiny portion of a website dealing with online donations. Here I came across the LuminateExtend Library. LuminateExtend is a JavaScript library for use with Blackbaud's Luminate Online product suite which provides a JavaScript wrapper around its API with some useful functions.
Flex Slider is a power full Drupal module which integrates with the flex-slider library which allows us to build responsive and resizable slideshows
I had a requirement in one of my Drupal project to generate PDF from HTML. I had implemented the PDF file from HTML using the module MPDF. Let me explain you the following configurations for its working :
The purpose of hook_file_download is to Control access to private file downloads and specify HTTP headers. The hook_file_download_access is restrict the access to certain files based on the entity type. e.g.,
only users with access to a node should be allowed to download files attached to that node.
While working with a project, I need to display a view in colorbox popup. I have done the following steps for processing popup for views.
We had a requirement to show the group field in user registration form using Organic groups. Inorder to show group field in user registration form first we have to install the Organic Groups module (OG), Organic groups register module and create an Organic Group.
We were on a venture to convert all our Drupal 7 themes to their responsive versions and we got stuck in between. The issue was with the main menu that it was not displaying sub links. We have gone through the code carefully and we found that only the top level menu items are being set to the main menu variable. To render all menu items from main menu, we should have defined it in theme's template.php file.
You might have seen how to set up http request in core PHP. In this article I'm introducing a Drupal function called 'drupal_http_request' which handles our http request.
Slick Carousel is a Drupal module for ken wheelers slick carousel. Slick Carousel is fully responsive and it works with views.
Grey box testing is the combination of both White box testing and Black box testing method. In white box testing, testers are aware of the internal structure of code where as in black box testing testers aren't aware of the internal structure.
You might have joined different tables in the same database. How would it be if you could join different tables from different databases. Sounds good!! right? I had to go through an uncountable number of tutorials and blogs to make this happen. All thanks to Drupal.
There are certain conditions you have to ensure before using this method. First to make sure is that you have both databases on the same server. And the second is a fit. The second is about user, ensure both have the same.
Requirement was to get all the users in both databases.
The way Drupal manages translation have been advancing over several versions. Drupal requires the combination of core & contributed modules to make a site multi-lingual. We will be using Drupal 7's content translation method. One challenge you will be facing is to translate the content into the languages needed. There are lots of tools available for this online like google's translate. Using this method, for example, Arabic node will hold all Arabic values and English node will hold all the English values.
In Drupal 8, .info file is converted to .info.yml file. It is a symphony component. The .info.yml file contains the metadata about your theme, such as theme name, description, version of the Drupal it supports, and type. Type is new metadata type indicate type of the extension such as module, theme etc.
Drupal 8 has brought in a lot of changes. Lots of contributed modules have been added to Drupal core. New standards have been implemented for easy use. Drupal 8 is now in the beta phase. Drupal 8 uses Symfony framework.