Skip Navigation

[Resolved] I get an "atachment" instead of my work

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 1 reply, has 2 voices.

Last updated by Waqar 1 year, 5 months ago.

Assisted by: Waqar.

Author
Posts
#2625425
listing_loop_work.jpg
work_loop_part.jpg
B_T_works.jpg

Tell us what you are trying to do?
I have a post type "work" (B_T_works.jpg) I want to use with "post loop builder".

When creating the "global Block" and looking at the same work (choosing entering title) I get an "atachment" instead of my work (would not disturb me but I do not get my data inspite of copy/pasting from Template (B_T_works.jpg) to global block "work loop part" (work_loop_part.jpg)

and making the "post loop" I get no surprise (it's also SHIT:”work_loop_part.jpg”).

I got this answer from Breakdance:
---------------→
> I get an "atachment" instead of my work

This is something our development team is investigating. At this time, you would want to manually search for your desired post/post type and then edit the block after selecting that. For some reason, the CPTs from your site aren't showing in Global Blocks. I've confirmed that CPTs created with Toolset show on a staging site, so there is either a server issue preventing Toolset CPTs from showing in Global Blocks for your site or some setting within Toolset that is preventing this. You may wish to check if there is anything in the server's error logs or see if a Toolset setting hides these CPTs from the public.

> the 1st problem is that I only get 8 of 10 works (pagination at the bottom of the page does not work)

The pagination will not work within Breakdance but should work on the front end. When I view your front end, I get a 502 error related to the second problem below.

> 2d problem is that exit to workpress from page "listing_loop_works" brings me to following beautifull screen:

I'd recommend that you contact your hosting provider and ask them to check the server's error logs and access logs to see if there is any indication of what is causing this issue.

←-----------------

there is no entry at the server’s log!!!!!

Is there any documentation that you are following?
Corresponding Information from toolset and breakdance
Is there a similar example that we can see?
Pls look at the site
What is the link to your site?
access data: {removed}

#2625541

Hi,

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

As far as the custom post type 'work' is concerned, I've checked its settings and it is properly registered as a public post type. The fact that the regular Breakdance template 'B_T_works' is able to pick up the data, confirms this too.

For the Global Blocks, the Breakdance's support team will be in a best position to troubleshoot this as they're aware of how its query and functionality works.

As workarounds, you can try if using Toolset's own shortcodes in the global blocks works to return the target field data:

1. Types Fields API:
https://toolset.com/documentation/customizing-sites-using-php/functions/#textarea


[types field="descripcion"][/types]

2. Toolset shortcode 'wpv-post-field':
https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-post-field


[wpv-post-field name="wpcf-descripcion"]

I hope this helps and please let me know if you have any follow-up questions.

regards,
Waqar