Support Forums

Old 03-11-2008, 09:50 AM   #1
Member
 
Join Date: Nov 2007
Location: Metro Detroit
Posts: 59
Rep Power: 9
LittleRascal is on a distinguished road
Default Yahoo Map Argument code

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
LittleRascal is offline   Reply With Quote
Old 03-11-2008, 10:03 AM   #2
68 Classifieds Staff
 
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,118
Rep Power: 118
Eric Barnes is a jewel in the rough
Default

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
Eric Barnes is online now   Reply With Quote
Old 03-11-2008, 10:07 AM   #3
Member
 
Join Date: Nov 2007
Location: Metro Detroit
Posts: 59
Rep Power: 9
LittleRascal is on a distinguished road
Default Yahoo maps

Quote:
Originally Posted by suzkaw View Post
I think you want this:

OR statement: {if $extras.fID==4 || $extras.fID == 8}
AND satement {if $extras.fID==4 && $extras.fID == 8}

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
LittleRascal is offline   Reply With Quote
Old 03-11-2008, 10:10 AM   #4
68 Classifieds Staff
 
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,118
Rep Power: 118
Eric Barnes is a jewel in the rough
Default

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
Eric Barnes is online now   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 09:43 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0