0

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

Template #1

  {embed="includes/_share" 
      url="{route='articles/detail' article_url='{url_title}' chan_name='{channel_name}'}" 
      titre="{title}"}

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

{embed:url:url_encode}

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.