2011-10-11, 03:13:56
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.
The following warnings occurred: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
|
Tag get_site_email()
|
2011-10-11, 03:13:56
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.
2011-10-11, 15:01:20
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.
|--
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18
2011-10-12, 22:32:46
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...
2011-10-13, 01:59:16
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
|--
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18
2011-10-13, 03:44:02
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.
2011-10-13, 05:16:05
Connie Wrote:OK, Chris, either the admin's mail-adress or nothing.. I will update the info in the WIKIi don't think this will work either? How would i determine the "administrator"
2011-10-13, 06:16:25
yes, that's what I meant:
either one administrator (one-user-system) or multi-user I edited the WIKI
|--
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18
2011-10-13, 12:47:23
You could still offer a field in the administration panel specifically for this email address. Not associated with any user?
JWH Technologies
Have any marketing ideas for Get-Simple? Let me hear them! |
« Next Oldest | Next Newest »
|