Scriptlet changes take effect but not reflected in VS

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
ZLA
Commodore (COMO)
Commodore (COMO)
Posts: 496
Joined: Fri Mar 13, 2009 2:55 pm

Scriptlet changes take effect but not reflected in VS

Post by ZLA » Sun Aug 23, 2009 10:45 pm

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?

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Scriptlet changes take effect but not reflected in VS

Post by AbleMods » Mon Aug 24, 2009 5:55 am

In 7.0.3, Scriptlet changes are stored in folder(s) beneath the current theme inside ~/App_Themes/.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

ZLA
Commodore (COMO)
Commodore (COMO)
Posts: 496
Joined: Fri Mar 13, 2009 2:55 pm

Re: Scriptlet changes take effect but not reflected in VS

Post by ZLA » Mon Aug 24, 2009 8:06 am

I'm using 7.0.2 so file location is App_Data\Scriptlets.

ZLA
Commodore (COMO)
Commodore (COMO)
Posts: 496
Joined: Fri Mar 13, 2009 2:55 pm

Re: Scriptlet changes take effect but not reflected in VS

Post by ZLA » Mon Aug 24, 2009 2:48 pm

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.

ZLA
Commodore (COMO)
Commodore (COMO)
Posts: 496
Joined: Fri Mar 13, 2009 2:55 pm

Re: Scriptlet changes take effect but not reflected in VS

Post by ZLA » Mon Aug 24, 2009 2:50 pm

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.

Post Reply