Akopia Akopia Services

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

RE: [mv] changing __LEFTHANDSIDE__



******    message to minivend-users from jojo@buchonline.net     ******

On 21 Jan, Michael James wrote:
> ******    message to minivend-users from Michael James <mwjames@ak.planet.gen.nz>     ******
> 
> Thanks,
> 
> I now have in my one click search
> 	va=new_lefthandside=healthlefthandside  (which is my new lefthandside)
> then in results.html I replace __LEFTHANDSIDE__ with [include 
> file="pages/[value new_lefthandside]]
> Works like a treat.
> 
> I then realised that when I did a one click search using the artist link 
> that comes up in results.html I did not have a new_lefthandside variable.
> 
> To cover this and any other instances where I had left out the 
> new_lefthandside I tried
> [if value new_lefthandside=""]
> 	__LEFTHANDSIDE__
> [else]
> 	[include file="pages/[value new_lefthandside]]
> [/else]
> [/if]
> 
> The intention being to make __LEFTHANDSIDE__ the default.
> 
> Anyway all I get is [/else] [/if] displayed twice on the page and no 
> lefthand side
> The [if value new_lefthandside=""]
> 	__LEFTHANDSIDE__
> [/if]
> Works on its own and the include statement works on its own.
> 
> Any thoughts.
> 
> Cheers
> Michael
> 

[DEL]

Please! Cut the old part off from your email! Thanks!

Regarding your trouble with the if statements. 
In most common case you get trouble, if your if structure is very deep.
In some case, MV will not parse any MV tags, if this part is comming
from the include-tags (if structure is too deep?).
In some case, you can solve this misbehavior, if you insert any
comments (html comments like <!-- Hey this is the second if
conditions-->).
Someone are able to use this kind of the codes. Anyone not!
Maybe, you can try out the error, if you use a dummy txtfile/htmlfile
without any MV tags, check it and insert the MV tags step by step?

Regards,

	Joachim



-- 
Hans-Joachim Leidinger
buch online                 jojo@buchonline.net
Munscheidstr. 14            FAX: +49 209 1971449
45886 Gelsenkirchen         FAX: 0209 1671449

-
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: