Troubleshooting Scriptlets on Custom Pages

Store UI, layout, design, look and feel; Discussion on the customer facing pages of your online store. Cascading Style Sheets, Themes, Scriptlets, NVelocity and the components in the ConLib directory.
Post Reply
smcfarland
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 26
Joined: Fri Oct 17, 2008 4:25 pm

Troubleshooting Scriptlets on Custom Pages

Post by smcfarland » Tue Oct 28, 2008 9:37 am

I am having some real issues with the scriptlets and custom pages.

For instance, I tried using the scriptlets for the ContactUs.aspx page and the title says "Currencies". I tried copying webpage.aspx and renaming it as affiliates.aspx, navigating to the site logged in as admin, then changing the content to "My Affiliate..." and all that comes up is the header "My Affiliate Account", with nothing under it.

I had a lot of issues getting things uploaded -- I had to do a clean install three times due to connection problems with Comcast and FileZilla. I reinstalled, so I don't think anything is missing now, but apparently something isn't right.

Besides completely scrapping all of the work I have done and starting over, does anyone see a fix?

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Troubleshooting Scriptlets on Custom Pages

Post by mazhar » Tue Oct 28, 2008 10:34 am

For the title also have a look at the top of the ASPX page and if there is Title attribute then change its value as desired. Also if you duplicated the webpage.aspx and using your custom scriptlet with the copy then remove the code within

Code: Select all

<script runat="server">
..........
..........
</script> 
tags. This code is used to load the webpages by webpageid.

User avatar
nickc
Captain (CAPT)
Captain (CAPT)
Posts: 276
Joined: Thu Nov 29, 2007 3:48 pm

Re: Troubleshooting Scriptlets on Custom Pages

Post by nickc » Tue Oct 28, 2008 10:45 am

Hmm. Guesswork is no fun. Build and test locally. Running VS against a local copy of IIS running Able will allow you to set breakpoints, watches, and see exactly how your controls are behaving. After it all works the way you want - upload.

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Troubleshooting Scriptlets on Custom Pages

Post by jmestep » Tue Oct 28, 2008 12:10 pm

Are you making changes from the web side of the site, down in the Editor where you pick the left nav, body content, etc? If you are making changes to the content area there, then that change will be applied to any item that uses the display page that is being used in the section right above.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

Post Reply