Announcement

Collapse
No announcement yet.

Template Problem

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

    Template Problem

    I upgraded my site from 6.1 to 6.3 and as a result one of my product templates has gained some additional lines at the top of it including some numerical values and some vertical lines, which looks horrible. I have edited the template in Dreamweaver 3 and I cannot see any codes or line breaks to explain this, and have copied the original template from the backup I took before the upgrade, and the same problem occurs. Any ideas?

    #2
    the problem may not be in the product template, try looking in catalogbody and/or primary

    Comment


      #3
      You could try and track down the problem by switching one of your sections to using an alternative product layout template (set in the 'Product' tab of a section).

      If you still get the problem, it then means it is a different template causing the issue.

      Ideally, it would be good to see a site with the problem on it - or maybe a screenshot.

      Comment


        #4
        Chris

        Following earlier updates I played again and the problem went when I changed the template to use parent. Following your update to see an example of this I have tried to recreate it using the original template, but cannot recreate. I'm sorry.

        If it helps, I have pages of my site that have a dummy product at the top as text without any formatting or images (I removed the image space from the template). This is where the error occurred.

        Comment


          #5
          ok, so I was wrong I do have an example!

          if you want to see the results, my site is www.fullofitawards.co.uk, Christmas link bottom right of screen and office party awards. The "1" at the top is the extraneous character that was being written between table rows.

          I cannot get over the problem in this area the same way as using the parent template is no good for this page.

          I am attaching the file used at the top of the page against the dummy product / text summary.

          Comment


            #6
            Could not attach the file as there was an error in the file type. Give me a mail address if you want me to mail it to you.
            Ta
            Dee

            Comment


              #7
              I think you will find the rogue '1' is in Act_ProductSeparator.html.

              Comment


                #8
                Have opened act_productseparator and cannot see any "1's" in the code. Can only see codes.

                Comment


                  #9
                  Well, the '1' was appearing just at the end of the code which inserted the product separator, but just before the code for the product.

                  Have a look at the top of your product layout template. Are you absolutely sure there is no '1's near the line that says

                  NETQUOTEVAR:INCLUDE Act_ProductSeparator.html

                  You will be able to attach a template to a message in this forum if you put it in a zip file first.

                  Comment


                    #10
                    I've just found what is causing this.

                    There is a very odd minor bug in 6.1.3 whereby if you create a custom product template with an extension of *.htm rather than *.html, the page generation program leaves the 'l' in between the product templates.

                    This causes them all the stack up at the top of the section page.

                    To fix it, rename any custom product templates to give then an *.html extension and then re-select them in the 'General' tab of your products.

                    Comment


                      #11
                      I have renamed my template and reselected it within the product and the l is still there. I can only assume I have not renamed it properly. I opened it in dreamweaver and did a save as with an extension from the drop down list of htm and html. Is this the correct way of doing this? I have also done the act_productseparator as advised earlier in the updates to this.

                      Comment


                        #12
                        You might find it easier to find the file in your 'Site1' folder using Windows Explorer, and then right-click on it and select 'Rename'. Dreamweaver always puts an *.htm extension on it by default.

                        Comment


                          #13
                          I still have the rogue 1 at the top of the page and I have changed the template in question (it is a dummy product template I have created without any graphics so that text starts at the top of the page). When I reselect it within Actinic it shows an extension of .html rather than .htm so I think I have renamed the file ok? I have tried to rename the other template you suggested (act_productseparator) but this causes errors when trying to preview so have not saved the changes to that. Am I being really thick?

                          Comment


                            #14
                            When I reselect it within Actinic it shows an extension of .html rather than .htm so I think I have renamed the file ok?
                            Sounds OK to me.

                            I have tried to rename the other template you suggested (act_productseparator) but this causes errors when trying to preview so have not saved the changes to that.
                            I would use Windows Explorer to look in your 'Actinic Ecommerce v6\Sites\Site1' folder to look what extension your Act_ProductSeparator file has. If you cannot see any file extensions in Windows Explorer, then go to 'Tools | Folder Options', change to the 'View' tab and un-tick where it says 'Hide file extensions for known file types'.

                            Make sure Act_ProductSeparator has an extension of .html. Then open your product layout template and make sure that the line near the top says:

                            NETQUOTEVAR:INCLUDE Act_ProductSeparator.html

                            and not

                            NETQUOTEVAR:INCLUDE Act_ProductSeparator.htm

                            Comment


                              #15
                              Thank you for telling me how to check the extensions! They are definitely .html. Any other ideas?

                              Comment

                              Working...
                              X