Support Forums


Go Back   68 Classifieds Forums > General > HTML, CSS, and Design Help

 
LinkBack Thread Tools Display Modes
Old 10-10-2008, 04:35 PM   #11
Moderator
 
 
Join Date: Mar 2006
Posts: 3,812
Rep Power: 93
Lhotch is just really niceLhotch is just really nice
Default

Quote:
Originally Posted by EugenusMaximus View Post
Anyway, I appreciate your concerns about the sense of this request as I also would love to find this problem solved by the core features itself (would save a lot of work for me) but as I explained, it will be hard to solve this just with the core features.
Im not sure I am totally following you on your goal to hard code the extra fields.

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:
Originally Posted by EugenusMaximus View Post
I would prefer to get closer to a solution to be honest. It sounds like what I want to do is not so easy with 68 Classifieds. Can you give me some Information what needs to be done (which files have to be touched)?
I cant give you any real specifics here because I am still uncertain of your ultimate goal.

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
Lhotch is offline   Reply With Quote
Old 10-11-2008, 04:38 AM   #12
Junior Member
 
Join Date: Oct 2008
Posts: 7
Rep Power: 0
EugenusMaximus is on a distinguished road
Default

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.
EugenusMaximus is offline   Reply With Quote
Old 10-11-2008, 11:39 AM   #13
Moderator
 
 
Join Date: Mar 2006
Posts: 3,812
Rep Power: 93
Lhotch is just really niceLhotch is just really nice
Default

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
Lhotch is offline   Reply With Quote
Old 10-11-2008, 12:06 PM   #14
Junior Member
 
Join Date: Oct 2008
Posts: 7
Rep Power: 0
EugenusMaximus is on a distinguished road
Default

Sounds good... had the same thought already. The problem is, the source code says:

Code:
<div id="ajxresponse"></div>
	<div id="optResponse"></div>
at the place where the html for the extra fields appears.
EugenusMaximus is offline   Reply With Quote
Old 10-11-2008, 12:10 PM   #15
Moderator
 
 
Join Date: Mar 2006
Posts: 3,812
Rep Power: 93
Lhotch is just really niceLhotch is just really nice
Default

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
Lhotch is offline   Reply With Quote
Old 10-11-2008, 12:18 PM   #16
Junior Member
 
Join Date: Oct 2008
Posts: 7
Rep Power: 0
EugenusMaximus is on a distinguished road
Default

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>[...]
EugenusMaximus is offline   Reply With Quote
Old 10-11-2008, 12:44 PM   #17
68 Classifieds Staff
 
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,374
Rep Power: 100
Eric Barnes is a jewel in the rough
Default

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
Eric Barnes is offline   Reply With Quote
Old 10-11-2008, 10:44 PM   #18
Moderator
 
 
Join Date: Mar 2006
Posts: 3,812
Rep Power: 93
Lhotch is just really niceLhotch is just really nice
Default

Quote:
Originally Posted by Eric Barnes View Post
I know that works in Firefox.
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
Lhotch 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
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


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


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