MiniVend Akopia Services

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

Re: [item-code] in buttonbar



******    message to minivend-users from mikeh@minivend.com     ******

Quoting Thompson-Jordan (Thompson-Jordan@mindspring.com):
> 
> Since you are embedding the [item-code] within an [area] command and it
> works if the product code is hard coded, you may want to check the section
> "New and Old Style tags" in the documentation. It discusses parsing order
> and why embedding a tag within another tag does not sometimes work.
> 

Yes.

In this case, you would have to do something like:

[set item_code][item-code][/set]

And in your buttonbar tag:

	<A HREF="[area href="[scratch item_code]"]> Whateer </A>

Ugly. That is why the [buttonbar ...] tag is deprecated. That means you
shouldn't use it in new installations. 8-)

Much better is in catalog.cfg:

Variable BUTTONBAR_1 <<EOF

Your buttonbar code here.

EOF

Then use __BUTTONBAR_1__ in the page. That will work in all likely
situations.

-- 
Mike Heins                          http://www.minivend.com/  ___ 
                                    Internet Robotics        |_ _|____
Few blame themselves until they     131 Willow Lane, Floor 2  | ||  _ \
have exhausted all other            Oxford, OH  45056         | || |_) |
possibilities.                      <mikeh@minivend.com>     |___|  _ <
 -- anonymous                       513.523.7621 FAX 7501        |_| \_\
-
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


Search for: Match: Format: Sort by: