|
|
#21 |
|
Member
|
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 |
|
|
|
|
|
#22 |
|
Coder
Join Date: Mar 2006
Posts: 4,418
Rep Power: 108 ![]() ![]() |
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. |
|
|
|
|
|
#23 |
|
Member
|
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? |
|
|
|
|
|
#24 |
|
Coder
Join Date: Mar 2006
Posts: 4,418
Rep Power: 108 ![]() ![]() |
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"){
Code:
if($settings[DisplayGoogle]=="Y" && $settings[DisplayGoogleCatMap]=="Y"){
|
|
|
|
|
|
#25 |
|
Member
|
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 |
|
|
|
|
|
#26 |
|
Coder
Join Date: Mar 2006
Posts: 4,418
Rep Power: 108 ![]() ![]() |
Excellent, glad it worked for you/your client.
|
|
|
|
|
|
#27 | |
|
Genius At Work
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 784
Rep Power: 20 ![]() |
Quote:
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 |
|
|
|
|
|
|
#28 |
|
Member
Join Date: Mar 2009
Posts: 68
Rep Power: 9 ![]() ![]() ![]() |
I have the same question as bowers01 (above me).
__________________
v4.13 - Developer Edition - custom template |
|
|
|
|
|
#29 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,019
Rep Power: 116 ![]() |
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 |
|
|
|
|
|
#30 | |
|
Junior Member
Join Date: Apr 2009
Posts: 11
Rep Power: 1 ![]() |
Quote:
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
|
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
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 |