RomanCart.com Forum Homepage
Forum Home Forum Home > RomanCart > Administration
  New Posts New Posts
  FAQ FAQ  Forum Search   Register Register  Login Login

Show me the Code storeid Issues in Expression Web

 Post Reply Post Reply Page  12>
Author
Message
stuartvb View Drop Down
Senior Member
Senior Member


Joined: 08 April 2008
Location: United Kingdom
Status: Offline
Points: 295
Post Options Post Options   Thanks (0) Thanks(0)   Quote stuartvb Quote  Post ReplyReply Direct Link To This Post Topic: Show me the Code storeid Issues in Expression Web
    Posted: 20 May 2010 at 4:11pm
I suspect I am not the only one who designs websites using RomanCart on Expression Web or FrontPage.

If one is using the Dynamic Web Template facility, changing the DWT and saving it then saves all pages attached to it. However a problem arises where the RomanCode form code is used as opposed to the hyperlink; the expression "storeid" is changed to "storeid0" this rendering a previously working link out of commission. This does not happen when using the link but of course the link cannot be used where modifiers are present.

As I am mostly a WYSIWYG person with only basic code knowledge I don't know why this happens; maybe because there is a space after the storeid. The only way I have found to correct this is to ensure that after changing the DWT you will have to do a global search of the html of all pages and replace "storeid0" with "storeid".

If support have any ideas as to how the form code could be written to avoid this it would of course be very welcome - especially for those of us using sites that are not dynamically driven with many huindreds or thousands of pages! I don't know if this also happens with other html editing software
Back to Top
Support View Drop Down
RomanCart Team
RomanCart Team


Joined: 16 March 2004
Location: United Kingdom
Status: Offline
Points: 10794
Post Options Post Options   Thanks (0) Thanks(0)   Quote Support Quote  Post ReplyReply Direct Link To This Post Posted: 20 May 2010 at 4:25pm
Hi,

This would be a setting in Expression web you would need to change. Dreamweaver does a similar thing with an option selected (more details on the forum).
Before you do this though, make sure you are not nesting forms (which is not valid html) - i.e. make sure all the forms are separate.

Many Thanks
Support
Back to Top
stuartvb View Drop Down
Senior Member
Senior Member


Joined: 08 April 2008
Location: United Kingdom
Status: Offline
Points: 295
Post Options Post Options   Thanks (0) Thanks(0)   Quote stuartvb Quote  Post ReplyReply Direct Link To This Post Posted: 20 May 2010 at 6:09pm
OK Thanks. All forms are separate. Anybody any idea where this setting might be?
Back to Top
wigman View Drop Down
Senior Member
Senior Member


Joined: 17 March 2004
Location: United Kingdom
Status: Offline
Points: 1170
Post Options Post Options   Thanks (0) Thanks(0)   Quote wigman Quote  Post ReplyReply Direct Link To This Post Posted: 20 May 2010 at 6:30pm
I have had this problem with Frontage, if the products are same apart from product number I have copied the form and pasted it again and then just change product number I found it inserted 0.
I found long ago to paste into Notepad change product number and copy and paste from there.
Mike
Back to Top
raineshoe View Drop Down
Senior Member
Senior Member


Joined: 03 October 2007
Location: United Kingdom
Status: Offline
Points: 1502
Post Options Post Options   Thanks (0) Thanks(0)   Quote raineshoe Quote  Post ReplyReply Direct Link To This Post Posted: 20 May 2010 at 9:08pm
Yep, had a nightmare with this and Dreamweaver until I found you had to untick a box and all my nighmares were solved. Hope you find your solution.
Back to Top
ponyandcarriage View Drop Down
Senior Member
Senior Member


Joined: 09 August 2009
Status: Offline
Points: 107
Post Options Post Options   Thanks (0) Thanks(0)   Quote ponyandcarriage Quote  Post ReplyReply Direct Link To This Post Posted: 20 May 2010 at 9:36pm
Hi
I hope this may help you a little, I do use expression web but I am by no means a master of it.
Basically the script that contains both your storeid and the catedory no should not really be going in the dynamic template portion, it should be in main page editable body perhaps body 2 or 3 but as high as you can go in that body – basically when you save your webpage if it asks to make global changes to a DWT template it’s in the wrong position.
<SCRIPT LANGUAGE="JavaScript" SRC="http://remote.romancart.com/datacache.asp?storeid=yourid&categoryid=yourcategoryno"></script>
The script similar to above should be put on each page (in the html view) and not in the dwt portion
Humm just read this back and it reads as clear as mud, let me know if this isn’t clear enough.
Ps I have never had to make any settings change to expression web 2 or three

Martin
Back to Top
John Pye View Drop Down
Newbie
Newbie


Joined: 02 July 2008
Status: Offline
Points: 34
Post Options Post Options   Thanks (0) Thanks(0)   Quote John Pye Quote  Post ReplyReply Direct Link To This Post Posted: 31 May 2010 at 6:26am
Originally posted by Support Support wrote:

Hi,

This would be a setting in Expression web you would need to change. Dreamweaver does a similar thing with an option selected (more details on the forum).
Before you do this though, make sure you are not nesting forms (which is not valid html) - i.e. make sure all the forms are separate.

Many Thanks
Support

Can anyone point to the info about Dreamweaver settings in the forum please - I can't seem to find it
Thanks
John
Tyre Pressure monitoring systems
www.TyrePal.co.uk
Brilliant boat care products
www.BoatSheen.com
Back to Top
Dave P View Drop Down
RomanCart Guru
RomanCart Guru


Joined: 15 February 2004
Location: United Kingdom
Status: Offline
Points: 4066
Post Options Post Options   Thanks (0) Thanks(0)   Quote Dave P Quote  Post ReplyReply Direct Link To This Post Posted: 31 May 2010 at 8:44am
Hi John,

On DW4, it's 'Edit / preferences' and then untick the check box which says "Rename form items when pasting".

I thinks it's in a different place in later versions but it's called something similar.
Back to Top
raineshoe View Drop Down
Senior Member
Senior Member


Joined: 03 October 2007
Location: United Kingdom
Status: Offline
Points: 1502
Post Options Post Options   Thanks (0) Thanks(0)   Quote raineshoe Quote  Post ReplyReply Direct Link To This Post Posted: 31 May 2010 at 9:16am
Its under edit/preferences/code rewriting in CS3.

Edited by raineshoe - 31 May 2010 at 9:18am
Back to Top
stuartvb View Drop Down
Senior Member
Senior Member


Joined: 08 April 2008
Location: United Kingdom
Status: Offline
Points: 295
Post Options Post Options   Thanks (0) Thanks(0)   Quote stuartvb Quote  Post ReplyReply Direct Link To This Post Posted: 31 May 2010 at 9:24am
Does anybody who uses Expresson Web know if this would be the same as:

In Expression Web 3:

Tools > Page Editor Options > General

Then Uncheck:

"Automatically enclose form field within a form"

and/or uncheck

"Make ID unique on paste"

Back to Top
 Post Reply Post Reply Page  12>
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.047 seconds.