![]() |
Show me the Code storeid Issues in Expression Web |
Post Reply ![]() |
Page 12> |
Author | |
stuartvb ![]() Senior Member ![]() Joined: 08 April 2008 Location: United Kingdom Status: Offline Points: 295 |
![]() ![]() ![]() ![]() ![]() 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 |
|
![]() |
|
Support ![]() RomanCart Team ![]() Joined: 16 March 2004 Location: United Kingdom Status: Offline Points: 10794 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
stuartvb ![]() Senior Member ![]() Joined: 08 April 2008 Location: United Kingdom Status: Offline Points: 295 |
![]() ![]() ![]() ![]() ![]() |
OK Thanks. All forms are separate. Anybody any idea where this setting might be?
|
|
![]() |
|
wigman ![]() Senior Member ![]() Joined: 17 March 2004 Location: United Kingdom Status: Offline Points: 1170 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
raineshoe ![]() Senior Member ![]() Joined: 03 October 2007 Location: United Kingdom Status: Offline Points: 1502 |
![]() ![]() ![]() ![]() ![]() |
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.
|
|
![]() |
|
ponyandcarriage ![]() Senior Member ![]() Joined: 09 August 2009 Status: Offline Points: 107 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
John Pye ![]() Newbie ![]() Joined: 02 July 2008 Status: Offline Points: 34 |
![]() ![]() ![]() ![]() ![]() |
Can anyone point to the info about Dreamweaver settings in the forum please - I can't seem to find it Thanks John |
|
![]() |
|
Dave P ![]() RomanCart Guru ![]() Joined: 15 February 2004 Location: United Kingdom Status: Offline Points: 4066 |
![]() ![]() ![]() ![]() ![]() |
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. |
|
![]() |
|
raineshoe ![]() Senior Member ![]() Joined: 03 October 2007 Location: United Kingdom Status: Offline Points: 1502 |
![]() ![]() ![]() ![]() ![]() |
Its under edit/preferences/code rewriting in CS3.
Edited by raineshoe - 31 May 2010 at 9:18am |
|
![]() |
|
stuartvb ![]() Senior Member ![]() Joined: 08 April 2008 Location: United Kingdom Status: Offline Points: 295 |
![]() ![]() ![]() ![]() ![]() |
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" |
|
![]() |
Post Reply ![]() |
Page 12> |
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |