1

I have a fruit Link it field that I use to allow users to choose an entry and have that page redirect to the chosen entry. Not sure of the syntax to use to pass that link it field to the redirect field.

This does not work:

{% redirect "{{ block.redirect.url }}"  %}

Thanks

2

Does this work?

{% redirect block.redirect.url %}

I don't know Linkit but this would be the correct twig syntax at least. For normal entry fields you would do

{% redirect block.redirect.one.url %}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.