Results 1 to 5 of 5

Thread: Listing Options

  1. #1
    Join Date
    Mar 2006
    Posts
    15

    Default Listing Options

    I need to create options for all my listings.
    Example:
    All the listings have the following fields:
    link_id
    tile
    description
    ...

    Now, there is a variable that needs to be added to each link and that variable has 4 fields, so I created a table in the db like:

    CREATE TABLE `idx_options` (
    `option_id` mediumint(9) unsigned NOT NULL auto_increment,
    `link_id` mediumint(9) unsigned NOT NULL default '0',
    `optiontype` varchar(255) default NULL,
    `yard` varchar(255) default NULL,
    `rating` varchar(255) default NULL,
    `slope` varchar(255) default NULL,
    KEY `option_id` (`option_id`)
    ) TYPE=MyISAM AUTO_INCREMENT=1 ;


    I can not simply use the idx_links table, because each listing might have from one to 5 options.

    Now, I want to implement these options on the ad link page.
    Can someone please tell me if there is a mod for this or a way to accumplish this?


    Thanks so much

  2. #2
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    Quote Originally Posted by jhanna
    Now, I want to implement these options on the ad link page.
    Can someone please tell me if there is a mod for this or a way to accumplish this?
    Being the lazy sod that I am and based on what you say, I would just add it using HTML in the add_form.html file.

    modify_form.html would be a different matter.



    .
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  3. #3
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    With 5.1.0 you can easily create custom field for dropdown, radio button, multiselect, and many more.

  4. #4
    Join Date
    Sep 2005
    Posts
    82

    Default

    Can you please explain where to go in order to create a custom field? Can't find it anywhere in the control panel.

    Thank you.
    ** English Teacher and Student Site **
    Teach English in Japan, Korea, Taiwan or China

    Teaching Community at Teacher Forums
    New ESL Teacher and Student Directory!

  5. #5
    Join Date
    Sep 2005
    Posts
    82

    Default

    Just found the answer:

    Go to Admin Panel > Database > Alter
    You can add your custom field from there.
    ** English Teacher and Student Site **
    Teach English in Japan, Korea, Taiwan or China

    Teaching Community at Teacher Forums
    New ESL Teacher and Student Directory!

Similar Threads

  1. Replies: 2
    Last Post: 11-27-2005, 06:23 PM
  2. Category Url Options...
    By Hart_House in forum v3.2
    Replies: 0
    Last Post: 10-11-2004, 07:44 PM
  3. Replies: 1
    Last Post: 03-03-2003, 09:01 AM
  4. Replies: 2
    Last Post: 09-20-2002, 09:36 AM
  5. Editing the rating options?
    By Hart_House in forum v5.x
    Replies: 3
    Last Post: 08-29-2001, 05:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •