I've created a number of "back-end" web pages that are redirected to after a user goes through a Paypal transactin (eg "success" and "cancel" pages). However, these static pages show up in the "View recent posts" option (eg the tracker.module).
Does anyone know of an easy way off hand to tell tracker to ignore certain pages? I don't want these showing up in the tracker summary - as users clicking on the "success" and "cancel" pages causes watchdog entries and email notices to be submitted, etc...
I know I can set a node to "unpublished" - which should do it - but then the page is not useable as a redirect to - because it's "not published".
Any thoughts? I'm guessing I have to HACK the tracker.module to filter out unwanted nodes manually. TIA.
Comments
Patch to tracker.module (4.2.0 version) to hide content
I produced a very nasty hack to the tracker.module (based on the 4.2.0 tracker.module code). Ths patch will allow you to set content to be hidden by the tracker.module (eg the "recent content"). You can hide based on author, type of node, or title.
To hide content, modify the title_array(), type_array(), or author_array() arrays in the tracker_hide() function. If using a title, the title must match exactly. The code could be rewritten to use regex matching.
If I was enteprising enough (I'm not) I'd create an admin option that would allow input of hide content via the Administration section - which would store the content to be hidden in a DB table.
Examples of hidding content by title:
Examples of hiding content by author (*all* content will be hidden that is created by the listed authors):
Examples of hiding by type of node:
I think I had added this as a
I think I had added this as a feature request at one point -- the ability to configure which types of nodes would display in the tracker. I just hacked my local copy of tracker to filter the node types I don't want.
As well, adding an RSS feed to be generated from tracker (that would include comments as well) is on my to do list.