Skip Navigation

[Resolved] fields_ and_text and single field / textblock with max height

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)

Author
Posts
#2628177
textblock_with_defined_height.jpg

Tell us what you are trying to do?

1) using "fields_ and_text" to put the static text "ARTIST: " adead of the dynamic data "name_of_artist" -> [types field='name'] [/types] respectively [types field='name' item='$parent'][/types]
look at added picture "fields_ and_text"_versus_"single field" -> none of both functions
whilst the "single_field" works perfectly!
2) is there any posibility to put text in a box with predefined height. Preferably with automaticaly adapting the text height so that all the text fits or automaticaly a scroling arises? -> see added picture "textblock_with_defined_height" and look at the title of the shows.

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?

hidden link
{removed}

#2628677

Hi,

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

1. To avoid any extra styles and formatting for the output, you can switch to the 'HTML' mode of the 'Fields and Text' block and add the text and the shortcode in that.
( screenshot: hidden link )

2. To make all the results boxes appear with the consistent/same height, you can include the following custom CSS code in the view's 'Custom CSS' section:


.js-wpv-loop-wrapper > .tb-grid > .tb-grid-column > .wpv-block-loop-item {
    min-height: 100%;
}

Note: For privacy reasons, the access details should never be included in the message of the ticket and only be shared through the dedicated fields for the access details.

I hope this helps and please let me know if you need further assistance.

regards,
Waqar

#2628721

hi

sounds simple but

ad 1) will try hereafter

ad2) where do I encounter the "the view's 'Custom CSS' section"

thanks

Ed.

#2628723

hi again

ad1) I found the "edit view"
there are css editors under a )"Search and Pagination"
b )"Loop Editor"

where to put the above mentioned code?
thanks
ed.

#2628725

hi

"1. To avoid any extra styles and formatting for the output, you can switch to the 'HTML' mode of the 'Fields and Text' block and add the text and the shortcode in that.
( screenshot: hidden link )"

I've gone to HTML mode and input:
<p><b>Artist:</b></p>
[types field='name' item='$parent'][/types]
puts me artist in bold but does not give the custom value!!!

thanks

Ed.

#2629617

Thanks for writing back.

> where do I encounter the "the view's 'Custom CSS' section"

- You'll find it in the "View" block's settings, under the 'Custom JS and CSS' tab.
( screenshot: hidden link )

I've added my suggested CSS code in the field now.

> I've gone to HTML mode and input:
<p><b>Artist:</b></p>
[types field='name' item='$parent'][/types]
puts me artist in bold but does not give the custom value!!!

- I've changed the shortcode to the following, in the content template 'Template_for_expositions' and the artist value is also showing now:


[types field='name' item='@artist-exposition.parent'][/types]

Back-end screenshot: hidden link
Front-end screenshot: hidden link

#2629623

perfect help