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.
In order to communicate and interact with other web applications we need to use standard communication protocol called web services. The web applications such as Facebook, flip kart, twitter etc can communicate to and fro with Drupal sites.Web services will also allow our Drupal site to pass along content and data to external web applications existing on remote servers.
As time goes by, demand for anything and everything varies. For some, demand increases were as for others it degrades. Drupal is a platform that varies in reams. Drupal always endeavoured its best to be the one without any match. Thanks to those millions of hands behind the success. Because We Demand It! The latest version of Drupal to see the limelight was 9 Time as well as Drupal urges us to make use of its efforts at best. Let's move on to work with 9.
"My Drupal 7 view result is displaying a few records multiple times. How can I get rid of these duplicates?". The immediate solution that comes to our mind will be applying GROUP BY or DISTINCT by enabling views aggregation settings and simply remove the duplicate records.
Meta tags are used for page description, ever wondered on how to add meta tags for the custom pages in Drupal 7. Using hook_html_head_alter() or using hook_preprocess_html() we could add Meta tags and title.
A Drupal theme is just a few PHP files, a CSS file, and an info file. Place your theme folder in the location sites/all/themes/themename of your project folder. Theme folder contains images, stylesheets, js files and templates. There are several files associated with a Drupal theme. Each file must confirm to Drupal naming and content standards
What webmasters can do for making their site visible to intended audience? Identifying effective ways for managing content using stories and pages on a Drupal site can really make your website stand out from others. Here are a few tips for Drupal webmasters who would like to make their website unique, valuable and reliable.
Have you ever felt the need to change the sorting order of a View?. The most common method to change the sorting order would be to edit the corresponding View template file. Now there is a more elegant solution for doing that instead of editing a view template file. Read on to know how to use Drupal hook_views_query_alter to change views sorting.
Drupal, up until now a PAC (Presentation Abstraction Control) architecture, has taken a step closer to MVC (Model View Controller) architecture. Although nowhere have they mentioned about MVC, the new Drupal 8 is strictly object oriented. Another feature in Drupal 8, that is different from the existing versions of Drupal is that it is not entirely Drupal. Drupal 8 uses many components in symfony like it's ClassLoader, YAML file structure, twig and so on. For a detailed description please visit the Drupal 8 home page.
As the drupal is getting ready to migrate to a higher version 8. The older version is overhauled by the newer in every sense. As Zyxware is a regular contributor to drupal, its relevant that we need to upgrade our contibuted modules too. Here I am listing some of the major changes found out during migrating modules from Drupal 7 to Drupal 8
CKEditor is a WYSIWYG editor plugin that can be integrated into any Drupal / Non-Drupal website. Integrated with complex and comprehensive features,this text editor simplifies website content creation and is very helpful for content editors. Following are a few of the key things that need to be considered, while testing CKEditor implementation on Drupal websites.
Drupal module uses a lot of functionality. Once we enable a module we add many functionalities to Drupal. Sometimes we do not want to display the functionality provided by module but we do want the functionality to work in the background. For example creating a new account is functionality that can be hidden from users. This can be done by hiding some tabs or links in Drupal. Read on to know how to hide existing menu tabs in Drupal.
When focusuing on Drupal website development, user roles and permissions are an important way of controlling access to the site. This is more so important when there are multiple individuals besides the website owner who administers the site. Other people can be assigned certain 'roles' which define the kind of access that is to be granted. Basically in Drupal, the Site maintainer and Administrator roles are given all the available permissions and Drupal Administrator role receives all permissions throughout the lifespan of the site. This is not the case for other 'roles', where access within admin permissions and time limits only are granted to users linked to those roles.
A contact form is included with websites mainly with an intention to allow users to communicate with the site administrator, sharing their feedback/messages regarding the website or reaching out to the business owner of the site for services / support. In this article I have covered a set of test cases that can be used to test the Drupal site contact form.
Many Drupal users were encountering a situation in their Drupal site where Boost was caching the Drupal error messages on a page. If you are facing the same situation in your Drupal site and would like to know how to prevent Boost from caching Drupal error messages then read on to find out the solution.
Many Drupal users have wished to know how to use customized fonts in Drupal themes. If you are facing the same question when creating or modifying or editing a Drupal theme and want to know how to use customized fonts in a Drupal theme then continue reading.
Testing is a very significant phase in the development of Drupal based websites. In this article we are going to discuss how to write test cases for numeric and alphanumeric fields on a Drupal site
Many Drupal users had encountered the following error in a modal window when using Panels after clicking on the settings cog to add content to a panel layout. "An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows." If you are facing the same perplexing error message in your Drupal then read on to find out the fix.
Are you looking for an easy way to delete hundreds and thousands of nodes in your Drupal CMS? We all know how to delete it using the normal admin panel which forces us to select all and clicking the delete button again and again. If you are a lazy person then probably you don't like to waste your time to find some stupid script to delete all nodes. In fact there is no need to do that, since somebody had already done that. I am saying about the Devel Generate module. Yes, Devel Generate to delete nodes!
We at Zyxware have been working on several drupal projects for more than two years now and we learned a lot in the process. Two of our internal projects include www.zyxware.com and www.ubuntumanual.org, where we have tried out different SEO tactics. There are a number of really good drupal modules that come in handy when you are dealing with SEO in your drupal website. Here are a select few of them that really helped in attracting more traffic to our drupal projects.