-
☆ A M B ☆
- 2,475 Posts
Do you have this defined in your configuration tab? What’s showing now for the site’s name when you use [(site_name)]?
-
☆ A M B ☆
- 2,475 Posts
Most of the placeholders that use the [(notation)] come straight from your configuration tab inside the manager. I’m not sure of the particulars with the url, but another simple solution is for you to create a chunk with that information. E.g. create a category called "global" and make any Chunk you need in there to support your templates, e.g. {{ContactInfo}}, {{SiteUrl} etc.
-
☆ A M B ☆
- 24,524 Posts
You could use a snippet to get $modx->config[’site_url’] and strip the trailing slash, then return the stripped URL.