I was running version 4.1.30 and was prompted to upgrade to 4.1.32. I did and got the following message after upgrade was successful:
The following templates which you've customized have changes which you will want to apply in order to see new features and the like: javascriptheader.js, wrapper.tpl
How do I know or find these changes in order to apply them? Besides, I don't think I've ever made any changes to javascriptheader.js myself. I took a look at the source code and compare it to the standard version and found one line that was changed:
line 74 (my current version after upgrade): var tosend = "ajax.php?action=counthit" + escape("&") + "linkid=" + linkid;
line 74 (standard version): var tosend = "{DIRURL}/ajax.php?action=counthit" + escape("&") + "linkid=" + linkid;
Now which one should I load? and where can I find the new changes to wrapper.tpl?
WebDesignGold.com wrote: I was running version 4.1.30 and was prompted to upgrade to 4.1.32. I did and got the following message after upgrade was successful:
The following templates which you've customized have changes which you will want to apply in order to see new features and the like: javascriptheader.js, wrapper.tpl
How do I know or find these changes in order to apply them?
The templates within that message were a link and if you clicked on them it would tell you what changes had been made since your previous version, giving you the line number, old code and what to replace it with.
WebDesignGold.com wrote: Besides, I don't think I've ever made any changes to javascriptheader.js myself. I took a look at the source code and compare it to the standard version and found one line that was changed:
line 74 (my current version after upgrade): var tosend = "ajax.php?action=counthit" + escape("&") + "linkid=" + linkid;
line 74 (standard version): var tosend = "{DIRURL}/ajax.php?action=counthit" + escape("&") + "linkid=" + linkid;
Now which one should I load? and where can I find the new changes to wrapper.tpl?
If you are not sure then you can always download the latest version from the members area and use those templates.
The template changes are bug fixes, telling you that there were mistakes in templates that need to be fixed. It shouldn't be prompting for anything that you haven't customized, so go to your template page and check which templates are in the 'changed' color. If more are than you think should be: a) You may have uploaded the templates from MS Windows in binary mode, which causes them to end up the wrong size and be considered changed. b) You may not have applied a long series of previous changes since the version you started with, thus ending up with divergant templates.
babrees wrote: If you are not sure then you can always download the latest version from the members area and use those templates.
It's easier to click 'revert to standard' in the template editor.
I can only click 'revert to standard' when I'm sure I didn't customize the template/file. As I didn't see the links in that message (usability issue here if links aren't easily distinguiched), there should be a place on the support site that lists changes line by line. But that's maybe asking too much when we've paid little
I've spotted a difference between my customized wrapper.tpl and the standard version - besides the custom stuff - and which has to do with the javascriptheader.tpl.
My customized version, in head section: <script type="text/javascript" src="{DIRURL}/{TEMPLATESDIR}/javascriptheader.js"></script>
The standard version: <script type="text/javascript" src="{DIRURL}/javascriptheader.php"></script>
Is it safe now to just copy over that line from the standard version to my customized one? and are there other changes that I'm not aware of?
Comments on Changes To Customized Templates
Web Designer
Usergroup: Customer
Joined: Dec 23, 2005
Total Topics: 8
Total Comments: 24
I was running version 4.1.30 and was prompted to upgrade to 4.1.32. I did and got the following message after upgrade was successful:
The following templates which you've customized have changes which you will want to apply in order to see new features and the like: javascriptheader.js, wrapper.tpl
How do I know or find these changes in order to apply them? Besides, I don't think I've ever made any changes to javascriptheader.js myself. I took a look at the source code and compare it to the standard version and found one line that was changed:
line 74 (my current version after upgrade): var tosend = "ajax.php?action=counthit" + escape("&") + "linkid=" + linkid;
line 74 (standard version): var tosend = "{DIRURL}/ajax.php?action=counthit" + escape("&") + "linkid=" + linkid;
Now which one should I load? and where can I find the new changes to wrapper.tpl?
Thanks
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
I was running version 4.1.30 and was prompted to upgrade to 4.1.32. I did and got the following message after upgrade was successful:
The following templates which you've customized have changes which you will want to apply in order to see new features and the like: javascriptheader.js, wrapper.tpl
How do I know or find these changes in order to apply them?
The templates within that message were a link and if you clicked on them it would tell you what changes had been made since your previous version, giving you the line number, old code and what to replace it with.
Besides, I don't think I've ever made any changes to javascriptheader.js myself. I took a look at the source code and compare it to the standard version and found one line that was changed:
line 74 (my current version after upgrade): var tosend = "ajax.php?action=counthit" + escape("&") + "linkid=" + linkid;
line 74 (standard version): var tosend = "{DIRURL}/ajax.php?action=counthit" + escape("&") + "linkid=" + linkid;
Now which one should I load? and where can I find the new changes to wrapper.tpl?
If you are not sure then you can always download the latest version from the members area and use those templates.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
The template changes are bug fixes, telling you that there were mistakes in templates that need to be fixed. It shouldn't be prompting for anything that you haven't customized, so go to your template page and check which templates are in the 'changed' color. If more are than you think should be:
a) You may have uploaded the templates from MS Windows in binary mode, which causes them to end up the wrong size and be considered changed.
b) You may not have applied a long series of previous changes since the version you started with, thus ending up with divergant templates.
If you are not sure then you can always download the latest version from the members area and use those templates.
It's easier to click 'revert to standard' in the template editor.
Web Designer
Usergroup: Customer
Joined: Dec 23, 2005
Total Topics: 8
Total Comments: 24
Thanks for your replies.
I can only click 'revert to standard' when I'm sure I didn't customize the template/file. As I didn't see the links in that message (usability issue here if links aren't easily distinguiched), there should be a place on the support site that lists changes line by line. But that's maybe asking too much when we've paid little
Web Designer
Usergroup: Customer
Joined: Dec 23, 2005
Total Topics: 8
Total Comments: 24
I've spotted a difference between my customized wrapper.tpl and the standard version - besides the custom stuff - and which has to do with the javascriptheader.tpl.
My customized version, in head section:
<script type="text/javascript" src="{DIRURL}/{TEMPLATESDIR}/javascriptheader.js"></script>
The standard version:
<script type="text/javascript" src="{DIRURL}/javascriptheader.php"></script>
Is it safe now to just copy over that line from the standard version to my customized one? and are there other changes that I'm not aware of?
Thanks
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
I don't see how the links could be any more easily distinguished. I use the same link color everywhere, and underline them as per norms on the web.
http://www.wsnforum.com/filecomparison/ lists the changes, but it can't factor out that which was auto-updated for you since it's independant of your site.
Just copy over, yes.