Find Folder

.findFolder() - Returns Folder where link was created:

  1. #if($webapi.findFolder($content.form2LinkURL)=='/about_us/departments_and_offices/forms/admissions/international/')  

you could also do this with a variable:

  1. #set($folder='international')  
  2. #if($webapi.findFolder($content.form1LinkURL)==$render.eval('/admissions/admissions_forms/$folder/'))  
comments powered by Disqus