- Peace, I'm out
- editing demo user profile
#3 Jan 15, 2019 15:57
#4 Feb 01, 2019 09:22
@saunders Ok, we fixed to redirect to current collection instead of base url.
Thank you for the report.
#5 Feb 01, 2019 21:04
@yurabakhtin thanks for fixing this.
May be another link-building bug is linked to that fixed one.
When I get a notification mail via contact formula in the footer there is a link back to that collection from where the contact mail was sent :
"Diese Nachricht wurde automatisch von b2evolution auf fokus genba laufend generiert." (This message was automatically generated by b2evolution from fokus.genba.org)
Clicking the link "fokus.genba.org" I am redirected to the baseurl although fokus skin is shown. It is the same as shown above in #2, third part of the screenshot.
May be you can fix this, too. Would be great!
#6 Feb 17, 2019 10:29
#7 Feb 18, 2019 05:49
@saunders Hello, you wrote about string "Diese Nachricht wurde automatisch von b2evolution auf <a>fokus genba</a> laufend generiert." and we see it on your screenshot in #2 comment.
Then you wrote english version of the string is "This message was automatically generated by b2evolution from <a>fokus.genba.org</a>", but it is wrong because it must be like "This message was automatically generated by b2evolution from <a>fokus genba</a>", you can see it here https://github.com/b2evolution/b2evolution/blob/6.10.7/skins_email/_email_footer.inc.html.php#L60:
echo sprintf( T_( 'This message was automatically generated by %s running on <a %s>%s</a>.' ), $app_name, 'href="'.$baseurl.'"'.emailskin_style( '.a' ), $Settings->get( 'notification_short_name' ) );
So you don't click on the "fokus.genba.org", you click on "fokus genba" that is stored in DB as general setting "Short site name" on the form "Site" -> "Site settings" -> "Global Site Settings"(doc page: https://b2evolution.net/man/global-site-settings).
I.e. in your case you have there the link like
<a href="https://www.genba.org.com/blogs/">fokus genba</a>, because your
$baseurl = 'https://www.genba.org.com/blogs/' and "Short site name"(
$Settings->get( 'notification_short_name' )) = "fokus genba".
I think we cannot change the generic email footer code as you want because the footer template is used for all collections of the site, but you can create your custom email footer template as it is described here: https://b2evolution.net/man/introduction-to-email-skins, read about folder
This post has 1 feedback awaiting moderation...