Announcement

Collapse
No announcement yet.

Problem using Links in page fragments

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

    Problem using Links in page fragments

    Hi all.

    With V7 I successfully used the links option in many of my page fragments, but now they seem to work differently. I have enabled the link, chosen URL and entered the following:

    page.html class="link1" target="new_window"

    which used to work perfectly. Now, in V8, it seems to wrap the whole thing inside speech marks, so I end up with the following:

    <a href="page.html class="link1" target="new_window"">

    Is this by design, or is it a bug? If it's by design that's a pain as I have stacks of links to change.

    Regards,
    Dave
    David Webb
    A2Z Computing Ltd

    #2
    I would expect <a href="page.html" class="link1" target="new_window"> to work. And yes it looks like correct coding once the above changes are done.

    Comment


      #3
      Hi Lee.

      Indeed <a href="page.html" class="link1" target="new_window"> should work, and it does in my V7, but how do I get V8 to put the speech marks in the correct place? Do I need to wrap the page.html inside "" in Actinic too?

      Thanks,
      Dave
      David Webb
      A2Z Computing Ltd

      Comment


        #4
        David there is a subtle difference between what you wrote and what i wrote, have you made sure you have used it as i have written?

        Comment


          #5
          Hi Lee.

          I do see the difference in the HTML that we both wrote, and of course that will work if I manually add a link into a HTML page. However, what I need to know is how to get Actinic to generate that output when using the Links tab in a brochure page. If I just include the page name then it's fine, as it wraps that inside the speech marks. But when I add the class and target it screws up the speech marks and generates the following:

          <a href="pagename.html target="new_window" class="link1"">

          It doesn't close the speech marks after the page name but after the entire string, which V7 didn't do.

          Thanks,
          Dave
          David Webb
          A2Z Computing Ltd

          Comment


            #6
            Try entering it like this

            pagename.html" target="new_window" class="link1

            It looks weird but it should work.

            I'm pretty sure this is how you had to do it in V7 if you wanted extra parameters.
            Norman - www.drillpine.biz
            Edinburgh, U K / Bitez, Turkey

            Comment


              #7
              Hi Norman.

              I did in fact try that, and it does work, but it's a bit of a messy way of doing things and don't want to have to change all of the links by hand

              I wasn't sure if anyone else had encountered this - is it a bug or just the way it is now in V8?

              Thanks,
              Dave
              David Webb
              A2Z Computing Ltd

              Comment


                #8
                It's actually V8 fixing what was a V7 bug. V7 used (via ID 2058)

                <A HREF = %s TARGET="%s">%s</A>

                So it would have broken if you'd had a space in your URL and you inadvertantly ended up with two target fragments.

                What V8 is doing is (again Design / Text / Goto / Id 2058

                <a href="%s" target="%s">%s</a>

                so you could change the way this is generated to suit your old way of working.
                Norman - www.drillpine.biz
                Edinburgh, U K / Bitez, Turkey

                Comment


                  #9
                  Top notch response, Mr Rouxel

                  I'll certainly modify that and see how I get on.

                  Many thanks,
                  Dave
                  David Webb
                  A2Z Computing Ltd

                  Comment


                    #10
                    You could try

                    <a href=%s><!-- %s -->%s</a>

                    Which gets rid of that unwanted target="%s"
                    Norman - www.drillpine.biz
                    Edinburgh, U K / Bitez, Turkey

                    Comment


                      #11
                      link?

                      Hi,
                      I have just tried all my links from V7 which are now in V8 and am getting the following:
                      One of my links says http://www.rcfly.co.uk target="_blank"
                      But when this is clicked via my website rather than opening a window and being taken to the new site you are taken to http://www.rcfly.co.uk%20target=/
                      Any ideas guys and gals.
                      Thanks.
                      Mark
                      If everything in life were simple there would be no challenge!

                      Comment


                        #12
                        Kessock,

                        A bit more info would help.

                        What have you got in Design / Text / Goto / Id 2058?

                        What are you entering in the link field?

                        URL of problem page?
                        Norman - www.drillpine.biz
                        Edinburgh, U K / Bitez, Turkey

                        Comment


                          #13
                          Link

                          Hi Norman,
                          I am not too sure what you mean?
                          Can you please give a bit more info.

                          Thanks.
                          Mark
                          If everything in life were simple there would be no challenge!

                          Comment


                            #14
                            Mark

                            Norman is asking you to provide an answer to the 3 questions he has asked, if you provide these, then he may be able to help. For instance, when he types "What have you got in Design / Text / Goto / Id 2058?", he is asking you to locate that and tell him what is there.

                            In other words, go to the design - text - goto menu, select Id xxxxx and tell us what you have there.

                            The link field on the product that you have completed, what have you got in that field?

                            And, URL is the same as web address, so provide a web address (url) of a page with a problem, so that we can see it ourselves.

                            Comment


                              #15
                              Thanks

                              Cheers Lee,
                              I didn't see the Go To, this is why I didnt understand.
                              It is as follows:
                              <a href="%"target="%s</a>

                              Cheers.
                              Mark
                              If everything in life were simple there would be no challenge!

                              Comment

                              Working...
                              X