There are many ways to get delete the Anonymous user account from the Users table. A wrong query like 'uid != 0' or Views bulk operations may cause deleting the row.
Technical Blog
Media module offer an extensible framework for managing files and multimedia assets, regardless of whether hosted on your own site or a third-party site - it is commonly called as a 'file browser to the internet'.
We had a requirement in one of our E-commerce site built using Ubercart module to add a custom key while saving an ubercart order, the key had to be used later on based on which the status of order is changed. Read on to know more.
Slick Carousel is a Drupal module for ken wheelers slick carousel. Slick Carousel is fully responsive and it works with views.
In one of my recent projects a requirement was to add a gmap to a node view page. I thought of writing it down so that some one may find this useful.
Panels gives you the ability to create custom pages effortlessly. These custom pages can have multiple regions of content. Suppose, if you want to create a home page with a Slideshow, included in your page layout positioning on the top and two columns below it. Then panels help you to make it easily.
You can revert features in deployment phase by just adding an update hook and calling features_revert() in install file. Read on to know the code changes to add.
Drupal rooms module is a booking and room management solution for businesses such as hotels and rentals. Availability and pricing of rooms can be managed easily by using this module. Integration with Drupal Commerce module enables handling payments. Here is how we can install and configure rooms module for use.
Facebook plays a vital role in marketing your business. Facebook provides share buttons which can be embedded in your website, enabling you to share the website's data from within the site. Let's find out how this feature can be implemented in a Drupal site.
Hi guys, here I am going to explain how to enable syntax highlighting in ckeditor. Lets assume that you already have a Drupal 7 installation ready and CKeditor also (https://www.drupal.org/project/ckeditor).
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.
Drupal provides a handy of global variables. Thanks for the tiring efforts. You might know about the interfaces in drupal, it has a use interface and an admin interface. Suppose we are using bartik as our user theme and seven for admin interface.
Now a days infinite scrolling becomes the most popular pager in websites. Basically it do append new content to the same page through ajax rather than redirecting to a new page. It is more user-friendly and it take less time to load new contents to the page when comparing to the conventional pagination. Because of the use of ajax it takes less bandwidth than ordinary pagination.
When looking for Drupal native e-commerce carts its limited to two packages Ubercart and Commerce. Ubercart is the long leading one and Commerce is the new one, but developed for drupal 7. Commerce is a bit complex when compared with Ubercart but it offers more features like shipping, inventory control etc. And another issue with Ubercart stores who want to upgrade to Drupal 7 is, lot of Ubercart contrib modules weren't being upgraded to 7. So the solution is Commerce.
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.
A website will be having two kinds of users mainly, users with administrative privileges and simple users. Most of all a single root user. An administrator one of the main challenge will be in monitoring the site users and its contents. Admin should be notified regarding the new user registration and extra add-ons, etc. For a website with multiple users managing site contents and updates from user roles could become a nightmare.
Working with Drupal and not familiar with the database queries could be impossible. There is insert, update and delete queries for Drupal. Once I had a requirement on updating 2 fields in one update query.
There are a lot of pragmatically created crawlers today. If is a website is open for registration these crawlers can maliciously faux accounts of their own. In such cases, we usually use CAPTCHA. CAPTCHA is like a protective shield for our website from those bots.
In one of my recent projects i came across a situation where i had to create a order line item programatically. If you have ever came across such a situation you would end up in line_item_example.module which demonstrate the addition of a new line item type programatically.