Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Status History & Comments

Status History & Comments

Locked

Views: 1,893

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
18 Jun 2009, 9:02 PM
#1
deko avatar

deko

New Zenner

Join Date:
Sep 2004
Posts:
34
Plugin Contributions:
0

Status History & Comments

Hello, I am going mad trying to figure this one out but I suspect it's really simple.

I'm trying to edit the layout of the page that contains 'Status History & Comments'.

To get to this page...

  1. Click 'My Account' link

  2. Click 'view' in Previous Orders table

I have copied up 'tpl_account_history_default.php' to my overrides folder but nothing I do shows on the site. I know this page is a html page, so I figure it's generated when you click the 'view' button on the previous page, but even if I logout, log in click view again, I just cannot see any changes.

Someone make me look stupid now :)

Thanks
d.

18 Jun 2009, 9:14 PM
#2
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: Status History & Comments

OK, well firstly most of the styling can be done in the stylesheet. What exactly are you trying to accomplish?

18 Jun 2009, 9:20 PM
#3
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: Status History & Comments

Secondly, the file you really want to have a look at is:

tpl_account_history_info_default.php

Also in an override is best.

18 Jun 2009, 10:13 PM
#4
deko avatar

deko

New Zenner

Join Date:
Sep 2004
Posts:
34
Plugin Contributions:
0

Re: Status History & Comments

My mistake, I meant to say 'tpl_account_history_info_default.php' :)
I copied both to my override folder just in case one relied on the other.

The first thing I'd like to do is remove the cellspacing="2" from the table, but according to 'tpl_account_history_info_default.php' it's not there???

19 Jun 2009, 9:47 AM
#5
deko avatar

deko

New Zenner

Join Date:
Sep 2004
Posts:
34
Plugin Contributions:
0

Re: Status History & Comments

I've a bit more info now, but still none the wiser :)

Turns out that this page is a php page in the default install

e.g. main_page=account_history_info&order_id=3

but in the site I'm working on it's not, it's

/account/orders/view-3.html

Can anyone shed any light on what's happening here? I'm thinking maybe some kind of friendly url meddeling, but that would be pointless once someone is inside their personal account?

Thx
d.

19 Jun 2009, 12:40 PM
#6
deko avatar

deko

New Zenner

Join Date:
Sep 2004
Posts:
34
Plugin Contributions:
0

Re: Status History & Comments

Found the problem :)

Installed mod was using 'tpl_tracker_default.php' instead of 'tpl_account_history_info_default.php'