User account menu

  • Log in
BXTra.net

Breadcrumb

  • Home
  • Drupal

Drupal

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

By BXTra | 6:37 PM PST, Tue January 18, 2011
Drupal
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/'
  • Read more about [HOW-TO] Drupal 6 : Add additional "Add Comment" link into the node
  • 5 comments
  • Add new comment

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

By BXTra | 10:49 AM PST, Sat January 08, 2011
Drupal
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 :
  • Read more about [HOW-TO] Display pager in the top of the node in Drupal 6 with Zen Theme
  • Add new comment

Drupal 7 is official released !!

By BXTra | 4:21 PM PST, Wed January 05, 2011
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
  • Read more about Drupal 7 is official released !!
  • Add new comment

Drupal 6.20 released

By BXTra | 5:51 PM PST, Wed December 15, 2010
Drupal 6.20, 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. Download Drupal 6.20 Here
  • Read more about Drupal 6.20 released
  • Add new comment

Use .htaccess on subfolders with Drupal

By BXTra | 6:48 PM PST, Mon November 08, 2010
Drupal
My objective is to protect XCache Admin directory under drupal website. The build-in authentication by XCache doesn't work correctly with mod_fcgi setup. I have no idea why. (It works perfectly with mod_php) So, I just tried to use .htaccess and .htpassword to protect that XCache Admin directory instead.
  • Read more about Use .htaccess on subfolders with Drupal
  • Add new comment

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

By BXTra | 12:49 AM PDT, Thu October 28, 2010
Drupal
Views

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:

  • Read more about Drupal 6 + Views 2 : Created similar node based on Node Title
  • 1 comment
  • Add new comment

Drupal 6.19 and 5.23 released

By BXTra | 3:07 AM PDT, Thu August 12, 2010
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:
  • Read more about Drupal 6.19 and 5.23 released
  • Add new comment

Drupal 6.17 released

By BXTra | 10:51 PM PDT, Wed June 02, 2010
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.
  • Read more about Drupal 6.17 released
  • Add new comment

Display IP Address for all comments in Drupal 6.16 - 6.20

By BXTra | 8:39 PM PDT, Wed March 17, 2010
Drupal

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
  • Read more about Display IP Address for all comments in Drupal 6.16 - 6.20
  • Add new comment

Drupal 6.16 and 5.22 released

By BXTra | 8:03 PM PST, Wed March 03, 2010
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
  • Read more about Drupal 6.16 and 5.22 released
  • Add new comment
Pagination
  • Previous page ‹‹
  • Page 3
  • Next page ››
Subscribe to Drupal

  • Will the router get the Openvpn as a client option?
    6 years 11 months ago
  • cancellation
    7 years 1 month ago
  • Router ASUS RT-N12 D1 tomatoes passwort falsch
    8 years 8 months ago
  • WPS button = 30/30/30 hard reset button
    8 years 8 months ago
  • Save my day!
    9 years 3 months ago
  • How to
    9 years 5 months ago
  • Can i still access my modem (the one with the ISP provided)?
    9 years 5 months ago
  • A saving step!
    9 years 10 months ago
  • Problem with Asus n12e-c1
    9 years 11 months ago
  • don't use Hostgator
    10 years 1 month ago

© 2007 - 2023 BXTra.net. All Rights Reserved. 
Certain other content, photos and artwork displayed on BXTra.net are protected by copyright and are the property of their respective owners.

Privacy Policy