Closed (works as designed)
Project:
Who Bought What|Ubercart
Version:
6.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 Aug 2010 at 04:03 UTC
Updated:
28 Dec 2010 at 18:52 UTC
Comments
Comment #1
cayenne commentedYeah, that might be an interesting block to add. For now, I just use a standard block with some PHP code. Here is the code I use to show who is signed up with what boat in a given item. You can modify with a COUNT query easily.
Comment #2
cayenne commentedFor your purposes. something like this:
Comment #3
kayusee commentedThanks for the code. Please where does this code go in the module?
Comment #4
cayenne commentedPaste that into a block with the PHP option set as the input format.
Comment #5
BManuel commentedthanks guys :)
Comment #6
kayusee commentedThank you for your response. I went into admin > Blocks > Add Block and created a new block and inserted the code in the PAGES field and checked "Show if the following PHP code returns TRUE (PHP-mode, experts only)". While the block showed on the front page, with block title and block body, nothing else shows up for number of buys on the block, after I made a test purchase on a product. Did I miss something? Please help.
Comment #7
ricesteam commentedJust tried the above two code snippets in a new block and like kayusee, it does not work.
Does not display anything.