Closed (fixed)
Project:
Entity Registration
Version:
7.x-1.x-dev
Component:
Registration Core
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Sep 2013 at 14:46 UTC
Updated:
18 Aug 2015 at 21:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
arnoldbird commentedThe "spaces used" property seems to be more problematic than others. The positions of other properties can be changed, at least in some circumstances. However, setting "spaces used" to hidden, or changing its position, has no effect on its display. As a workaround, the property can be hidden in the template with...
hide($content['slots']);Comment #2
jzornig commentedsame problem here.
Comment #3
stijndmd commentedTo me it doesn't even rearrange the fields...
I have my content type equipped with a "Registration link".
When the link is clicked, I cannot seem to alter anything. The changes I make under "Manage display" do nothing.
I have tried both the default and the Full Registration view modes.
I do not use views for this.
Comment #4
ladybug_3777 commentedFor anyone else that may be struggling with this I wanted to provide a little more detail.
To create your own custom themed version of the page that displays at registration/{registration_id} follow these steps:
Copy the entity template file from the entity module located in sites/all/modules/entity/theme/entity.tpl.php.
Place it in your custom theme's template folder and rename it to: registration--{your_registration_type_machine_name}.tpl.php
You can then customize it like you would other drupal template such as node.tpl.php. Be sure you clear your cache!
Comment #5
roball commentedI can confirm that regardless on which position you move the "Spaces Used" item in the Manage display tab of a registration type, "Slots Used" will always be shown at an uncontrollable position within the entity's embedded Registration Form, even if you change its Format from Visible to Hidden. So there is no proper way to hide "Slots Used" on the user's registration summary.
However, the workaround mentioned in #4 and #1 works to hide it. Thanks!
Comment #6
roball commentedComment #7
dsnopekThe reason for this is that its calling it 'slots' in the
$buildarray, but it's called 'spaces' when configuring it's visibility. If we change it to 'spaces' in the$buildarray, then it heeds the settings. Here's a patch!Comment #8
cboyden commentedNice simple fix, works as expected.
Comment #9
peterlolty commentedComment #10
jami commentedComment #11
jami commentedLooks great. Patch will be committed soon.
Comment #12
jami commentedComment #14
jami commentedComment #17
sclsweb commentedI believe this issue is not fixed. Testing with Entity Registration 7.x-1.6, the "Spaces Used" field cannot be rearranged. It seems to appear as the second field in the form no matter how the other fields are rearranged around it.