Articles

Zyxware default image1
| 1 min read
Drupal CCK lets you specify how to display a field for an entire content type. There might be cases where you would want to specify how to display a field for a particular node, ie choose field formatter on a per node basis in your Drupal site. A common scenario would be to let an author decide which formatter to use for a field when they create a node. For e.g. you might wish to allow the author to select which type of ImageCache preset to use when the they are about to create the node.
Zyxware default image3
| 2 min read
The default behavior for Drupal CCK fields is to hide the labels when the corresponding field is empty. However there maybe situations where you need to show CCK field labels even when there's no content in the field to indicate to the users of your Drupal website that there is a category present. There are a variety of solutions to override this behavior in your Drupal. Read on to find out more.
Zyxware default image2
| 2 min read
Although there is no specific prerequisite for learning Drupal it would help to have a strong understanding of PHP, MySQL, HTML, CSS and Javascript before you take up Drupal. This is more so if you are attending a Drupal Worshop conducted by us or by any other provider. You can always pick up and learn these as you learn Drupal but if you have already met the prerequisites then learning Drupal would be much more easier than if you have not.
Zyxware default image4
| 2 min read
Some Drupalusers have noticed that while working with Drupal CCK field titles they can only insert a minimum amount of characters when creating the field labels. This has proved to be a limitation for some who wished to enter longer labels. If you are facing such a dilemma and are looking for a way to increase the maximum length of labels in Drupal CCK Fields in your Drupal site, read on to find out more.
Zyxware default image1
| 3 min read
"An error has occurred adding the content type...Please check the errors displayed for more details.". This error usually occurs when you are importing an Ubercart product type to a content type using Drupal CCK and when you try to change the node name and type of the product in your Drupal website. Usually there will not be any other details of the error on display on the Drupal site when it has occurred. There is a fix for this error message and a solution to avoid it in the first place. Read on to find out more.
Zyxware default image3
| 2 min read
You could encounter a scenario in Drupal Views where you wish you could programmatically change the display for certain taxonomy ids, so that Views could show a teaser display for certain taxonomy ids and a field display for another set of taxonomy ids. Read on to find out how to change Views display programmatically according to taxonomy id so that you can implement it in your Drupal site.
Zyxware default image4
| 2 min read
Many Drupal users have reported that the Taxonomy:Vocabulary filter, which was an extremely useful setting in the Views module in Drupal 6, has been missing in the Views module in Drupal 7. Views itself is a widely used module and it is not clear why this setting was removed or whether it was intentional or not. However all is not lost and we can still achieve the same functionality in Drupal 7. Read onto find out more.
Zyxware default image4
| 2 min read
In Drupal Views 3, if you try to create a node View to list the most popular search terms for a specified vocabulary the most popular search terms will be repeated if they are found in many nodes with the distinct option failing to catch them. However there is a solution to list the most popular taxonomy terms in Views 3 without repetition. If you want to implement it in your Drupal site then read on to find out more.
Zyxware default image2
| 2 min read
In Drupal all content except comments are considered as nodes. Nodes can be sorted against a variety of criteria like the commonly used post date and published date. Nodes can also be sorted according to the term weight. If you need to have your nodes in your Drupal website sorted by Term weight, you can use the Drupal Views module to create a View and list and sort them there. Read on to get the details.
Zyxware default image1
| 3 min read
Styling a Webform is more or less like styling any other ordinary HTML form. Often you would like to change the style of the submit button and replace it with an image via code in your Drupal website. Although this is extremely easy it might cause the button to stop working, forcing it to reload and fail to show the confirmation message. If you are facing this problem while styling your Webform in your Drupal website read on to find the solution.
Zyxware default image1
| 2 min read
Webforms can be placed easily in a block in a Drupal website. You might face a scenario in your Drupal website where you have to place a Webform in a block and you need to get the nid of the node where the Webform block is placed to get an idea of which article the user was reading when they submitted the form. There could be other users for it too. Read on to find out how to implement it.
Zyxware default image2
| 2 min read
If you are trying to load a Webform into a template variable to be printed in a block in your Drupal website, the obvious choice would be to use the drupal_get_form(webform_client_form_XXX) function with the machine name of the Webform as the argument. However this will not work as the logic is only partially correct. There are a few more steps prior to doing this. Read onto find out.
Zyxware default image2
| 2 min read
A few users wanted a particular feature using Drupal Views in their Drupal sites. They wanted to have a Drupal Views block which should display the profile of the current user. The currently logged in user should be able to see their profile information but at the same time they should not be able to view the info of the other users. Read on to find out how to implement this feature in your Drupal site.
Subscribe to Subscribe to