Closed (won't fix)
Project:
Twitter
Version:
6.x-3.0-beta9
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Dec 2011 at 22:21 UTC
Updated:
17 May 2013 at 06:59 UTC
The character counter does not show for me at all. Can anyone give me some guidance?
Also, how does the character counter stay accurate if I am using tokens? A six character token could expand to more or less characters. Does the counter take this into it's calculation?
Thanks.
Comments
Comment #1
dpearcefl commentedHave determined that the counter does show because of some issue in my custom theme.
However I still have my question about the character counter and tokens.
Comment #2
steinmb commentedDon't now exactly how this is done. Being lazy so have not read the code. I'll guess is (I might be wrong), tokens are expanded on node save/preview since it also might include the current node title. Have a look at this old but still valid issue #369224: Long post titles shoud be shortened so the URL is never omitted.
Comment #3
dpearcefl commentedI'm talking about the character counter that is used while the node is being edited. Having looked at the code, it looks to be counting the characters in the token itself and is NOT counting the expanded value. Therefore, when using a token, the character counter would seem to be useless.
Comment #4
steinmb commentedSeems that way to me too. So to make this work the counter code needs to check the length of those tokens by doing some AJAX trickery or similar? @juampy if you read this, pls share your view thoughts on this issue.
Comment #5
davidneedhamBefore working on this we need to make headway on #1441596: Add support for tokens module on twitter post..
Comment #6
dddave commentedThis branch is no longer supported. If this issue is still relevant feel free to reactivate it against relevant version.