Announcement

Collapse
No announcement yet.

Can't find Index file

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

    Can't find Index file

    I'm trying to edit the left sidebar of my home page which, according to the Content Tree, is listed as 'index.html'. Firstly, is this the correct file to edit and secondly, where should it be located?

    I've looked for it in the Site 1 and SiteHTML folders and the only index files I can find are SiteRoot_index and Act_DDindex.

    I've also tried using Template Manager but again have had no luck.

    I would really appreciate some help with this.


    Thanks

    #2
    Actinic uses templates to create webpages for uploading. The index.html is usually made up from Act_Primary and/or Act_BrochurePrimary.html in your Site1 folder. Back them up before modifying them just in case.

    Comment


      #3
      Thanks, Duncan for your prompt reply. That explains why I could not locate an actual file called 'index'.

      I'm trying to include a 'Now accepting PayPal' logo in the left sidebar, below where the product list and nav buttons are displayed. Ideally, I'd like it to appear on all pages and so far have managed to get it to appear correctly in the catalogue pages, but only in preview. When I upload, the image does not appear either in Fire Fox or IE.

      I've tried inserting the PayPal code into both Act_Primary and Act_BrochurePrimary, but not having much success so far. Can you point me in the right direction?

      Thanks,

      Alistair

      Comment


        #4
        Show us what you have added so far and we can then correct it, you will learn more then. Perhaps even provide a URL to show us.

        Comment


          #5
          Try adding the image file to the additional files list.
          I presume this is a typical page that you are refering to:
          http://www.red5audiousa.com/acatalog...cessories.html

          Comment


            #6
            Duncan, sorry to be a nuisance here but I'm still not quite sure if I fully understand your previous answer. (yes, I know I'm dumb!). Here's my dilemma:

            When I'm in the Contents Tree screen, I can see the html filenames for the various pages and I can access them using my html editor, except for the HomePage, which as I mentioned earlier, has the Page Filename of 'index.html. This seems to mean that there should be a file somewhere with this name or is the home page somehow treated completely differently?

            One thing I did, just to improve appearance somewhat, was to reduce the height of the coloured box at the bottom of the left sidebar. I modified this in Act_Primary and it changed okay in the Brochure pages but not in the Home page. I would have expected it to have been the other way around until the Act_BrochurePrimary page was edited, or maybe I'm just missing something obvious here.

            Again, thanks for any help you can give.

            Alistair

            Comment


              #7
              Add it to both templates, primary and brochure, if it doesn't show properly, provide us with the code you added and we can check it for you. It's not difficult to tell us what you have done and what you have used is it?

              Add the file to design|additional files also, like already instructed to by Duncan. Upload the site then and you might just be there.

              Comment


                #8
                You can't edit any of the produced pages in your html editor - it won't work - only the templates. The only ones you need to edit are Act_Primary and Act_BrochurePrimary.

                Comment


                  #9
                  Thanks guys for your help. I've got to admit that I'm going round in circles here with this. I tried adding it as an additional file and now it's not even showing in preview.

                  Here's my Act_Primary file: <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="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>

                  <!-- 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
                  -->
                  <!--
                  The NETQUOTEVARs below can be uncommented and moved to the appropriate

                  location
                  to save and load shopping lists
                  <A HREF="NETQUOTEVAR:SAVECARTURL"><FONT FACE=ARIAL SIZE=-1><I><B>Save

                  Shopping List</B></I></FONT></A>
                  <A HREF="NETQUOTEVAR:RESTORECARTURL"><FONT FACE=ARIAL SIZE=-1><I><B>Load

                  Shopping List</B></I></FONT></A>
                  --->
                  <!-- Fireworks MX Dreamweaver MX target. Created Fri Jan 30 14:06:11 GMT+0000 (GMT Standard Time) 2004-->
                  </head>
                  <BODY TEXT="NETQUOTEVAR:FGCOLOR" leftmargin="1" topmargin="1" marginwidth="0" marginheight="0" OnLoad="NETQUOTEVAR:ONLOAD" NETQUOTEVAR:BGIMAGE NETQUOTEVAR:BGCOLOR NETQUOTEVAR:LINKCOLOR NETQUOTEVAR:VLINKCOLOR NETQUOTEVAR:ALINKCOLOR>
                  <table width="100%" cellpadding="0" cellspacing="0" class="thinborder">
                  <tr>
                  <td>
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                  <td><img src="gradient1.gif"></td>
                  <td align="right"><img src="gradient2.gif"></td>
                  </tr>
                  </table>
                  </td>
                  </tr>
                  <tr>
                  <td valign="top">
                  <table border="0" cellpadding="0" cellspacing="0">
                  <tr>
                  <td>NETQUOTEVAR:LOGOIMAGE</td>
                  </tr>
                  </table>
                  </td>
                  </tr>
                  <tr>
                  <td background="top_bar.gif"><table border="0" cellpadding="0" cellspacing="0" width="100%">
                  <tr>
                  <td width="167" height="26"><img src="spacer.gif" alt="Red5 Audio" width="25" height="1"/>NETQUOTEVAR:NAVBSITEMAP</td>
                  <td width="167">NETQUOTEVAR:NAVBMAIL</td>
                  <td width="168">NETQUOTEVAR:NAVBINFO</td>
                  <td>&nbsp;</td>
                  </tr>
                  </table> </td>
                  </tr>
                  <tr>
                  <td>&nbsp;</td>
                  </tr>
                  <tr>
                  <td>
                  <table border="0" cellpadding="0" cellspacing="0" width="100%">
                  <tr>
                  <td width="11"><img src="shim.gif" width="11"></td>
                  <td width="170" valign="top">
                  <table width="170" border="0" cellpadding="0" cellspacing="0" class="thinborder">
                  <tr>
                  <td width="170" height="59" background="search_background.gif" align="right">
                  <a href="NETQUOTEVAR:NAVBSEARCHLINK"><font color="NETQUOTEVAR:PALBGCSS">Advanced</font></a>&nbsp;<br>NETQUOTEVAR:SIMPLESEARCH

                  </td>
                  </tr>
                  <tr>
                  <td>NETQUOTEVAR:NAVBCART</td>
                  </tr>
                  <tr>
                  <td>NETQUOTEVAR:NAVBCHECKOUT</td>
                  </tr>
                  <tr>
                  <td height="25" background="cart_bg.gif"><font color="NETQUOTEVAR:PALBGCSS" size="1"><strong>&nbsp;&nbsp;&nbsp;
                  <script language="JavaScript">
                  <!--
                  document.write("NETQUOTEVAR:CARTCOOKIEITEMS&nbsp;" + getCartItem(3)+"&nbsp;");
                  document.write("NETQUOTEVAR:CARTCOOKIEVALUE&nbsp;" + getCartItem(1));
                  // -->

                  </script>
                  </strong></font></td>
                  </tr>
                  NETQUOTEDEL:CAPTURECOUPON
                  <tr>
                  <td background="menu_bottom.gif"><font color="NETQUOTEVAR:PALBGCSS" size="1">
                  <table width="100%" border="0" cellspacing="0" cellpadding="4">
                  <form method="NETQUOTEVAR:CGIMETHOD" action="NETQUOTEVAR:CGIURL">
                  <tr>
                  <td colspan="2" valign="top"><strong><font color="NETQUOTEVAR:PALBGCSS">NETQUOTEVAR:COUPONTITLE</font></strong></td>
                  </tr>
                  <tr>
                  <td colspan="2" valign="top"><font color="NETQUOTEVAR:PALBGCSS">NETQUOTEVAR:COUPONMESSAGE</font></td>
                  </tr>
                  <tr>
                  <td valign="top"><input type="TEXT" name="COUPONCODE" size="15" maxlength="255" value="NETQUOTEVAR:COUPONCAPTION" onFocus="this.value='';this.style.background='#FFFFFF'"></td>
                  <td><input type="IMAGE" name="ACTION_SEND" border="0" src="quicksearch.gif" alt="NETQUOTEVAR:COUPONACTION"></td>
                  </tr>
                  </form>
                  </table>
                  </td>
                  </tr>
                  NETQUOTEDEL:CAPTURECOUPON
                  <tr>
                  <!-- td valign="top" bgcolor="NETQUOTEVAR:PALCOLOR1CSS"><img src="shop1.gif" width="170" height="27"></td -->
                  </tr> <tr>
                  <td valign="top" bgcolor="NETQUOTEVAR:PALBGCSS">
                  <table width="100%" border="0" cellpadding="1" cellspacing="5">
                  <tr>
                  <td>
                  <script language=Javascript1.2>
                  document.write(YahooSections(section_tree))
                  </script>
                  </td>
                  </tr>
                  </table></td>
                  </tr>
                  <tr>
                  <td><img src="main_pages.gif" width="170" height="27"></td>
                  </tr>
                  <tr>
                  <td>NETQUOTEVAR:NAVBHOMENETQUOTEVAR:NAVBCATALOGNETQUOTEVAR:NAVBLOGIN
                  </td> <!-- NETQUOTEVAR:NAVBUP -->
                  </tr>
                  <tr>
                  <td width="170" valign="top" bgcolor="NETQUOTEVAR:PALCOLOR1CSS"><img src="menu_bottom.gif" width="170" height="21"><IMG SRC="../../site1/graphics/paypal%20nowaccepting_150x60.gif" WIDTH="170" HEIGHT="60" BORDER="0" ALIGN="middle">
                  </tr>
                  </table>
                  </td> <td width="15"><img src="shim.gif" width="15"></td>
                  <td valign="top" align="center">
                  <table width="98%" cellpadding="5" cellspacing="0" class="thinborder">
                  <tr>
                  <td valign="top">NETQUOTEVAR:FORMBEGIN <A NAME="top">
                  <INPUT TYPE=HIDDEN NAME=RANDOM VALUE="NETQUOTEVAR:RANDOM"></A>
                  NETQUOTEVAR:HIDDENFIELDS
                  <!-- If customer accounts are in operation following two lines allow displaying -->
                  <!-- User name and customer account name on every page -->
                  <!-- NETQUOTEVAR:LOGINLINK --><Actinic:NOWSERVING/><Actinic:CURRACCOUNT/><Actinic:LOGOUT_SIMPLE/>
                  <!-- NETQUOTEVAR:HEADER -->
                  <div align="center"><span class="actxsmall">NETQUOTEVAR:HEADERTEXT</span></div>
                  NETQUOTEVAR:BULK <br>
                  <div align="center"><span class="actxsmall">NETQUOTEVAR:FOOTERTEXT</span></div>
                  <br>


                  <!-- NETQUOTEVAR:FOOTER -->
                  NETQUOTEVAR:FORMEND</td>
                  </tr>
                  </table>
                  </td>
                  </tr>
                  <tr>
                  <td colspan="4">&nbsp;</td>
                  </tr>
                  </table>
                  </td>
                  </tr>
                  </table>
                  </body>
                  </html>

                  Comment


                    #10
                    Alistair can you highlight in a different colour the code you have added to that template to do this for you, i cannot see anything in there. Click on edit and you can go back into your post. Or simply provide us with the bit you are adding so we can locate it in that template.

                    EDIT: I think this is it,

                    Code:
                    <td width="170" valign="top" bgcolor="NETQUOTEVAR:PALCOLOR1CSS"><img src="menu_bottom.gif" width="170" height="21"><IMG SRC="../../site1/graphics/paypal%20nowaccepting_150x60.gif" WIDTH="170" HEIGHT="60" BORDER="0" ALIGN="middle">
                    Try changing that to:

                    Code:
                    <td width="170" valign="top" bgcolor="NETQUOTEVAR:PALCOLOR1CSS"><img src="menu_bottom.gif" width="170" height="21"><IMG SRC="http://www.red5audiousa.com/acatalog/paypal%20nowaccepting_150x60.gif" WIDTH="170" HEIGHT="60" BORDER="0" ALIGN="center" alt="Now Accepting Paypal">
                    and make sure you add the file into additional files. In addition you should not have spaces in file names, so rename the file, then change the name in the code above also, then add it and upload.

                    Comment


                      #11
                      Yes, sorry about that. Hope you can see it now and I'm sure you'll find I've messed up somehow>

                      Comment


                        #12
                        Try my solution in my previous post in case you have missed it, i added it in there.

                        Comment


                          #13
                          Thanks again, guys. I've now got the PayPal logo showing in the catalog pages and now need to work on getting it into the homepage. I'm also hoping to transfer the other logos to the same section as they are definitely cluttering up the bottom of the the main area. So beware, I may be back!!

                          I appreciate the help you've both given.


                          Alistair

                          Comment


                            #14
                            Yep, I'm back but not really expecting a reply tonight.

                            I still am having a problem trying to get the "Now Accepting PayPal" image to appear in the homepage plus a few others. I've got the same code in both the Act_Primary and Act_BrochurePrimary files, as previously suggested and as shown in the extracts below. I've copied a few lines of code above and below the relevant section and the first is from Act_Primary:

                            </td> <!-- NETQUOTEVAR:NAVBUP -->
                            </tr>
                            <tr>
                            <td width="170" valign="top" bgcolor="NETQUOTEVAR:PALCOLOR1CSS"><img src="menu_bottom.gif" width="170" height="21">
                            <IMG SRC="http://www.red5audiousa.com/acatalog/paypalnowaccepting.gif" WIDTH="170" HEIGHT="60" BORDER="0" ALIGN="center" alt="Now Accepting Paypal">
                            </td>
                            </tr>
                            </table>
                            </td>
                            <td width="15"><img src="shim.gif" width="15"></td>
                            <td valign="top" align="center">
                            <table width="98%" cellpadding="5" cellspacing="0" class="thinborder">
                            <tr>
                            <td valign="top">NETQUOTEVAR:FORMBEGIN <A NAME="top">

                            Here's the extract from Act_BrochurePrimary:

                            onMouseOut="RestoreImage()"><IMG SRC="login1.gif" ALT="Login" BORDER=0 HEIGHT=25 WIDTH=170 name=hnavb_login></A><br> </td> </tr><tr> <td width="170" valign="top" bgcolor="#b61301"><img src="menu_bottom.gif" width="170" height="21">
                            <IMG SRC="http://www.red5audiousa.com/acatalog/paypalnowaccepting.gif" WIDTH="170" HEIGHT="60" BORDER="0" ALIGN="center" alt="Now Accepting Paypal">
                            </td></tr></table></td>
                            <td width="15"><img src="shim.gif" width="15"></td><td valign="top" align="center"><table width="98%" cellpadding="5" cellspacing="0"

                            Not only can I not insert the logo, but the red box below the menu items on the the Home page has not reduced in height. I had changed the height from 91 to 21 immediately preceding the image text in both files but it only seems to have changed the catalog pages. (See www.red5audiousa.com)

                            I realize that there is probably a very simple solution, but it's got me beat, so any suggestions would be most welcome.

                            Thanks,

                            Alistair

                            Comment


                              #15
                              Act_BrochurePrimary should change all the brochure pages. As the changes don't appear online then I can only assume that you have a different template name for your brochure pages. Check if this is the case by clicking on the 'house' at the top of your catalog tree in Actinic and see what the layout name is - that will be the template name you need to edit for that brochure pages.

                              I also noticed that your catalog homepage is called Act_BrochurePrimary.html ???? This will definitely cause problems - go to Design - Options - Site Defaults and change the Base Page Name to index.html.

                              Comment

                              Working...
                              X