Description of the need
I wanted to select the site logo as the default image inside the Metatag module using a token. [site:logo] is not there and it seems like this would be helpful, possibly in other places as well.
Proposed solution
I found two issues in Drupal for this problem.
Drupal 7 - Add site logo token
Drupal 8 - Add a token for the site logo
A site logo token can be created with a small change to system.tokens.inc
Alternatives that have been considered
I did make a small custom module that accomplished this task.
Additional information
- without the change
- edit Post content type, go to manage fields, edit Body
- click "Browse available tokens" link underneath Help text, to open Available tokens popup
verify no site logo tokens in the Site information list
with the change a [site:logo] token will be under the Site information when browsing available tokens.
Draft of feature description for Press Release (1 paragraph at most)
Backdrop now includes...a site-wide global token for the site logo. This allows for setting a global default image.
Recent comments
Thank you @Meaghan1 - all of those were valid points but I had them correctly set. My remaining issue relates to the path to the downloadable file, being the easily guessable example I...
Ubercart and downloadable file product
Hi Sudipto, this error usually means CiviCRM isn’t initializing properly before a dependent module (like CiviMember Roles Sync) tries to call its functions. After upgrading, verify that the...
Facing an error after upgrading Civicrm version from 5.78.3 to 6.5.0
Hi Martin, it sounds like you’ve set things up correctly, but a couple of common issues might be preventing the file from showing. First, ensure the Ubercart File Downloads module is fully...
Ubercart and downloadable file product