Announcement

Collapse
No announcement yet.

Error using sectionurlnext variable.....

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

    Error using sectionurlnext variable.....

    Hello all,

    I am having a problem using the sectionurlnext variable.

    What I want is to have a "quick-browse" function whereby the user can navigate the products within a section as seen here:

    http://www.wealdenfinefurniture.co.u...ble_Cover.html

    If you click on the quick browse (prev or next) you'll see that the error "d is not supported protocol" comes up.

    Just wandering if anyone knows why it is looking on the d drive as opposed to the web?!

    Also, is there any way of making this circular, so that when the customer reaches the end of the section, they then go back to the first product?

    Many thanks in advance,

    Adam.
    visit: www.WealdenFineFurniture.co.uk

    Premium Quality Teak Garden Furniture

    Memorial & Commemorative Benches

    Teak Wooden Indoor Furniture

    #2
    If you have references to your own hard drive managing to get online, this would normally point to an incorrect installation. Start again with a fresh snapshot and install it all again, it will be quicker than trying to debug I expect. There is no easy way to automatically get the circular nav you want.

    Comment


      #3
      All we can see on the web is the generated code.

      Your "Quick Browse This Section" stuff isn't standard Actinic.

      Best post the code you've added so we can see what you're using.
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        Hi Norman,

        Thanks, here it is..............


        <div id="prod_prevnext">
        <div id="prod_prevnext_rt"><a href="<actinic:variable name="SectionURLNext" />"><img src="a_nxt.jpg" alt="next product" border="0"/></a></div>
        <div id="prod_prevnext_mid">
        <div id="prod_prevnext_mid_top">Quick Browse</div>
        <div id="prod_prevnext_mid_bot">This Section</div>
        </div>
        <div id="prod_prevnext_lt"><a href="<actinic:variable name="SectionURLPrev" />"><img src="a_prv.jpg"/ alt="previous product" border="0"></a></div>
        visit: www.WealdenFineFurniture.co.uk

        Premium Quality Teak Garden Furniture

        Memorial & Commemorative Benches

        Teak Wooden Indoor Furniture

        Comment


          #5
          I see the same thing here so it's not your installation. You get valid URL's when the link exists and invalid ones when there's no relevant Prev or Next Section.

          Looks like an Actinic bug.

          You could workaround this by using a Condition like (pseudo code)

          block if SectionNamePrev != ""
          PREV CODE HERE
          endif

          block if SectionNameNext != ""
          NEXT CODE HERE
          endif

          As the variables SectionNamePrev and SectionNameNext are null if there is no such link.

          You could expand the above by e.g.

          block if SectionNamePrev != ""
          PREV CODE HERE
          endif
          block if SectionNamePrev == ""
          CANT GO BACK CODE HERE
          endif

          block if SectionNameNext != ""
          NEXT CODE HERE
          endif
          block if SectionNameNext == ""
          CANT GO FORWARD CODE HERE
          endif
          Norman - www.drillpine.biz
          Edinburgh, U K / Bitez, Turkey

          Comment


            #6
            Note that you'll need (pseudo code again)

            block if PageType == "Section"
            .
            .
            .
            endif

            Around all your code as these Variables are only valid on Section pages.
            Norman - www.drillpine.biz
            Edinburgh, U K / Bitez, Turkey

            Comment


              #7
              thank you, i will give it try.

              Also, any advice....since i have installed the latest version of actinic i havent been able to do a site snapshot - i've done loads of work and am pretty anxious to be able to save my work?! I go through the usual process and it initiates a save but after about 2 mins it crashes and shuts down completely?

              many thanks in advance
              visit: www.WealdenFineFurniture.co.uk

              Premium Quality Teak Garden Furniture

              Memorial & Commemorative Benches

              Teak Wooden Indoor Furniture

              Comment


                #8
                i havent been able to do a site snapshot
                You already have a thread posted about this.
                Norman - www.drillpine.biz
                Edinburgh, U K / Bitez, Turkey

                Comment

                Working...
                X