Support Forums

inserting extra field on place listing tpl

This is a discussion on inserting extra field on place listing tpl within the Technical Support forums, part of the Technical Support Forums category; Hi I like my members to insert tags for their items. So I want to add an extra field in ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

This topic is resolved.

If you have a similar issue that this thread does not address, open a new related support topic.

 
Thread Tools Display Modes
Old 10-27-2008, 04:32 PM   #1
Junior Member
 
Join Date: Aug 2008
Posts: 20
Rep Power: 9
Shadman is on a distinguished road
Default inserting extra field on place listing tpl

Hi I like my members to insert tags for their items.

So I want to add an extra field in one of the checkout template (step 3 tpl) where users can place tags separated by comma for their item.

Additionally I want my 68 search function be driven by only these tags.

How would I go about this? please help!

Now would it be easier to modify the title field and turn it into a tag field....then creation a new title field? If so I would like to do this.
Shadman is offline  
Old 10-27-2008, 04:54 PM   #2
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,492
Rep Power: 131
Eric Barnes is just really nice Eric Barnes is just really nice
Default

I don't think this will be that easy. But you did state this:
Quote:
Now would it be easier to modify the title field and turn it into a tag field....then creation a new title field? If so I would like to do this.
I probably wouldn't use the title field but maybe try it with the short description field. Then just change it in the form to be a single line text field input.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Old 10-27-2008, 05:38 PM   #3
Junior Member
 
Join Date: Aug 2008
Posts: 20
Rep Power: 9
Shadman is on a distinguished road
Default

Hey that's a good idea! I can even leave the short des box as a text box.

Thanks!
Shadman is offline  
Old 10-27-2008, 05:44 PM   #4
Junior Member
 
Join Date: Aug 2008
Posts: 20
Rep Power: 9
Shadman is on a distinguished road
Default

Hi, I did it.

I just changed the display test for the from from short description to tags.

I made a text post listing with a few random text on the short description box.

ex: red yellow ipod

but when I search for it, it doesn't show up on the results.
Shadman is offline  
Old 10-27-2008, 08:00 PM   #5
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,492
Rep Power: 131
Eric Barnes is just really nice Eric Barnes is just really nice
Default

Yes I actually found this as a bug after suggesting it. What version and edition are you using?
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Old 10-28-2008, 10:10 PM   #6
Junior Member
 
Join Date: Aug 2008
Posts: 20
Rep Power: 9
Shadman is on a distinguished road
Default

v4.0.5 Designer
Shadman is offline  
Old 10-29-2008, 02:32 PM   #7
Junior Member
 
Join Date: Aug 2008
Posts: 20
Rep Power: 9
Shadman is on a distinguished road
Default

Hi Eric

I did figure out an alternative way, it takes it a little bit more tweaking though.

First turn the description box into a tag text box for I think the search enging only fetch text from the title and description box.

and turn the short description into description box, and place that on the item listing page accordingly.

It works out great!
Shadman is offline  
Old 10-29-2008, 02:36 PM   #8
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,492
Rep Power: 131
Eric Barnes is just really nice Eric Barnes is just really nice
Default

That is great news and very cool. Thanks for the follow up.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Old 10-29-2008, 02:39 PM   #9
Junior Member
 
Join Date: Aug 2008
Posts: 20
Rep Power: 9
Shadman is on a distinguished road
Default

Hi again, I have a quick question

what do I place to display the short description?

{$description|nl2br} < I know this is for the description, which I am using to display tags.
Shadman is offline  
Old 10-29-2008, 02:40 PM   #10
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,492
Rep Power: 131
Eric Barnes is just really nice Eric Barnes is just really nice
Default

Try this:
{$shortDescription|nl2br}
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Extra checkbox field not showing in listing gysgysco Technical Support 9 12-06-2008 12:36 AM
Listing extra field cardenas Modules / Plugins / Modifications 6 08-26-2008 04:44 AM
Can users place html in description field? Unregistered Pre Sales Questions 3 12-25-2006 09:30 AM


All times are GMT -4. The time now is 11:13 AM.


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