#1 Bug Reports » 'zero' value is converted to empty string. » April 13, 2014 10:56am

tamtt
Replies: 1

Hi,


Possible a bug in below function, It make '0' is convert to empty string value.


//File: cms.php

function replaceInternalPageLinks($html) {
            $drop_count = 0;


            //Bug: This block convert '0' to empty string.
            if (!trim($html)) {
                return "";
            }
            /////////////////////////////////////


            if (substr($html,0,6) == "ipl://") {
                $html = $this->getInternalPageLink($html);
            } else {
                $html = $this->replaceRelativeRoots($html);
                $html = preg_replace_callback('^="(ipl:\/\/[a-zA-Z0-9\:\/\.\?\=\-]*)"^',array($this,"replaceInternalPageLinksHook"),$html);
            }
           
            return $html;
        }

#2 Developer Help » How to configure BigTreeCMS to send email by using SMTP? » March 30, 2014 8:45am

tamtt
Replies: 1

Hello everyone, could you please guide me how to configure BigTreeCMS to send email (example: forgot-password email,..) by using my smtp account?


I'm planning to create a module that let administrator can configure smtp parameter from Admin's module page. Please tell me if there a module with same functionality existed.


Thanks,
TamTT

Board footer

Powered by FluxBB

The Discussion Forum is not available on displays of this size.