view hooks (handler for auction expiry)
| Project: | Ubercart Auction |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Hello Garrett,
I was trying to read through the view hooks that you wrote and got a feeling from the way the handlers have been written that if I create a custom view, I should be able to see the active expiration countdown timer based on js there as well. That was my assumption after reading the "uc_auction_handler_field_expires.inc" file. Is the assumption incorrect? If not, is there a way I can enable this?
I have been trying to implement views theming and have modified the entire look and feel of the page. My initial hope was that I could just replicate what you've done in the node/% callback to implement the timer but while reading through the views files, it seems you've already coded what I was planning to implement but somehow it isn't showing up.
p.s. Javascript is already enabled in the views
Ravdeep

#1
I believe you're saying you want the expiration date and times as displayed in Views listings to update as they do for the standard product pages, right?
No, I haven't done anything special to enable this, though it shouldn't be impossible. You'll need to tweak, replace or supplement UC Auction's standard JavaScript file, though.