Skip to content
Snippets Groups Projects
Unverified Commit ccdb4e01 authored by Seamus Lee's avatar Seamus Lee Committed by GitHub
Browse files

Merge pull request #737 from jaapjansma/patch-4

Fixed typo
parents 372140d1 2d80d36a
No related branches found
No related tags found
No related merge requests found
......@@ -62,7 +62,7 @@ If you need to reference any other kind of resource (such as image or sound file
PHP | Get an image URL | `CRM_Core_Resources::singleton()->getUrl('com.example.foo', 'bar.png');` |
PHP | Get an extension's base URL | `CRM_Core_Resources::singleton()->getUrl('com.example.bar');` |
Smarty | Get an image URL | `{crmResURL ext=com.example.foo file=bar.png}` |
Smarty | Get an extension's base URL | `crmResURL ext=com.example.foo }` |
Smarty | Get an extension's base URL | `{crmResURL ext=com.example.foo }` |
!!! note "Note about `{crmResURL}` vs `{crmURL}`"
`{crmResURL}` sounds similar to another Smarty tag, `{crmURL}`, but they are functionally distinct: `{crmURL}` constructs the URL of a dynamic web page, adjusting the path and query parameters of the URL based on the CMS. By contrast, `{crmResURL}` constructs the URL of a static resource file; because the file is static, one may link directly without using the CMS or manipulating query parameters.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment