Drupal

[HOW-TO] Drupal 6 : Add additional "Add Comment" link into the node

By BXTra |
Just edit node.tpl.php and insert code below to anywhere you want :

<?php
print l(t('Add Comment'), 'comment/reply/' . $node->nid, array('fragment' => 'comment-form'));
?>

Make sure that , 'comment/reply/' part is relative to your path. If you access your website through www.myweb.com/web. Then, that part would be , 'web/comment/reply/'

[HOW-TO] Display pager in the top of the node in Drupal 6 with Zen Theme

By BXTra |
I need to display pager for both top and bottom of the node for user to easily to move between pages. The one in the bottom is normally display but I want it to display in the top section also. To do that, Just put the following code :

<?php echo theme('pager', null, 1, 0, array(), 9); ?>

If you want to change the number of pages in the list, just change number 9 to anything you want.

When put that code in page.tpl.php, it will look like below :

Drupal 7 is official released !!

By BXTra |
After nearly three years of intense community collaboration by nearly a thousand contributors, Drupal 7.0 is today officially released! Friendly and powerful: Drupal 7 We are proud to present to you our best work yet – Drupal 7, the friendly and powerful content management platform for building nearly any kind of website: from blogs and micro-sites to collaborative social communities. Easier to use

Drupal 6 + Views 2 : Created similar node based on Node Title

By BXTra |

I need my node to show related nodes below it. Since I know that my Node Title will be very similar in the name but different Season or Number like example below. Node 1 - Final Destination DVD Node 2 - Final Destination DVD 2 Node 3 - Final Destination DVD 3 Node 4 - Lost Season 1 Node 5 - Lost Season 2 When I open Node 1, links to Node 2 and Node 3 should be there below the content. When I open Node 5, links to Node 4 should be there below the content. I can do that by set Views as below:

Drupal 6.19 and 5.23 released

By BXTra |
Drupal 6.19 released, fixing security issues The nineteenth maintenance release of the Drupal 6 series. Only bugfixes have been committed. No security fixes are included in this release. New features are only being added to the forthcoming Drupal 7.0 release. This release includes the security fixes from Drupal 6.18 which was released alongside Drupal 6.19. No additional security fixes are included. The complete list of changes committed since Drupal 6.17 are as follows:

Drupal 6.17 released

By BXTra |
Drupal 6.17 released, fixing security issues Drupal 6.17, a maintenance release fixing issues reported through the bug tracking system, is now available for download. There are no security fixes in this release. Upgrading your existing Drupal 6 sites is recommended. For more information about the Drupal 6.x release series, consult the Drupal 6.0 release announcement.

Display IP Address for all comments in Drupal 6.16 - 6.20

By BXTra |

I have searched many places how to display user IP for each comment. There is no complete answer in any topics that I found. Therefore, I just tried each part of each information until I know how to do it. Below is what I did to make it work: 1. Search file "comment.module" here - > "modules/comment/comment.module" 1.1. Add c.hostname into query line number 939

FROM

Drupal 6.16 and 5.22 released

By BXTra |
Drupal 6.16 and 5.22 released, fixing security issues More information can be found -> HERE Drupal 6.16 and 5.22, maintenance releases which fix issues reported through the bug tracking system, as well as security vulnerabilities, are now available for download. Drupal 6.16 also fixes other smaller issues. Upgrading your existing Drupal 5 and 6 sites is strongly recommended. There are no new features in these releases. Important update notes