[support] Views and template: links are node/X but not alias.

KOBA | Hans Rossel hans.rossel at koba.be
Wed Nov 4 09:41:27 UTC 2009


Use global_redirect module if you would like to have always the node/x
redirected to the alias.

Make sure the language of text items is set correctly otherwise pathauto
will not work well. ie if you have only one language that is active in your
site it's better to leave the language of all items as "language
independant", check on /admin/content/node/overview what language your
content has. Change to language independant if needed with the plugin
http://drupal.org/project/languageassign.

Hans
www.koba.be


2009/11/4 Michel Morelli <michel at ziobuddalabs.it>

> Hi all. I have a view where retrieve the last 10 blog post. I need to
> retrieve this fields: title (linked to the blog post), post date, and
> teaser. I have make the view and it works, but not at 100%.  The problem
> is that the link in the title is "node/X" and not the alias created via
> pathauto. Pathauto is configurated and running (alias for node/X works).
> This is my template file
> (views-view-fields--categoriespage-fitness.tpl.php):
>
> --
Hans Rossel
KOBA Webdesign bvba
Beukenlaan 56
9051 Gent (Sint-Denijs-Westrem)
Belgium
BTW 0817.931.516
+32.9.334.52.60
+32.472.79.32.16
www.koba.be
info at koba.be
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20091104/aacf2f06/attachment.html 


More information about the support mailing list