[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Help! help! How to change LEFTSIDE at run time
****** message to minivend-users from Ed LaFrance <newmedia@newmediaems.com> ******
At 04:18 PM 4/28/00 -0700, you wrote:
>****** message to minivend-users from "Yongjiang Zhang @ Yahoo"
><zhangyongjiang@yahoo.com> ******
>
>Hi,
>
>I'm new to minivend, perl and unix. Pls help me.
>
>I defined a variable of LEFTSIDE in catalog.cfg:
> Variable LEFTSIDE <leftside
>I have another leftside page -- leftside2. Is it possible for me to make
>LEFTSIDE point to leftside2 after click a hyperlink? How to do?
>
>Many thanks
I don't know if you can redefine LEFTSIDE by any method other than a
reconfig...
What you could do is use the [include] tag:
[include file="pages/leftside"]
will effectively replace
__LEFTSIDE__
The [include] tag will accept other tags as its argument, so you could do
something like:
[page href="mypage" arg="leftside2"]Go to the next page[/page]
to make your link, and then
[include file="[data session arg]"]
to use leftside2 on mypage.
- Ed L.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| New Media E.M.S. Software Solutions for Business |
| 12831 Blanco Ct. Consulting |
| Poway, CA 92064 U.S.A. Custom Programming |
| 858-486-6508 Internet and eCommerce |
| 630-604-4265 eFax |
| newmedia@newmediaems.com |
| http://www.newmediaems.com |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
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