Closed (fixed)
Project:
Similar By Terms
Version:
5.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Jan 2009 at 01:43 UTC
Updated:
17 Feb 2009 at 02:20 UTC
I'm trying to use the block configure setting "Show block on specific pages" feature with the "Show if the following PHP code returns TRUE" radio button selected and doing a conditional that checks if the $node->type=='product' which works for other blocks but not this one. Again i'm using my conditional on other blocks without issue. Just seems to not work with this module's block. If I figure a workaround I'll post it here but it would be nice to use this as it's supposed to be used.
Comments
Comment #1
rmiddle commentedI don't do anything strange in the block display area. I have no idea why that code doesn't work.
Thanks
Robert
Comment #2
mteipe commentedRobert, Thanks for the quick response! I found a workaround that I put inside the function theme_similarterms function:
(also note that i've completely re-coded the function and output to coincide with my Ubercart catalog grid view)
Great module thank you!
Comment #3
rmiddle commented