Announcement

Collapse
No announcement yet.

Navigation links

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

    Navigation links

    Hi

    Quick question re navigation links. Coded my own nav bar and this seems to work when i preview site from actinic.

    I add the following as the nav link.

    <li><a href="<actinic:variable name="HomePageURL" />" target="_self"">Home</a></li>

    Will this work when the site goes live?
    ***************************************
    Water is both ordered and flexible at the same time. It maintains its own identity, but conforms as necessary to the circumstances around it.

    -Miyamoto Musashi - The Book of Five Rings

    Jake
    Buy Fire Extinguishers
    Fire Extinguishers

    #2
    Yes (though you have an extra quotation mark at the end of the <a href> tag)

    When Actinic generates your site for uploading HomePageURL will be replaced with whatever URL you set up in Business/Network settings (which one it pulls the data from I'm not sure but that's another story), so it will only work as you want when you upload the site.

    Cheers,
    Grant

    Comment


      #3
      Thanks for the reply.

      I presume it will also work if I add the following as a link to an image?

      a href="<actinic:variable name="CartLinkText" />" target="_self"

      I am adding links to certain images as I have them placed exactly where I want them in the design. Actinic seems to place them off of the position i want.

      Oh, also, is the cartlinktext the best one to offer to view a cart?
      ***************************************
      Water is both ordered and flexible at the same time. It maintains its own identity, but conforms as necessary to the circumstances around it.

      -Miyamoto Musashi - The Book of Five Rings

      Jake
      Buy Fire Extinguishers
      Fire Extinguishers

      Comment


        #4
        Yes.

        This will work in the exact same way. The advantage of doing it this way is that Actinic keeps everything dynamic when generating the upload. You will see your checkout links will end in 0000XX.cgi - the XX is dependent on the Script ID in Network Settings. If you change the Script ID (which you will be advised to do at some point when you inevitably run into issues), Actinic will change the Checkout link dynamically when uploading.

        It's a good practise to use the variables Actinic makes available to you - that way when something breaks you're safe in the knowledge it's not your fault!

        Comment

        Working...
        X