Forum Replies Created
-
AuthorPosts
-
April 14, 2023 at 1:52 PM in reply to: โ Is it possible to select range date with date picker ? #41491
[email protected]
ParticipantHi,
Ok, thx for your reply.
I understand that I must use two date fields.
so i'm going to do that
THX again Peter,
BR[email protected]
ParticipantFinally it works ๐
I forgot a comma
Thx a lot Peter !
You rock !
Oliver[email protected]
ParticipantThx Peter but your code doesnt work.
I will try to find another solution...[email protected]
ParticipantHi Peter,
Fantastic !
Thx a lot for your help and the issue ๐
It's perfect.[email protected]
ParticipantThx a lot for your help Peter,
I just sent the email with my credentials.
BR
Oliver[email protected]
ParticipantYes I tried this but it doesn't work either...
Nothing displayed with your code...[email protected]
ParticipantI don't know if this can help but in another ticket, I noticed that "Each relationship meta box has an ID: {$relationship_id}_relationships_from and {$relationship_id}_relationships_to".
So, I suppose that there is a way to translate these IDs in the Twig language and use them in the form shortcode to show it on the front end.
Thx for your help.
[email protected]
ParticipantHello,
Thx for your answer but I also tried with from instead of to and it doesn't word.
The code below displays the Id of the Publication post type and not 3d-flip-book post type.I confirm, I have two Post types (publication and 3d-flip-book), a relationship (publicationtoflip, from 3d-flip-book to publication) and a view template is assigned to the Publication post type.
I would like to retrieve the ID of 3d-flip-book not the ID of Publication.However, with this code, I get the ID of publication, unfortunatly.
{% set args = {
post_type: '3d-flip-book',
relationship: { id: 'publicationtoflip', from: post.ID }
}
%}
{% set posts = mb.get_posts( args ) %}
{{ post.ID }}[email protected]
ParticipantI solved my problem , thx a lot ๐
[email protected]
ParticipantOk thx a lot but how to get each term with the link and a CSS class on each term ?
[email protected]
ParticipantOk thx a lot
Olivier[email protected]
ParticipantHi,
Yes I did that but it doesn't work as you can see :
https://drive.google.com/file/d/10P-Z2CoGu86FA7nq5W6xCVNN0A3auAsW/view?usp=sharingCan you help me please ?
[email protected]
ParticipantOk thx !
So if I understand correctly, the column title is not clickable. Is that correct ?
https://drive.google.com/file/d/1K0gWx6Hntya-Tp63YPYkMIHwJOw3CuMC/view?usp=sharingIs there a way to make the title clickable ?
Thx
Olivier[email protected]
ParticipantOh I found the answer;)
{% if post.thumbnail.full %} <img src="{{ post.thumbnail.full.url }}" /> {% else %} <img src="https://via.placeholder.com/800x100" /> {% endif %}[email protected]
ParticipantHi,
I also have a problem with featured image field.
I would like to display a default Featured Image if the Featured Image doesnt't exists.
Is it possible to do that with MB Views ?
I mean, a way to do this :If Featured Image exists then ... else display <img src="{{ post.thumbnail.thumbnail.url }}
thx for your precious help !
Oliver -
AuthorPosts