This module does exactly what I need, but some things I would like to customize to my needs.
1. I would like to place "watch this post" toggle link wherever I want in my node.tpl.php file
2. The way list of watched posts is sorted doesn't make sense to me (default - "Post Added"), I think it should be sorted as default by "Last Updated" column, it's more intuitive. I actually don't want to display "Post Added", so for me it's a must
3. Text link "You are watching this post, click to stop watching" is to wordy, I need only clickable custom icon, but obviously some will prefer to have icon+text or maybe only text link
I decided to make a patch against 6.x-1.3 version (I can make it for dev if needed) that will for now:
1. add option on watcher config page "I will place "watch this post" toggle link in template file myself."
2. sort watched posts by "Last Updated" by default and add option to hide "Post Added" column
I will try to find good solution for number 3 ass well ;)
I also think that it would be good to use only one image with all icons known as CSS Sprite Technique to decrease number of requests and make website load faster.
I'm happy to make necessary changes :)
Tell me guys what do you think? @solipsist is there any chance to include it?
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | watcher_addons_1.patch | 3.49 KB | Plazmus |
Comments
Comment #1
Plazmus commentedComment #2
rahim123 commentedHi there, could you possibly give me some simple instructions to place the Watcher link at the bottom of the page on advanced_forum near the post editor?
Thanks a lot!
Comment #3
logik commentedsb56637: I don't think it's the prettiest way, but I generated the watcher link in my template like this:
Comment #4
Plazmus commentedCode needed to display link (it is in patch if you look closely):
global $watcherlink; print $watcherlink;Comment #5
Donaldd commentedHi,
Can I also use this patch to place the watch-link in panels?
I really need this module but I'm not able to display the link within panels and I already tried almost everything.
Any suggestions for this noob? :p
Many thanks,
D
Comment #6
edmonkey commentedVery useful patch. +1
If the strings should be editable via module settings that would be great
Comment #7
Toxid commentedI have overridden watcher strings with the string override module.