Support Forums


Go Back   68 Classifieds Forums > Help & Support > v4.1 Questions & Support

Notices

 
LinkBack Thread Tools Display Modes
Old 03-09-2009, 12:28 PM   #21
Member
 
marketingsolutions's Avatar
 
Join Date: Sep 2006
Location: Ilfracombe - England
Posts: 58
Rep Power: 13
marketingsolutions is on a distinguished road
Send a message via Skype? to marketingsolutions
Default GMaps module v3 installed - next step

Ok, I have installed the new version of your Google Maps module as you suggested.

At present, we are not going to upgrade to the later version of 68 as there is a lot of custom coding hidden deep within the core 68 files. I will have to check my versioning history, and see if the changes we made to RC3 can be applyed to RC4.

As per previous posts, the category.php now displays (paginated) all of the listings underneath the category selection table.

How might I go about loading the GoogleMap? I am guessing that only initialises when either a category or a listing is selected. Is there a way to get it to load on the category.php page? Or will I have to modify the module and add a function to do that for me?

Ben
marketingsolutions is offline   Reply With Quote
Old 03-09-2009, 12:34 PM   #22
Coder
 
Join Date: Mar 2006
Posts: 4,418
Rep Power: 108
Lhotch is just really niceLhotch is just really nice
Default

Did you look at the readme file? It has a section descibing this new functionality and tells you what template changes ned to be made.

Also not there are additional database configuration fields with the latest version of the module, so it should be uninstalled, new files uploaded and then reinstalled via admin to make sure theese new database changes are made. Just uploading the new files over the old ones wont accomplish a complete upgrade of the module.


Also, RC 4 was not the latest version of v4.1. It was the last RELEASE CANDIDATE before V4.1 went into regular release so you are actually a couple versions behind. Its generally bad practice to base a production site on a beta product.
__________________
Larry.
Lhotch is offline   Reply With Quote
Old 03-09-2009, 12:43 PM   #23
Member
 
marketingsolutions's Avatar
 
Join Date: Sep 2006
Location: Ilfracombe - England
Posts: 58
Rep Power: 13
marketingsolutions is on a distinguished road
Send a message via Skype? to marketingsolutions
Default Category & Template changes

We had already made these changes, Google Maps was already displaying when a category had been selected...

We want the Google Maps to display when just category.php is being viewed - when we are not actually IN a category. Is this possible, or will I have to modify your module to cope with this?

So, A user clicks into a category. Google Maps was already displaying underneath the category listings. The user then clicks on the 'categories' link in the breadcrumb. This will take them to 'category.php' with no cat selection. We have now got ALL listings, broken into pages, displaying underneath the categories list. But Google maps is NOT present when you are at the top, on category.php (parent, root, whatever you want to call it).

Is this possible?
marketingsolutions is offline   Reply With Quote
Old 03-09-2009, 01:05 PM   #24
Coder
 
Join Date: Mar 2006
Posts: 4,418
Rep Power: 108
Lhotch is just really niceLhotch is just really nice
Default

There is actually a check in the code to prevent the map from isplaying in a category that doesnt allow ads or it would just appear as a gray box. Since you are overridding that, go into the module folder and open the file hooks.php.

Then locate the function called "function google_maps_cat_map()" and a few lines down from the top you should see this line....

Code:
if($settings[DisplayGoogle]=="Y" && $settings[DisplayGoogleCatMap]=="Y" && $cat['allowads'] == "Y"){
Remove the variable check on the end so it looks like this....

Code:
if($settings[DisplayGoogle]=="Y" && $settings[DisplayGoogleCatMap]=="Y"){
__________________
Larry.
Lhotch is offline   Reply With Quote
Old 03-10-2009, 10:31 AM   #25
Member
 
marketingsolutions's Avatar
 
Join Date: Sep 2006
Location: Ilfracombe - England
Posts: 58
Rep Power: 13
marketingsolutions is on a distinguished road
Send a message via Skype? to marketingsolutions
Default Many Thanks

Thats fantastic! Works exactly like our client was requesting.

Thank you very much for the time you took to help us out with this, it is very much appreciated.

I hope that i can return the favour and help you out sometime

Ben
marketingsolutions is offline   Reply With Quote
Old 03-10-2009, 10:33 AM   #26
Coder
 
Join Date: Mar 2006
Posts: 4,418
Rep Power: 108
Lhotch is just really niceLhotch is just really nice
Default

Quote:
Originally Posted by marketingsolutions View Post
Thats fantastic! Works exactly like our client was requesting.
Excellent, glad it worked for you/your client.
__________________
Larry.
Lhotch is offline   Reply With Quote
Old 03-15-2009, 05:37 AM   #27
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 784
Rep Power: 20
bowers01 is on a distinguished road
Default

Quote:
Originally Posted by Eric Barnes View Post
To show all listings open category.php and find:
$showlistings='N';

Change to:
$showlistings='Y';

Find:
$options['section']=$sec;
Change to:
if(isset($sec)) {
$options['section']=$sec;
}
Hi,
I have done this but the listings only show up if you are on the category.php page, is it possible to to show the listings if i was on truckandmachinery.com.au/category.php?cat=buses how can i show all items in buses? as there are deeper categories it just shows the sub cats.
Cheers,
Nick
__________________
Nick Bowers
68c v4.09 Developer Custom Template
bowers01 is offline   Reply With Quote
Old 04-12-2009, 02:03 PM   #28
Member
 
Join Date: Mar 2009
Posts: 68
Rep Power: 9
wabugi is a glorious beacon of lightwabugi is a glorious beacon of lightwabugi is a glorious beacon of light
Default

I have the same question as bowers01 (above me).
__________________
v4.13 - Developer Edition - custom template
wabugi is offline   Reply With Quote
Old 04-13-2009, 10:01 AM   #29
68 Classifieds Staff
 
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,019
Rep Power: 116
Eric Barnes is a jewel in the rough
Default

I just had a look and that would not be an easy change. From what I seen you would have to edit the query in the listings class and some how pass an array of section ids to it.
__________________
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 offline   Reply With Quote
Old 05-31-2009, 02:21 PM   #30
Junior Member
 
Join Date: Apr 2009
Posts: 11
Rep Power: 1
redking is on a distinguished road
Default

Quote:
Originally Posted by Eric Barnes View Post
To show all listings open category.php and find:
$showlistings='N';

Change to:
$showlistings='Y';

Find:
$options['section']=$sec;
Change to:
if(isset($sec)) {
$options['section']=$sec;
}
Hi! this isn't working for me. I modified category.php, and it only shows all ads when click on browse categories.

e-Oglasnik � Informatika

as you can see there are ads in PC Računla (1) PC Komponente (1) but no ads are showin below from those subcategories.

please help!
__________________
68 Classifieds Developer @ v4.1.x + Nu Style Template
redking 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
Listings in admin are active... but expired?? Tim_A v4 Questions & Support 1 03-03-2009 09:51 AM
Listings 'Not Active' tdisraeli v4 Questions & Support 6 10-03-2008 12:37 PM
Display Category name in Featured*listings hel68c v4 Questions & Support 0 08-06-2008 06:19 PM
Adding 'category' to 'new listings' display Chaslie v3.1 Modules & Modifications 5 01-31-2008 03:31 PM
How to display category total listings? dankellaway v3.1 Questions & Support 2 03-13-2007 01:25 PM


All times are GMT -4. The time now is 11:21 PM.


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