Hello,

I am trying to get the following to work: [parent-vocab]/[parent-title]/[title-raw]

The /[parent-title]/[title-raw] part works fine but no parent-vocab is returned, the same goes for parent-term. I.e. the path is rendered as a literal string - http://www.mydomain.com/[parent-vocab]/widget-fun-parent-title/widget-fu...

TIA,

Justin.

Comments

liquidcms’s picture

[parent-title] doesnt work at all the first tim ei save a child node - i get



    * warning: Invalid argument supplied for foreach() in C:\Inetpub\websites\freel\modules\node\node.module on line 521.
    * warning: implode() [function.implode]: Bad arguments. in C:\Inetpub\websites\freel\modules\node\node.module on line 525.
    * user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 query: SELECT n.nid, n.vid, n.type, n.status, n.created, n.changed, n.comment, n.promote, n.sticky, r.timestamp AS revision_timestamp, r.title, r.body, r.teaser, r.log, r.format, u.uid, u.name, u.picture, u.data FROM node n INNER JOIN users u ON u.uid = n.uid INNER JOIN node_revisions r ON r.vid = n.vid WHERE in C:\Inetpub\websites\freel\includes\database.mysql.inc on line 172.

however, if i edit and submit again; this tmie it knows the title and works fine.

liquidcms’s picture

oops.. my issues are with auto_nodetitle not pathauto - although i suspect similar problems

John Bryan’s picture

Try using the "[parent-title-raw]" variant as "[parent-title]" is the processed node title and processing only happens during submission i.e. after token module does it's replacement work.