Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
lam_article_info (display live word count, link, id of edited article)
download here : lam_article_info v0.1
not much to it and probably not useful to most people but i just wanted to play around with jquery.
basically like zem_article_info, except this plugin provides live word count update as you type, permalink, and displays the current article id. (link and id don’t show up until you actually save the article of course)
Last edited by iblastoff (2008-01-09 09:57:34)
Offline
#2 2008-01-09 13:04:07
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: lam_article_info (display live word count, link, id of edited article)
Nice. The info this plugin provides is on the scale of other interface option on the write page not very important, so would it be better placed at the foot of the page under last modified. Otherwise, imo, it tends to clutter the page.
Thanks for good work.
Lee
Offline
Re: lam_article_info (display live word count, link, id of edited article)
I see something that can drag bottom border of your body textarea – how did you do this?
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
Re: lam_article_info (display live word count, link, id of edited article)
I see something that can drag bottom border of your body textarea – how did you do this?
Cheers!
Offline
Re: lam_article_info (display live word count, link, id of edited article)
Another excellent plugin. Thanks
Offline
Re: lam_article_info (display live word count, link, id of edited article)
the_ghost wrote:
I see something that can drag bottom border of your body textarea – how did you do this?
i used this guy (although i think i like drupals simple opacity dimming effect and might ‘rip’ it from there)
slapped it into a quick plugin and voila.
if you already use hak_tinymce it has built-in resizing as well.
Last edited by iblastoff (2008-01-09 17:22:38)
Offline
Re: lam_article_info (display live word count, link, id of edited article)
Nice job Steve!
Another little item that would be nice to see in the core.
Thanks!
Offline
Re: lam_article_info (display live word count, link, id of edited article)
When installing it shows strange help …
Some improvements:
- Add title to body and excerpt words counters – Something like “Amount of words in body” and “Amount of words in excerpt”. Little but pleasent thing for users with bad memory
- If you can – take out all language-sensetive output strings to one place. Because it’s much easier to translate such plugins…
- Ability to count symbols instead of words would be nice :)
P.S. It seem’s RegExp of plugin doesn’t like textile? Look this screenshot. Sorry for russian text, bit you can see that it counts wrong :)
Last edited by the_ghost (2008-01-10 00:07:08)
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
Re: lam_article_info (display live word count, link, id of edited article)
the_ghost wrote:
When installing it shows strange help …
Eeek, that’ll probably be my fault: the plugin composer playing up, sorry.
@iblastoff: Have you got the latest version installed? In fact, wait 5 minutes and I’ll have a new version up… Just put a new version up. See the link below for the fix, sorry for the inconvenience.
EDIT2: Fixed the Plugin Composer to get rid of the odd help markers. Thanks for spotting this, guys!
Last edited by Bloke (2008-01-10 09:26:06)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: lam_article_info (display live word count, link, id of edited article)
- instead of using
<div style=\"display:inline;\" id=\"lam-word-excerpt\"></div>
you can use<span id=\"lam-word-excerpt\"></span>
– no need to define block as inline element if there is institutional inline elementspan
- Thinking more…
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
Re: lam_article_info (display live word count, link, id of edited article)
thanks the_ghost. they were originally divs for another reason. feel free to change whatever you want obviously. either way the plugin is updated.
Last edited by iblastoff (2008-01-11 20:18:18)
Offline
Re: lam_article_info (display live word count, link, id of edited article)
Hi,
the download link is broken.
Visit my Textpattern sites:
Northerndelight | Hasenbude
Curiculum Vitare | Rezepteblock
Offline