PDA

View Full Version : Two small tasks...


george
31-Dec-2003, 07:24 AM
First one is to have Next and Prev links at the bottom of catalog pages (within the same sub-section). I have found a chapter on this in the Advanced User Guide (page 19) but can't get it to work. I think a slightly more detained walk through would help.

Next task for today. I'm using a slightly modified clean layout number 2. I would like to move the cart contents box to the top right of the page (as in clean layout number 4).

Thanks in advance (again).

cdicken
05-Jan-2004, 09:06 AM
First one is to have Next and Prev links at the bottom of catalog pages (within the same sub-section). I have found a chapter on this in the Advanced User Guide (page 19) but can't get it to work. I think a slightly more detained walk through would help.

For this, I would recommend copying and pasting the code right at the bottom of Act_ProductBody.html:


<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="NETQUOTEVAR:PREV_SECTION_URL">NETQUOTEVAR:PREV_SECTION_NAME</a></td>
<td align="right"><a href="NETQUOTEVAR:NEXT_SECTION_URL">NETQUOTEVAR:NEXT_SECTION_NAME</a></td>
</tr>
</table>


I would like to move the cart contents box to the top right of the page (as in clean layout number 4).

Open up Act_Primary.html and locate the code:


<table width="100" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td bgcolor="NETQUOTEVAR:FGCOLORCSS">
<div align="center"> <span class="actxxsmall"> <font color="NETQUOTEVAR:BGCOLORCSS">
<script language="JavaScript">
document.write("NETQUOTEVAR:CARTCOOKIEITEMS&nbsp;" + getCartItem(3)+"&nbsp;<BR>");
document.write("NETQUOTEVAR:CARTCOOKIEVALUE&nbsp;" + getCartItem(1));
</script>
</font></span> </div>
</td>
</tr>
</table>


Move this block of code to where you need it.

george
05-Jan-2004, 06:06 PM
Thanks Chris, I've applied the first answer, links are perfect except that they also link to a couple of hidden sections (not finished), any way I can overcome this?

Second one I'm wrestling (yes, html wrestling!) with, i'll report on the outcome soon.

George.

cdicken
06-Jan-2004, 08:26 AM
any way I can overcome this? 'Fraid not. All I can recommend is creating your section elsewhere in your store and then copying it in the correct place when it is ready.

george
06-Jan-2004, 08:29 AM
Or delete the sections, but not purge.

Undelete when working/updating them, then `delete` again (but not purge).

Hmmm...

george
06-Jan-2004, 10:04 AM
Struggling a bit with alignment of text links.

Need the logo to be on the top left, and the shopping cart contents on the top right, which they are. The text links underneath need to be centered but I cannot get this to happen. I also may have a few unrequired tr's, etc.

Here's the html...

<BODY NETQUOTEVAR:BGIMAGE OnLoad="NETQUOTEVAR:ONLOAD" NETQUOTEVAR:BGCOLOR TEXT="NETQUOTEVAR:FGCOLOR" NETQUOTEVAR:LINKCOLOR NETQUOTEVAR:VLINKCOLOR NETQUOTEVAR:ALINKCOLOR marginwidth="5" marginheight="5">
<table width="100%" border="0" cellspacing="0" cellpadding="5" background="palette2bg.gif">
<tr align="center">
<td>NETQUOTEVAR:LOGOIMAGE</td>
<td align="right">
<table width="100" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td bgcolor="NETQUOTEVAR:FGCOLORCSS">
<div align="center"> <span class="actxxsmall"> <font color="#ffff99">
<script language="JavaScript">
document.write("NETQUOTEVAR:CARTCOOKIEITEMS&nbsp;" + getCartItem(3)+"&nbsp;<BR>");
document.write("NETQUOTEVAR:CARTCOOKIEVALUE&nbsp;" + getCartItem(1));
</script>
</font></span> </div>
</td>
</tr>
</table>
</table>
<td align="center"><td>NETQUOTEVAR:FOOTERGUIDE&nbsp;</td>
</table>

<table width="100%" border="0" cellspacing="0" cellpadding="5" height="100%">
<tr>
<td background="palette3bg.gif" valign="top" width="160"><br>
NETQUOTEVAR:SIMPLESEARCH<br>
<br>
NETQUOTEVAR:TOPLEVELSECTIONSTOP<br>

Help really appreciated...

George.

george
07-Jan-2004, 08:26 AM
Still unable to get the text links centered. :(

cdicken
07-Jan-2004, 09:13 AM
Your problem is that you are missing lots of table code.

Take these three lines...


</table>
<td align="center"><td>NETQUOTEVAR:FOOTERGUIDE </td>
</table>


and change them to read...


</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="5" background="palette1bg.gif">
<tr>
<td align="center">NETQUOTEVAR:FOOTERGUIDE </td>
</tr>
</table>

george
07-Jan-2004, 11:01 AM
Thanks Chris, ball onside again!