Startseite
  • » Home
  • » Handbuch & FAQ
  • » Forum
  • » Übersetzungsserver
  • » Suche
Startseite › Forum › Drupalcenter.de › Module ›

Pathauto mit relativity kombinieren?

Eingetragen von jonas28@drupal.org (96)
am 08.10.2007 - 18:59 Uhr in
  • Module
  • Drupal 5.x

Hallo hat hier jemand Erfahrungen mit dem Modulen Pathauto und Relativity?

Ich würde gerne mit pathauto eine url mit folgendem Muster erzeugen:
www.example.com/parent/child

Beispiel-Szenario:

es wird ein Inhalt (Inhaltstyp: "projekt") mit dem Namen "projekt01" erstellt:

In den Moduleinstellungen von Pathauto wird folgende Einstellung vorgenommmen.
Pattern for all Projekt paths:
projekte/[title]

Darauf hin erhält der Inhalt "projekt01" die folgende url:
www.example.com/projekte/projekt01

Dem "projekt01" wird per relativity ein "child" (Inhaltstyp: "arbeitsgruppe") mit dem Namen "arbeitsgruppe01" zugewiesen.

Nun sollte "arbeitsgruppe01" am besten die folgende url bekommen:
www.example.com/projekte/projekt01/arbeitsgruppe01

Nun würde ich gerne In den Moduleinstellungen von Pathauto in etwa folgene Einstellung vornehmen:
Pattern for all Arbeitsgruppe paths:
projekte/[parent-title]/[title]

Nur leider gibt es meines Wissens in Pathauto leider nicht die Möglchkeit [parent-title] oder ähnliches als Variable einzufügen.

Hat da jemand eine Idee?

Gruß Jonas

‹ suche Portfolio-Gallerie mehrere panels auf einer seite? ›
  • Anmelden oder Registrieren um Kommentare zu schreiben

Pathauto kann mit Relativity kombiniert werden

Eingetragen von jonas28@drupal.org (96)
am 09.10.2007 - 10:22 Uhr

Seit dem Release der neuen Version (5.x-2.2)von Relativity am 3. Oktober 2007 werden neben anderen Änderungen nun auch die folgenden Variablen für das Modul Pathauto bereitgestellt:

[parent-nid]
Parent node ID
[parent-title]
Parent node title
[parent-type]
Parent node type
[parent-type-name]
Parent node type (user-friendly version)
[parent-author-uid]
Parent node author's user id
[parent-author-name]
Parent node author's user name
[parent-term]
Parent name of top taxonomy term
[parent-term-id]
Parent ID of top taxonomy term
[parent-vocab]
Parent name of top term's vocabulary
[parent-vocab-id]
Parent ID of top term's vocabulary
[parent-yyyy]
Parent node creation year (four digit)
[parent-yy]
Parent node creation year (two digit)
[parent-month]
Parent node creation month (full word)
[parent-mon]
Parent node creation month (abbreviated)
[parent-mm]
Parent node creation month (two digit, zero padded)
[parent-m]
Parent node creation month (one or two digit)
[parent-ww]
Parent node creation week (two digit)
[parent-date]
Parent node creation date (day of month)
[parent-day]
Parent node creation day (full word)
[parent-ddd]
Parent node creation day (abbreviation)
[parent-dd]
Parent node creation day (two digit, zero-padded)
[parent-d]
Parent node creation day (one or two digit)
[parent-mod-????]
All tokens for node creation dates can also be used with with the "mod-" prefix; doing so will use the modification date rather than the creation date.
[parent-menu]
The name of the menu the node belongs to.
[parent-menupath]
The menu path (as reflected in the breadcrumb), not including Home or [menu]. Separated by /.

Mit der Variablen [parent-title] war es mir nun möglich mein oben beschriebenes Anliegen umzusetzen und urls nach dem Muster www.example.com/parent/child mit pathauto zu automatisieren.

  • Anmelden oder Registrieren um Kommentare zu schreiben

Benutzeranmeldung

  • Registrieren
  • Neues Passwort anfordern

Aktive Forenthemen

  • Matomo(?) in Seite, aber Deinstalliert!
  • Upgrade Drupal 7 auf Drupal 9 / Inhalt erstellen zeigt nur Fehler an
  • Olivero veraendern
  • Fehlermeldung nach Update auf Drupal 10
  • Wie Button erstellen?
  • footnotes bei D10 und CKE5
  • ckeditor Bilder skalieren
  • Bild in welcher Form die Beschriftung!
  • Drupal 10 und Adaptive Theme 2.0
  • Drupal Commerce: Deprecated Module deinstallieren: CKEditor, RDF
  • [gelötst] Migration einer Seite von D8.9 auf 9 resp 10
  • Theme Olivero - Rand entfernen?
Weiter

Neue Kommentare

  • @onkel Bob,Erst mal
    vor 4 Tagen 23 Stunden
  • Prinzipiell geht das schon.
    vor 5 Tagen 6 Minuten
  • Rubi_2021 schriebWie genau
    vor 1 Woche 3 Tagen
  • Ok, war ein Versuch. ;-) Kann
    vor 1 Woche 3 Tagen
  • Danke
    vor 1 Woche 3 Tagen
  • Redest Du von dem
    vor 1 Woche 3 Tagen
  • Mit sticht das hier ins
    vor 1 Woche 3 Tagen
  • Mit welcher Version Drupal
    vor 1 Woche 3 Tagen
  • Bitte um Hilfe
    vor 1 Woche 4 Tagen
  • Fehler trotz Neuinstallation
    vor 1 Woche 4 Tagen

Statistik

Beiträge im Forum: 248796
Registrierte User: 19831

Neue User:

  • J. Berten
  • vohome
  • DerRalph

» Alle User anzeigen

User nach Punkten sortiert:
wla9333
stBorchert6003
quiptime4972
Tobias Bähr4019
bv3924
ronald3845
md3717
Thoor3678
Alexander Langer3416
Exterior2903
» User nach Punkten
Zur Zeit sind 0 User und 3 Gäste online.

Hauptmenü

  • » Home
  • » Handbuch & FAQ
  • » Forum
  • » Übersetzungsserver
  • » Suche

Quicklinks I

  • Infos
  • Drupal Showcase
  • Installation
  • Update
  • Forum
  • Team
  • Verhaltensregeln

Quicklinks II

  • Drupal Jobs
  • FAQ
  • Drupal-Kochbuch
  • Best Practice - Drupal Sites - Guidelines
  • Drupal How To's

Quicklinks III

  • Tipps & Tricks
  • Drupal Theme System
  • Theme Handbuch
  • Leitfaden zur Entwicklung von Modulen

RSS & Twitter

  • Drupal Planet deutsch
  • RSS Feed News
  • RSS Feed Planet
  • Twitter Drupalcenter
Drupalcenter Team | Impressum & Datenschutz | Kontakt
Angetrieben von Drupal | Drupal is a registered trademark of Dries Buytaert.
Drupal Initiative - Drupal Association