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 agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.