Active
Project:
CCK Signup
Version:
6.x-1.0-beta2
Component:
Basic configuration feature
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
21 Jul 2011 at 13:29 UTC
Updated:
19 Nov 2012 at 18:09 UTC
Great module, works exactly how it should and is perfect. I am wanting to hide the sign up when the even is full, this could be as easy as doing a conditional test, and changing the behavour. It could also be done by wrap a div around the 'Signup' link. Then from CSS I can easily hide the event from the user.
Thank
Comments
Comment #1
AmandaGal commentedDid you figure out how to do this? If so, do you mind sharing?
Comment #2
hayskelly commentedI overrode the node.tpl.php and used php to test the node variable (if_signed_up > spots_available). If it was, I gave the div a class and hid the class in css, I also gave them a link to a webform where they could sign up for a newsletter. I'm sorry that I don't have the code with me, but that was the generally idea.
Comment #3
fboulangerhello Hozzy, have you got a peace of code for doing that please ?
Comment #4
bsandor commentedHi guys,
As CCK Signup half made with Features is there a module that hides this link for us?
Comment #5
bsandor commentedWhat's the name for this links are? I don't find it...
Comment #6
bsandor commentedAlternatively it can show: 'no more X left'. Where X can be configurable text by each singup nodereference.
Comment #7
bsandor commentedOr: 'Event is Full'
Comment #8
sixeightnate commentedIs this still the best way to go about this? I'm not sure where to change the code or what code to use. I am trying to hide the signup link when an event is full.