Opening new template from file

Questions about how to install and problems installing - please read the documentation first!
Post Reply
noob
Posts: 1
Joined: Mon Nov 09, 2009 1:27 am

Opening new template from file

Post by noob » Mon Nov 09, 2009 1:32 am

Hi Guys,

Just downloaded CMSimple and opened the standard template in my browser, which worked according to plan. However, when I downloaded another template from dotcomwebdesign.com and tried to open this in my browser all the pictures in the template are gone. I installed the template into the same folder as the default CMSimple template. Is it normal that pictures disappear when not opening the template from a server?

brgds,

Noob

mvwd
Posts: 299
Joined: Tue Jun 17, 2008 10:35 pm
Location: Baden Württemberg / Germany
Contact:

Re: Opening new template from file

Post by mvwd » Mon Nov 09, 2009 6:04 am

noob wrote:Is it normal that pictures disappear when not opening the template from a server?
Yes. You cannot view the templates by opening the template.htm itself (the template contains PHP, that needs to be processed by the server).
You just need to install and activate the template: Copy it in the directory "templates" and then choose the template in CMSimple's admin-section -> Settings in the dropdown-menu for templates.
mvwd.

mikey
Site Admin
Posts: 179
Joined: Tue May 27, 2008 3:15 am
Location: Sydney Australia

Re: Opening new template from file

Post by mikey » Mon Nov 09, 2009 7:19 am

also, some server interpret the images location differently,

this may be the case

open template.htm in notepad

look for

<?=$pth['folder']['templateimages']?>

do a mass search and replace with the following

<?php echo $pth['folder']['templateimages']?>

save and upload, let us know if this fixes

cheers
mikey

mvwd
Posts: 299
Joined: Tue Jun 17, 2008 10:35 pm
Location: Baden Württemberg / Germany
Contact:

Re: Opening new template from file

Post by mvwd » Mon Nov 09, 2009 7:24 am

Yeah, Mikey is right.
This can be another reason for your problem. More informations about this, take a look at the FAQ.
mvwd.

Post Reply