Skip Navigation

[Resolved] Radio Group no Longer Showing in View

This support ticket is created 4 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+01:00)

This topic contains 3 replies, has 2 voices.

Last updated by Nigel 4 years, 4 months ago.

Assisted by: Nigel.

Author
Posts
#1415255
html.png
appearance.png
view code.png

Hi,

We had a View filter that we haven't altered in months, and it was working perfectly until the last Toolset update.

It had a group of radio buttons in the filter that now produces no html. In the attached pics, you can see what the filter looks look (bottom right, near "Sort by") and the empty html being produced.

This is the code we're using in the view:

<div class="col-sm-4">
          <!-- sort toggle -->
    		<div class="form-group">
				[wpml-string context="wpv-views"]Sort by: [/wpml-string]<br>
				<div class="gf-sort-center">
                  [wpv-sort-orderby type="radio" options="field-wpcf-_gf_date_recorded,post_date" label_for_field-wpcf-_gf_date_recorded="Recorded date" 			
                  label_for_post_date="Uploaded date" orderby_as_numeric_for="field-wpcf-_gf_date_recorded" 
                  orderby_descending_for="field-wpcf-_gf_date_recorded,post_date"]
              </div>
          </div>
      	</div>

any help is appreciated.

best regards,
Zubin

#1415989

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

Hi Zubin

I just tested this locally and can confirm the same, namely that front-end sorting controls displayed as radio buttons are not output on the page.

This happens after upgrading to Views 3.x.

I deleted the shortcodes to insert the controls and re-inserted them as a select dropdown, and that appeared to work.

I'm escalating this so that it can be fixed by the developers, but in the meantime you can either downgrade to Views 2.9.4 (available from toolset.com/account/downloads), or switch to using a select dropdown for the sorting controls.

#1416687

Thanks Nigel! For a minute yesterday I thought I was crazy and it had to be something wrong in my view html. I’ll switch to a drop down for now and keep an eye out for a fix in a future update.

#1417763

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

FYI there is a patch available for this problem here: https://toolset.com/errata/frontend-sorting-controls-can-not-be-displayed-as-radio-inputs/

Otherwise you can wait for the next update of Views to be published which contains the fix.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.