|
|
#11 | ||
|
Moderator
Join Date: Mar 2006
Posts: 3,812
Rep Power: 93 ![]() ![]() |
Quote:
As it sits now the extra fields are NOT stored in the ad database itself and actually exist in 3 database tables outside of the ad database table. This is what allows extra fields to be unlimited in number and specifically applicable to just selected categories. It sounds like all your categories will have the same extra fields and you want them stored with the ads themselves. I can sympathize that this is how YOU want the script to work, but honestly it is a huge step backwards in overall classifieds functionality and would greatly hinder many, if not most, of the people currently using the software. Quote:
However, as I mentioned above the extra fields are not stored in the same table as the ads, they cant be to offer the flexibility 68C offers. This means in order to get extra fields for an ad you have to get the id id itself and then do another database query to get the names of the extra fields, and what the extra field values are.
__________________
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 |
||
|
|
|
|
|
#12 |
|
Junior Member
Join Date: Oct 2008
Posts: 7
Rep Power: 0 ![]() |
My ultimate goal is actually as I explained already for several times.
- I want my Ads to have additional fields which are searchable. - Search Fields like Zip Code for example don't apply to what I need - I would need fields like boat length, region and specific charter types - I would need the search on the starting page as well - I want to be able to display them as I want as I will have about 10 search criteria. I would like to put them in two colums next to each other for example so they don't stretch my website to much. This would be an example of the search.tpl: (Just an HTML example) http://www.lykiaworldtennis.com/trash/test.htm What I want to put into home.tpl is comparable to this as well. PS: I don't have to mention that whether the formatting nor the source code is what it really will look like. It's just a fast example for you so you know how my search box should look like in the end. |
|
|
|
|
|
#13 |
|
Moderator
Join Date: Mar 2006
Posts: 3,812
Rep Power: 93 ![]() ![]() |
Assuming you have all your cats and extra fields created, goto the main search page and chose a category to cause all your extra fields to appear for the search. View the page source and create your own search for using the values that you see for the existing search form and have your new form replace the old..
__________________
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 |
|
|
|
|
|
#14 |
|
Junior Member
Join Date: Oct 2008
Posts: 7
Rep Power: 0 ![]() |
Sounds good... had the same thought already. The problem is, the source code says:
Code:
<div id="ajxresponse"></div> <div id="optResponse"></div> |
|
|
|
|
|
#15 |
|
Moderator
Join Date: Mar 2006
Posts: 3,812
Rep Power: 93 ![]() ![]() |
the ID of the div shouldnt have any bearing on the field names/values.
__________________
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 |
|
|
|
|
|
#16 |
|
Junior Member
Join Date: Oct 2008
Posts: 7
Rep Power: 0 ![]() |
I'm sorry but I don't understand the relation of this answer. Maybe I didn't state my problem clear to your response.
When I go to main search, click the specific category and see the extra fields appearing I click on show source code. Even though there should appear I large HTML text for the certain fields it says: Code:
[...]<input type="text" name="zipCode" size="8" /> <select name="miles" id="miles"> <option value="">Any Distance</option> <option value="5">5</option> <option value="10">10</option> <option value="15">15</option> <option value="20">20</option> <option value="50">50</option> <option value="100">100</option> </select> </td> </tr> </table> <div id="ajxresponse"></div> <div id="optResponse"></div> </fieldset> <div align="center"><input type="submit" name="Submit" value="Search" /></div>[...] |
|
|
|
|
|
#17 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,374
Rep Power: 100 ![]() |
Yes this is pulled out by using ajax so not actualy displayed in the html unless you highlight it and then right click and "view selection source". I know that works in Firefox.
__________________
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 | Twitter |
|
|
|
|
|
#18 |
|
Moderator
Join Date: Mar 2006
Posts: 3,812
Rep Power: 93 ![]() ![]() |
WIth the firebug plugin that is. Its a must have tool for anyone serious with web development by the way..
__________________
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 |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| help needed breadcrumb | suresh | v4 Questions & Support | 1 | 10-02-2008 09:24 AM |
| How do I automatically feed a new classifieds site ads from major classifieds sites | j890432m | v4 Modules / Modifications | 4 | 06-23-2008 08:53 PM |
| What I needed :o( | Unregistered | Pre Sales Questions | 1 | 09-12-2007 10:13 PM |