Are you aware of that using the inlinePubList plugin increases the hitcount of the publications displayed with the inlinePubList?
Everytime the inlinePubList is displayed, it increases the connected publications' hitcounts as a separate view. Is there any way of avoiding this?
Posted: 17.07.2004, 04:58
rank:
12
registered:
March 2009
Status:
offline
last visit:
Posts:
0
Interesting. Try adding "updateHitCount=false" without the quotes as an attribute of the inlinePubList element and see if that changes things. I took a very brief look at it and getPubFormatted defaults updateHitCount to true unless it is given the value.
If the does in fact get rid of the hit count, we might want to consider altering the inlinePubList code. But we need confirmation that this really is a problem and that there is a solution.
Posted: 17.07.2004, 05:08
rank:
12
registered:
March 2009
Status:
offline
last visit:
Posts:
0
That is not going to work. You are going to need to alter your copy of pagesetter / pntemplates / plugins / function.pagesetter_inlinePubList.php .
My copy is from current cvs. At line 54 we are calling getPubFormatted on each publication. We need to tell that function to not increment hit counts.
It is late and I am not thinking things through. My apologies.
What I forgot to say was to be sure and report your findings back to the forum since I have not tested this... and in my current state of mind that is a very good thing. :o
Posted: 17.07.2004, 12:27
rank:
12
registered:
March 2009
Status:
offline
last visit:
Posts:
0
Yes, this works :)
Posted: 17.07.2004, 21:27
rank:
12
registered:
March 2009
Status:
offline
last visit:
Posts:
0
Hello,
this is something I have already noted in another thread http://www.elfisk.dk/modules.php?op=modload&name=XForum&file=viewthread&tid=976#pid3236
Quote
J?rn, if you left the default value to true, there is other places where you need to set it to false namely inlinePublist plugin and maybe other places that I missed
but aparently it wasn't corrected. But this is my fault, should have filled a bug report !!
Posted: 17.07.2004, 22:31
rank:
12
registered:
March 2009
Status:
offline
last visit:
Posts:
0
Thanks for the info. I will put it in the 5.0 release.