The $iMemberId value is 0 from beginning to end ,asking for help

Hi,

Why $iMemberId value is 0 from beginning to end ,which is a param of getTemplate() in class BxDolEmailTemplates.

The system how to realize sent  email according to the recipient's country chose the email langugage?

gei me a hand,please!

Quote · 20 Mar 2012

Hello

Everything depends on the place where 'getTemplate' is executed. $iMemberId should have recipient ID and in this case the correct language will be selected. The language is taken from profile info (Profiles table). If member changed the language then it will be saved in his profile and is used as a default language for this member in the future. If $iMemberId is empty then the site's default language is used.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 20 Mar 2012

Thank you very much. you are very professional .My i make friend with you ?

 

Quote · 20 Mar 2012

Hello

You are welcome. Yes, you may befriend me. :)

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 21 Mar 2012

Thanks , It's my pleasure.

I'm a Chinese student and a boy, can you share your experience in php study with me.

Thank you in advance.

Quote · 21 Mar 2012

Hello

It's not so hard to learn PHP programming. You may find a lot of manuals and books about it in Internet. But if you have some questions about Dolphin structure, etc and cannot find the answers in official Dolphin Documentation I may try to help you.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 21 Mar 2012

help information:     how the dolphin system package the html and show the pages?

 Request Guidance , Thank you in advance.

Quote · 21 Mar 2012

Hello

Dolphin uses HTML templates from templates/[base|templ_uni|etc]/ folders and BxDolTemplate class from inc/classes/BxDolTemplate.php file to process them. BxDolTemplate class has different methods to parse (replace) HTML keys, like __key__, <bx_text:key /> <bx_if:key />, <bx_repeat:key />, etc with dynamically generated values. 

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 21 Mar 2012

Hi,

Thanks ,I have benefited greatly,

The URL like this:    www.mysite,com/Dolphin/m/events/home 

How the /m/events/home with dynamically generated ,which function make it works .

Quote · 21 Mar 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.