GetSimple Support Forum
Tag get_site_email() - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Themes (http://get-simple.info/forums/forumdisplay.php?fid=10)
+--- Thread: Tag get_site_email() (/showthread.php?tid=2210)



Tag get_site_email() - Lingers - 2011-10-11

I try to use the tag get_site_email() in my template but this function does not echo the email address I defined in Settings.


Tag get_site_email() - Connie - 2011-10-11

in fact, with the actual version 3, it echoes nothing, either in a component or directly in the template or directly in the page's content.


Tag get_site_email() - ccagle8 - 2011-10-12

this is because GS is now a multi-user system. Which email address would it spit out if there are two people setup? I think this template tag needs to be retired...


Tag get_site_email() - Connie - 2011-10-13

ccagle8 Wrote:this is because GS is now a multi-user system. Which email address would it spit out if there are two people setup? I think this template tag needs to be retired...


OK, Chris, either the admin's mail-adress or nothing.. I will update the info in the WIKI


Tag get_site_email() - Lingers - 2011-10-13

Thanks for the answers. I do not use the multi-user part of GS (yet). I was only interested in displaying the e-mail address for the user profile in a template.
I made a component <?php get_component('email'); ?>. This will do the job.


Tag get_site_email() - ccagle8 - 2011-10-13

Connie Wrote:OK, Chris, either the admin's mail-adress or nothing.. I will update the info in the WIKI
i don't think this will work either? How would i determine the "administrator"


Tag get_site_email() - Connie - 2011-10-13

yes, that's what I meant:
either one administrator (one-user-system) or multi-user

I edited the WIKI


Tag get_site_email() - JWH_Matthew - 2011-10-13

You could still offer a field in the administration panel specifically for this email address. Not associated with any user?