Posted by vstmusic on September 2, 2009 at 5:17am
Jump to:
| Project: | Automatic Nodetitles |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (won't fix) |
Issue Summary
Hi,
I have a problem when I use this character in a taxonomy term : '
This character, when I put the taxonomy term token in the node title is translated by '
For example, the taxonomy term L'auberge is translated by L'auberge in my node title.
I don't have problem with others stpecial characters, and I test all available token (formated, raw...).
Can you help me ?
Comments
#1
Please, no idea ?
#2
For me both characters look equal?
#3
I have problems mit the "&" chars in taxonomy terms + autonodetitle. It will display a ""&"
Can you look into it?
#4
I guess the OP meant the character is replaced by an HTML entity. As he wrote the code without to escape the entity, it was shown from the input format as normal character.
Isn't this caused by the tokens that are passed to
check_plain()?#5
Oh sorry, "&" appears as
&How can i check this, kiam?
#6
As noted in the description text, you should use raw tokens. If the token is raw, the characters are displayed correctly (= check_plained() once).
#7
Automatically closed -- issue fixed for 2 weeks with no activity.
#8
reopening it.
What if there are no -raw values available, like for example tokens coming from locations? Is this tean a token issue or a locations issue?
#9
It is an issue of the module that provide the extra tokens without to provide a raw version.
#10
I have the same problem as #3, with a simple PlainText field in Drupal 7. Only "&" and "'" give a problem, all other accents like "ø" are fine. Since it concerns a core field type, should I request a raw-token over there?
#11
wrong version.
#12
For future reference, I have solved it like this:
My field 'field_name' = 'foo&bar'.
Using token [node:field-name], the result is 'foo&bar'. (a straight text field does not have alternative tokens.)
The correct value appears when setting
- 'Evaluate PHP in pattern.' = Yes
- 'Pattern for the title' =
<?phpreturn $node->field_name[$node->language][0]['value'];
?>
#13
#12 not working for me. The
'and&still show as'and&.I'm using a clean install of Drupal 7.8
Can anyone verify this? Thanks
By the way, 'raw' tokens don't exist any more in the latest Token module for Drupal 7, so that's not a solution.
Hope this issue gets resolved soon, makes this module useless for me.
#14
Drupal 7.8
Automatic Nodetitles 7.x-1.0
Token 7.x-1.0-beta6
I was having this same problem on a plain textfield value with names like
O'BrienThey were auto-titling as
O'BrienI tried #12 and it worked for me.