Announcement

Collapse
No announcement yet.

CSS & Perl Scripts

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

    CSS & Perl Scripts

    Hi,

    I am having trouble with my CSS. I am linking to my CSS directly (i.e. not using actinic links etc).

    When I access a page directly, the CSS is fine, however, as soon as it goes via the perl scripts (i.e. search or login), the CSS is not used.

    http://www.anything-goes.co.uk/acata...liquids%2ehtml
    http://www.anything-goes.co.uk/cgi-b...s%2eco%2euk%2f

    I assume this is because the css file is not in the CGI-BIN folder. Does anyone know how I can fix this?

    Thanks,
    Paul.

    #2
    Hi Paul

    Please make sure you have the layout selector called 'BaseHref' inserted within the <head> section of your overall layout. It should be just below the <title> tag - this is what makes sure that pages viewed via scripts in the cgi-bin still look OK.

    Comment


      #3
      Hi,

      The BaseHref is definately there. This is what I have in the html. When I look at the source on the site (via the perl) I get:<BASE HREF=""> . Is this right?

      <actinic:variable name="BaseHref" />
      <link href="AG_mm_colours.css" rel="stylesheet" type="text/css" />

      Edit: I have had a root around, and it seems that it is only the login and contact us pages that are doing this. All others like section or brochure pages are ok.

      Thanks,
      Paul.

      Comment


        #4
        I get:<BASE HREF=""> . Is this right?
        Not it isn't right. On that page it should say:

        <BASE HREF="http://www.anything-goes.co.uk/acatalog/">

        The thing that the two pages have in common is that they are parsed by perl scripts. You'll probably find that your view cart and checkout pages have the same error.

        I think a support team member needs to look at your shapshot to figure out what the problem is.

        Comment


          #5
          Ok, I will make a snapshot. Who do I send it into?

          Thanks,
          Paul.

          Comment


            #6
            Do you have Actinic Cover? If so, give our support team a call and open a ticket. Otherwise, register an email support query at http://www.actinic.co.uk/support/register.htm and the team will ask for your snapshot. You might want to ftp it to an accessible location now.

            Comment

            Working...
            X