Needs work
Project:
Page Title
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
15 Oct 2010 at 20:45 UTC
Updated:
3 Oct 2014 at 11:01 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dave reidPatch summary:
So sorry that it's not quite that easy to drop the dependency on Token module for D7, but we do want to help provide everyone with as much re-usable code that we can hopefully get into core for D8.
Comment #2
dave reidAdding tag...
Comment #3
nicholasthompsonCommited to DRUPAL-7--2. Thank you so much for the patch. MUCH appreciated!
Comment #4
dave reidSome small follow-ups that somehow didn't make it into the original patch:
1. Support using vocabulary tokens on the forum container page title
2. Token replacement should request the unsanitized tokens since it applies filter_xss() later.
Comment #5
nicholasthompsonIs there a coding preference amongst the community for comma's at the end of in-line arrays? http://drupal.org/coding-standards#array doesn't seem to state either way (apart from the example not having one)
Eg
vs
Sorry if it seems picky - but I just noticed a few lines of that patch which only seem to change the trailing comma.
Comment #6
dave reidIf your array is on one line and less than 80 characters long, it's the code standard to not use a trailing comma. But if you have a long array with each element on a separate line, you're supposed to use a trailing comma. It's detailed exactly on http://drupal.org/coding-standards#array
Comment #7
pillarsdotnet commentedRe-rolled with some additional fixes:
Comment #8
pillarsdotnet commentedMore of the same.
Comment #9
nicholasthompsonAh I just applied the patch from #7 and refreshed here to reply... What changed between #7 and #8?
Comment #10
pillarsdotnet commentedInterdiff is your friend.
Comment #11
nicholasthompsonOooo Interdiff! Handy!
Comment #12
nicholasthompsonCommitted - thanks for the work - much appreciated!
Comment #14
porg commentedDear maintainer: Could you please add a short info concerning Drupal 7 and module dependency to the project page so that not every ordinary user must snoop through the issues queue, in order to get that basic info. Thanks! Something like:
Comment #15
pillarsdotnet commented@porg
You either need to re-open this issue (change its status to "needs work") or preferably, open a new issue and then add a comment here that links to it.
Comment #16
porg commented