Why do we use CK-Editor? Well, obviously to create customizable contents, right? If you are creating a page, you can change the heading style, color, font-size, font-style etc with the help of CK-Editor. Well,I don't know if you could create your custom color or font-size, but changing default fonts of ckeditor is definitely possible. For that you may follow the below steps:
Step 1 : Create a css that contains the path to the fonts.
Articles
Whenever you need to create a contact/feedback form in drupal, everyone will be thinking of using "Webform" module. Using webforms to do so, is a good choice. Normally, the forms created using webform module are displayed as pages. There may be certain situations, where you need to display these as "blocks". If you need to know how to display webform as a block, read on.
If you have a webform with you, that you have already created, by adding the required fields, then follow the below steps:
If you want to switch among contents or nodes in Drupal 7 website, you can do this by adding navigation links(PREV and NEXT) to that particular content. This will help you to see contents without going to any other link. There are contributed modules in Drupal for this but if you want to know how this can be created programmatically, read on.
When we were working on a Drupal website using Ubercart, we wanted to override the text content of the default email sent out by Ubercart. Drupal does not give us a configurational method to implement this. If you do not know how to override the default email sent out by Ubercart during checkout, continue reading.
Ubercart stores the default content for email in template files. These templates can be found inside the ubercart/uc_orders/templates folder. Ubercart uses three template files.
If you are working on a Drupal website with Ubercart and if you are handling custom product mechanisms programmatically, one of the main task you may come across can be, 'removing an item from your cart', when a particular condition is satisfied. If you are facing any difficulty with removing items from cart, I may have a solution for you.
By default Ubercart provides custom function named uc_cart_remove_item() to remove an item.
uc_cart_remove_item(node_id, cart_id, product_data)As you can see that the function requires three parameters:
We have been offering short term internships to students in different areas of our operations. In the past we have been primarily offering internships in non-drupal related tasks. This year we had offered internships to a batch of students from RV College of Engineering for working with our development team and learn Drupal. We are happy to announce that the first batch of students have successfully completed their internship this month.
Many a times Drupal users face the problem of not being able to access the php variables in jquery function . One way of accessing this variables is using ajax but this causes time delay in sending requests.This time delay can be minimized using drupal.settings.If you are not sure how to tackle this problem then read on.
To add a video file inside the drupal site, there are different ways. If we are entering a video file inside the drupal site by entering the url inside a text field, and we need to find the url entered is of which type (ie the url is of youtube or vimeo type).
Sometimes we may want to find all unused contributed modules in our site to clean up and all. In that case instead of manually checking all the modules from the sites/all/modules folder we can take it from the database system table.
We may want to find these unused contributed modules list to physically remove them from the sites/all/modules folder. But before removing them we have to make sure that none of its sub modules are currently using. So in order to find out the unused modules list we can do the following three steps.
Suppose you are documenting in LibreOffice Writer and in the middle of it you found that there exists a lot of extra space before every new line. It is a tedious job if you try to remove the extra space manually. Sometimes we encounter the same issue while copy pasting some documents from the web. Here I am going to explain a simple one step procedure to remove the extra space and new line in a LibreOffice document.
In this article we will be explaining a small feature we implemented in our Drupal themes, its called Slideshow. Will be explaining how to create and implement Slideshow feature for your theme. Before we start, hope you all know about PHP templates and Java Script, because these two play a major role in implementing the slide show.
In this article we will be explaining how to use hook_views_query_alter() for Drupal views. While working on Views, I came across a problem. In my search option there is a drop-down menu listing taxonomy terms, what I have to do is instead of taxonomy terms I need to give two options and taxonomy terms comes as a subset of these two terms.
In this article we will be explaining a small feature we implemented in our drupal themes, its called Style Switcher. Will be explaining how to create and implement Style Switcher feature for your theme. Before we start, in my previous article How to create default Slideshow for Drupal 7 themes? I have explained how we can use form alter for theme settings page, kindly refer this too.
In this article we will be explaining how an anonymous user can switch the theme of a Drupal site. This is the continuation of my previous article How to create Theme Switcher module for Drupal 7 Part 1? If you want to know how to create a theme switcher module for Drupal 7 then read on to know more.
In one of our Drupal projects, we implemented a feature where, users can login to the site through Facebook login(fconnect button). Facebook login(Fconnect) button was implemented using fbconnect module. Client requirement was to change the landing page for each user according to their role after login through facebook.
User migration in web application is the process of migrating all users from one site (development site) to another (live site). Recently I have worked on a project where I got a chance to test user migration. In our project we had developed user migration in a sandbox environment. Following are the test cases for user migration.
Test cases/checklists:
Drupal sites usually have authorized as well as unauthorized users. The privilege of authorized users is that they can access certain pages of the website in addition to the pages that can be accessed by unauthorized users. A user account page/Login page is included in Drupal for those users who wish to access the website as an authenticated user. Read on to know the test cases to test the login page in Drupal.
The default Drupal Login page mainly consists of following three tabs (Check the images for reference).
Drupal core itself has language support handling in at multiple levels. But If you need multilingual support on your site, locale module provides a user interface on top of basic language configuration.In this article I am going to explain how to add language support in a drupal 7 site.
The steps to be followed are:
'Feeds' helps us to keep track of contents in another websites. In Dupal, we have 'feeds' module for this purpose.Through this article, we will be helping you to find out how you could create a custom feed using views in a drupal 7 site.
Follow the below steps . Please note, you will have to enable the 'Views' module before padding up.
Step1: Create a New View
Goto Administer > Site building > Views > Add. Create a view name called "custom_feed" with description and the View type as "Node" and press Next button.
When we install a fresh copy of drupal, we can see that on the top bar icon, there is an image of drupal. This image is known as 'favorite icon' of a site. This is a default image which is provided by drupal. You may replace this with your custom image. If you want to know how you could change the favorite icon, please read on.
To upload our custom favicon, follow the below steps.
Step 1: Log into your Drupal 7 Admin panel. Using the top menu area, click on the Appearance option. This will show up the themes page where it lists all themes installed within Drupal 7.