[support] node_load in Drupal 7

Joel Willers joel.willers at sigler.com
Tue Jan 24 14:56:06 UTC 2012


I’m using Pathauto. It does annoying things like removing the periods in titles, so Dr. Martin L. King, Jr. turns into dr_martin_l_king_jr which, then, can’t be used as a Title Argument in Views. Every avenue I’ve explored so far has been a bit of a failure.

Joel

From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Ms. Nancy Wichmann
Sent: Tuesday, January 24, 2012 8:20 AM
To: support at drupal.org
Subject: Re: [support] node_load in Drupal 7

Pathauto?

Nancy

Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.

________________________________
From: Joel Willers

I’m trying to create a page that accepts the title of a content type as an argument: example.com/type/title_of_node/option<http://example.com/type/title_of_node/option> and I want to be able to have the node editable on each of the options pages.

For instance:
example.com/type/title_of_node<http://example.com/type/title_of_node> will show the base node.
example.com/type/title_of_node/images<http://example.com/type/title_of_node/images> will show the description, plus an image gallery of all associated images, with the ability to edit the node.
example.com/type/title_of_node/videos<http://example.com/type/title_of_node/videos> will be similar, showing video gallery, with the ability to edit the node.

I can’t send the node ID, it has to be the node title. Any other thoughts for a solution?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20120124/9e6e61d5/attachment-0001.html 


More information about the support mailing list