Revolution Slider is using Placeholders like this {{param1}}. This is conflicting with Twig's variables.

Is there a workaround that Twig will ignore this for example?


2 Answers 2


You can stop Craft from parsing curly brace tags in your template code by using the Twig Verbatim tag. Here's an example:

{% verbatim %}{{ this.wont.be.touched }}{% endverbatim %}

You can use it to stop a single tag from being parsed, or encapulate an entire block of code on your page for multiple tags. Useful for languages like AngularJS that use the same double curly brace format.

More info at http://twig.sensiolabs.org/doc/tags/verbatim.html

  • Perfect solution! It is working now :) Mar 15, 2016 at 12:00
  • Nice! Always good to learn :)
    – Matt P
    Mar 15, 2016 at 13:31

Not that I know of.

From your example and image, I would suggest just swapping them out as I agree they look like placeholders, anyway.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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