link list-plugin and exit-tracking
-
stm999999999
- Regular
- Posts: 1531
- Joined: Tue Mar 07, 2006 11:25 pm
- Location: Berlin, Germany
- Contact:
link list-plugin and exit-tracking
The links in the plugin "link list" are not infected by the Serendipity Exit-Tracking Routine
It would be nice to track these links, too.
Ciao, Stephan
-
mgroeninger
- Regular
- Posts: 546
- Joined: Mon Dec 20, 2004 11:57 pm
- Contact:
This might be simple or difficult. If Garvin can recommend a simple way to call the track exits plugin on the finished html data from linklist (like an event hook or even a function) before it is output, that would be simple (though it will slow down the page).
If there is no way to do that, I think it would be pretty difficult to apply the markup to the linklist plugin.
I'd like to see if Garvin weighs in before I look any further into this.
If there is no way to do that, I think it would be pretty difficult to apply the markup to the linklist plugin.
I'd like to see if Garvin weighs in before I look any further into this.
Matthew (Feeling generous?)
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Yes, you would need to call the 'Frontend_display' hook on the data which you previously need to wrap in en $entry['body'] function.
The question would be how to treat those links. As "entry body", "extended body", "comment body", "staticpage" or "html nugget". As you know, each markup plugin would then be executed here and depending on which plugin is enabled for which "block", this would produce different output.
I think "html nugget" comes closest to this. So if Track Exits is enabled for HTML Nuggets, this should work then.
Thoughts?
Best regards,
Garvin
Yes, you would need to call the 'Frontend_display' hook on the data which you previously need to wrap in en $entry['body'] function.
The question would be how to treat those links. As "entry body", "extended body", "comment body", "staticpage" or "html nugget". As you know, each markup plugin would then be executed here and depending on which plugin is enabled for which "block", this would produce different output.
I think "html nugget" comes closest to this. So if Track Exits is enabled for HTML Nuggets, this should work then.
Thoughts?
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
stm999999999
- Regular
- Posts: 1531
- Joined: Tue Mar 07, 2006 11:25 pm
- Location: Berlin, Germany
- Contact:
-
mgroeninger
- Regular
- Posts: 546
- Joined: Mon Dec 20, 2004 11:57 pm
- Contact:
Cool... I should have a chance to play with this this weekend. I agree that the "HTML Nugget" type makes the most sense for the linklist processing...
And I will add an option to linklist so that the processing is optional.
And I will add an option to linklist so that the processing is optional.
Matthew (Feeling generous?)
-
mgroeninger
- Regular
- Posts: 546
- Joined: Mon Dec 20, 2004 11:57 pm
- Contact:
Ok, version 1.13 of the plugin has a configuration option (when you are output with either CSS List or Plain CSS) to enable markup. All the markup which is enabled for HTML Nugget will be applied. It seemd to work on my beta install, but please let me know if you have any problems with it.
Matthew (Feeling generous?)