[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] how do i refer to the current page using [area] or[page] tags?
At 07:59 AM 3/8/2002 +0000, you wrote:
> > >> >
> > >> > Try this:
> > >> >
> > >> > [page href="process/locale/es_ES/page/@@MV_PAGE@@"]
> > >>
> > >>This expands to
> > >>http://www.mydomain.com/cgi-bin/store2/process/locale/es_ES/page/@@MV_
> PAGE@@
> > >>.html
> > >>:)
> > >>
> > >>I'm using this in a template region if it makes any difference.
> > >>
> > >>Thanks,
> > >>Mike K
> > >
> > >If you are using it in a template, you have to use [var MV_PAGE].
> >
> > That didn't work for me (neither did my original suggestion, I didn't know
> > it was being used in a region). But this did:
> >
> > [page href="process/locale/es_ES/page/@_MV_PAGE_@"]something[/page]
> >
>That would be the same as [var MV_PAGE 1].
Actually, what I suggested would be the same as [var MV_PAGE 2]; but you
would be correct in saying that [var MV_PAGE 1] would work in this case:
# [var name=variablename global=1|2]
#
# This tag allows access to variables within other variables (or
# anywhere else, but in regular pages the direct non-tag notations
# shown on the right-hand side below are faster).
#
# [var VARIABLE] is equivalent to __VARIABLE__
# [var VARIABLE 1] is equivalent to @@VARIABLE@@
# [var VARIABLE 2] is equivalent to @_VARIABLE_@
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================