Hi there,
i'm working on a small project involving a theatre; each venue have several shows and everyone of them need a exclusive registration entity.

I'm still build the view showing the table with all the registration entity associated to the specific show page with a simple entity reference.

Now I need to make available the links only to registration page that are OPEN.

Any tips? Really appreciate..

Comments

Funkwarrior’s picture

Maybe I can explain me better:
how it's possible to display a link to the registration form only if its status is OPEN ?

Thanks again!

mrpauldriver’s picture

Just to be clear. Can you say whether you want to link to entities where registrations are enabled OR where there are slots available?

Funkwarrior’s picture

Thanks for the reply Paul;
for now I need the link enabled only when the registrations are enabled; the ability to manage the slot available will be certainly useful but not necessary at the moment.

Thank you!

camorim’s picture

Hi

Many thanks for this flexible and interesting module.
I have a problem with filters similar to Funkwarrior. But I will try to explain a little more why I think this is a issue.

Using relationship Registration and Registration definitions, I can build my display selecting fields from registration related to the content and from definitions of each registration.
At filters, I'm using the content type that uses registration. So I want now filter also by "Open date" definitions registration to show only registrations active and open.
I see that definitions category and related fields don't show on filters section neither on contextual filters, only on fields section.

How can I filter the registrations by definitions state: open/ closed?
It's not convenient on a display block list all registrations events, open and closed.

Thanks a lot for your help and orientation on this issue.
cláudia

----
My installation:

  • Registration 7.x-1.0-beta3
  • Registration Entity Access 7.x-1.0-beta3
  • Registration Views 7.x-1.0-beta3
  • Entity API 7.x-1.0-rc3
  • Views 7.x-3.5
  • Rules 7.x-2.2
  • Drupal 7.14
solesum’s picture

Same issue -- need to filter my list down to only nodes that have enabled registrations. Using version 7.x-1.2.

nocean’s picture

Issue summary: View changes

Did anyone in the thread ever find a solution to this?

EDIT: As so often is the case, I should have just waited until *after* exploring further to comment :)

Here's a viable solution for anyone still looking:

In your View's fields, add: "Registration Settings: Registration Status"

Install the Views Conditional module, which allows you to output different things based on the values of other fields.

In your View's fields, add: "Views: Views Conditional"

Then:
If this field... = Registration Status field
Is... = Equal to
This value = Open

Then output this...

<a href="[path]">
  [field_date]
  [title]
</a>

Otherwise, output this...

<span>
  [field_date]
  [title]
</span>

Code above is obviously just an example, adjust seasoning to your taste. Also, set all fields (except the conditional field) to not display.

Hope that helps.

-Ryan

john.oltman’s picture

Version: 7.x-1.0-beta3 » 3.0.x-dev
Status: Active » Closed (duplicate)
Related issues: +#2079059: Improve views integration for open slots listing