Announcement

Collapse
No announcement yet.

Theme Change pitfalls

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

    Theme Change pitfalls

    I'll soon be changing over my site to the smart theme (from curves) & thought I'd go for the proactive approach:

    If any of you have experienced or know of potential problems associated with this, I'd love to know about them & how you solved them.

    Cheers
    www.calmncomfy.co.uk : Improving well being and enjoyment of life - Naturally

    #2
    Theme changes tend to be very straightforward and you do get the option to backup the theme you are about to replace - but probably best doing a complete copy of the Site1 folder (and all sub directories) and saving it in a folder outside the Actinic folder - just in case it goes pear shaped or you need a template you may have changed.

    In theory you should download any orders, supsend ordering for 30+ minutes and then apply the new theme and re-load to the site.


    Bikster
    SellerDeck Designs and Responsive Themes

    Comment


      #3
      do a search for smart theme as there is a problem with changing the theme and it not changing the checkout primary properly.

      It can be resolved, just thought I'd point it out before you fall into the hole

      Comment


        #4
        Cheer to both of you. The changeover has gone with a lot less worries thanks to your help.

        Is it possible to pick and choose what parts of the directory tree are shown in the left hand side bar. Some I want to show all, but some, only selected parts.

        Failing that, does anyone know how to show just one or the other levels.
        www.calmncomfy.co.uk : Improving well being and enjoyment of life - Naturally

        Comment


          #5
          Hello Colin,

          You can click on the minus sign in the box to the left of the items, this collapses the view of the section. The minus turns into a plus which you click to see the details again.

          Is this what you meant?

          Myles
          www.magicalwonders.com

          Comment


            #6
            I must be going blind from too much time at the computer. Could you point out where I can find the plus or minus sign?
            www.calmncomfy.co.uk : Improving well being and enjoyment of life - Naturally

            Comment


              #7
              Colin are you wanting to reduce the sections in the Actinic content tree (as Myles is pointing out) or actually on the published website?


              Bikster
              SellerDeck Designs and Responsive Themes

              Comment


                #8
                On the published website. I should have explained better!
                www.calmncomfy.co.uk : Improving well being and enjoyment of life - Naturally

                Comment


                  #9
                  Hi

                  I don't know if this is what you mean and can honestly say I don't understand very much (if indeed anything) about scripts but on my web site, (rather than the actinic edit screen) I didn't want to show the whole tree at the side. I was told that it was similar to reversing the yahoo-style section lists (page 41 of the advanced user guide). Something like this (but please don't take my word for it). If this is what you mean then you'd need to change the main shop template act-primary file and the other front page file (which I've not done yet).

                  Sorry if this doesn't help or isn't at all what you mean.


                  <!-- saved from url=(0022)http://internet.e-mail -->
                  <!-- Primary HTML begin -->
                  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
                  <HTML>
                  <HEAD>
                  <TITLE>NETQUOTEVAR:PAGETITLE</TITLE>
                  <Actinic:BASEHREF VALUE="NETQUOTEVAR:BASEHREF"/>
                  <META NAME="ACTINICTITLE" CONTENT="NETQUOTEVAR:PAGEHEADER">
                  <META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">
                  <!--@act NETQUOTEVAR:HEADERMETA -->
                  <!--@act NETQUOTEVAR:LOADFUNCTION -->
                  <!--@act NETQUOTEVAR:SUBMITFUNCTION -->
                  <!--@act NETQUOTEVAR:P3PFULLPOLICYLINK -->
                  <LINK REL=STYLESHEET HREF="actinic.css">
                  <SCRIPT LANGUAGE="JavaScript" SRC="actiniccore.js" TYPE="text/javascript"></SCRIPT>
                  <SCRIPT LANGUAGE="JavaScript" SRC="actinicextras.js" TYPE="text/javascript"></SCRIPT>

                  <!--@act NETQUOTEVAR:SECTIONTREE_RAW -->

                  <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="actregular"><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="actregular"><font color="NETQUOTEVAR:FGCOLORCSS">' + ar[i].pChild[j].sName + '</font></span></a><br>';
                  }
                  }
                  }
                  }
                  strIDs += '<br>'
                  }
                  }
                  return strIDs
                  }
                  //-->
                  </SCRIPT>


                  <!-- Placeholder of cookie checking javascript code. Do not remove it! -->
                  <Actinic:COOKIECHECK/>
                  <!--
                  The NETQUOTEVARs below can be uncommented for getting raw section lists:
                  1. Top level section list
                  2. Section list from current level and all children
                  3. The whole section tree
                  The rest covers the standalone structure members for each array - e.g. if
                  you only need sName or sURL from an array.
                  See the documentation for details.

                  NETQUOTEVAR:TOPLEVELSECTIONS_RAW
                  NETQUOTEVAR:CHILDSECTIONS_RAW
                  NETQUOTEVAR:SECTIONTREE_RAW

                  NETQUOTEVAR:SECTIONTREE_NAMES
                  NETQUOTEVAR:SECTIONTREE_URLS
                  NETQUOTEVAR:SECTIONTREE_IMAGES
                  NETQUOTEVAR:SECTIONTREE_IMAGEWIDTHS
                  NETQUOTEVAR:SECTIONTREE_IMAGEHEIGHTS
                  NETQUOTEVAR:SECTIONTREE_SECTIONIDS

                  NETQUOTEVAR:TOPLEVELSECTIONS_NAMES
                  NETQUOTEVAR:TOPLEVELSECTIONS_URLS
                  NETQUOTEVAR:TOPLEVELSECTIONS_IMAGES
                  NETQUOTEVAR:TOPLEVELSECTIONS_IMAGEWIDTHS
                  NETQUOTEVAR:TOPLEVELSECTIONS_IMAGEHEIGHTS
                  NETQUOTEVAR:TOPLEVELSECTIONS_SECTIONIDS

                  NETQUOTEVAR:CHILDSECTIONS_NAMES
                  NETQUOTEVAR:CHILDSECTIONS_URLS
                  NETQUOTEVAR:CHILDSECTIONS_IMAGES
                  NETQUOTEVAR:CHILDSECTIONS_IMAGEWIDTHS
                  NETQUOTEVAR:CHILDSECTIONS_IMAGEHEIGHTS
                  NETQUOTEVAR:CHILDSECTIONS_SECTIONIDS

                  The section level can be accessed through:
                  NETQUOTEVAR:SECTIONLEVEL
                  -->

                  </HEAD>

                  Comment


                    #10
                    If you check out the site www.calmncomfy.co.uk the left hand side bar with the title "store sections" then <b>Magnetic Bracelets</b>, Honesty Magnetic Bracelet...... thats the bit I mean. I should have said store sections to start with, my apologies.

                    I would like to be able to compact some of the store sections into a parent level, but not all of them.

                    If this is not possible I want to try and find how to just show one particular level of the sections.

                    Are we talking about the same thing?
                    www.calmncomfy.co.uk : Improving well being and enjoyment of life - Naturally

                    Comment


                      #11
                      You can remove all the "child" subsections from the YahooSection list above - thats an all or nothing approach not a section by section approach.

                      You can implement Normans script from www.drillpine.biz that allows for a dynamic flyout of the subsections when you hover over the main section - again this is an all or nothing approach.

                      If you want to cherry pick which subsections to display you will need to handcode the section links by hand - this give greater control but Actinic will ont update the menu when you add or delete sections.


                      Bikster
                      SellerDeck Designs and Responsive Themes

                      Comment


                        #12
                        Cheers.

                        I'll have a think about whats best.
                        www.calmncomfy.co.uk : Improving well being and enjoyment of life - Naturally

                        Comment


                          #13
                          or you can buy Normans collapso menu, which has plus/minus signs to open sections as required

                          Comment


                            #14
                            How do I remove the Child sections from the yahoosection list?
                            I'm not sure which bits I can or can't remove

                            Comment


                              #15
                              Hannah,

                              open the Act_Primary.html template and towards the top you will see the script as follows for the YahooSections

                              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>
                              and replace with


                              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>';
                                    
                                  strIDs += '<br>'
                                  }
                                }
                              return strIDs
                              }
                              //-->
                              </SCRIPT>
                              that will remove the child sections from showing


                              Bikster
                              SellerDeck Designs and Responsive Themes

                              Comment

                              Working...
                              X