I have a wrking website, but I would like to introduce a new template (whole new website). Houw do I configure this at the hosting server, so that my current website keeps on working while I am building the new website (template) in the background?
Currently working with version 1.9.4.2
Thanks for the help!
[SOLVED]implementing a new template on the server
[SOLVED]implementing a new template on the server
Last edited by chrisbar on Sat Mar 31, 2012 10:43 am, edited 1 time in total.
Re: implementing a new template on the server
Create a template in Layout -> Templates, add Stylesheets in Layout -> Stylesheets, attach stylesheets to Template.
Create a page "Show in Menu" unchecked so it is not visible, select from Template dropdown, new Template you have created.
View page in Browser and change Template, Stylesheets as needed.
If your html markup and smarty tags will be the same then you can work on live site to, by simply adding {cms_stylesheet name='my_new_style'} to template.
For example:
{if $smarty.server.REMOTE_ADDR == 'MY.IP.ADDRESS'}
{cms_stylesheet name='my_new_style'}
{else}
{cms_stylesheet}
{/if}
Where MY.IP.ADDRESS would be your IP
Create a page "Show in Menu" unchecked so it is not visible, select from Template dropdown, new Template you have created.
View page in Browser and change Template, Stylesheets as needed.
If your html markup and smarty tags will be the same then you can work on live site to, by simply adding {cms_stylesheet name='my_new_style'} to template.
For example:
{if $smarty.server.REMOTE_ADDR == 'MY.IP.ADDRESS'}
{cms_stylesheet name='my_new_style'}
{else}
{cms_stylesheet}
{/if}
Where MY.IP.ADDRESS would be your IP
[SOLVED] Re: implementing a new template on the server
Thank you! It works. Maybe you also know what to do in the menu of the template 'artisteer'. The dropdownmenu now also shows the numbers in front of the pagename f.i. 2.2 Organisation. This numbering should not be shown.
Thanks so much
Thanks so much
[CLOSED] Re: implementing a new template on the server
solved! Thanks