View Full Version : Multiple Other Info Prompts
Marion MacK
11-Nov-2003, 12:39 PM
Hi everyone!
I have recently used the patch available from
www.rouxel.cwc.net/actinicstuff.html to implement multiple other info prompt fields on my product pages.
This has worked very well, except it is showing the field lengths and ¬ characters on the shopping cart and check out pages, which doesn't look very good. It is withholding them on the product page properly.
I am using Actinic v 6.1.3.
Can anyone help? I have used the patch several times to make sure I am doing it correctly but to no avail.
Many thanks,
Marion MacKenzie.
NormanRouxel
11-Nov-2003, 03:05 PM
I just tried the patch on a clean 6.1.3 and it worked fine.
I think you're making a mistake in patching ActinicOrder.pm.
Note that Actinic have an error in the commenting of one of the routines there. The routine InfoGetValue has a comment block that's a duplicate of the InfoHTMLGenerate routines comment block. This may be tricking you into patching the wrong routine.
If that's not it why not zip that ActinicOrder.pm up and e-mail it to me and I'll see what you've done.
Norman
I implemented it here on Sunday as well and it does work fine - the mistake that I made first of all (that took me ages to work out) was that I edited ActinicOrder.pm with notepad and when I saved the file, notepad added .txt onto the end, which made it ActinicOrder.pm.txt, this meant that the basket etc had the raw prompt name rather than the actual prompts.
The default format for the prompt text on the page is rather large, to fix this up you have to edit the routine in actiniccore.js called setotherinfo to generate the correct HTML, in mine I just had to change the css class that was being used.
Regards,
Marion MacK
11-Nov-2003, 06:20 PM
Thanks for all your help, I will have another go at it!
I have also been saving it with Notepad...how did you manage to save it just as a .pm file in the end please Jan?
Marion
I think that putting a space after the pm might work - but what I did was to delete the original ActinicOrder.pm and then rename ActinicOrder.pm.txt to ActinicOrder.pm.
Regards,
admad1
11-Nov-2003, 07:31 PM
In order to get the right extension simply type the name ActinicOrder.pm into the field and it will save it with that extension when using Notepad.
Even better get your self a free copy of textpad and you can see where the line numbers and spaces are by switching the options on and off when editing a file.
You can get it at http://www.textpad.com/
I dont have anything to do with them other than I use there free download for editing text files and pl scripts. Found it very useful.
Andy
Marion MacK
12-Nov-2003, 10:16 AM
Hmmm I have tried deleting the original and renaming the new one ActinicOrder.pm but it is still saving it as a text file. I think this is where I must have been going wrong!
Marion MacK
12-Nov-2003, 10:20 AM
Well, I finally managed to rename it as a .pm file using Textpad. However I am now getting a server error when I click on "Add to Cart". I think I will take you up on your kind offer and mail you the offending file, thanks Norman!
Marion
NormanRouxel
12-Nov-2003, 11:32 AM
The file was patched wrongly. I've e-mailed you the correct one.
It was also a slightly older version than I'm using here. The most recent version adds (optional) inline style to the input fields.
I've posted the new one onto www.rouxel.cwc.net/actinicstuff.html
Norman
Marion MacK
12-Nov-2003, 11:33 AM
Thanks Norman!
:D
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.