We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum


Thread tagged as: Question

Conditional based on url or title

While the youtube add-on isn’t working I want to include a video on a particular page.

I’m trying to use a conditional to insert the video based on the url or page title, is that possible?

Nick Bramwell

Nick Bramwell 5 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Yes, that should be possible. You can use PerchSystem::set_var() to pass anything you wish into the template.