Dynamic company name

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......
Quote · 12 Nov 2010

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
Quote · 12 Nov 2010

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......
Quote · 12 Nov 2010

1. Find and edit this lang key : _copyrightvia 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
Quote · 12 Nov 2010

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......
Quote · 22 Nov 2010

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
Quote · 29 Dec 2010

 

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
Quote · 29 Dec 2010

but this number is changing all the time i visit the site

ue30 Mods - http://www.boonex.com/market/posts/ue30
Quote · 29 Dec 2010

 

but this number is changing all the time i visit the site

$aVerR[0] = $aVer[0]; - 7
$aVerR[1] = rand( 0, 100 ); - it's random value
$aVerR[2] = $aVer[1];  - 0
$aVerR[3] = rand( 0, 100 ); - it's random value
$aVerR[4] = $site['build']; - 4

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 29 Dec 2010
 
 
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.