Change Template Name

Anyone know how simple it is to change the name of a template in the 'template selector' on home page?

 

I want a couple of templates to be available, but just want them to be called by their color and not the long name that they have by default.

 

example - change 'uni' to 'white' ...

 

Is it a case of changing lots of files?

Quote · 28 Dec 2010

1)
You must change the folder name of the template itself:
"tmpl_oldName" in "tmpl_newName"

2) Open the BxTemplName.php file from templates/tmpl_oldName/script/
and change the name of the template:

replacing

$sTemplName = 'oldName;

with

$sTemplName = 'newName;

3)
you have to change the name of the template from modules / boonex / forum / layout / oldName in "newName" (without tmpl_)

4)
you have to edit the params.php file from modules / boonex / forum / layout / oldName

replacing all your old template name you see

$gConf['dir']['xsl'] = $gConf['dir']['layouts'] . 'oldName/xsl/'; // xsl dir

$gConf['url']['css'] = $gConf['url']['layouts'] . 'oldName/css/'; // css url
$gConf['url']['xsl'] = $gConf['url']['layouts'] . 'oldName/xsl/'; // xsl url

with

$gConf['dir']['xsl'] = $gConf['dir']['layouts'] . 'newName/xsl/'; // xsl dir

$gConf['url']['css'] = $gConf['url']['layouts'] . 'newName/css/'; // css url
$gConf['url']['xsl'] = $gConf['url']['layouts'] . 'newName/xsl/'; // xsl url

 

ciao from aneilaDesign

Quote · 28 Dec 2010

Brilliant Thanks!

Will give it a go.

 

Tim

Quote · 28 Dec 2010

Most helpful tutorial! thanks so much!

Gloria Grayson
Quote · 12 Jan 2011

Hi 

I have created a new template and simply changed some of the images.  Can you tell me how to make them appear - I don't see any change.
Thanks in advance for your help!

Quote · 20 Jan 2011

 

Hi 

I have created a new template and simply changed some of the images.  Can you tell me how to make them appear - I don't see any change.
Thanks in advance for your help!

Try clearing your site's cache. In the future, try to find a topic about what it is you're asking (or create a new one).

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 20 Jan 2011

Can't you just change the name, then re-save to fix all the other pointer files?

Quote · 29 Jun 2012

Thanks a lot AneilaDesign. 

Quote · 24 Mar 2015
 
 
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.