Announcement

Collapse
No announcement yet.

HTML element for sections index page

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

    HTML element for sections index page

    I need to include a separate HTML element for the sections index page, i.e. the 'acatalog/index.html' page.

    As this is built from Act_ProductBody.html, I'm not sure how I can get something in the body of this page that doesn't also appear in the product pages lower down the tree.

    Any advice gratefully accepted!

    Richard Gray
    Footmark Media

    #2
    Can you just place a fragment on the page perhaps with the html content within it?

    Comment


      #3
      Normally to have a difference between pages, you would make a copy of Act_Primary (perhaps Act_PrimaryIndex) and add the additional code to this template.

      Then select that as the Overall layout for the Index page and the standard (unaltered) Act_Primary as the overall layout for the other pages.

      Where do you need the code to appear? If it is left, right, top or bottom of the page, the Act_Primary method should work. If it is in the middle of the body, then Duncan's suggestion of fragment with embedded html is the way to go.
      Bill
      www.egyptianwonders.co.uk
      Text directoryWorldwide Actinic(TM) shops
      BC Ness Solutions Support services, custom software
      Registered Microsoft™ Partner (ISV)
      VoIP UK: 0131 208 0605
      Located: Alexandria, EGYPT

      Comment


        #4
        Bill - that sounds good, will try that! The fragment needs to go in the body of the page, but may be able to tweak the template to position it correctly.

        Dunacn, if I'm using an HTML fragment, which page should it go in?

        Thanks for your help guys!

        Richard

        Comment


          #5
          Hmmm, it appears for the actual sections index page I don't have the option of applying a different template.

          Foiled again!

          Comment


            #6
            To set a different template for the index page, (the shop entry page) make the setting in design options layout tab, then on subsequent pages you have the override available to slect the standard Act_Primary.

            If you do a fragment, you would right click on the page you want it to appear on and select add fragment. I've just realised too that my statement that you can position a fragment in the middle of the body is wrong and misleading. The fragment would either be before the section links, between two (top and bottom) sets of section links, or after the section links.
            Bill
            www.egyptianwonders.co.uk
            Text directoryWorldwide Actinic(TM) shops
            BC Ness Solutions Support services, custom software
            Registered Microsoft™ Partner (ISV)
            VoIP UK: 0131 208 0605
            Located: Alexandria, EGYPT

            Comment


              #7
              In your Actinic tree you can try adding a fragment into the Store Index part (the funny little green sided icon - not the house). I'm presuming you have named it index.html. This may save you having to modify a template.

              Comment


                #8
                Hmm Bill, Duncan, the only place I seem to be able to place the fragment is after the section links - how would I get it before?

                I think the default template solution could work, but it would mean changing all the defaults on all the existing sub-pages - I'd rather avoid that if I can!

                Sorry to be difficult, appreciate your help!

                Comment


                  #9
                  Over to you Bill....

                  Comment


                    #10
                    You could also stay with one template set and use a CUSTOMVAR to add the additional text. Set it at the catalog level, and set it null for all other sections.
                    Norman - www.drillpine.biz
                    Edinburgh, U K / Bitez, Turkey

                    Comment


                      #11
                      or you can simply take the hack it approach and place the code in ACT_CATALOGBODY.HTML

                      see this at http://www.49eronline.co.uk/acatalog/index.html

                      I've added the code <div align="center"><img src="49er-sailing.jpg" alt="49er sailing"></div> directly into the template, this the photograph appears on acatalog/index and no where else

                      Comment


                        #12
                        how would I get it before?
                        Set the default location of section links to Bottom.

                        But Norman and Jo have both given you even better options. Jo's will be easier to implement as it's a one place change.

                        Norman's may give unexpected results if you don't set the customvar to a blank value on a subsequent page.
                        Bill
                        www.egyptianwonders.co.uk
                        Text directoryWorldwide Actinic(TM) shops
                        BC Ness Solutions Support services, custom software
                        Registered Microsoft™ Partner (ISV)
                        VoIP UK: 0131 208 0605
                        Located: Alexandria, EGYPT

                        Comment


                          #13
                          Excellent, I'm sure I can get a solution out of a combination fo this lot!

                          Thanks all for the help and advice!

                          Richard

                          Comment

                          Working...
                          X