Closed (outdated)
Project:
Token
Version:
6.x-1.17
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Jan 2012 at 23:51 UTC
Updated:
24 Apr 2024 at 18:49 UTC
Jump to comment: Most recent
I'm doesn't understand anything… I have 2 tokens for 2 cck fields: for cck image path and cck text field.
If they are situated in the node text like this:
[token node field_image-filefield-filepath]
[token node field_name-raw]
they work as supposed:
John Broun
sites/default/files/imagefield_default_images/image.png
but if i change them like:
[token node field_image-filefield-filepath]
[token node field_name-raw]
Then second token (name) disappears:
sites/default/files/imagefield_default_images/image.png
For some reasons version 1.18 doesn't output node text atall if there is any of those tokens... The way i tested 1.18 — just replacing an old module directory with a new without running update.php, but I don't think that this is the matter.
P.S: Sorry for my english :-)
Comments
Comment #0.0
4abv commentedAt first i thought, it happens only when first token reffers to emty cck field (or just incorrect). But described situation just killed me.
Comment #1
4abv commentedThe problem desappearing when turning off pathauto module
Comment #2
4abv commentedI had to delete code on line 131 in pathauto.module:
Comment #3
4abv commentedBut then, pathauto doesn't work
Comment #4
4abv commentedOk, i extricated myself from this situation by changing
on line 133 pathauto.module (version 6.x-1.6) to:
So now, pathauto doesn't affect tokens inside node text
Comment #4.0
4abv commentedAdding text
Comment #5
bluegeek9 commented