Skip Navigation

[Closed] Clean raw Views output

This support ticket is created 4 years 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 – 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/Karachi (GMT+05:00)

This topic contains 4 replies, has 2 voices.

Last updated by Waqar 4 years ago.

Assisted by: Waqar.

Author
Posts
#1876439

I used a Views to generate a list of post authors emails, comma delimited.
This worked fine and this list was used in a mailto link to BCC all authors.

Since the last update I get a lot of garbage in the output, starting with "<div class=" tces-js-style-encoded" style="display:none;">", which break the mailto link

Where is this new garbage coming from?

#1876545

Hi,

Thank you for contacting us and I'd be happy to assist.

To troubleshoot this, I'll need to see how this view and the email link is being generated.

Can you please share temporary admin login details along with the example page where this link can be seen?

Note: Your next reply will be private and please make a complete backup copy, before sharing the access details.

regards,
Waqar

#1876921

Thank you for sharing these details.

As I didn't have an example page with the email link, I tested the custom shortcode "bulk-emailing", on a test page "Test page from TS support".

The final output of the shortcode had some extra spaces between the email addresses and I managed to fix them by removing line breaks and spaces from the view's text editors for the "Search and Pagination", "Loop Editor", and "Output Editor" section.

You can see the output of the link in the preview of this test page. If you're still seeing extra div or styles being included in the view's output, please share the exact link where it can be seen.

#1877113

Yes, you are right, the shortcode works standalone.
But it generate that garbage when used in this view:
hidden link

#1877907

I can see the issue on your website's view, but couldn't reproduce this with a similar setup on a test website.

This suggests that something specific to your website is involved. I'll recommend testing this with all non-Toolset plugins disabled and with a default theme like Twenty Twenty-One.

If the issue is fixed, you can start activating the disabled items, one-by-one, to narrow down to a possible conflicting one.

In case the issue still persists, I'll need a clone/snapshot of your website, to troubleshoot this on my server.
( ref: https://toolset.com/faq/provide-supporters-copy-site/ )

Note: I've set your next reply as private.

The topic ‘[Closed] Clean raw Views output’ is closed to new replies.