68 Classifieds Forums  

Go Back   68 Classifieds Forums > v3.1.x Help & Support > v3.1 Modifications
Register Projects FAQ Members List Calendar Search Today's Posts Mark Forums Read

v3.1 Modifications Questions on modifying 68 Classifieds. Please note these are not supported by 68 Classifieds, and may make future updates more difficult.

 
Thread Tools Display Modes
  #11  
Old 07-03-2006, 07:13 PM
juven14's Avatar
juven14 juven14 is offline
Moderator
 
Join Date: Mar 2006
Location: NJ/NYC Area
Posts: 1,886
Default

I don't think this is possible as it loops through one field at a time. You could print out the zip in one url and the address in another, but then you won't have a good link.

Are you just trying to make it show for certian categories? Or are you trying to allow them to use a different address? It might be easier to just call these from viewlisting and pass them on to the template manually. Then just hide these particular fields from being displayed in the loop. What version are you using? 3.1.4 Developer??
__________________
Regards,

John
mods.auscity.com

�By perseverance, study, and eternal desire, any man can become great.� George S. Patton
Reply With Quote
  #12  
Old 07-06-2006, 03:51 PM
mbranan mbranan is offline
Junior Member
 
Join Date: Jun 2006
Posts: 5
Default Designer Version

I'm using the designer version. Not sure that your suggestion makes sense to me.

One thing that I could do is to make the extra address field the clickable field, but I'd still need to access the zip field for the map to get the correct location. (vs. having a 3rd "map" field access the other 2 extra fields).
Reply With Quote
  #13  
Old 11-15-2006, 01:09 AM
eweb eweb is offline
Ewebdesigns
 
Join Date: Nov 2006
Location: Montreal, Quebec
Posts: 1
Smile Yahoo Maps - Easier

Just thought I'd let you know of another way of integrating the Yahoo! Map It Feature. Follow the step-by-step instructions given so wonderfully by Suzkaw on getting your Yahoo API ID, create your map.php file, however, you DON'T have to create an extra field - skip this step. Instead, go straight to the viewlistings.tpl.php file, and insert your link just above the "{* Extra Fields *}" as I have below:

<a href="javascript:void(0);" onclick="MM_openBrWindow('http://www.yourwebsitehere.com/directory/map.php?location={$owneraddress} {$ownercity} {$ownerstate} {$ownerzip}','contact','width=600,height=600')"><s trong> MAP COMPANY LOCATION</strong></a>

NOTE: Leave a space between the variables {$owneraddress} SPACE {$ownercity} SPACE etc etc...

You can do this on the memberlisting (member.tpl.php) page too - just remove the "owner" prefix (ie: {$address} )
Reply With Quote
  #14  
Old 11-20-2006, 02:46 PM
mike41 mike41 is offline
Junior Member
 
Join Date: Nov 2006
Posts: 10
Default

This may sound very stupid, but how do you create an extra field and add it to the array $extras?
Reply With Quote
  #15  
Old 06-06-2007, 08:58 PM
Gear Gear is offline
Junior Member
 
Join Date: May 2007
Posts: 11
Default

What would I need to do to insert the zoom tool?
__________________
V3.1.7 Developer
Reply With Quote
  #16  
Old 06-07-2007, 01:13 AM
Gear Gear is offline
Junior Member
 
Join Date: May 2007
Posts: 11
Default

Nevermind I worked it out. I just added:

Code:
navWidget = new NavigatorWidget(); 
map.addWidget(navWidget);
__________________
V3.1.7 Developer
Reply With Quote
  #17  
Old 11-30-2007, 12:09 PM
pauljr pauljr is offline
Junior Member
 
Join Date: Nov 2007
Posts: 15
Default

This mod works pretty well if the people put the address in the correct format. (address, city, state or zip). I have only had 1 user so far get it correct. I even put the example inside the extra txt field and they just simply leave my example in the box and type away. Any suggestion for checking if they have the correct address format or a javascript where when they select that box it removes my example? The other thing with me typing an example in the box then it adds that map url to every ad which is less than desirable.

Paul
Reply With Quote


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Yahoo Maps - I can not get it to display link redmtnex v3.1 Modifications 15 01-24-2007 12:09 AM
Yahoo index and Site Explorer SkGold Site Marketing 32 11-17-2006 02:23 AM
Changing Yahoo Maps layout GSP v3.1 Modifications 1 10-01-2006 09:57 AM
Making Yahoo map appear where photo would be GSP v3.1 Modifications 0 09-26-2006 04:58 PM
Some Emails have never worked! garysr v3.1 Questions & Support 9 06-15-2006 11:08 AM


All times are GMT -4. The time now is 04:54 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2007, Jelsoft Enterprises Ltd.