header textbox when editing scriplets

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
cmorganmcp
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 36
Joined: Mon Dec 08, 2008 10:41 am

header textbox when editing scriplets

Post by cmorganmcp » Wed Jan 21, 2009 2:51 pm

I have a page where the product has custom info in the "header" textbox and a sidebar has info in the "header" textbox but the sidebar header info isn't getting rendered out. When I save and go back to that scriptlet in the admin area it still shows that it's there but it just doesn't get rendered out. Is this a bug or is there an option somewhere to allow this?

-chad

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

Re: header textbox when editing scriplets

Post by jmestep » Wed Jan 21, 2009 5:22 pm

Make sure you are using the exact spelling as in the conlib references- it is case sensitive.
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

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

Re: header textbox when editing scriplets

Post by mazhar » Thu Jan 22, 2009 5:04 am

The scriptlet header section is for the contents you want to put in the HTML header; for example scripts etc. If you want to output something on the page then you should enter it in the content text-box.

cmorganmcp
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 36
Joined: Mon Dec 08, 2008 10:41 am

Re: header textbox when editing scriplets

Post by cmorganmcp » Thu Jan 22, 2009 9:26 am

Right, I'm trying to add content that will be rendered to the <head> section of the page. It doesn't get rendered at all. When I view the source, the text isn't there. I'm using that header textbox on other parts of the site and it works fine but it seems to be choking when multiple pieces want to add info to <head>. I'm trying to add <style> tags in the header textbox so my client can more easily edit the look if I'm not available. For now I have it in the main css file under App_Themes but I'd rather let the client edit very specific things through that header textbox if possible. And yes, everything is spelled and cased correctly.

-chad

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

Re: header textbox when editing scriplets

Post by mazhar » Thu Jan 22, 2009 9:37 am

Make sure that the page for which you are checking the page source contains both the header and sidebar on it.

cmorganmcp
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 36
Joined: Mon Dec 08, 2008 10:41 am

Re: header textbox when editing scriplets

Post by cmorganmcp » Thu Jan 22, 2009 9:42 am

It does, I can edit the content and see the change immediately

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

Re: header textbox when editing scriplets

Post by mazhar » Thu Jan 22, 2009 9:55 am

strange, for me its working with both header and sidebar. could you confirm that under App_Data/Scriptlets/Custom/ directory the both scriptlets have modification in them. The header will be header folder and sidebar scriptlet will be in sidebars folder.

cmorganmcp
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 36
Joined: Mon Dec 08, 2008 10:41 am

Re: header textbox when editing scriplets

Post by cmorganmcp » Thu Jan 22, 2009 10:14 am

Yeah, everything is there. I can either edit in the header textbox in the admin area or edit the <headerdata> section of the file manually and either way it just doesn't render out. I've pretty much finished with that part of the project but I'll post back here if I figure it out or notice what I'm doing wrong

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

Re: header textbox when editing scriplets

Post by mazhar » Thu Jan 22, 2009 10:20 am

what is your application version? You can check it under merhant->website->about

cmorganmcp
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 36
Joined: Mon Dec 08, 2008 10:41 am

Re: header textbox when editing scriplets

Post by cmorganmcp » Thu Jan 22, 2009 11:34 am

PLATFORM: ASP.NET
VERSION: 7.1
BUILD: 10875

AjaxControlToolkit: 1.0.10301.0
CommerceBuilder: 7.0.10576.0
CommerceBuilder.AbleCommerceTax: 7.1.0.0
CommerceBuilder.AustraliaPost: 7.1.0.0
CommerceBuilder.AuthorizeNet: 7.0.9764.0
CommerceBuilder.CanadaPost: 7.0.0.0
CommerceBuilder.CCH: 7.0.0.0
CommerceBuilder.Configuration: 7.0.10576.0
CommerceBuilder.CyberSource: 7.0.9764.0
CommerceBuilder.DataClient.Api: 1.0.0.31
CommerceBuilder.DataClient.Csv: 1.0.0.0
CommerceBuilder.DHL: 7.0.8825.0
CommerceBuilder.DHLInternational: 7.1.0.0
CommerceBuilder.ECB: 7.0.0.0
CommerceBuilder.FedEx: 7.0.9725.0
CommerceBuilder.FRBNY: 7.0.0.0
CommerceBuilder.GoogleCheckout: 7.0.10052.0
CommerceBuilder.InternetSecure: 7.0.9764.0
CommerceBuilder.LinkPoint: 7.0.9764.0
CommerceBuilder.Paradata: 7.0.9764.0
CommerceBuilder.PayFlowPro: 7.0.10061.0
CommerceBuilder.PayJunction: 7.0.9764.0
CommerceBuilder.PayPal: 7.1.10840.0
CommerceBuilder.Protx: 7.1.10124.0
CommerceBuilder.Services: 7.0.10576.0
CommerceBuilder.SkipJack: 7.0.9764.0
CommerceBuilder.UPS: 7.0.10041.0
CommerceBuilder.USPS: 7.0.9728.0
CommerceBuilder.Web: 7.0.10576.0
ComponentArt.Web.UI: 2007.1.1566.3
CyberSource.Base: 2.0.0.0
CyberSource.Clients: 5.0.2.0
CyberSource.Clients.XmlSerializers: 5.0.2.0
CyberSource.WSSecurity: 2.0.0.0
CybsWSSecurityIOP: 1.0.0.0
edtFTPnet: 1.2.4.0
FredCK.FCKeditorV2: 2.5.2912.21007
ICSharpCode.SharpZipLib: 0.85.5.452
LinkPointTransaction: 1.0.1797.29766
log4net: 1.2.10.0
Microsoft.Practices.EnterpriseLibrary.Common: 2.0.0.0
Microsoft.Practices.EnterpriseLibrary.Data: 2.0.0.0
Microsoft.Practices.ObjectBuilder: 1.0.51205.0
Microsoft.Web.Preview: 1.2.61025.0
NVelocity: 7.0.8530.0
PaygatewayNET: 3.0.0.0
paypal_base: 4.2.1.0
PFProCOMLib: 1.0.0.0
PFProdotNET: 0.0.0.0
Validators: 1.0.0.0
WebChart: 1.1.1.6
wwHoverPanel: 1.85.0.0

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

Re: header textbox when editing scriplets

Post by mazhar » Thu Jan 22, 2009 12:03 pm

Its working for me, have a look at the attached screen shots of both scriptlets and page source

Post Reply