MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [area scan



Hans-Joachim Leidinger wrote:
> 
> ******    message to minivend-users from Hans-Joachim Leidinger <hans-joachim.leidinger@home.gelsen-net.de>     ******
> 
> Craig Oettle wrote:
> >
> > ******    message to minivend-users from Craig Oettle <craig_oettle@dynasty.net>     ******
> [DEL]
> > Where I'm having a problem is when the index page is loaded for the
> > first time.  It has a little "more HREF" link by the products.  This
> > doesn't work.  The link is not being generated like in the demo items
> > and it takes you to the page where it says "Sorry, we are still under
> > construction!
> >
> > This item ([area) doesn't have a catalog page yet, but you can bet it
> > will soon! You can return to browsing our catalog, if you wish. "
> >
> > I have looked every where for what I'm missing but just can't locate the
> > problem.  Any suggestions would be greatly appreciated.
> >
> > --
> > Craig Oettle
> 
> Hi Craig,
> 
> can you post your code from your index page into this list?
> It seems me you have some items in your index page and you want to show
> this items in each page?
> 
> Maybe there is a typo, because the message "This item ([area)..." has
> one character "[" and perhaps no closing character like "]"? I get only
> some message like "This item (checkaut).." if you have a typo
> (checkout<>checkaut) or the file does not exist . Look at the status bar
> in you browser and check the url (link).
> 
> Joachim
> 
> --
> -------------Hans-Joachim Leidinger---------------------
> 
> -
> To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
> email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
> Archive of past messages: http://www.minivend.com/minivend/minivend-list
<HTML>
<HEAD>
	<TITLE> __COMPANY__ Catalog </TITLE>
</HEAD>
<BODY MV="body 1">
[comment]
	The __VALUES__ below are MiniVend Variable settings.
	In this case, they come from these settings in catalog.cfg:

	## Set some menubars and headers
	ConfigDir pages
	Variable      LEFTSIDE   <leftside
	Variable      RIGHTSIDE  <rightside
	Variable      NO_RIGHT   <no_right
	Variable      MENUBAR    <menubar
	Variable      MENUBOTTOM <menubottom
	Variable      LOGOBAR    <logobar
	Variable      COPYRIGHT  <copyright
	ConfigDir config

	Each one comes from a file in this directory which
	corresponds to the variable.

	They have the effect of predefining a page layout without
	having to maintain different pages.

[/comment]
__LOGOBAR__
__MENUBAR__
__LEFTSIDE__


[comment]
This is the default page of the catalog.
[/comment]
<!-- CONTENT HERE -->
<!--  First product -->

[comment]

    This [loop] repeats the container code for every product
    code returned by the [random] tag. The [random] tag is 
    set in catalog.cfg with the Random directive; in the demo
    it takes its values from the rand1.html - rand5.html page.

    The effect is to have a changing "specials" display on 
    the front page.

[/comment]

[loop arg="[random]"]
<TABLE CELLPADDING="3">
    <TR>
        <TD VALIGN="top">
            <TABLE>
                <TR>
[calc]
                    return <<EOF if $inc++ % 2;
                    <TD VALIGN="top" ALIGN=LEFT>
                        <A HREF="[area [loop-code]]">
                        <IMG SRC="[loop-field image]" ALT="[loop-field
model]" BORDER="0"></A>
                    </TD>
EOF
                    return '';
[/calc]
                    <TD VALIGN="top">
                        <FONT SIZE="3"
FACE="verdana,arial,helvetica">          
                        <B>[loop-field model]</B>
                        </FONT><BR>
                        <FONT SIZE="2"
FACE="verdana,arial,helvetica">          
                        By <A HREF="[area scan
                            st=glimpse
                            sf=brand
                            se=[loop-field brand]
                        ]"><B><FONT COLOR="#0000CC">
                        [loop-field brand]
                        </FONT></B></A><P>
                        </FONT>

                        Our Price:</FONT><B><FONT SIZE="3"
COLOR="#FF0000">
                        [loop-price]
                       
</B></FONT>                                        
                        &nbsp; <NOBR><A HREF="[area order [loop-code]]"
CLASS="buybtn">
                        <FONT SIZE="1" FACE="verdana,arial,helvetica"
COLOR="#0000cc">
                        Buy Now</FONT></A></NOBR><BR>
                    </TD>
[calc]
                    return <<EOF if $inc % 2;
                    <TD VALIGN="top" ALIGN=RIGHT>
                        <A HREF="[area [loop-code]]">
                        <IMG SRC="[loop-field image]" ALT="[loop-field
model]" BORDER="0"></A>
                    </TD>
EOF
                    return '';
[/calc]
                </TR>
                <TR>
                    <TD COLSPAN="2">                            
                        <FONT SIZE="2"><P>
                        [file name="text/[loop-code]"]
                        <P>
                        More <A HREF="[area scan
                            dl=[loop-field category]
                            di=category
                            df=yes
                            ]"><FONT COLOR="#0000CC">
                        [loop-field category]</A></FONT> ...
                    </TD>
                </TR>
            </TABLE>
        </TD>
    </TR>
</TABLE>

<HR WIDTH="90%" [var HEADERBG] HEIGHT="1">
[/loop]
<BR>

[comment] And the footer as above. [/comment]
__RIGHTSIDE__
__MENUBOTTOM__
__COPYRIGHT__

<!-- current page: @@MV_PAGE@@ -->
</BODY></HTML>

Thanks for your help.

-- 
Craig Oettle


Search for: Match: Format: Sort by: