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

  • 6 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.