Announcement

Collapse
No announcement yet.

Link to specific product from root

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

    Link to specific product from root

    without using the full url.

    Originally posted by olderscot
    you can link directly to the products without going via the cgi-bin. This is faster and better for the search engines.

    The format is just:

    http://www.url.com/acatalog/page.html#aproductreference
    I have found the above from this thread but after several hours of searching & testing I have been unable to find the answer I am looking for.

    Using v7 Smart, the side boxes can be fed from a text file / customvar. When this file is written or editted using the url required from within /acatalog (e.g. <img src="image.jpg">), on upload the url is automatically changed to include "acatalog/" for use on the home page, index.html, i.e. <img src="acatalog/image.jpg">.

    To use Mike's example:

    http://www.url.com/acatalog/page.html#aproductreference is the full url.

    page.html in the text file works fine, and translates to acatalog/page.html on index.html.

    But page.html#aproductreference does not translate.

    Any ideas why that should be?

    It's Valentine Bears on the right of my home page
    Paul
    Flower-Stands.co.uk - the UK's largest online supplier of Fresh Flower Merchandising Stands

    Using V10.2 with Norman's brilliantly simple TABBER.

    #2
    Paul, you need to "translate" your underscore (and other characters)

    THIS THREAD should help (it's in my bookmarks!) and, if not, it might help you work out what to Google for, at least
    Tracey

    Comment


      #3
      Thanks, Tracey, I had seen that one and recorded it all like you did.

      First of all I tried "translating" the underscore to %2d then realised that Norman had corrected that post, saying it should be "_2d".

      I think I'm confused by replacing an underscore with another underscore, & believe me I've tried all ways.

      Product Code: VB535
      Product (anchor) Reference in 'View Source': a1_21VB535

      Most recent attempt (didn't work): #a1_2d21VB535
      (this is replacing the first underscore with '_2d', i.e. another underscore)

      Have also tried 1%2d21VB535 and leaving the underscore out.

      What do you think it should be then?
      Paul
      Flower-Stands.co.uk - the UK's largest online supplier of Fresh Flower Merchandising Stands

      Using V10.2 with Norman's brilliantly simple TABBER.

      Comment


        #4
        Can you add a fragment to the home page, then fill out the link tab, point it to a product, preview it and take a look at what is formed? then copy it.

        Comment


          #5
          Paul..the _2d is relating to a - not a _
          IYSWIM!

          Although I can't quite get my head round what you're using.
          what is the product reference, in catalog, of the item you are linking to?

          if it's VB535, regardless of how it looks on the "view source", have you tried just #aVB535 ? (ok, scrap that because I've tried it)

          I presume the items in question are duplicates, are they?
          I can't work out what to use in place of the underscore, tbh!
          I hope Lee's method gives you an answer (then you can come back and tell us )
          Tracey

          Comment


            #6
            Originally posted by leehack
            Can you add a fragment to the home page, then fill out the link tab, point it to a product, preview it and take a look at what is formed? then copy it.
            LOL Lee
            Mr "I've-got-a-workaround-for-everything"
            Tracey

            Comment


              #7
              also...you're missing the /acatalog from your link URL on your homepage...that won't be helping matters
              Tracey

              Comment


                #8
                Originally posted by budgetbumps
                Paul..the _2d is relating to a - not a _
                IYSWIM!
                Been at this since 6am on & off & in between a thirty mile drive plus running the B&M store - I did start off with _5f replacing the underscore but lost the plot by the time I gave up & started the thread!

                Now getting help faster than I can write replies, change the file, & upload the site!
                Paul
                Flower-Stands.co.uk - the UK's largest online supplier of Fresh Flower Merchandising Stands

                Using V10.2 with Norman's brilliantly simple TABBER.

                Comment


                  #9
                  Originally posted by budgetbumps
                  also...you're missing the /acatalog from your link URL on your homepage...that won't be helping matters
                  And that's exactly where we started - now who's losing the plot? We're trying to get it to go in there automatically!

                  Crack open the Stella, T.......
                  Paul
                  Flower-Stands.co.uk - the UK's largest online supplier of Fresh Flower Merchandising Stands

                  Using V10.2 with Norman's brilliantly simple TABBER.

                  Comment


                    #10
                    Originally posted by pfb5
                    And that's exactly where we started - now who's losing the plot? We're trying to get it to go in there automatically!

                    Crack open the Stella, T.......
                    pmsl, trust me, I'm thinking about it!

                    I can work out what to use either...I've tried all sorts and it aint working for me either
                    My money is on Lee's method...but will that give a link via the cgi-bin? which I presume you're wanting to avoid?
                    Tracey

                    Comment


                      #11
                      You've lost me, tbh

                      You're trying to do it without using the full URL yet the thread and solution you referenced, from Mike, says to use the full URL (including the acatalog part)

                      Damned if I know
                      I'm too confused now
                      Tracey

                      Comment


                        #12
                        A link like this works fine http://www.rainbowfloristsupplies.co...tml#a1_21VB537

                        It sounds as if you're saying that Actinic isn't modifying the link (to automatically add the /acatalog/ bit on the home page) if you have the #a... reference on the end. (But does if you don't have the #a.. reference)

                        This sounds like a bug I haven't tested it myself to confirm. I would contact Actinic support and get them to investigate.

                        Mike

                        PS. I'm not 100% sure that actinic does automatically add the /acatalog/ onto the home page links when you're importing a file. I can't remember at which stage of the page generation this process runs.
                        -----------------------------------------

                        First Tackle - Fly Fishing and Game Angling

                        -----------------------------------------

                        Comment


                          #13
                          Hi, Mike, thanks for joining in - were you ears burning?

                          Originally posted by olderscot
                          Yes it does. Some confusion arose because in that prodref, '_21' represents a '!' in the "duplicate reference" (which is there from using SPP) and therefore the underscore did not need to be replaced by the escape code '_5f'. The underscore was part of the escape code, not an underscore in the original product reference, so that's that out of the way.

                          Originally posted by olderscot
                          It sounds as if you're saying that Actinic isn't modifying the page name (to automatically add the /acatalog/ bit on the home page) if you have the #a... reference on the end. (But does if you don't have the #a.. reference)
                          CORRECT! But surely not a bug after all this time, we're v7 here, somebody must have tried it before?

                          Originally posted by olderscot
                          This sounds like a bug I haven't tested it myself to confirm. I would contact Actinic support and get them to investigate.
                          Not worth the bother, I give up.


                          Originally posted by olderscot
                          PS. I'm not 100% sure that actinic does automatically add the /acatalog/ on the home page when you're importing a file. I can't remember at which stage of the page generation this process runs.
                          Sorry not with you there at all, but don't bother to explain!

                          AND FINALLY:

                          Lee, thanks, but that puts up the javascript solution, which, going back to Post#1, Mike suggested wasn't SE friendly.

                          I'm just going to link to the page, the punters can then scroll through the lot, might sell a few more that way anyway.

                          Thanks for everyone's input, at least we TRIED.
                          Paul
                          Flower-Stands.co.uk - the UK's largest online supplier of Fresh Flower Merchandising Stands

                          Using V10.2 with Norman's brilliantly simple TABBER.

                          Comment


                            #14
                            Originally posted by budgetbumps
                            LOL Lee
                            Mr "I've-got-a-workaround-for-everything"
                            You trying to say i'm a bodger Bumpsy?
                            I'm deeply hurt.

                            Comment


                              #15
                              Paul have you checked on the page that the anchors are set up correctly and that they exist? I can see no reason for a link not to work.

                              Tell us the product you are trying to link to and we can test a URL in here.
                              Give us the prod ref and the url it sits on, this should be really easy to do.

                              Comment

                              Working...
                              X