Support Forums


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

 
LinkBack Thread Tools Display Modes
Old 03-09-2009, 09:42 AM   #1
Member
 
marketingsolutions's Avatar
 
Join Date: Sep 2006
Location: Ilfracombe - England
Posts: 58
Rep Power: 12
marketingsolutions is on a distinguished road
Send a message via Skype? to marketingsolutions
Default Display ALL active listings under category list

Hi all,

You would think that I would be able to do this myself, but having broken the clients installation of 68 several times this morning, I will ask some people who may already know the answer instead...

Our client has requested that ALL of the active listings are displayed underneath the category list. How could I achieve this?

The client wants this so that they can have their Google maps modules display all available listings underneath the 'All Listings' section.

If anyone can give me couple of pointers, they would be most appreciated!
marketingsolutions is offline   Reply With Quote
Old 03-09-2009, 09:47 AM   #2
Moderator
 
 
Join Date: Mar 2006
Posts: 4,054
Rep Power: 99
Lhotch is just really niceLhotch is just really nice
Default

I dont understand the question. Can you walk us through the user experience in a bit more detail? For example, after hitting your site and seeing the home page, what exactly do you want displayed where?

Also, just because the ads are all displayed doesnt mean they will all be populated on a google map. All the addresses need to be sent to google and plotted.
__________________
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 03-09-2009, 09:53 AM   #3
Member
 
marketingsolutions's Avatar
 
Join Date: Sep 2006
Location: Ilfracombe - England
Posts: 58
Rep Power: 12
marketingsolutions is on a distinguished road
Send a message via Skype? to marketingsolutions
Default

On category.php where the category names are displayed, the client requires that all listings are visiable on this page and paginated and with the map marrkers for each individual listing sowing on the google map
marketingsolutions is offline   Reply With Quote
Old 03-09-2009, 09:55 AM   #4
Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,296
Rep Power: 37
Mike-N-Tosh is just really niceMike-N-Tosh is just really nice
Default

I haven't visited how to do this, however I think that you need to consider the implications of it.

I would assume you are referring to the home page right under the categories list.

First, as lhotch has already pointed out, the Google maps wouldn't work in this fashion.

Second, to make the Goggle maps work like that would take some additional custom coding with several calls to the database as well as google for each individual ad being shown.

Third, even though there may not be a lot of ads now, what happens as the site progresses and you have thousands of ads? This would make you home page a mile long and might not even render or could cause a time out of the server.

Just some thoughts,
-Mike
__________________
Mike-N-Tosh
v3.1.10 Developer IndianaPC.org - A community website
Sandbox v4.0.9, 4.1
Templates, Mods & Docs for sale | My blog with much content for 68 Classifieds.
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 03-09-2009, 10:05 AM   #5
Moderator
 
 
Join Date: Mar 2006
Posts: 4,054
Rep Power: 99
Lhotch is just really niceLhotch is just really nice
Default

Quote:
Originally Posted by Mike-N-Tosh View Post
Second, to make the Goggle maps work like that would take some additional custom coding with several calls to the database as well as google for each individual ad being shown.
Ive already got the functionality of displaying a google map under a category listing plotting all the points for a current page on a map built into my google maps module.

http://zygnet.net/41beta3/category.php?cat=canon

Quote:
Originally Posted by Mike-N-Tosh View Post
Third, even though there may not be a lot of ads now, what happens as the site progresses and you have thousands of ads? This would make you home page a mile long and might not even render or could cause a time out of the server.
He did say with pagination but what he didnt say was how to handle maincats,subcats etc. If someone hits browse are they supposed to see a list cats followed by ads, of just the first cat with its ads underneath it and as you paginate you see the subcats and its ads etc etc etc. This is what I was talking about when I said in more detail but apparently I am asking for too much.
__________________
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 03-09-2009, 10:06 AM   #6
Member
 
marketingsolutions's Avatar
 
Join Date: Sep 2006
Location: Ilfracombe - England
Posts: 58
Rep Power: 12
marketingsolutions is on a distinguished road
Send a message via Skype? to marketingsolutions
Default Client specification

Ok, I think we have some wires crossed here...

When you point your browser to category.php, you get a simple table with a list of categories underneath.

Our client wants ALL active listings (paginated,not a massive list!) to display underneath this. Dont ask me why. Underneath the 'All Listing' table, they would like their Google Maps module to display markers for each listing that is currently on display (ie: 10 per page?).

I am more than comfortable with editing / creating PHP code, but what does confuse me is how I might go about pulling all the listings using the 68 Database abstraction layer.

I could do this with in place procedural functions, but this is a very poor way of doing things, I would rather use the internal methods such as Listings->getAllListings() for clarity of code and continuity.

I am sory if I wasnt clear from the outset, and probably sorry again for making it even less clear with this post.

Ben
marketingsolutions is offline   Reply With Quote
Old 03-09-2009, 10:16 AM   #7
68 Classifieds Staff
 
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,719
Rep Power: 109
Eric Barnes is a jewel in the rough
Default

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;
}
__________________
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 03-09-2009, 10:21 AM   #8
Member
 
marketingsolutions's Avatar
 
Join Date: Sep 2006
Location: Ilfracombe - England
Posts: 58
Rep Power: 12
marketingsolutions is on a distinguished road
Send a message via Skype? to marketingsolutions
Default Thanks!

Cheers Eric!

I think the other two went off on a bit of tagent there..
marketingsolutions is offline   Reply With Quote
Old 03-09-2009, 10:26 AM   #9
Moderator
 
 
Join Date: Mar 2006
Posts: 4,054
Rep Power: 99
Lhotch is just really niceLhotch is just really nice
Default

Quote:
Originally Posted by marketingsolutions View Post
I think the other two went off on a bit of tagent there..
Yeah, OK. I didnt realize trying to get specifics was a tangent, but hey its your project.
__________________
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 03-09-2009, 10:33 AM   #10
Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,296
Rep Power: 37
Mike-N-Tosh is just really niceMike-N-Tosh is just really nice
Default

My post was being written whilst the original poster replied to you, lhotch. I didn't see it till after I hit post.

Timing is everything.

-Mike
__________________
Mike-N-Tosh
v3.1.10 Developer IndianaPC.org - A community website
Sandbox v4.0.9, 4.1
Templates, Mods & Docs for sale | My blog with much content for 68 Classifieds.
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh 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 10:37 PM.


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