Articles

Zyxware default image3
| 3 min read
You may be familiar with the theme information link in views. The theme information link in view tells us which files are to be modified, to theme the view. You could get more information regarding the view from, http://viewshelp.doc.logrus.com/help/views/analyze-theme. This is the case where we have a theme with us. But what if you don't have a theme and you still want to theme the view's result? Well, read on if you want to find out how to theme a view by adding a template file inside your custom module.
Zyxware default image3
| 2 min read
One of our client's site, which runs on Drupal 7 allows users to create envelopes based on the custom values like name, address etc submitted by the user through that Drupal website. The requirement was to load this envelope in ckeditor so that end user can edit the default values given as per their wish. So we had to load the form field with the default values given in template. We used jQuery to do this. If you are looking to know how to load a drupal 7 form field with default values from CKEDITOR body content, then read on.
Zyxware default image4
| 3 min read
Most of us know how to send an e-mail with attachment. But do you know how you can do this using drupal 7? Not sure, then read on. In this article, I am going to address 2 isssues. Sending an e-mail with an attachment. Sending an e-mail with multiple attachments. Sending an e-mail in Drupal 7 with an attachment The steps to be followed are: Step 1: Install and enable the modules MIME mail and Mail system. Step 2: Define hook_mail() in your custom module. The synatx is as follows:
Zyxware default image3
| 3 min read
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.
Zyxware default image1
| 2 min read
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:
Zyxware default image1
| 3 min read
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.
Zyxware default image3
| 2 min read
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:
Zyxware default image2
| 2 min read
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.
Zyxware default image1
| 3 min read
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.
Zyxware default image3
| 3 min read
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.
Zyxware default image1
| 4 min read
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.
Subscribe to Subscribe to