Announcement

Collapse
No announcement yet.

Accounts & Pop-up Windows

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

    Accounts & Pop-up Windows

    Hi

    I'm trialing Actinic to see if it's suitable for our needs. I've hit a problem which I'm hoping is due to my inexperience. Basically I've created a custom pop-up window for a product (using custom properties and editing Act_ProductLine.html). I've stored the html popup file and associated image in a directory under Site1 called Popups. I've then used Advanced - Additional Files to include my popup and image files.

    All works perfectly when launched to a test site and browsed as a normal user. However, I've also created a couple of test accounts. If I log in using an account name, when I click on the image, the popup appears ok but the picture within the popup fails to load? Further investigation shows that it is trying to find the image file in cgi-bin? When not logged into Account the same popup finds the image file in the Acatalog directory as expected.

    Any help very much appreciated.

    Best regards

    Ian

    #2
    Ian

    I know you've gone to a lot of work to generate your own popups etc - however aren't you best to let Actinic manage the popups as this is now an integral part of the product interface?

    What you're probably seeing is that once a customer is logged in, the links around the site are managed via a cgi script which maintains their logged in status and applies relevant discounts etc.

    You can build the content of the Actinic popup with your own images by using the 'include external HTML' code as follows

    !!<
    <html code goes here>
    >!!

    Jos
    Thanks

    Jos Medinger

    Tel : 01978 843 962
    www.internetology.co.uk
    Actinic / E-Commerce Hosting, Design & SEO
    ______________________________________

    Comment


      #3
      Hi Jos

      Thanks for your quick reply. I experimented with using the built in pop-up and including external html (a very nice feature) but decided it wasn't the best way for us to proceed (unless you can convince me otherwise). Basically we plan to use an Access database linked to Actinic. Within that Access database are basic product details and a link to Frontpage for editing extended product information (which includes a larger product photo). Frontpage then automatically saves the popup html and photo to a directory under site1. I've tested this and the Actinic/Access link works superbly and it's very simple to keep our extended information up-to-date through Frontpage. To use the built in pop-up would mean having to cut and paste html code directly into Actinic which would potentially cause us some data management issues - ie. from Access is the extended information up-to-date?

      However, I think you're implying in your post that we could get round the problem by ftp'ing all our larger images to the cgi-bin - this would be fine. As long as we know it's a way round the problem?

      Best regards

      Ian

      Comment


        #4
        Ah... I'm not sure it's quite as simple as I thought. Copying the large images to cgi-bin on first impressions doesn't seem to have worked (possibly because I can't treat cgi-bin as a normal directory?)

        Back to the drawing board.

        Any ideas?

        Comment


          #5
          I've also tried changing the CUSTOMVAR value to the full web address of a directory containing the popup file. This again works fine until you log in as account holder. This now fails because the code adds ../acatalog to the beginning of the http address ie ../acatalog/http://www.etc.etc/Popup

          I can't believe this problem hasn't arrisen before. Somebody must be linking to external html and using Account logins for their customers?

          Any help very much appreciated

          Best regards

          Ian

          Comment


            #6
            Either:

            Add a <BASE HREF="www.mysite.com/acatalog/"> to the HEAD section of your popup pages (right at the top is best) and that will point the browser at the correct location for your images.

            Or:

            Do it the Actinic way. Actinic uses the tag (just after the </title>):

            <Actinic:BASEHREF VALUE="http://www.mysite.com/acatalog/"/>

            which the scripts use to determine the correct path to add to links, images, etc.
            Norman - www.drillpine.biz
            Edinburgh, U K / Bitez, Turkey

            Comment


              #7
              Thanks Norman. That works fantastastic - problem solved.

              However, there's one advantage to what Jos recommended that I hadn't considered. If we use Actinic and the include external html code our extended information popups will be included in Search functions. They won't be if we link to external files as planned - unless there's a way round this?

              Best regards

              Ian

              Comment


                #8
                No workaround except you could paste the text from the external pages into Actinic's Extended Info Text field. I've a feeling that it will be indexed even if you don't use the popup. Test it and see.
                Norman - www.drillpine.biz
                Edinburgh, U K / Bitez, Turkey

                Comment

                Working...
                X