Skip Navigation

[Resolved] trying to make a link work with a view

This support ticket is created 4 years, 6 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 4 years, 6 months ago.

Assisted by: Minesh.

Author
Posts
#1640069

Tell us what you are trying to do?
i created a view to output a raw url, ie hidden link

I am trying to add it to the sidebar via a widget, with out placing it within the <a> tag it works fine but when i place it inside the <a> it does not work ...

go

the link i get when hover is ...

hidden link

obviously that is not correct

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?

#1641115

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

It seems that you are trying to get URL that is returned from view's output and assign that URL to anchor tag href attribute. If this is true, by default view's output is having the div wrappers.

you need to generate the output without divs. To generate only raw output, Can you please try to edit your view and checkmark the checkbox "Disable the wrapping DIV around the View" available just under the Loop Editor Section.

And then try to use the following code:

<a href="[wpv-view name='confluence-link' fiid='[types usermeta='financial-institution' output='raw' current_user='true'][/types]']">go</a>

Does this works - if no:
Please send me problem URL where you added the above view as well as send me temporary access details.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.