MiniVend Akopia Services

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

Re: How do I add my own __MVC_MYOWN___ Macro



Hi Kyle,

i am not sure, because my english mental capability is very little. But
if you want a global variable like 

var 1 = email address of order
var 2 = email address of seller
var 3 = email address of president

you can add this is (i.e.) your catalog.cfg like

-----snipp of catalog.cfg-------
Variable    SMLOGO       __MVC_SMLOGO__
Variable    ENCRYPTOR    __MVC_ENCRYPTOR__
.
.
.
Variable    MAILORDERTO   order@yourdomain.com
Variable    MAILSELLERTO  seller@yourdomain.com
Variable    MAILPRESIDENTTO  president@yourdomain.com
or 
Variable    ANYVARIABLENAME  anyvalueofthisvariable
--snipp-------

How to use this?
Add to "_"-charater like "__" beside your variablename in any page that
you wish, i.e. 

<A HREF="mailto:__MAILPRESIDENTTO__"> Write an email to our president
etc. .... </A>


Joachim

"Kyle D. Chen" wrote:
> 
> ******    message to minivend-users from "Kyle D. Chen" <kyle.chen@stanford.edu>     ******
> 
> Hi! All,
> 
> Thanks for Chris' reply.
> 
> But, after I added the variable in additional_fields, it didn't work, because makecat did not subsitute for the new
> variables I defined in additional_fields.
> 
> It's almost like I need to "activate" the new variables somehow, but I searched the document and couldn't find a
> clue...
> 
> Please help!!!
> 

-- 
-------------Hans-Joachim Leidinger---------------------




Search for: Match: Format: Sort by: