Closed (fixed)
Project:
Web Links
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
10 Aug 2008 at 01:16 UTC
Updated:
21 Apr 2009 at 03:53 UTC
Jump to comment: Most recent file
One also has to get used to the fact that there appear to be two elements created for each web link, a link and a node. Clicking on a web link is not the same as viewing the node as when editing it. This means that by default the new web links show on "Recent posts" but only shows on "Popular content" when it has been edited a number of times. Since there is a separate Popular Web Links block it may be something you don't want to show on the Popular content view and that view can be edited. Likewise, since there is a recent web links block you might not want to show the web links on the Recent posts view and this view also can be easily edited.
| Comment | File | Size | Author |
|---|---|---|---|
| #16 | weblinks46.patch | 18.9 KB | nancydru |
Comments
Comment #1
nancydruI wonder if hook_view might take care of this somehow?
Comment #2
rmiddle commentedNot really. The URL doesn't work because there is no way to know when someone has clicked on a link with our current method.
Thanks
Robert.
Comment #3
nancydruYeah, that's what I'm saying, maybe we can use hook_view instead of our current method. I'll look into this, but it might be a big change.
Comment #4
rmiddle commentedI think adding in a new method and documenting that straight URL doesn't work. Maybe evening hiding those blocks when URL is set. I think the idea of a redirect url that people click on works best. Were all links have something like /weblinks/links/nid that simple does a redirect to the url stored. Not hard to do and would allow us to track every click.
Thanks
Robert
Comment #5
nancydruMarked as dupe: #312225: Getting internal weblinks url for count the click and avoiding stealing urls easily Good info and examples there.
Comment #6
summit commentedHi Nancy,
Any progress in this field please?
The good thing to go through the same as on http://drupal.org/node/312225 is that link-stealing is also less easy using this process-handling.
Thanks a lot again for going into this!
greetings,
Martijn
Comment #7
nancydruI started on this and got very confused and introduced problems into the module. Some of the code is still there. But Rmiddle says he will finish the click tracking part. Once that is done, the block is an easy change.
Comment #8
summit commentedGreat! Looking forward to this.
Thanks for your quick reply (as always :).
greetings,
Martijn
Comment #9
rmiddle commentedIt is going to take me some time to get this done I am working 80+ hours a week at my day job right now. Things should slow down mid Nov. then I will be able to start working on things that are just sitting there waiting for more time.
Thanks
Robert
Comment #10
summit commentedHi Robert, don't get a burn-out please, 80+ is a lot hours!
Thanks for your answer, and I'll wait for this.
greetings,
Martijn
Comment #11
rmiddle commentedSummit,
I am tiring not to burn out. This is kinda normal for my Job. We are in our xmas build right now. So by the time mid Nov. hits most everything for xmas is in place and work tends to die with only small project and the emergy stuff that needs fixed asap.
Comment #12
summit commentedHi,
Setting this to D6, and thus acticve, and Click tracking as this is the key to this.
Any progress in this field please Robert?
Thanks a lot in advance for your update!
Greetings,
Martijn
Comment #13
nancydruRobert is busy taking care of his grandmother for a little while.
Comment #14
summit commentedThanks for updating Nancy.
Robert, much energy and compassion for you on this task! I hope my grandchild will do the same once upon a time!
greetings,
Martijn
Comment #15
rmiddle commentedThis is on my short list now. I hope to have something ready sooner then later.
Thanks
Robert
Comment #16
nancydruPatch to 6.x-2.x attached. The theme is changed to show click counts, if a link has been clicked. The Popular block has two new options to show click count and last click date.
I'm sure you are disappointed that the module should be a bit smaller.
BTW, this uses the "goto" redirect method.
Comment #17
summit commentedHi Nancy, Will this be in the module patched. I tried patching this manually, but didn't succeed. Perhaps suggestion building seperate module for it, so it is possible to test it contained?
Greetings,
Martijn
Comment #18
nancydruBecause it is a relatively complex patch, I wanted some testing before I committed it, but maybe that won't happen.
Comment #19
nancydruCommitted to 6.x-2.x-dev. Note that node titles now always point to the node. The rendered URL or "Visit" will redirect if that setting is chosen.
Comment #20
summit commentedHi,
I confirm this is working, thanks for committing this!
I only see now default the click counting, also as anonymous user. Shouldn't it also be set by I setting if I want to show click counting like:
I see it is set in: weblinks-link.tpl.php
Greetings,
Martijn
Comment #21
EkaMei commentedAfter some basic testing I can confirm that it is working, however I will play with it a bit more and report any issue due to the complexity of this patch. Thanks again for providing this.
Comment #22
nancydru@Summit: We do theming so that you can change it any way you want.
Comment #23
summit commentedHi Nancy, ok no prob, I thought I give by findings here so theming is the way to go then!
Greetings, Martijn
Comment #24
nancydruCleaning up the queue.