COD support

Add Registration Page Content Type

July 19, 2014 - 13:26

I think we need a Registration Page Content Type (OG Content) so that you can add information/text that is strictly related to registrations.

You could then create an addition Panel Page and menu tab for all conferences regardless if the registration is paid or not. The Panel pane can then embed all of the "Tickets" that are associated with the event. This would then provide an "Out of the Box" solution that automatically shows all of the ticket types on one page. Some people may not have the skills to realize you need add the registration content panes to one of your pages.

Currently I have put the registration information on the Event Content Type and some people may want to put different information on the Event Content Type.

Panel Page for User Profile/Account

July 18, 2014 - 17:17

I'm proposing that we add Panel Page display for the User full node display.

Panel Page for Session/BoF/Schedule Item

July 18, 2014 - 17:12

Now that COD has it's own theme included by default, I'm proposing that we add Panel Page displays for the Session, BoF, and Schedule item node displays. This will allow us to leverage the event OG as an argument and reuse a display layout in a multi-event site. These displays could also be easily cloned and changed for a specific event. I'll follow up this issue with a proposed patch to be included with each respective module: cod_session, cod_bof, cod_schedule.

redundant social media link fields are redundant

July 17, 2014 - 18:56

attached is a patch that removes the three social media fields in lieu of one field that allows multiple values. this will allow users to add as many as they like, with their own title and link. I will be making a Pisces patch with some [href*=""], [href*=""] selector based styles for those links soon.

Change cod_paid_event to better associate tickets with orders.

July 16, 2014 - 17:02

commerce_paypal's WPS payment never calls hook_commerce_checkout_complete. This means that orders are never associated with tickets. We need to change the process so that orders are associated ASAP (maybe once the ticket product is added to the cart?

Set Timeslot Item Capacity

July 5, 2014 - 14:46

For each room in a designated timeslot we should be able to set a "schedule item / session " capacity number to avoid double booking a room during a specific timeslot. It would also be nice to make the timeslot disappear once an item has reached its "session capacity" to avoid double booking.

Right now I can schedule multiple sessions in the same room during the same timeslot. As the Conference Adminsitrator I should be able to set that limit. I would also like to make the case for setting this to one item per room the "default" setting as I think most use cases would agree.

Field_session_timeslot and Tracks don't appear correctly with og_group_ref

July 1, 2014 - 12:58

The issue here is a bit complex, and has a few elements to it.

1) og_context tries to do some intelligent things by figuring out the event if you don't have an event specified. This works by putting in ?og_group_ref=NODEID basically with entityreference_prepopulate. But because these things are happening, it affects the ajax reloading of the og_vocabulary and view loading timeslots for a session (or bof or schedule_item)

2) The ajax callback for 'load more' or 'upload image' (or really anything) calls a path that doesn't start with 'node'. This means that og_context cannot find the event and doesn't know what to do with it. It clears the form out, which gets rebuilt on the backend. In some cases you'll loose your timeslot or track, in other cases it'll say 'an invalid option was selected' Either way, this is due to the ajax callbacks rebuilding the form.

3) There is different use cases around what an admin sees (admins can change the event on a node) vs what an end user sees (event selection is hidden). When hidden, that use case works pretty well because we just pass the form values around. When not hidden, we need to set the form[#state] for the element based on what the og_group_ref is set to. But alas, the visible function doesn't appear to work on initial loading.

 $form['field_session_timeslot']['#states'] = array(
      'visible' => array(
        array(':input[name="og_group_ref[und][0][default]"]' => array('!value' => '_none')),
        // This sort of works, but would be better if it fired after
        // the autocomplete. Note that this field is only available
        // to administrators.
        array(':input[name="og_group_ref[und][0][admin][0][target_id]"]' => array('empty' => FALSE)),

The '!value' => '_none' should mean that the field_session_timeslot appears whenever the value for og_group_ref is not _none, but this doesn't work on initial loading of the form, even though og_group_ref is not set to none if you have an event specified.

So yah, its annoying bug. It'll involve patching og_context, creating a new og_context hander, patching og_vocab (probably), and changing around cod_Session and cod_schedule.

This is the last Beta2 blocker.

COD BoF Session has itself as a dependency

July 1, 2014 - 06:49

It's difficult to disable the COD BoF Session module when it declares itself as a dependency. This patch removes that dependency.

Fatal Error on Admin Sessions Block View

June 30, 2014 - 11:42

When I visit a page that has session management block on it I get the following PHP fatal error.
PHP Fatal error: Call to undefined function cod_session_admin_sessions() in /profiles/cod/modules/contrib/cod_support/cod_session/cod_session.module on line 74.

Move &#039;manage event&#039; tab(s) into their own menus

June 27, 2014 - 00:36

Right now, manage event is under the node. Convenient but doesn't really fit into drupal path standards. It also makes the local menu for a node get cluttered.

As suggested by Dyannenova, we should investigate moving these all to admin/conference/events/manage/%event

This should make clear the separation between admin tabs and content tabs.

Clean up permissions

June 27, 2014 - 00:34

Many of the menu callbacks have access = TRUE. Great for testing functionality, also great for generating SAs if we don't fix them before release ;-)

Lets get those fixed up properly.

only session title field available for non-member on node/add/session

June 26, 2014 - 00:02

If I register a new account, log in and try to submit a session, only the title field can be filled in. No other fields show on the page.

If I log in as an admin and manually add that new user to the default event group, then that new user can see all the fields.

I would expect to be able to register a new account, log in and try to submit a session, and all fields can be filled in and submitted.

Am I doing something wrong?

Email address of ticket user

June 25, 2014 - 05:53


Is there a way to stop the email address being mandatory for the ticket user? The use case for this would be if there was a child ticket then they may not have an email address. Of course the registrant could then add their own email again but the wording on the fields does not say that.


Register twice for site - user experience concern

June 25, 2014 - 05:48


Apologies if this is a stupid thing to point out but out of the box COD seems to add an extra step into the registration process where it doesn't need to. When you register for an event you are asked for your 'Ticket Registrant' info and then below, the choices of tickets you would like to purchase. All well and good. After you hit register you are then presented with the checkout page where it asks you to add your email address again under 'account'. Basically the 3rd time to have been asked for it in two pages which is not a great user experience.

Might it be better to set up and log in the user who is the 'registrant', then the next screen would be checkout but no need to ask for account info again.

Is there something i'm totally overlooking here which means it has to be done like this?

Thanks, great distribution by the way. Looking forward to working with it and hopefully helping out.

When a user tries to edit a piece of content they get a redirect loop

June 13, 2014 - 10:15

When a user tries to edit a piece of content they get a redirect loop and it fails.

When a user tries to edit a piece of content they get a redirect loop

June 13, 2014 - 10:15

When a user tries to edit a piece of content they get a redirect loop and it fails.

Users cannot edit their own content

June 13, 2014 - 10:05

They need the edit their own session content in drupal and in the organic group.

Users cannot view their own submissions unless the node is published

June 11, 2014 - 20:55

I have checked the box under authenticated users can view own unpublished content, but the permission isn't respected. The content access and og shouldn't be affecting it though I also added the permission for a non-member and member to be able to edit their own session content.

access to incorrect content types on node/add

June 11, 2014 - 20:06

If an authenticated user (with no other roles) visits node/add, they have access to add schedule items, sessions, and sponsors.

They should only be able to access sessions.

If they click on schedule Item or sponsor it redirects with the og argument in the url then gives the error that it won't complete redirecting properly (which is why this isn't a security issue).

Friendly URL&#039;s for Panel Pages: Add Subpath Auto Module

June 8, 2014 - 15:32

Because we are using Panels to override pages with arguments, the URL's for each conference pages and their subpages are not friendly URL's.

My suggestion would be to use the Subpath Auto Module so that all of the panel overridden pages provide a friendly URL. Its a solid module by Dave Reid.