Skip Navigation

[Resolved] A custom link works in Chrome but not in Safari or Firefox.

This support ticket is created 7 years, 5 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.

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

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 10 replies, has 2 voices.

Last updated by jeffS-2 7 years, 5 months ago.

Assisted by: Shane.

Author
Posts
#535866
Result-404.png
page-with-link.png

I just updated to the latest Access,CRED,Types,Views.
I have a child page a long time ago that was working fine for over 2 years and now is not working in Safari and Firefox but does work in Chrome. Admittedly, I haven't tested the link for quite some time (several months, so I do not know if it's a change in Toolset or perhaps a change in WordPress.)
The link structure is: hidden link
The page containing the link is a standard member profile. For those members who happen to be a boardmember of this organization, there is this link at the bottom of that page that opens a more specific boardmember page for that same member, and using the same page and template (but different View.)

Example page (with problematic link at bottom):
hidden link

NOTE the URL shown in the address bar in Result-404.png. Maybe a clue?
-----

#535869

One more thing...
I just tried the same in my staging site, which has WP 4.7.0 and the link works fine in Safari and Firefox. So, perhaps it is a change in WP somewhere along the line. I may have not noticed because I haven't tested those links in several months at least. The staging site does have the same (latest) versions of Toolset Types, Views, Access and CRED.

P.S. I tried resetting permalinks just for kicks but no help.

#535879

Also, here is the code I use to generate the link:

        [wpv-if isbdmember="wpcf-cnsv-board-member" evaluate="$isbdmember = '1'"]
           Also see my <a href="/wp-content/board-member-profile?board-id=[wpv-post-id]"><em>CNSV Board of Directors</em> profile</a>...<br />
         [/wpv-if]
#536874

Hmm, I have never waited this long for a reply here. By selecting I prefer to wait for Nigel, I did not think it would take more than 2 days for a response. Are the support people really that backed up with issues? I certainly hope not.

jeff

#536886

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Jeff,

Thank you for contacting our support forum.

I must apologize for the delay in response as i'm not sure why this ticket was unanswered for so long. However i'm here to help as best as I can.

As you mentioned this works fine in wordpress 4.7 and updating the 4.8 caused the issue. Is there any particular reason as to why the link is pointing to the wp-content folder ?

Please let me know.
Thanks,
Shane

#536894

Hi Shane -

Thanks so much for noticing my new thread and jumping in.

First, it definitely was not the upgrade to WP 4.8 that caused the issue. It was either something between 4.7 and 4.7.5 or possibly my recent (2 days ago) upgrade to the latest 4 Toolset plugins I use (Access, CRED, Types, Views.)

Second, no - I can't defend the necessity of using /wp-content/ in that link. I am happy to try any suggestion you may have but, do you think it will work without that at the beginning of the link?

Thx,
Jeff

#536900

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Jeff,

So this page is to display a users profile correct?

Would you mind providing me with admin access to the website so that I can have a more detailed look at this for you ?

I want to see why this link is not working as it should and just to ensure that everything is working correctly.

Thanks,
Shane

#537211

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Jeff,

I need a bit more assistance, could you send me a backend link on the page that displays the members profile?

Is it this page ? hidden link

Looking forward to hearing from you soon.

Thanks,
Shane

#537423

Hi Shane -

The Page for the standard member profile display (containing the link in question) is here:
hidden link

The Content Template for that standard display is here:
hidden link

---

For those members who are on the Board of Directors...

The Page for the Board Member profile display is here:
hidden link

and...

The Content Template for the Board Member profile display is here:
hidden link

P.S. One more clue?... If I type in the URL manually in the browser address bar (any browser) such as:
hidden link
it displays as expected - even in Safari and Firefox. So, it appears there is something funny going on in Views when building that link. Although, it's very strange how it works in Chrome only. (By the way, I did clear all cache from Chrome just to ensure I wasn't loading from old cache.)

Let me know if you need more info.
Jeff

#537679

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Jeff,

Where is this code located.

[wpv-if isbdmember="wpcf-cnsv-board-member" evaluate="$isbdmember = '1'"]
   Also see my <a href="/wp-content/board-member-profile?board-id=[wpv-post-id]"><em>CNSV Board of Directors</em> profile</a>...<br />
 [/wpv-if]

Also could you try removing the wp-content from the url and add it like this.

[wpv-if isbdmember="wpcf-cnsv-board-member" evaluate="$isbdmember = '1'"]
   Also see my <a href="/board-member-profile?board-id=[wpv-post-id]"><em>CNSV Board of Directors</em> profile</a>...<br />
 [/wpv-if]

Please let me know if this helps.
Thanks,
Shane

#537819

Shane -

Yes, removing the /wp-content from the beginning of the URL did the trick. I must have written that code when I first started using Types/Views and didn't exactly know what I was doing at the time :-\

Thanks for the help! And have a good weekend.
jeff