Announcement

Collapse
No announcement yet.

Page title order

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

    Page title order

    hi

    i was using the standard "PageTitle" variable until i was asked to change the order (so that company name is last rather than first). so i used the code in the aug, that worked fine - accept now it overwrites the value in pagesettings pagetitle field.

    ideally i want something that uses a value if set, then reverts to "product/section name, company name" if its not - in other words - change the order of the default "PageTitle" variable.

    any answers, ideas, guesses are appreciated =)

    #2
    Justin, as a web designer I assume you pretty clued up on html, so your issue is probably understanding Actinic's Layouts, Variables and Blocks, would I be right?

    I'm not sure which bit of the AUG you've used, but if you wrap a block around the code you've used and use a condition like Page Title is Empty (Lay mans terms) than you should be able to get what you want.

    Have a read of Gabes blockif tutorials on the forum, it will give you an idea of what's possible.

    Army Gore-tex
    Winter Climbing Mitts
    webD's Blog: Website design, SEO and other ramblings…
    Twitter LinkedIN

    If you think a post is good, rate it!

    Find the answers in the Knowledge Base | Have you read the User Guides

    Comment


      #3
      try this...

      http://community.actinic.com/showpos...6&postcount=35

      there is another thread somewhere that creates titles for all pagetypes but i cant find it at the mo

      Comment


        #4
        Cheers guys!

        pinbrook, that is spot on!

        Comment


          #5
          im still struggling a bit actually - but i'll post to the other thread

          Comment


            #6
            best to keep to the same thread - if its thesame topic - so we know the history

            Comment


              #7
              yeah true.

              my problem can be narrowed down to:

              it'd like the pagetitle code to be something like:

              if 'pagetitle' field in page settings has a value, then use it, otherwise use 'name, company name'.

              Comment


                #8
                Try this for the brochure pages
                Code:
                    <actinic:block if="%3cactinic%3avariable%20name%3d%22PageTitle%22%20%2f%3e%20%21%3d%20%3cactinic%3avariable%20name%3d%22BrochureName%22%20%2f%3e" >
                        <title><actinic:variable name="PageTitle" /></title>
                    </actinic:block>
                    <actinic:block if="%3cactinic%3avariable%20name%3d%22PageTitle%22%20%2f%3e%20%3d%3d%20%3cactinic%3avariable%20name%3d%22BrochureName%22%20%2f%3e" >
                        <title><actinic:variable name="BrochureName" />, <actinic:variable name="CompanyName" /></title>
                    </actinic:block>
                Haven't thought about the catalog pages tho.
                "If my answers frighten you then you should cease asking scary questions"

                Comment


                  #9
                  Cheers Paul.

                  So does anyone know what we can use something to sniff out whether a pagetitle field is null?

                  Comment


                    #10
                    *bump* *bump*

                    Comment


                      #11
                      Originally posted by 0ad View Post
                      So does anyone know what we can use something to sniff out whether a pagetitle field is null?
                      Do an export and sort the column that holds that data, all blanks will sit together then. Failing that, select each section and just use your mince pies.

                      Comment


                        #12
                        cheers lee, sorry i mean by using an if block when populating the page
                        Code:
                        <title></title>
                        .

                        im struggling a lot with the default Pagetitle variable and overwriting the order in which it echos.

                        Comment


                          #13
                          in the end - im using 'Pagetitle' actinic variable and manually overwriting every products pagetitle so that the company name is at the end. [ballache]
                          Last edited by 0ad; 02-Jun-2009, 03:28 PM. Reason: typo

                          Comment


                            #14
                            Couldn't you create an Excel spreadsheet with that variable as a header together with product references and product titles and use something like CONCATENATE to really speed things up. Then import the spreadsheet as flat file or dynamically link to it?

                            Aquazuro - designer stainless steel accessories

                            Comment


                              #15
                              Just had a look - pagetitle is available on the list of fields which can be flat file imported, but not dynamically linked, however the former is probably the best option in this instance anyway.

                              Aquazuro - designer stainless steel accessories

                              Comment

                              Working...
                              X