Creating basic page is a general test must be done for all Drupal sites. And you are decided to do this through automated tool Selenium.The problem we face here is that you can't test inserting contents in the CK Editor by record and play. You have to insert Selenium commands for adding contents in the CK editor. Lets see how this can be handled.
Technical Blog
It was not easy to change calling order of hook implementations in Drupal prior to version 7. From Drupal 7 onwards you can control the order of hooks called for different modules. To accomplish it, there is a new hook introduced in Drupal 7. It is hook_module_implements_alter().
While resizing an image, the important point that we should take care is, the image dimension. Image dimension is basically the width and height of an image. It should be kept as in the same ratio of the original image while resizing, if you want your image to be distortion free. ie, the aspect ratio (width:height) of the original image must be same as the aspect ratio of the re-sized image.
While working on a responsive theme using Drupal an error occurred like, the theme shows a non-responsive displays in mobile devices. I solved this by adding meta tag using the function themename_preprocess_html() with following code in template.php.
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 I need to edit page.tpl.php, page--front.tpl.php, style.css, template.php etc.
In one of my project, I need to hack the existing view page for admin and need to style the page to show additional contents. Drupal have the feasibility to get the right template file from hook_theme suggestions to change the themes.
Follow the below steps to change your current views:
SAP Business one helps to manage sales, customer relationships and financial operations in our Drupal site. We had one of our eCommerce Drupal site integrated with SAP and the requirement was to pass the order details to SAP Business one. We used Zedsuite integration toolkit to connect Drupal with SAP. Read on to know more.
Dealing with a hacked website could be hard work and you should be ready to make certain important decisions. Stay calm and follow the instructions provided below:
There are some constraints when giving passwords for mysql databases when using with drupal 6. Some special characters will make the site unavailable with the error "Access denied for user 'user'@'localhost' (using password: YES)" even if the password is correct in Drupal 6.
What is htaccess ? The .htaccess file in Drupal is Powerful configuration file for web server. The .htaccess file loaded and executed when Apache server starts. .htaccess file in Drupal is used for varied functionalities such as Authentication, Redirect pages, Rewrite URL ,Directory Index and Limit access etc.
Organic groups module (og module) enables users to create their own groups and manage these groups. The Organic Groups module, provides user the ability to create, manage, and delete their own 'groups' on a site. Each group can have members, and maintains a group home page which individual group members may post into.Group membership can be open, closed or moderated.
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
This article discuss about setting snippets for Geany, a light weight IDE especially for Drupal 7 web developers as per coding standards. For those whom doesn't know, snippets are a small piece of source code which are meant for reuse. For example: while coding instead of typing full if conditional statement structure for each time we can just reuse them by the means of creating snippet for the same.
In Drupal function hook_menu_alter() allows you to alter various properties of menu items. In your custom module, simply add the function. MODULENAME_callback_function will check the node type and hide the node view and edit from a particular node type. Here for our nodetype the hook_menu_alter() will call the callback function MODULENAME_callback_function, which will not show the view and edit tabs for our nodetype in Drupal.
Stupeflix API is a web service for developers to generate videos using texts, images and videos. To generate videos using Stupeflix API we need to do the following steps
The feedAPI module is a famous one for processing custom feeds in different formats like rss/Atom, csv, iCal etc. Now the feedAPI has upgraded to the "feeds",which have more features and easy to use and customize. However still a lot of Drupal 6 sites uses the feedAPI module for handling external feeds. Let us see how a new parser could be created in feed API module.
In Drupal there is a lot of interesting modules. One of interesting module is the quiz.module. It is a framework for create interactive quizzes for your visitors. Also it allows for the creation of questions of different types, and to collect the questions into quizzes.
We know Drupal 8 is the latest version of Drupal. It has lot's of difference from the previous version of Drupal. One of the major difference in Drupal 8 is in Configuration Management. In Drupal 7 there is version control system is used and for that there is different running site environments like staging, live etc are there. In Drupal 8 also have this environments but Drupal 8 comes with a file system-based configuration management system.
Ever since we have used computer, all might have heard of command line tool. Most commonly called bash. Command line is capable of taking input and outputting its results from and to computer. One of the features command line offers is it lets the users to create their own instructions. In this article we will take a tour through the steps on creating our own bash command.
Today, people are looking for free and easy to use content management systems to run their website. Drupal is an open source content management system (CMS) which help users create, structure, and publish content. From a company perspective the priority will be on saving costs and shifting attention back to customers. Here is a useful checklist for developers, to meet the above needs for building a small business website without compromising the quality.