Announcement

Collapse
No announcement yet.

<actinic:variable name="HomePageURL" /> issue

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

    <actinic:variable name="HomePageURL" /> issue

    Hi - I am using v8.04.

    I have set the URL of my home page to be index.php.

    I have embedded the home page url link <actinic:variable name="HomePageURL" /> into several of my pages.

    When I load my site up the home page url link translates to index.html and not index.php.

    am I missing something obvious here
    Regards
    David

    #2
    Where is your home page? If it's at the top level use <actinic:variable name="WebSiteURL" />index.php or if it's in the acatalog directory use <actinic:variable name="WebSiteURL" />acatalog/index.php

    Not sure if it's a bug with HomePageUrl or not but thats the one we use!
    Cheers

    David
    Located in Edinburgh UK

    http://twitter.com/mcfinster

    Comment


      #3
      Thanks David - at least that has given me a workaround.

      I would appreciate a comment from someone at Actinic as to whether this is a bug.
      Regards
      David

      Comment


        #4
        What have you got set as your 'Home Page Link' in 'Design | Design Options'? If it is 'Brochure' then make sure your brochure home page has been set up with a filename of index.php rather than html. If that doesn't work, just use the 'URL' option to manually put the URL as index.php

        Comment


          #5
          Hi Chris - the 'Home Page Link' in 'Design | Design Options' is set to 'Brochure' and my page name on the home brochure layout page is set to 'index.php'.

          I have now specified "index.php" as the 'URL', as suggested, but this points me to www.domain.co.uk/acatalog/index.php.
          Regards
          David

          Comment


            #6
            How about using the full URL in the 'URL' field - that should do it.

            Comment


              #7
              Hi Chris - I've decided to go with David's suggestion - <actinic:variable name="WebSiteURL" />acatalog/index.php as it allows me more flexibility when using different URL's for my test sites - one less thing to have to remember to change back for the live site.

              ...unless this has been fixed in v8.05?
              Regards
              David

              Comment


                #8
                ...or that should be <actinic:variable name="WebSiteURL" />index.php
                Regards
                David

                Comment


                  #9
                  David,

                  Depends where you want it to point to? See my post #2
                  Cheers

                  David
                  Located in Edinburgh UK

                  http://twitter.com/mcfinster

                  Comment


                    #10
                    Hi David - I just copied the incorrect piece of code from your reply at first and then quickly realised.
                    Regards
                    David

                    Comment


                      #11
                      mmmm... just found that

                      <a href="<actinic:variable name="WebSiteURL" />/index.php">Home</a>
                      links you to www.domain.co.uk/index.php in B2B, Thereby taking you out of B2B, whereby it should link you to something like

                      Is there anything I can do to correct this?
                      Regards
                      David

                      Comment


                        #12
                        David,

                        You will have to hard code the URL.

                        Kind regards,
                        Bruce King
                        SellerDeck

                        Comment

                        Working...
                        X