pathauto

Events happening in the community are now at Drupal community events on www.drupal.org.
comerer's picture

Drupal 8, Pathauto - Content type pattern the token for taxonomy term parent is missing

Hi,

The whole question is in the title.
Will elaborate bellow.

Need to create an automated alias pattern based on the taxonomy structure that includes Term parent + term + node title.
Presently, when creating a new pattern based on the content type there is no token that reflects taxonomy term parent.

Same token do exist when creating a pattern based on the taxonomy terms ([term:original:parent:name])

The question is very simple:

How do I create a node aliase based on the content type that reflects the whole structure of the Taxonomy (term parent + child).

Read more
velvetpixel's picture

Losing my mind with tokens

I am super stuck on a token issue and any pointers would be much appreciated!

I am using pathauto to build my nested taxonomy term URLs which needs [node:field-tags:parents:join-path] and am having a problem on my main site vs my default install testing site.

I on the bare bones testing site I have pathauto and Entitiy Tokens installed and see [node:field-tags:parents:join-path] in replacenet patterns for pathauto in tokens for nodes:

Tags [node:field-tags]

All parent terms [node:field-tags:parents-all]
Description [node:field-tags:description]

Read more
mehmet21's picture

[cözüldü] Sayfa basliklari kategorilerle beraber gösterme

Merhaba arkadaslar,
araniza yeni katiliyorum. Kisa bir süredir Drupal ile ugrasmaya basladim ve gercekten sahane bir sistemdir.
Bir sorum olacakti.
Sayfa türlerinde bir cok kategorum var.

cat
- cat 1
- cat 2 vs.

örnegin cat 1 e ait bir cok icerik var. Bu iceriklerin URI'lerini nasil cat/cat1/node-title olarak gösterebilirim.

Pathauto modülü ile bu mümkün degil.

Tesekkürler
Mehmet

Read more
JSCSJSCS's picture

Suggestions to make Views Menu Tab content URL human readable

Using PathAuto and when displaying a node, the url is human friendly as in:
example.com/article/article-title

Now when I add a view as a menu tab to the node, the view path must be in the form:
node/%/premium-content

Where % is the contextual filter of "Content: Nid" in order for the menu tab to display next to the "View" menu tab for the node.

The trouble I have is that because the view path must be in this particular form, the url of the content when the "Premium Content" menu tab is clicked looks like this:

example.com/node/xxxx/premium-content

Read more
göran's picture

Fel sökväg till bilder i WYSIWYG

Har skapat en node-type som heter "Hspalt"

Under menyn: Hem » Administration » Konfiguration » Sök- och metadata » URL-alias, på node-typen: "Pattern for all Hspalt paths:"
lägger jag in följande: "spalt/[node:title]"

Alla bildlänkar i noden får därefter fel adress. Kan tillägga att noden svarar "rätt" på url: sidansnamn.com/spalt/"NodeNummer|el. NodeNamn"

SAMMA FENOMEN med bildlänkar i ett block, som man sen "monterar" via Panels Everywhere.

Read more
Ruidodemente's picture

Pathauto no funciona en drupal 7

Hola a todos les cuento que empece a utilizar drupal 7 y todo de maravillas hasta que instale pathauto... trato de encontrar la parte donde ponia url automaticas y directamente no me sale ya probe desinstalar el modulo y volverlo a instalar... y nada alguien sabe que puede estar pasando¿?

Read more
jshock's picture

Page Title vs Node Title

I am somewhat confused by the difference between Page Titles and Node titles. I have a Node Template set up in Panels for specific content types. I've deleted $title from my page.tpl.php and am using a node template to place it in the content. The problem I am having is that when I use the "Node being viewed" title I get the correct title for all the pages EXCEPT the Home page (which is set for node/1). The home page title comes up as "Home" even though that isn't the page title.

Read more
protoplasm's picture

Using OG pathauto with shared content types

I have an established community based on the latest 6.x. A while ago we added OG and have a handful of groups that share the same content types with the rest of the site. The groups are not in a subdomain like groups.drupal. I'd like to distinguish the groups using pathauto and the ogname token. The only problem is that an empty ogname token will give me two // for the rest of my site's content types that aren't in OG. Any thoughts on how to best deal with this?

Thanks in advance.

Read more
inservioweb's picture

Making your site SEO friendly

Recently I decided to start answering commonly asked questions on Drupal SEO via blog posts, and I hope this is the place where I can share them with you. The first one talks about usage of pathauto, pathredirect, globalredirect, pagetitle, nodewords modules. Screen shots of modules are provided. Link to first article: Making your site SEO friendly: Part 1

Read more
freshness's picture

Drupal 7, pathauto fungerar endast på standard språk

Hej,

jag har gått över till Drupal 7 och vill få till läsbara url:er som är språkbaserade. Jag har ny content type som heter News som kan skrivas på tre olika språk. Engelska (standard), Svenska och Tyska. Enligt konfigurationen i pathauto skall urlen bli följande.

EN - [node:language]/news/[node:title]
SE - [node:language]/nyheter/[node:title]
DE - [node:language]/nachrichten/[node:title]

Detta fungerar bra på EN. Men när jag skapar en svensk eller tysk nyhet blir url:en node/7 eller liknande.

Drupal 7
Pathauto 7.x-1.0-alpha2
Token 7.x-1.0-alpha3

Tacksamm för svar.

Read more
Subscribe with RSS Syndicate content