Node

Zyxware default image4
| 2 min read
Drupal 7 has a contributed module "Nodequeue" which allows users to collect nodes in an arbitrarily ordered list. It provides a simple drag-and-drop interface to manually order any queue. If you want to create a node to the nodequeue programmatically then you need to read this article. For creating you need to have two things: node id $nid and the queue name queue_name. Here how it can done, we firstly load the nodequeue by name and then add the node to the queue using function nodequeue_subqueue_add. Below code snippets adds a node to the queue.
Zyxware default image3
| 2 min read
In Drupal creating a custom theme and enabling the same enhance Drupal's core look and feel. But the enhancement feel could be further brought by theming each views in the Drupal site. Follow the theming steps to make changes in your Drupal content views.
Zyxware default image4
| 2 min read
A bug was noticed in the Drupal site that permission for creating node not working on upgrading the module. We can create the node or view it if we are admin users but the node is not accessible to authenticated users or cant be viewed by anonymous users. I tried the fixing by looking at the permissions of the nodes to the specific users.It all looked fine and created a custom permission for the same.The issue still stayed.
Zyxware default image2
| 2 min read
In Drupal, all content is stored and treated as "nodes" - an abstraction to process data. A node is any posting, such as a page, article, or blog entry. Comments are not stored as nodes but are always tied to one. Treating all content as nodes allows the flexibility of creating new types of content. It also allows you to effortlessly apply new features or changes to content.Read on to know how to save node programmatically
Zyxware default image3
| 2 min read
If you are a Drupal Developer you will often encounter situations where you have to use the node_save() function to add a new node to your Drupal site. Drupal does not need you to specify the nid in the standard node object. However there will be situations where you need the nid of the saved node for performing additional operations. If you are looking to know how to get the nid from a newly added node using node_save() then read on.
Zyxware default image2
| 2 min read
A Drupal user was facing a situation in his Drupal site where he could not save more than 10 values in a node reference field in a custom content type. If there were more than 10 values in a node reference field then the node could not be saved. If you are facing the same scenario in your Drupal site with the Drupal CCK field and would like to know how to save more than 10 values in a node references field in a custom content type.
Zyxware default image1
| 2 min read
If you are a beginner in Drupal your might be wondering what a node is. The concept of a node is very simple. All you have to understand is that each and every content in Drupal is treated as a node. A page is a node, an article is also a node. If you want to add custom styles and formatting to the nodes of a specific content type then you have to theme a node. Read on to know how to theme a node in a Drupal 7 website.
Zyxware default image1
| 3 min read
Colorbox is a pretty nice JQuery plugin having a lot of cool features. Recently we had worked on a Drupal project in which we had to load some content programmatically via Colorbox. To be more specific we had to load the Drupal node/add form within Colorbox before presenting it to the user. If you are facing the same scenario in your Drupal site and want to know how to load a node/add form inside a Colorbox popup then follow the steps mentioned here.
Zyxware default image2
| 2 min read
A few Drupal users had requested for a hassle free feature that would enable - A node, its title and the list of the images associated with the node to be displayed in a Colorbox. Most of them had requested for a Trigger Field to open the Colorbox with the above items. If you are looking for a way to open a node in Colorbox with an Image Gallery using a Trigger Field then continue reading.
Zyxware default image4
| 3 min read
Replying to comments is an extremely good practice for bringing recurring traffic to your Drupal website as you are interacting with your visitors. If you can send those new comments to an email address, you can respond to them quicker since a late reply usually goes unnoticed. Normally in a Drupal 6 website, the admin user has to login to the website and moderate the comments which often leads to a significant delay in response time. Check out our instructions on how to send comments to an email address in a Drupal 6 website.