Announcement

Collapse
No announcement yet.

rogue </FORM> tag

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

    rogue </FORM> tag

    After using layout1 as a theme and uploaded to my local test area I went through the code and found a rogue form tag here:

    <Actinic:WELCOME/>

    </FORM>

    This code is in the top of Act_CatalogBody.html There is no form tag prior to this in the rendered site once the shop is uploaded.

    Can anyone tell me why this is there?

    Thanks

    Dave
    example of my work http://www.tattoofashion.com

    #2
    Checked and couldn't see that code, could you post the code.
    Peblaco

    Comment


      #3
      Hi Dave

      need to see some code as Louise pointed out please...
      Affordable solutions for busy professionals.
      Website Maintenance | UK Web Hosting

      Comment


        #4
        Ok slight amendment. I did a search for Act_CatalogBody.html in the themes and it resides in the 'business' theme. So updating all the templates using the business theme I uploaded my site to my local server.

        The code below is what was rendered in the browser. You can see that after <Actinic:WELCOME/> there is a close form tag. It can be found in Act_CatalogBody.html. Anyone know why its there? Is it used in another stage in the site?

        From the commented text I am assuming its something to do with customer accounts.

        HTML Code:
        <!-- CatalogBody HTML begin -->
        
        <!-- Insert HTML for the top of the catalog body -->
        <!-- If customer accounts are in operation the following line will display -->
        <!-- welcome message and a LOGOUT button -->
        <Actinic:WELCOME/>
        
        </FORM>
        <FORM METHOD="POST" ACTION="http://localhost/cgi-bin/ss000001.pl">
        <INPUT TYPE=HIDDEN NAME="SHOP" VALUE="">
        
        </FORM>
        <FORM METHOD=POST ACTION="http://localhost/cgi-bin/ca000001.pl">
        <INPUT TYPE=HIDDEN NAME="SHOP" VALUE="">
        
        
        <Actinic:TEMPLATE type="begin" filename="C:\Program Files\Actinic v7\Sites\tattoofashion\Act_ProductBody.html"/>
        <!-- ProductBody HTML begin -->
        <!-- Insert HTML for the top of the product body -->
        
        <A NAME="sectiontop">
        <DIV ALIGN="CENTER">
        example of my work http://www.tattoofashion.com

        Comment


          #5
          I set up a test customer account. Once logged in the code renders as below and the rougue form tag disappears and is replaced with 3 </actinic:template>. So what's the form tag for and what are the 3 </actinic:template> doing?!? This is a default business theme, remember I haven't edited anything.

          HTML Code:
          <!-- CatalogBody HTML begin -->
          <!-- Insert HTML for the top of the catalog body -->
          <!-- If customer accounts are in operation the following line will display -->
          <!-- welcome message and a LOGOUT button -->
          </actinic:template></actinic:template></actinic:template><table border="0" width="100%"><tbody><tr><td align="center" bgcolor="#ffffff"><span class="actwelcome"><b>Welcome to Online Catalogue</b>&nbsp;davidandrew</span></td></tr></tbody></table>
          
          
          <form method="post" action="http://localhost/cgi-bin/ss000001.pl"><input name="ACTINIC_REFERRER" value="http://localhost/cgi-bin/bb000001.pl?PRODUCTPAGE=index.html" type="hidden">
          <input name="SHOP" value="" type="hidden">
          
          </form>
          <form method="post" action="http://localhost/cgi-bin/ca000001.pl"><input name="ACTINIC_REFERRER" value="http://localhost/cgi-bin/bb000001.pl?PRODUCTPAGE=index.html" type="hidden">
          <input name="SHOP" value="" type="hidden">
          example of my work http://www.tattoofashion.com

          Comment

          Working...
          X