Announcement

Collapse
No announcement yet.

Child sections

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

    Child sections

    Hello
    I want to show the child sections on the left when I click into the main sections at the moment they do not show on the left.
    ie: I click into Poole it shows me the childs sections Studio, Tiles ect. when I then click into these I want those sections to show up under the Poole section on the left so that clients can see them.
    What do I need to uncomment and what html do I need to edit also on the new web-site I am configuring I would also like to show the right and left title bar what do I need to do to do this.

    My old web-site is up at the moment http://www.kcsceramics-international.co.uk but I am configuring a new one and I can not remember how I did this.
    thank you for your help
    Karen Parker
    KCSceramics International
    Karen
    http://www.kcsceramics.co.uk

    #2
    Hi Karen,

    if it is still the smart theme then the Act_Primary.htmnl template should have the following in the head to show the master and subsections

    Code:
    <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
    <!--
    function YahooSections(ar)
    {
    var strIDs = '';
    for (var i=1;i<=ar.length;i++)
      {
      if (ar[i].sURL != null)
        {
        strIDs += '<a href="' + ar[i].sURL + '"><span class="actxxsmall"><b><font color="NETQUOTEVAR:FGCOLORCSS">' + ar[i].sName + '</font></b></span></a><br>';
          {
          if (ar[i].pChild)
            {
            for (var j=1;j<=ar[i].pChild.length;j++)
              {
              if (ar[i].pChild[j].sURL != null)
                {
                strIDs += '<a href="' + ar[i].pChild[j].sURL + '"><span class="actxxsmall"><font color="NETQUOTEVAR:FGCOLORCSS">' + ar[i].pChild[j].sName + '</font></span></a><br>';
                }
              }
            }
          }
        strIDs += '<br>'
        }
      }
    return strIDs
    }
    //-->
    </SCRIPT>


    Bikster
    SellerDeck Designs and Responsive Themes

    Comment


      #3
      The left and right title bar text is set up under Design | Options | Site Defaults in the properties field


      Bikster
      SellerDeck Designs and Responsive Themes

      Comment


        #4
        How!

        I have pasted the html into the section you said and can not get it to work the theme I am using is clean layouts 3 so this does not show up the right and left side bar even when you fill in the sections that are required. Do you know what I would need to uncomment to get them to show. And also to get the child sections showing which are not at the moment.
        thank you
        Karen
        Karen
        http://www.kcsceramics.co.uk

        Comment


          #5
          The above code should go into the <head> of the Act_primary template

          You will also need

          Code:
          <script language=Javascript1.2>
          document.write(YahooSections(section_tree)) 
          </script>
          in the left hand column to output the display - that is not used in the current theme which is using NETQUOTEVAR:TOPLEVELSECTIONSTOP to shop the top level sections

          HTH


          Bikster
          SellerDeck Designs and Responsive Themes

          Comment


            #6
            The left and right boxes do not feature in the new layout - they are part of the smart theme as per your current site - you can add in the following into the Act_primary to get them to appear again:

            Code:
            <table width="150" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td height="22" bgcolor="NETQUOTEVAR:PALCOLOR2CSS" class="actsmallheading" background="tab_pal2.gif"><b>&nbsp;&nbsp;CUSTOMVAR:LEFTBARTITLE</b></td>
                    </tr>
                    <tr valign="top"> 
                      <td class="thinred2">
                         <table width="100%" border="0" cellpadding="2" cellspacing="2" class="actxxsmall">
                           <tr> 
                            <td valign="top"><br>CUSTOMVAR:LEFTBARTEXT<br><br></td>
                           </tr>
                         </table>
                      </td>
                    </tr>
                  </table>
            that is for the LEFT Box - simply change LEFT to RIGHT in the above to create the other box


            Bikster
            SellerDeck Designs and Responsive Themes

            Comment


              #7
              Not successful

              I have tried put the left/right boxes in I put them in the body as far up as possible and I can not get them to appear I am also very unsuccessful with the getting the child sections to show. I am oviously doing something wrong could you talk me through it please.
              thank you
              karen
              Karen
              http://www.kcsceramics.co.uk

              Comment


                #8
                You have an existing left hand column in Layout 3 Act_Primary which is 160px wide and contains the TOPLEVELSECTIONS. To add additional content in this column, put code here between ends --> and </td>
                Code:
                <!-- coupon entry ends -->
                PUT NEW CODE TO APPEAR IN LEFT COLUMN HERE
                          </td>
                To add a right column, you first need to slim down the main column, by replacing CUSTOMVAR:ACTSTDWIDTH with either a fixed amount or a percentage and then adding code where shown
                Code:
                <td valign="top">
                <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="CUSTOMVAR:ACTSTDWIDTH" ALIGN="CENTER">
                
                                  NETQUOTEVAR:FORMEND<br>
                	</TD>ADD <TD> NEW CODE TO APPEAR ON RIGHT HERE</TD></TR>
                </TABLE></td>
                        </tr>
                      </table>
                
                </BODY>
                </HTML>
                CAVEAT: Just in case I have got this wrong, please remember to save the changed file to a different name and test it by selecting the new filename as overall layout for a section, before you replace the original Act_Primary template.

                Hope this gets you there.
                Last edited by wjcampbe; 09-Nov-2005, 08:47 PM. Reason: spelling existing
                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


                  #9
                  It's working but not correctly

                  I have the sections working but they have doubled them self I have have the original parent section list then below I have the parent and child section list how do I change this to have have the one.
                  thank you
                  Karen
                  Karen
                  http://www.kcsceramics.co.uk

                  Comment


                    #10
                    Comment out the TOPLEVELSECTIONS like this
                    Code:
                    <!-- NETQUOTEVAR:TOPLEVELSECTIONS -->
                    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

                    Working...
                    X