I try to use the variable modifier with an embed.. as follow..

Template #1

      url="{route='articles/detail' article_url='{url_title}' chan_name='{channel_name}'}" 

Embed Template I would like to use the :url_encode modifier as..


I also tried with php like

<?php echo urlencode('{embed:url}'); ?> 

But i get a blank page.. I guess it's all related to parsing order!?!?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.