All About Drupal

Post Questions, Post Answers. Talk all about the Drupal CMS.

Where do I add/alter hook_node_insert() ?

Hello,

I would like to add or alter either the hook_node_insert or hook_node_update function...not sure which to use. But I was following the answer on this code (http://drupal.stackexchange.com/questions/1068/how...):

  /**
 * Implements hook_node_insert()
 */
 function mymodule_node_insert($node) {
   if ($node->type == 'mytype') {
     $node->path['alias'] = 'mytype/' . $node->nid;
   }
 }

How to click a link, which is a record in a views table, and go to a different page

Hello,

I have a view which lists many records. The first column in in the table is set to link to the content.

The content itself has many fields including one which is a link that goes somewhere else.

Is there a way that when I click on the record in the views table I can go to the location where link listed inside of the content points to instead of the content the record is pointing to?

Thank you.

Looking for a freelance D7 dev, for a video-related project

This will be a Drupal 7 based project, which (upon completion) will need to have the following integration:

- our Akamai CDN (API available)
- Encoding.com (API available)
- Amazon S3
- Recurly (API available)

Weird "1" character after image cache image

Hi Everyone,

I am using image cache to serve up product images for my website. but it seems after every picture it puts a "1" which looks really weird. can someone please shed some light on why this might be happening and how to fix it? Thanks very much in advance

http://www.rubylace.com.au/testing/node/9

Views Slide Show - Need help with a strategy

I need some help with how to set things up so that I can use Views Slideshow in a Block on my front page. The purpose for this is to promote specific nodes that have been added to the site.

For example, if we added a new page promoting a men's retreat. I'd like the graphic in the node and the node title to be used on the Views Slideshow

Or if a sermon has been posted that we want to promote, then we'd like a standard sermon graphic from the sermon content type along with the node title to be displayed in the views slideshow.