Results 1 to 10 of 10

Thread: Add Fields To Submit form & link display

  1. #1
    4webmasters.us Guest

    Default Add Fields To Submit form & link display

    Hi All!! I am trying to ad custom fields to the submission form, and to the link displays, my specialty is not php, and just wanted to know has anyone come up with a solution/hack for this?
    eg>
    submit form:
    name:
    email:
    link title:
    Description:
    version:
    language:
    etc:
    contact name:

    I need fields added to the submit form, then diplayed accordingly on the links in the directory

    Thankyou in advance

  2. #2
    Join Date
    Jan 2002
    Posts
    279

    Default

    4web,

    You can add custom fields through the admin panel. Just click on Alter under Database Tables the add the Field name you want. This will automatically be added to the submission form.

    You can the edit Rows.html to include these new custom fields on the links display. If you add the field phone then you should add <%phone%> on rows.html next to the links.


    Craven

  3. #3
    4webmasters.us Guest

    Default

    Thanks for that!! Greatly appreciated, but I want to add more custom fields than the ones already displayed, I can edit language, more_info etc fields + I need another 3 fields -- is this possible, is there a hack for this??

    Thanks in advance

  4. #4
    Join Date
    Jan 2002
    Posts
    279

    Default

    I added custom fields for address, city, county, phone, fax, keywords, and zipcode all through admin. You can add a lot of extra fields. You can also add extra fields using phpMyadmin but its easier to just do it through the admin panel.

    On the custom field Keywords I made this searchable so that not only does title and description get searched but also the Keywords field! This was a great addition. Here's how to do it!

    http://www.nicecoder.com/community/s...=&threadid=639



    Craven

  5. #5
    4webmasters.us Guest

    Default

    Thanks for your response, I just have another question, 'is there a special link to add custom fileds too? I went to database settings, and I can only see the option to alter the original 3 custom fields, how do I add fields on top of these?? Sorry, I am just anxious to get this working correctly!
    Thanks again Craven for your help

  6. #6
    Join Date
    Jan 2002
    Posts
    279

    Default

    When you log into the Admin Panel of Indexu there is the menu to the left. Under Database Tables click on Alter. Then scroll down the right page to Add New Field. Type in the name and type and you're set. Thats all there is to it. I hope this helps.

    Are you trying this through the Admin Panel?

    Craven

  7. #7
    4webmasters.us Guest

    Default

    Craven,
    Thanks, I understand how to do it now, but what are the other 2 feilds for : Type & Default Value ? what would I put in here to add the custom field?

    Thanks

  8. #8
    Join Date
    Jan 2002
    Posts
    279

    Default

    I used varchar (255) for the type on all the custom fields and left the Default Value blank. It works so I've never really tried to figure it out.

    If anyone else knows what these fields are for please let us know!!

    Craven

  9. #9
    Join Date
    Apr 2003
    Posts
    37

    Default adding checkbox to submit form

    Hi

    Is it possible also to add a checkbox/radio button to the submit form, and if so...how?

    Regards
    Kooks

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

    Default

    4web, those fields are very useful when you know mysql.

    Type: is type of field, each type has its range value.
    - varchar is up to 255 characters
    - text is up to 65k char

    default value is the default value that will filled in mysql database when the input is empty.

    Is it possible also to add a checkbox/radio button to the submit form, and if so...how?
    kooks, please wait about this. I'll write tech note about this soon.

Similar Threads

  1. Add Fields To Submit form
    By 4webmasters in forum v5.x
    Replies: 2
    Last Post: 06-17-2004, 11:37 PM
  2. Replies: 4
    Last Post: 06-18-2003, 10:32 PM
  3. Link Tilte on Tell Friend Form
    By blakebauman in forum v5.x
    Replies: 3
    Last Post: 07-31-2002, 11:24 PM
  4. Submit a Review Link
    By Hart_House in forum v5.x
    Replies: 4
    Last Post: 09-04-2001, 12:07 AM

Posting Permissions

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