View Full Version : Beginner angst with pressure on
shelleuk
19-Sep-2003, 04:57 PM
help?! I got my Preview site working OK and then when I customised Act_Primary.html with my own design and uploaded...nothing now works...pls see ..?www.madcan.net to see the damage...can anyone explain in ...baby language how I now populate the bulk areas of my section pages with my products ?
Am OK editing templates cosmetically (table attributes etc) and have worked with ASP in other sites before but am at a loss as to where to begin with all the NETQUOTEVAR stuff and how it works...cant find anything that's basic enough in any user guides that helps...not even page 44 of Advanced User guide
aaaarrrgghhhh
shelleuk
NormanRouxel
19-Sep-2003, 05:30 PM
I had a quick look and it's not possible to tell from the web-site what you've done. Please attach your Act_Primary.html (from your Site1 Folder) so we can take a look.
Norman
p.s. Very neat and elegant design. Shouldn't be too hard to fix.
shelleuk
19-Sep-2003, 06:39 PM
thaks Norman - couldn't attach an htnl file so ..erm..here's the code ! - pls let me know if you need any more code from other pages...or perhaps another way of sending the code?
<!-- Primary HTML begin -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>
NETQUOTEVAR:PAGETITLE NETQUOTEVAR:PAGEHEADER
</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="/Templates/actinic.css">
<SCRIPT LANGUAGE="JavaScript" SRC="/Templates/actiniccore.js" TYPE="text/javascript"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="/Templates/actinicextras.js" TYPE="text/javascript"></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>
--->
<link href="/stylebydesign.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</HEAD>
<BODY OnLoad="NETQUOTEVAR:ONLOAD;MM_preloadImages('/slices/index/homebuttonover.jpg')" TEXT="NETQUOTEVAR:FGCOLOR" NETQUOTEVAR:LINKCOLOR NETQUOTEVAR:VLINKCOLOR NETQUOTEVAR:ALINKCOLOR marginwidth="5" marginheight="5">
<table width="750" border="0" align="center" cellspacing="0">
<tr>
<td width="64%"><tr>
<td width="78%" align="left" valign="top"><a name="top"><img src="/slices/index/topbanner.jpg" width="584" height="85" border="0" usemap="#Map"></a></td>
<td width="22%" align="center" valign="bottom"><table width="100%" border="0" align="right" cellpadding="0" cellspacing="0" class="styleopy">
<tr valign="bottom">
<td><a href="http://www.madcan.net/cgi_bin/os000001.pl?ACTION=Start"><img src="/slices/collection/checkout.jpg" alt="checkout" border="0"></a></td>
<td><a href="http://www.madcan.net/cgi_bin/ca000001.pl?ACTION=SHOWCART"><img src="/slices/collection/cart.jpg" alt="view trolley" width="67" height="82" border="0"></a></td>
<td><a href="javascript:history.go(-1)"><img src="/slices/collection/back_butt.jpg" alt="go back a page" border="0"></a></td>
</tr>
</table></td>
</tr></td>
</tr>
</table>
<table width="750" height="100%" border="0" align="center" cellpadding="5" cellspacing="0">
<tr>
<td width="98" valign="top"><table width="25%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top"><a href="/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image10','','/slices/index/homebuttonover.jpg',1)"><img src="/slices/index/homebutton.jpg" alt="home" name="Image10" width="98" height="50" border="0"></a></td>
</tr>
<tr>
<td valign="top"><a href="/pages/aboutus.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image17','','/slices/index/aboutusbuttonover.jpg',1)"><img src="/slices/index/aboutusbutton.jpg" alt="about us" name="Image17" width="98" height="51" border="0"></a></td>
</tr>
<tr>
<td valign="top"><a href="/acatalog/collection.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image18','','/slices/index/collectionbuttonover.jpg',1)"><img src="/slices/index/collectionbutton.jpg" alt="see the jewellery collection" name="Image18" width="98" height="54" border="0"></a></td>
</tr>
<tr>
<td valign="top"><a href="/pages/contact.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image19','','/slices/index/contactbuttonover.jpg',1)"><img src="/slices/index/contactbutton.jpg" alt="contact us" name="Image19" width="98" height="56" border="0"></a></td>
</tr>
<tr>
<td valign="top"><a href="/pages/terms.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image20','','/slices/index/tetrmsbuttonover.jpg',1)"><img src="/slices/index/termsbutton.jpg" alt="terms & conditions" name="Image20" width="98" height="56" border="0"></a></td>
</tr>
<tr>
<td valign="top"><a href="http://www.madcan.com" target="_blank" onMouseOver="MM_swapImage('Image7','','/slices/index/sitecreditover.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="/slices/index/sitecredit.jpg" alt="site built by www.madcan.com" name="Image7" width="98" height="51" border="0"></a></td>
</tr>
</table></td>
<td width="632" valign="top">
<TABLE WIDTH="100%" BORDER="0" ALIGN="CENTER" CELLPADDING="0" CELLSPACING="0" class="styleopy">
<TR>
<TD VALIGN="MIDDLE" ALIGN="LEFT" >
<!-- 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/><br>
<!-- NETQUOTEVAR:HEADER
<span class="actxsmall">NETQUOTEVAR:HEADERTEXT<br><br></span>
NETQUOTEVAR:BULK <br><br>
<span class="actxsmall">NETQUOTEVAR:FOOTERTEXT</span> -->
<!-- NETQUOTEVAR:FOOTER
NETQUOTEVAR:FORMEND<br> --> </TD>
</TR>
</TABLE>
</td>
</tr>
</table>
<map name="Map">
<area shape="rect" coords="4,6,77,82" href="/index.html">
</map>
</BODY>
</HTML>
<!-- Primary HTML end -->
NormanRouxel
20-Sep-2003, 07:59 AM
You've just been a bit too generous in commenting out some essential NETQUOTEVARS. Look fot the lump of code
<TD VALIGN="MIDDLE" ALIGN="LEFT" >
<!-- 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/><br>
<!-- NETQUOTEVAR:HEADER
<span class="actxsmall">NETQUOTEVAR:HEADERTEXT<br><br></span>
NETQUOTEVAR:BULK <br><br>
<span class="actxsmall">NETQUOTEVAR:FOOTERTEXT</span> -->
<!-- NETQUOTEVAR:FOOTER
NETQUOTEVAR:FORMEND<br> --> </TD>
And replace it with
<TD VALIGN="MIDDLE" ALIGN="LEFT" >
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/><br>
<!-- NETQUOTEVAR:HEADER -->
<span class="actxsmall">NETQUOTEVAR:HEADERTEXT<br><br></span>
NETQUOTEVAR:BULK <br><br>
<span class="actxsmall">NETQUOTEVAR:FOOTERTEXT</span>
<!-- NETQUOTEVAR:FOOTER -->
NETQUOTEVAR:FORMEND<br>
</TD>
And see what happens. It looked like nearly everything in there was commented out in your version.
Norman
shelleuk
20-Sep-2003, 11:22 AM
OK Norman - that's great...the products have come up - pls see www.madcan.net - however:
1) the popups don't work ? the links look OK and I confirm they have been configured in Actinic and were working in preview mode previously
2) even though the brochure pages show up there is an "error on page" message in the status bar - except Home ..?
3) how do you get rid of the "My Company" on the page titles ?
Sorry is this turns into a long and laborious email exchange !
Michelle
pinbrook
20-Sep-2003, 12:38 PM
i'll answer the easy question.....to get rid of My Company, you need to fill in your company details, View menu, business setting
shelleuk
20-Sep-2003, 01:08 PM
thanks Jo - of course that's the answer.... wood for trees...
cdicken
22-Sep-2003, 04:21 PM
And with regards to the JavaScript and pop-up errors you are getting, you need to find these two lines in your <head> section...
<SCRIPT LANGUAGE="JavaScript" SRC="/Templates/actiniccore.js" TYPE="text/javascript"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="/Templates/actinicextras.js" TYPE="text/javascript"></SCRIPT>
and remove the /Templates/ from both of them so they read...
<SCRIPT LANGUAGE="JavaScript" SRC="actiniccore.js" TYPE="text/javascript"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="actinicextras.js" TYPE="text/javascript"></SCRIPT>
shelleuk
22-Sep-2003, 05:23 PM
thanks Chris...that's great
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.