|
|
#1 |
|
Member
Join Date: Nov 2007
Location: Metro Detroit
Posts: 59
Rep Power: 9 ![]() |
Hi, I was wondering if anybody could help me with adding two locations on the map...
Thanks, Dave {* Extra Fields *} {foreach from=$extra item=extras} <tr> <td class="borderleft"><strong>{$extras.title}:</strong></td> <td class="borderright"> {if isset($extras.value)} {foreach key=key item=item from=$extras.value} {if $extras.fID==4|8}>>>>Is this the right Argument to put two locations<<<< <a href="javascript:void(0);" onclick="MM_openBrWindow('http://www.yoursite.com/map.php?location={$item}','contact','width=600,hei ght=600')">{$item}</a> {else} {$item}<br /> {/if} {/foreach} {/if} </td> </tr> {/foreach} {* End Extra Fields *}
__________________
David Anthony Schnoblen uSelliBuy.com My Email v 4.1.3 Developer Templates: Default 3 Col |
|
|
|
|
|
#2 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,118
Rep Power: 118 ![]() |
I think you want this:
OR statement: {if $extras.fID==4 || $extras.fID == 8} AND satement {if $extras.fID==4 && $extras.fID == 8}
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules |
|
|
|
|
|
#3 | |
|
Member
Join Date: Nov 2007
Location: Metro Detroit
Posts: 59
Rep Power: 9 ![]() |
Quote:
Hi Eric, thanks! do I want both statements? and is the "and statement supposed to have "AND statement:" Thanks!
__________________
David Anthony Schnoblen uSelliBuy.com My Email v 4.1.3 Developer Templates: Default 3 Col |
|
|
|
|
|
|
#4 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,118
Rep Power: 118 ![]() |
I just put both as an example. I would think you are probably wanting OR so this would be the whole line:
Code:
{if $extras.fID==4 || $extras.fID == 8}
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Yahoo Map It | Eric Barnes | v3.1 Modules & Modifications | 16 | 11-30-2007 11:09 AM |
| Embed YouTube code problems | brw9532 | v3.1 Questions & Support | 4 | 09-29-2007 10:25 AM |
| Yahoo index and Site Explorer | SkGold | Site Marketing | 32 | 11-17-2006 01:23 AM |
| UserShare and Code Insertion | doc1975 | v3.1 Questions & Support | 1 | 10-30-2006 07:04 PM |
| Postal Code Search Mod | GSP | v3.1 Questions & Support | 0 | 05-15-2006 03:52 PM |