Announcement

Collapse
No announcement yet.

blockif sitemap

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

    blockif sitemap

    Does anyone know how to test for the sitemap page and the info page, i want to add a blockif to create a page title for these pages.

    I can sucessfully test for the search page for example

    <actinic:variable name="PageType" /> == 'Search'

    but pagetype equals 'Sitemap' doesn't do it

    #2
    If you look in the dropdown for page type, Actinic have sitemap as two words

    <actinic:variable name="PageType" /> == "Site Map"

    Comment


      #3
      there's a variable called SiteMapPageURL that comes up if you start to type it in the editor...does that help?
      (there's also InfoURL)
      Tracey

      Comment


        #4
        Ok Ta

        "PageType" == "Site Map" is the correct condition for sitemap.

        i now need terms and conditions as "Terms and Conditions" is not doing it, nor is 'Info'

        I also need to find the correct condition for acatalog/index.html

        then i might be done

        Comment


          #5
          Terms And Conditions.

          Not entirely sure about shop top, but i would take a guess at a condition running on section level = 0 or something similar.

          Comment


            #6
            <actinic:variable name="PageType" /> == 'Terms And Conditions' yes

            Comment


              #7
              Easy when you've sat for hours scratching you head trying to get the same thing to work.

              <actinic:variable name="PageType" /> == "Terms" (works as well as "Terms And Conditions")

              If only I could get the rest of v8 to work. Hope v9 isn't so buggy.


              The easy way to crack the Actinic nomenclature is to insert the PageType variable into the page and then choose the page type in the design view and see what has appeared ;-) The most anoying thing about PageType is that it doesn't have a value for extended info pages.

              You can use SectionLevel == 0 for the toplevel.

              Comment


                #8
                Cracked it - I hope....

                should be a complete set of page titles (assuming page title has a value) based on Dave Finlaysons set with my additions.

                Code:
                <title>
                <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27Brochure%27" ><actinic:variable name="PageTitle" /> @ <actinic:variable name="CompanyName" /></actinic:block>
                <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27Checkout%20Page%200%27" >Checkout Step 1 @ <actinic:variable name="CompanyName" /></actinic:block>
                <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27Checkout%20Page%201%27" >Checkout Step 2 @ <actinic:variable name="CompanyName" /></actinic:block>
                <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27Checkout%20Page%202%27" >Checkout Step 3 @ <actinic:variable name="CompanyName" /></actinic:block>
                <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27Shopping%20Cart%27" >Your Shopping Basket with <actinic:variable name="CompanyName" /></actinic:block>
                <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27Add%20To%20Cart%20Confirmation%27" >Selection Added to Basket</actinic:block>
                <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27Receipt%27" >Your Receipt from <actinic:variable name="CompanyName" /></actinic:block>
                <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27Search%27" >Search our Site @ <actinic:variable name="CompanyName" /></actinic:block>
                <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27Search%20Results%27" >Your Search Results with <actinic:variable name="CompanyName" /></actinic:block>
                <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27Bounce%20Page%27" >Forwarding you to the next page...</actinic:block>
                <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27Site%20Map%27" >	Sitemap @ <actinic:variable name="CompanyName" /></actinic:block>
                <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27Terms%20And%20Conditions%27" >	Help @ <actinic:variable name="CompanyName" /></actinic:block>
                <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27Section%27">
                		<actinic:block if="%3cactinic%3avariable%20name%3d%22SectionLevel%22%20%2f%3e%20%3e%200">
                		<actinic:variable name="PageTitle" /> @ <actinic:variable name="CompanyName" />
                		</actinic:block>
                		<actinic:block if="%3cactinic%3avariable%20name%3d%22SectionLevel%22%20%2f%3e%20%3d%3d%200" >
                		test
                		</actinic:block>
                </actinic:block>
                </title>

                Comment

                Working...
                X