Announcement

Collapse
No announcement yet.

New site - right template but no graphics?

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

    New site - right template but no graphics?

    Hi,

    Here's a new site under construction - www.labelking.co.uk

    Still have a lot of work to do but the main problem at the moment is the search results page - just search on anything to see the problem.

    I'm not sure which template is used for this, but it looks like it's using a correct template (it's got the hardcoded menu down the left) but the problem seems to be that the graphics and css file aren't taking effect...

    Any ideas?

    oh, just noticed you have to search on something that will be found - try 'label'
    Last edited by jxm28788; 08-Apr-2008, 07:29 PM. Reason: update
    John

    #2
    This site has been fiddled with to do away with the acatalog directory. That may be having some bearing on the problem.

    It may also help to post the BASEHREF line from whatever overall layout is used for the Search results page. I don't see the correct <BASE HREF="..."> code on your search results.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      I looked at the source and the baseref on the search page is -

      Code:
      <actinic:basehref value="http://www.labelking.co.uk/"></actinic:basehref>
      on a 'normal' page it is -

      <actinic:basehref value="http://www.labelking.co.uk/"></actinic:basehref>
      should it be different for the results page (because it is basically a script page and is therefore in the cgibin directory)?

      Not sure which template file is used for the results pages, so can't paste the baseref code from the template.
      John

      Comment


        #4
        They're all listed in Design / Options / Layouts / Primary Templates.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          if it's the 'default overall template' then the code is
          <actinic:basehref value="NETQUOTEVAR:BASEHREF"></actinic:basehref>
          John

          Comment


            #6
            anyone have any ideas on this? I'm just tarting up the checkout process, and the results page is the only outstanding template at the moment - and I'm hoping to launch very soon!
            John

            Comment


              #7
              There are links to your C: Drive in the layout. Get yourself firefox and firebug and take a look at the start of the body tag. The template is a bit of a mess also, things like:

              <td width="200" valign="middle" align="left">
              <img width="410" height="126" src="label-king-logo.gif"/>
              </td>

              is bad coding.

              Comment


                #8
                oh yes, that's strange! But where is that coming from???

                The primary template looks like this -
                Code:
                topmargin="0">
                		<!------ LABEL KING - LOGO BAR
                but the source code on the page looks like this
                Code:
                topmargin="0"><Actinic:TEMPLATE type="begin" filename="C:\Program Files\Actinic v7\Sites\LabelKing\Act_Primary-home.html"/>
                
                		<!------ LABEL KING - LOGO BAR
                So how is that getting inserted into the code? there is no variable there, it's just appearing from nowhere...?
                John

                Comment


                  #9
                  Act_Primary-home.html tells me you have been creating different layouts, perhaps you can use a standard site template across all pages and keeps things simple? Or at least check they are all using the same one. Perhaps a refresh rather than an update may also help.

                  Comment


                    #10
                    did a refresh, but still same problem.

                    IF the results page uses the template listed in 'Design / Options / Layouts / Primary Templates / default overall template' then it is using the main Act_Primary.html that a lot of the other pages are using.

                    I notice that the
                    Code:
                    <Actinic:TEMPLATE type="begin" filename="C:\Program Files\Actinic v7\Sites\LabelKing\Act_Primary-home.html"/>
                    is also in the other pages (even though they are displaying just fine). But obviously getting rid of that is the first step but I have no idea where it's getting that path from...
                    John

                    Comment

                    Working...
                    X