Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Template Modification issue - changes aren't showing

Template Modification issue - changes aren't showing

Views: 846

Results 1 to 8 of 8
29 May 2012, 8:07 PM
#1
xmkx avatar

xmkx

New Zenner

Join Date:
May 2012
Posts:
3
Plugin Contributions:
0

Template Modification issue - changes aren't showing

Hello,

I started to manage a fully functional zen cart website (1.3.9h) and I am quite new to Zen Cart. The issue I am having is that whatever code I add to my custom template (includes/templates/mycustomtemplate/common/tpl_main_page.php) does not take effect. I´ve tried clearing the cache and also tried adding the same piece of code to the template_default, but without any results. I cannot understand what could be the problem, since I have no idea where to start searching for the mistake.

29 May 2012, 8:30 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Template Modification issue - changes aren't showing

A link to the site in question would help us help you.

29 May 2012, 8:35 PM
#3
xmkx avatar

xmkx

New Zenner

Join Date:
May 2012
Posts:
3
Plugin Contributions:
0

Re: Template Modification issue - changes aren't showing

Sorry for not mentioning, the site is http://www.bhairavashop.com

29 May 2012, 9:10 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Template Modification issue - changes aren't showing

You're using a Template Monster template, which may have prevented you from editing those pages. You could ask them about the problem.

30 May 2012, 3:10 AM
#5
win8win avatar

win8win

Zen Follower

Join Date:
Apr 2012
Location:
beijing
Posts:
258
Plugin Contributions:
1

Re: Template Modification issue - changes aren't showing

how about check the permission of ""tpl_main_page.php",the code you added can be saved?

30 May 2012, 6:06 AM
#6
sph avatar

sph

Totally Zenned

Join Date:
Jan 2006
Posts:
1,556
Plugin Contributions:
0

Re: Template Modification issue - changes aren't showing

It might also help if you explain what you are trying to do and what code you're trying to add.

TM should help with general issues with their template not working. Don't know how they will react to additions/modifications; possibly call it outside their scope.

30 May 2012, 7:55 AM
#7
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Template Modification issue - changes aren't showing

No advice can be given until we know what you are trying to achieve. We don't even know if tpl_main_page.php is the appropriate file to be editing.

And as Steve says, a LARGE part of your problems will be stemming from your use of TenplateMonster material, which is often so heavily customised, many core functions in zencart are either removed or disabled.

You can TEST your "theories" by reverting to the CLASSIC template, and making changes to template_default/common/tpl_main_page.php (make a backup first).

30 May 2012, 11:17 AM
#8
xmkx avatar

xmkx

New Zenner

Join Date:
May 2012
Posts:
3
Plugin Contributions:
0

Re: Template Modification issue - changes aren't showing

Thank you all for the advice. The reason for this was that there were multiple servers and the difference between the IPs was only one number, so the owner did not know that he had two ftp servers. Still thanks for such quick replies.