Support Forums

Old 08-11-2008, 08:52 AM   #11
Moderator
 
 
Join Date: Mar 2006
Posts: 4,126
Rep Power: 101
Lhotch is just really niceLhotch is just really nice
Default

Quote:
Originally Posted by bowers01 View Post
Hi,
You get an error on page in IE. You said it uses ajax so i guess thats why. You need to redirect it to the site without the www.
Nick
The JS error is from the google maps module and appears on pages where the map isnt displayed.

The easiest way to avoid that and unnecessary JS being loaded is to surrounded the google JS lines with smarty logic to check for and only load the google maps JS if the $body variable is your viewlisting.tpl or viewlisting2.tpl. The same for the body tag.

For example, in layout.tpl where you would normally place my code to load the google map JS do this....

Code:
{* google maps*}
	{if $body=="viewlisting.tpl"}	
	{$google_map_header}
	{$google_map_js}
	{/if}
{* google maps*}
Then also do similar around the body tag......

Code:
{if $body=="viewlisting.tpl"}
	<body onload="onLoad()">
{else}
	<body>
{/if}
Of course if you are using viewlisting2.tpl then use that in the above code.
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

Set your site apart from the competition with one of my modules......
Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Lhotch is offline   Reply With Quote
Old 08-31-2008, 04:24 AM   #12
Member
 
 
Join Date: Sep 2006
Posts: 50
Rep Power: 12
deebee is on a distinguished road
Default

Drop dead gorgeous! Make sure you list the site here when you're done.

Classifieds Directory
deebee is offline   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
How do I automatically feed a new classifieds site ads from major classifieds sites j890432m v4 Modules / Modifications 4 06-23-2008 07:53 PM
Where to find a developer for 68 Classifieds site? proforums v4 Modules / Modifications 1 05-29-2008 10:04 AM
Archiving Classifieds philoo Pre Sales Questions 5 04-14-2008 08:54 AM
Converting Online Classifieds to Print Loxguard Pre Sales Questions 6 04-03-2008 12:34 PM
Looking for Classifieds Software... engagedmedia Pre Sales Questions 2 07-30-2007 09:46 AM


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


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