Home › Toolset Professional Support › [Closed] Blocks Content template
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.
Tagged: Setting up custom fields, Views plugin
Related documentation:
This topic contains 36 replies, has 3 voices.
Last updated by Shane 7 months ago.
Assigned support staff: Shane.
Hi,
am having some buggy functionality with blocks and i need some help
I am upgrading my site and i am rebuilding it with blocks (in the previews form i had no working problems)
I have found some problems (regarding with the classic view that i had no problem on the site)
A) I cannot add a delete custom post button
i used the shortcode inside a text edtior:
[cred_delete_post_link type="button" onsuccess='1' action='delete' message='...' message_show='0' class='cred-refresh-after-delete']delete[/cred_delete_post_link]
i am trying to add the same code to blocks either as an html or a schorcode but i see the exact code instead the delete button
B) i was using a view to display all the children of the current parent in my parents content template. When i am constructing again the same view with the same query i can see the results inside the blocks editor but in the page i see no results
i could use some help here.
Thanks in advanced
I found a soloution for the a)
But i just created a custom template for another custom type by just displaying the fields as dynamic content and while i see the elements when I am inside the editor when i open the page i see all the fields blank
Hi Kostas,
Thank you for getting in touch.
Good to see that you were able to resolve your first issue. However for your second issue where your view is returning "No Results Found" would you mind me taking a more detailed look?
I've enabled the private fields for your next response so that you can provide me with the credentials as well as a link to the page where i can see the issue.
Thanks,
Shane
Hi Kostas,
I'm not having any issues, it works for me. See Screenshot.
What I did was to remove the Post Author filter because I didn't have any posts created under my user. Once I did this and added the post title information to the view block it works fine. See Screenshot.
So there aren't any issues here from what I can see.
Thanks,
Shane
Hi Kostas,
I'm able to see the issue now. This is quite odd as this is a very minimal install. Perhaps your server is caching the page.
Could you check to see if your server has a cache that can be cleared? Secondly would it be ok if I grabbed a copy of your site to test here to see if the issue still remains.
Thanks,
Shane
- in the albums content template where i want to use a view with a relationship in order to present all the children also does not appear nothing.
-in the targter content template also none of the custom fileds is presented in the front end. in back end i can see them
Hi Kostas,
The current user role doesn't allow me to install plugins.
Can you follow the instructions in the link below so that I can get a copy of the website to test here locally ?
https://toolset.com/faq/provide-supporters-copy-site/
Thanks,
Shane
ready
hidden link
Shane , i cannot see the screeenshot
i get the message
The requested content cannot be loaded.
Please try again later.
i think it cannot read the [view id]
here is the line 332
if ( $view_post->ID === $attributes['viewId'] && array_key_exists( 'viewSlug', $attributes ) ) {
$view_identification_attribute = sprintf( 'name="%s"', esc_attr( $attributes['viewSlug'] ) );
} else {
$view_identification_attribute = sprintf( 'id="%s"', esc_attr( $attributes['viewId'] ) );
}
I worked with your solution and it works,
but if i follow this, i have no visual control in the CSS, so there is no need to use blocks for visual styling. I could do the same with cred and views and manual CSS.
The topic ‘[Closed] Blocks Content template’ is closed to new replies.