Please can someone remind me how to create a CMS-safe URL in Smarty Templates?


1 Answer 1


{crmURL p="civicrm/points/grant" q="cid=$cid&type=$type"}


The p is the address of the page The q is the list of parameters The domain is added first

So the above code (with $cid=A and $type=B) translates into:


  • Hi John, this looks like it could be useful to others. Could you edit your answer to say a bit more and explain what the different parameters mean? I think that could make it even more helpful. Jan 14, 2017 at 18:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.