I would like to use the dynamic company name in the copyright lang key. Dolphin has become so obfuscated since the old AE days that Im not sure how to do that now. Can someone help me? Thanks!
I would like to use the dynamic company name in the copyright lang key. Dolphin has become so obfuscated since the old AE days that Im not sure how to do that now. Can someone help me? Thanks! Giving it another shot...... |
Can you explain how you can that this will work ? PS: If possible do not write me personally, please try to ask on the forum first |
Right now copyright key reads
'_copyright' => 'Copyright © {0} Your Company Name', here you can see the date is dynamic. Id like this to be the case with the company name that is stored in the db as well.
Id rather it read
'_copyright' => 'Copyright © {0} {variableForCompanyName}',
hope that is clear. Giving it another shot...... |
1. Find and edit this lang key : _copyright ( via administration/lang_file.php?filter=_copyright ) Add your new param like this : Copyright © {0} {1} Your Company. 2. Open the inc\classes\BxDolTemplate.php find this code line : $sRet = _t( '_copyright', date('Y') ) . getVersionComment(); and replace with :
$sRet = _t( '_copyright', date('Y') , 'Your company name!!!') . getVersionComment();
I Hope this is what you need! PS: If possible do not write me personally, please try to ask on the forum first |
Thank you for that but that is still hardcoded. For it to be dynamic it would need to pull from the sys_options table from the site_title field. I think I can probably work through it. Giving it another shot...... |
hi, i would like to know for what this is: getVersionComment()
for what is it needed? ue30 Mods - http://www.boonex.com/market/posts/ue30 |
hi, i would like to know for what this is: getVersionComment()
for what is it needed? This method return number version of your dolphin PS: If possible do not write me personally, please try to ask on the forum first |
but this number is changing all the time i visit the site ue30 Mods - http://www.boonex.com/market/posts/ue30 |
but this number is changing all the time i visit the site $aVerR[0] = $aVer[0]; - 7 PS: If possible do not write me personally, please try to ask on the forum first |