Community Forums 

Main Content

Urgent Problem

    Jun 11 2012 20:59:53

    #1

    cassie75

    Join date : 2008-09-18      Posts : 273

    2 of my sites use producturl to link back to website. 1 does not.

    One of the ones that use it is not working - the basket has the items in but they are blank.

    The other uses a stay on page script and that one works ok

    The one that doesnt use it works ok.

    Anyone else got a problem?

    You can check it on the following page - have had to turn producturl off all the rest of the site until this is fixed but the following page is a test page.

    http://www.craftbits.co.uk/eye1x.htm

    Life is too short to work 8 hours a day - thats why I work 16 :-)




    Jun 12 2012 07:24:27

    #2

    GT

    Join date : 2008-09-18      Posts : 3207

    I've manged to strip your frame from your page, frames are really bad news...

    http://www.malsforms.com/cassie75.html

    The frame is a bit of a mess:
    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.malsforms.com%2Fcassie75.html

    After getting a product form, I saw a load of dross and confusion.

    I couldn't get a product description shown in Mal's for example.

    I'd use this for a product:

    <form action="http://ww4.aitsafe.com/cf/add.cfm"; method="post">
    <table>
    <tr><td>
    <p>
    <input type="hidden" name="userid" value="6642255">
    <input type="hidden" name="return" value="www.craftbits.co.uk/eye1x_m.htm">;
    <input type="hidden" name="scode" value="CJST16-05">
    <input type="text" name="qty" size="3" value="1">
    </p>
    </td>
    <td><p>
    <select name="productpr">
    <option value="Five pairs 16.5mm Safety Eyes Teddy Amber:2.70">Amber</option>
    <option value="Five pairs 16.5mm Safety Eyes Teddy Black:2.70">Black</option>
    <option value="Five pairs 16.5mm Safety Eyes Teddy Brown:2.70">Brown</option>
    <option value="Five pairs 16.5mm Safety Eyes Teddy Blue:2.70">Blue</option>
    </select>
    </p>
    </td>
    <td><p><input type="submit" value="Add"></p></td>
    </tr>
    </table>
    </form>

    Having trouble with a form or need one building?
    Fast turnaround, but I do charge :)

    Mal's Forms / Scripts and the syntax are here.




    Jun 12 2012 10:35:50

    #3

    cassie75

    Join date : 2008-09-18      Posts : 273

    the code we have for adding one size of eyes in various pack sizes is as follows.

    <!-- Eyes 7.5mm begin-->
    <form onMouseover="change('#FFD0FF')" onMouseout="change('')" action="http://ww4.aitsafe.com/cf/add.cfm"; method="post" style="margin-top: 0; margin-bottom: 0">
    <input type="hidden" name="userid" value="6642255">
    <input type="hidden" name="producturl" value="http://www.craftbits.co.uk/eye1x_m.htm">;
    <input type="hidden" name="return" value="www.craftbits.co.uk/eye1x_m.htm">;
    <input type="hidden" name="scode" value="CJST07-01:">
    <input type="hidden" name="product[]" value="One pair 7.5mm Safety Eyes">
    <input type="hidden" name="price" value="0.30">
    <table border="0" cellpadding="0" cellspacing="0" width="100%" height="25">
    <tr><td width="33%" height="25"><p align="center">
    <input type="text" name="qty" size="3" style="text-align: Center" value="1"></p></td>
    <td width="33%" height="25"><p align="center">
    <select name="product[]" size="1">
    <option value="Teddy Amber">Amber</option>
    <option value="Teddy Black">Black</option>
    <option value="Teddy Brown">Brown</option>
    <option value="Teddy Blue">Blue</option>
    </select></p></td>
    <td width="33%" height="25"><p align="center">
    <input type="submit" value="Add">
    </p></td></tr></table>
    </form>
    <!-- Eyes 7.5mm end -->

    We have made no changes to the code or website recently.

    Life is too short to work 8 hours a day - thats why I work 16 :-)




    Jun 12 2012 11:11:14

    #4

    cassie75

    Join date : 2008-09-18      Posts : 273

    Mal has now fixed this for me - not sure what the problem was. Now to put all my links back in :-)

    GT - I will look at the validation problems when I have time. As for frames - I know the arguments for and against - they have worked well on two sites for me for over 12 years. The one site I don't use them on does not do as well.
    We are not greedy - we get enough income with the sites as they are and I don't have time to do anything else with them because we are so busy :-)

    UPDATE
    Heard back from Mal
    "It was an update that had gone a bit wrong. There had been some requests to change the positioning of the tumbnail image with respect to the text beside it. The producturl url is a feature in the same bit of the code."
    Glad it was not something I had done for a change :-)

    Life is too short to work 8 hours a day - thats why I work 16 :-)