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



{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 '17 at 18:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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