Dar-us-Salam.com
06-16-06, 07:45 PM
Hi, I am having trouble finding the Control statement tags for the MVT IF statements. Is there a page or directory where I can find a list of all the things available? The 'SMT Items & Entities' Miva help page doesn't provide many examples.
Specifically I want to code in If a customer is logged in then use this url other wise use this. What would I need to use in place of 'logged_in' below for this to work:
<mvt:if logged_in>
<a href="&mvt:global:secure_sessionurl;Screen=ACNT">
<mvt:else>
<a href="&mvt:global:secure_sessionurl;Screen=LOGN">
Your Account</a>
</mvt:if>
Also I am using the following code to show the Customer Sign in: <mvt:item name="customerlink" />. But the Link that comes up is incorrect as it misses the main.mvc? (normally merchant.mvc?). It shows the Sign in URL as http://store.dar-us-salam.com/store/Screen=LOGN&Order=0&Store_Code=DP which is incorrect.
Is this a bug in Miva Merchant? Is there a work around or do I have to use a manual way to do this? Would making it a secure URL fix the problem, if so how can I do that?
Thanks
Specifically I want to code in If a customer is logged in then use this url other wise use this. What would I need to use in place of 'logged_in' below for this to work:
<mvt:if logged_in>
<a href="&mvt:global:secure_sessionurl;Screen=ACNT">
<mvt:else>
<a href="&mvt:global:secure_sessionurl;Screen=LOGN">
Your Account</a>
</mvt:if>
Also I am using the following code to show the Customer Sign in: <mvt:item name="customerlink" />. But the Link that comes up is incorrect as it misses the main.mvc? (normally merchant.mvc?). It shows the Sign in URL as http://store.dar-us-salam.com/store/Screen=LOGN&Order=0&Store_Code=DP which is incorrect.
Is this a bug in Miva Merchant? Is there a work around or do I have to use a manual way to do this? Would making it a secure URL fix the problem, if so how can I do that?
Thanks