Results 1 to 4 of 4

Thread: Display New Fields on detail.php

  1. #1
    Join Date
    Apr 2006
    Posts
    9

    Default Display New Fields on detail.php

    OK, it's easy enough to add new fields to a listing, but how do you display them on the detail page? I have not been able to find any info on that as of yet.

  2. #2
    Join Date
    Nov 2004
    Posts
    1,822

    Default

    they just show up!

    Okay thats the simple answer... they shoud jsut show up, as your asked the question im guessign the didnt just show up? Well if thats the case you removed the tag that said <%custom_form_field%> good job! any suceesfful indexU websites is probably going to ditch that and make a nice layout themselves, in the order they want it.

    Its as simple as <%fieldname%> stick it into the file :
    themes/kosmos/detail_link.html where you want it to show up
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

  3. #3
    Join Date
    Apr 2006
    Posts
    9

    Default Thanks

    Perfect. I thought it was that easy, so I must have tested it on the wrong theme folder.

    I also see how the <%custom_form_field%> is popping all my fields at the bottom of the screen... very ugly indeed.

    Thanks for the help, and hopefully I'll be able to find this post again next year when I forget how to do it

  4. #4
    Join Date
    Dec 2007
    Posts
    1

    Default

    Just for clarification, I spent a while trying to pull the result from the Database, and trying to assign a <%myfield%> block and trying to pass that through, but that's just not the way to do it!

    If you've added an extra field of information into the database, all you need to do is write <%myfieldname%> into the template and it pulls it out.

    I didn't think this was the way to do it, but simple seems to be the way it works with this one.

    Thanks
    Martin

Similar Threads

  1. How to display $cat in Detail page?
    By cucupidon in forum v3.2
    Replies: 1
    Last Post: 03-25-2005, 09:56 AM
  2. Replies: 2
    Last Post: 05-12-2004, 10:18 PM
  3. Replies: 4
    Last Post: 06-18-2003, 10:32 PM
  4. Add Fields To Submit form & link display
    By 4webmasters.us in forum v5.x
    Replies: 9
    Last Post: 05-03-2003, 07:38 PM
  5. Add fields to Detail Page?
    By awebb1 in forum Pre-Sales Questions
    Replies: 5
    Last Post: 09-08-2002, 02:45 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
  •