Using NAT and loving it -- except when I have any sort of punctuation in my page titles - which are then transferred to the taxonomy term created from that node.

Problem is this -- in the views I created , in the arguments section, I call on the url for a node, which is named via Automatic Alias Settings, and pull out the title of the node from the url of the current page and then have the view pull whichever nodes have a taxonomy term matching the name of the current page. Gosh - did that make any sense at all??

ANYWAY -- when the node is created and autonamed, it takes out all punctuation --
example -- This is my page title's problem
and the url saves /this-is-my-page-titles-problem
and the taxonomy saves 'This is my page title's problem'
SO -- the view doesn't find the node tagged with the taxonomy term because of the ' in the term.

Is there any way for me to filter out punctuation in the terms created by NAT??

Thanks for any insight --
Joanie

Comments

derevo’s picture

Not sure if you've figured this out yet, but I had a similar problem with punctuation in titles and views, although I am using Drupal 7. The answer I found was to use Page Manager to override the default page for the node so that it can pull the node's context (mainly the nid), and then use panels to apply the nid to a views content pane.

You can create a content pane in views and tell it to have an argument of "nid" then tell it to pull that argument from it's attached panel context. That way, views is matching the content based on the nid, rather than the title. I also was only pulling content titles, not taxonomy terms, so I'm not sure that you'll be able to take what I'm saying word-for-word, but maybe it's a good start.

I made a step-by-step guide for the way I did it, on my website (again, in Drupal 7 and only content titles, not taxonomy terms). So you can check that out if you'd like.
http://derevodesign.com/blog/drupal-content-by-title-punctuation-views-and-pathauto

I really hope that helps!

lawrence@web’s picture

hmmm is there a solution for version 6?