Saltar navegación

[Resuelto] after site updates

This support ticket is created hace 3 años, 6 meses. 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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por martinP-13 hace 3 años, 6 meses.

Asistido por: Luo Yang.

Autor
Mensajes
#2215297

im currently updating my old site and have run into a few issues after updates

my old site here enlace oculto you will see

1st place dog .

on my new site that as toolset updates and wordpress i have the following issue

enlace oculto

it has errors and is not loading the 1st place dog.

if i load an equivalant page where there is no entry for 1st place dog like this one the page loads fine

enlace oculto

to load the 1st place dog uses this view here
enlace oculto

the view is as follows

<div class="special-row-item-11">
<h1 style="text-align: center;">[types field='dog-appearance-position'][/types]</h1>
[wpv-conditional if="( $(wpcf-dog-appearance-position).id(dog-appearance) eq '3' )"][wpv-view name="view-for-no-1st-place"][/wpv-conditional]
[wpv-conditional if="( $(wpcf-dog-appearance-position).id(dog-appearance) ne '3' )"]
<h2><span style="color:red">[types field='dogs-awards' separator=', ' item='@dog-dog-appearance.parent'][/types] </span>

[wpv-view name="view-to-show-affix-in-results-on-single-event-page" wpvrelatedto="[wpv-post-id item='@dog-dog-appearance.parent']"]
<span class="uppercase">[wpv-post-link item='@dog-dog-appearance.parent']</span></h2>

[types field='dogs-breed' item='@dog-dog-appearance.parent'][/types] : [types field='dog-sex' item='@dog-dog-appearance.parent'][/types] : [types field='dogs-dob' style='text' format='F j Y' item='@dog-dog-appearance.parent'][/types] <hr>

Owner: [wpv-view name="view-to-show-person-in-results-of-an-event-on-single-event-page-1" wpvrelatedto="[wpv-post-id item='@dog-dog-appearance.parent']" role="Owner"]<hr>
Handler: [wpv-view name="view-to-show-person-in-results-of-an-event-on-single-event-page-1" wpvrelatedto="[wpv-post-id item='@dog-dog-appearance.parent']" role="Handler"]<hr>
Breeder: [wpv-view name="view-to-show-breeder-in-results-of-an-event-on-single-event-page" wpvrelatedto="[wpv-post-id item='@dog-dog-appearance.parent']" role="Breeder"] <hr>

Sire: [wpv-view name="View-to-show-dogs-related-sire-and-dam-single-event-page-dogs-results" ids="[types field='sire-of-dog' item='@dog-dog-appearance.parent' output='raw'][/types]"]<hr>

Dam: [wpv-view name="View-to-show-dogs-related-sire-and-dam-single-event-page-dogs-results" ids="[types field='dam-of-dog' item='@dog-dog-appearance.parent' output='raw'][/types]"]<br>[/wpv-conditional]
</div>

if i remove the lines at the top

[wpv-conditional if="( $(wpcf-dog-appearance-position).id(dog-appearance) eq '3' )"][wpv-view name="view-for-no-1st-place"][/wpv-conditional]
[wpv-conditional if="( $(wpcf-dog-appearance-position).id(dog-appearance) ne '3' )"]

enlace oculto
this page now loads

however i need those conditions working,
you can login using toolset and toolset to see the pages as they are member pages
could you please assist?
many thanks

i can give login details if you set a private reply thanks

#2215569

Hello,

It is same issue as your another thread, please check the answer here:
https://toolset.com/forums/topic/updated-and-having-issues/#post-2215567

#2216093

My issue is resolved now. Thank you!