Page 1 of 1
Scriptlet changes take effect but not reflected in VS
Posted: Sun Aug 23, 2009 10:45 pm
by ZLA
I'm sure I'm missing the obvious but i can't see it at the moment. I can change a scriptlet as an admin from a store page and have it take effect. When I look at the scriptlet in the custom directory from Visual Studio or from Windows Explorer, the file only shows the original version.
I want to blame caching but that would be the opposite direction where the file is changed and the website is out of sync.
Suggestions?
Re: Scriptlet changes take effect but not reflected in VS
Posted: Mon Aug 24, 2009 5:55 am
by AbleMods
In 7.0.3, Scriptlet changes are stored in folder(s) beneath the current theme inside ~/App_Themes/.
Re: Scriptlet changes take effect but not reflected in VS
Posted: Mon Aug 24, 2009 8:06 am
by ZLA
I'm using 7.0.2 so file location is App_Data\Scriptlets.
Re: Scriptlet changes take effect but not reflected in VS
Posted: Mon Aug 24, 2009 2:48 pm
by ZLA
I looked into this further and I'm still perplexed. I'm sure I'm missing the obvious but this is very frustrating.
Attached are two screenshots. The first is where I edited the View Order scriptlet from the MyOrder page and the second is editing it from Manage Scriptlets through the admin side. As you can see the two don't match up. (Look at the line with class="sgMainPanel" in the main panel TD and notice only one has the bread crumbs.) The change has taken effect so the inline editing is working but Manage Scriptlets doesn't seem to have the correct value nor does the file seem to update.
BTW, I do know that the View Order.htm file is currently read-only because I recently checked it into VSS. I'll test whether or not that is the problem but I would have thought AC7 would handle that automatically.
Re: Scriptlet changes take effect but not reflected in VS
Posted: Mon Aug 24, 2009 2:50 pm
by ZLA
Read Only was the problem. I'll report this as a bug since it shouldn't let you updated the page without saving your changes. I wonder if I've lost other formatting changes this way.