I've been trying to find the way to do this with a token [site:name], and with php
<?php print $site_name; ?><?php print $base_url; ?><?php print $base_path; ?> in a Global: custom text field.
No success, unfortunately.
This thread could be related -> https://drupal.org/node/730752
BUT I don't know how to apply patches (as suggested in that thread), I'm also not interested in using patches if it's not necessary. If it was the only solution, I would rather write the site name manually.
How can I show the site name or the site domain in a block with views? I would like to have a field that shows this info dinamically, I mean, that if someone uses another domain or another site name, the block would show the new info, without the need of changing the view/block.
Maybe without views or with other modules?
Thanks for any help in advance and thanks for the great Views module.