"For Trade" Ad Type
I'm trying to create a "For Trade" ad type. First I tried modifying one of the "Personals" (uploadproduct2) ad types, but just ran into too many problems.
So, now I'm trying to use the "For Sale" ad type with a new field added. But I'm having problems with this as well.
My first question is after all these years and a number of requests why hasn't a "For Trade" ad type been created? When I search about "For Trade" ad types I see some requests that date back quite a long way. Do you think it's possible that you might create this needed ad type any time soon?
Ok, with that said... I next decided to use the "For Sale" ad type as it's pretty close to what is needed. And, I added a new field to add "What I'm willing to trade for" into the form and that has created a single line text box.
The field really should be a textarea -- but that doesn't seem to be an option? Also, I'd love to be able to turn off the "Price" section as there isn't a price on a "For trade" ad.
Short of creating a whole new set of show, edit, upload templates from scratch (that then has to be updated every time the product update includes template changes) is there any way to make a more credible "For Trade" ad type?
PS. And, I guess Showcat would need some changes too.
Let me quickly add to this question -- If I go into showproduct, editproduct and uploadproduct for the "For Sale" ad and change the coding on Field1 to textareahtml and give it cols=50 and rows=5 will that create a problem in the database because the textbox for field1 is limited to 50 characters in the DB tables?
Here's the changed I'd make to the "for sale" ad type templates:
We have 5 different template types and you can make ones however you wish.
The classifieds has functionality that when you create a ad type in admin you can base the new type of any type that exists then it creates any needed template or sub language files.
You would then edit any of those to suit your needs. There is no such html as textareahtml. You need to use textarea.
I see "textareahtml" in the existing coding for "desc" in the uploadproduct.tmpl.
Here's the coding:
If I look at any of our templates in our downloaded code no templates have textareahtml
Let me know if you have specific questions about the feature I noted. Basically all that does is create all the necessary files for you. You would then modify the way things are displayed by altering the templates to suit your needs. All we can do obviously is create ones based off specific sets we have in the application.
|All times are GMT -5. The time now is 12:25 AM.|
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0