Announcement

Collapse
No announcement yet.

How to upload changes in .pl files

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to upload changes in .pl files

    I am a newbie to Actinic. I am trying to change the code in .pl files as per the requirement. The changes are not being uploaded and reflected. I even confirmed it by removing all the .pl files. It still the same.
    Real problem is that : In case of Firefox the following button:
    <INPUT NAME=ACTION TYPE=Image VALUE="NETQUOTEVAR:NEXTBUTTON" SRC="next.gif" width="108" height="17">
    works fine and redirects to '.html' file via 'os100025.pl'. But in case of Internet Explorer this button works as 'Back Button' and redirects back to earlier page via 'os100025.pl'.
    'os100025.pl' doesnt exist and is being generated at runtime. I tried changing another(other) .pl file(s) with some related code but no no effect (even if I remove them).

    Please help. I have already devoted so much time on it and the project is approaching timelines.

    Thanks 4 your concerns.

    #2
    os000001.pl is generated by Actinic from the fully commented file OrderScript.pl in your Site folder. Make changes there and they'll be automatically uploaded and incorporated when you next do an Actinic Update.

    Likewise with the other aannnnnn.pl and .pm files in Site1. They all have longer more meaningful sources.

    It's pointless to change the generated cgi-bin files as Actinic will continually "repair" them.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Best thing to do is copy the original .pm and .pl files from c:\Program Files\Actinic v7\Original\ into your site folder to undo whatever damage you have done in these files and test the site functionality again.

      os10025.pl is the order processing script, specific to your site settings, which is created from those settings when you upload the site - if you break that you break everything. If something is not working with the original scripts, then we will need to track down the setting and correct that, not alter the script.

      So, replace the original scripts - test - and if it's not working - tell us the problem and the url, so we can look at it and diagnose.
      Bill
      www.egyptianwonders.co.uk
      Text directoryWorldwide Actinic(TM) shops
      BC Ness Solutions Support services, custom software
      Registered Microsoft™ Partner (ISV)
      VoIP UK: 0131 208 0605
      Located: Alexandria, EGYPT

      Comment


        #4
        Thanks for your responses.

        This is the url:
        http://trials.actinic.com/trials/trial29219/index.html
        Before going to process we have to add a product in my basket from any of the section like MensDriver/WomensDriver.
        After adding we go to the checkout page by clicking on the checkout link on the top of the page.

        Thanks again.

        Comment


          #5
          Please add the type="SUBMIT" attribute to the <INPUT tags, or just comment out your own tags and uncomment the Actinic ones.
          Bill
          www.egyptianwonders.co.uk
          Text directoryWorldwide Actinic(TM) shops
          BC Ness Solutions Support services, custom software
          Registered Microsoft™ Partner (ISV)
          VoIP UK: 0131 208 0605
          Located: Alexandria, EGYPT

          Comment


            #6
            Hi!
            Thanks a lot. Its working now.

            Next requirement is to use image as submit button.
            Currently using :
            <INPUT type="submit" name="ACTION" id="ACTION" value="NETQUOTEVAR:NEXTBUTTON" width="108" height="17">

            And its working fine.Now I need to insert a button image (next.gif) to submit.
            There is no 'form' in the page, I created a form to submit on image click , but it doesnt works.
            What could be the possible onclick="" code on an image like:
            <a href="#"><img src="images/save_button.jpg" width="95" height="22" onClick=""/></a>
            Thanks again for you concern.

            Comment


              #7
              http://knowledge.actinic.com/cgi-bin....com/acatalog/
              Bill
              www.egyptianwonders.co.uk
              Text directoryWorldwide Actinic(TM) shops
              BC Ness Solutions Support services, custom software
              Registered Microsoft™ Partner (ISV)
              VoIP UK: 0131 208 0605
              Located: Alexandria, EGYPT

              Comment


                #8
                This code works fine with FireFox but not with IE.
                This was the only issue that prompt me to use type="submit" instead of type="image" and loose the original button image(next.gif).
                I want to fix the next.gif image to submit in case of IE as well.
                Thanks again and again for you efforts.

                Comment


                  #9
                  Hi Vivek

                  Could you post the 'Act_Order0..' series template files you have edited ?
                  Kind Regards,

                  Seeths
                  SellerDeck

                  Comment


                    #10
                    Hi Seeths

                    Thanks for your responses.

                    Here is the file ( Code ) and i am making the line Bold Which Contained the problem




                    <table width="540" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                    <td>NETQUOTEVAR:ERROR </td>
                    </tr>
                    <tr>
                    <td><img src="checkout_head.gif" width="540" height="31"></td>
                    </tr>
                    <tr>
                    <td><img src="checkout_payment_shipping.gif" width="540" height="37"></td>
                    </tr>
                    </table>
                    <table width="540" border="0" cellpadding="0" cellspacing="2" bgcolor="#F9F9F9" class="thinred">
                    <tr>
                    <td height="25">&nbsp;</td>
                    </tr>
                    <tr>
                    <td class="heading1"><strong>&nbsp;Select Shipping Destination</strong></td>
                    </tr>
                    <tr>
                    <td height="11"></td>
                    </tr>
                    <tr>
                    <td height="15"><div align="center"><img src="dot_line.gif" width="517" height="1"></div></td>
                    </tr>
                    <tr>
                    <td ></td>
                    </tr>
                    <tr>
                    <td>&nbsp;</td>
                    </tr>
                    <tr>
                    <td>
                    NETQUOTEDEL:PRELIMINARYINFORMATION
                    </td>
                    </tr>
                    <tr>
                    <td>NETQUOTEDEL:PRELIMINARYINFORMATION </td>
                    </tr>
                    <tr>
                    <td>NETQUOTEVAR:PRELIMINARYINFORMATION</td>
                    </tr>
                    <tr>
                    <td>NETQUOTEDEL:PRELIMINARYINFORMATION </td>
                    </tr>
                    <tr>
                    <td><input type=HIDDEN name=SEQUENCE value=NETQUOTEVAR:SEQUENCE></td>
                    </tr>
                    <tr>
                    <td><br>
                    <br>
                    <table width="100%" border="0" cellpadding="0" cellspacing="0">
                    <td width="50%" align="CENTER"> <div align="center">
                    <INPUT NAME=ACTION TYPE=IMAGE VALUE="NETQUOTEVAR:CANCELBUTTON" SRC="cancel.gif" width="108" height="17">
                    <!-- <input type=SUBMIT class="input1" name=ACTION value="NETQUOTEVAR:CANCELBUTTON"> -->
                    &nbsp; </div></td>
                    <td width="50%" align="RIGHT"> <div align="center">

                    <INPUT type="submit" name="ACTION" id="ACTION" value="NETQUOTEVAR:NEXTBUTTON" src="next.gif" width="108" height="17">

                    </div></td>
                    </tr>
                    <tr>
                    <td height="56" align="CENTER">&nbsp;</td>
                    <td align="RIGHT"><p>&nbsp;</p>
                    <p>&nbsp;</p>
                    <p>&nbsp;</p></td>
                    </tr>
                    <tr>
                    <td colspan="2" align="CENTER">NETQUOTEVAR:REQUIREDFIELDS NETQUOTEVAR:HIGHLIGHTED.
                    <br> <br>
                    NETQUOTEVAR:INFOPANELS <Actinic:EXTRAFOOTERTEXT><span class="actxsmall">
                    <TABLE>
                    <TR>
                    <TD><IMG SRC="NETQUOTEVAR:POWEREDBYLOGO" WIDTH="45" HEIGHT="50" BORDER="0" ALT=""></TD>
                    <TD><FONT SIZE=1><B>NETQUOTEVAR:TRADEMARKS</B></FONT></TD>
                    </TR>
                    </TABLE>
                    </span></Actinic:EXTRAFOOTERTEXT> </td>
                    </tr>
                    <tr>
                    <td height="19" align="CENTER">&nbsp;</td>
                    <td align="RIGHT">&nbsp;</td>
                    </tr>
                    </table></td>
                    </tr>
                    <tr>
                    <td>&nbsp;</td>
                    </tr>
                    <tr>
                    <td>&nbsp;</td>
                    </tr>
                    </table>

                    <!--NETQUOTEVAR:REFPAGE

                    <br><br>
                    NETQUOTEVAR:THEORDERDETAILS-->

                    <!--<HR SIZE="1" ALIGN="CENTER" WIDTH="CUSTOMVAR:ACTSTDWIDTH">
                    NETQUOTEVAR:CHECKOUTEM -->
                    <!-- NETQUOTEVAR:CHECKOUTBG -->
                    <!-- NETQUOTEVAR:REQUIREDCOLOR -->
                    <!-- Preliminary Information HTML begin -->

                    <!-- <HR SIZE="1" ALIGN="CENTER" WIDTH="100%">-->

                    <!-- Preliminary Information HTML end -->
                    CUSTOMVAR:FOOTER
                    <!-- Order00 HTML end -->

                    Comment


                      #11
                      Your HTML type is wrong. You can't have type="submit" along with a src="next.gif".

                      You need

                      <INPUT type="image" name="ACTION" id="ACTION" value="NETQUOTEVAR:NEXTBUTTON" src="next.gif" width="108" height="17">
                      Norman - www.drillpine.biz
                      Edinburgh, U K / Bitez, Turkey

                      Comment


                        #12
                        You are right in saying that. But When I use:
                        <INPUT type="image" name="ACTION" id="ACTION" value="NETQUOTEVAR:NEXTBUTTON" src="next.gif" width="108" height="17">

                        the Button-image-click doesnot submits, rather it works as 'back' button in case of IE. However works fine with FireFox. Type="submit" works in both cases, but I am not able to insert a image while using it. Please help. Thanks for your concern.

                        Comment


                          #13
                          Have you looked in the Knowledge Base and Advanced Guide for info on how to do this. I believe it's already in one or other of these.

                          See http://knowledge.actinic.com/acatalo...t_Changes.html
                          Norman - www.drillpine.biz
                          Edinburgh, U K / Bitez, Turkey

                          Comment


                            #14
                            Thanks Norman for your involvment.
                            I am already following those Guide lines. And I believe that the code:

                            <INPUT NAME=ACTION TYPE=Image VALUE="NETQUOTEVAR:NEXTBUTTON" SRC="next.gif" width="108" height="17">
                            is not compatible in case of IE, as it redirects to the page (where the back button should). However, this code works fine in case of FireFox. This is the case with every Next-Button.
                            Further, let me remind you that this code when replaced by :

                            <INPUT type="submit" name="ACTION" id="ACTION" value="NETQUOTEVAR:NEXTBUTTON">
                            works perfectly fine in both he browsers (IE and FireFox), but has an issue of ugly grey button(I need to use the image instead).

                            Please don't break your efforts to help me out.

                            Comment


                              #15
                              You should be using (as per the KB)

                              Next Button:
                              <!-- <input type=SUBMIT name=ACTION value="NETQUOTEVAR:NEXTBUTTON"> -->
                              <input type=IMAGE name=ACTION_NEXT src="next.gif">

                              You have name=ACTION not name=ACTION_NEXT
                              Norman - www.drillpine.biz
                              Edinburgh, U K / Bitez, Turkey

                              Comment

                              Working...
                              X