1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Change columns headings

Discussion in 'Templates, HTML, CSS, and Design Help' started by NancyLucas, Sep 11, 2013.

  1. NancyLucas Member

    Hi - we currently have columns of info about each horse on the category page.

    We want to remove the AHA# column (but still have it show on the ad) and create new columns for "Sire" and Dam", which have their own fields in the ad, so the info is in the database.

    Is there an easy way to do this?

    http://www.arabhorsemarket.com/categories.html?cat=stallions

    Thanks!
  2. freeze2 Super Moderator

    Hi Nancy, to modify the columns, you will need to go into your showlisting.tpl or showlistings.tpl file (whichever you are using) ... and make the changes within the <table class="main" width="100%"></table> area by deleting or adding columns as needed. At that point you should be able to add the appropriate call for the extra field you are wanting to display. Example: {get_extra_field id=$entry.id fid=1}
  3. NancyLucas Member

    Thank you. I will give it a try!
  4. Mike-N-Tosh Owner

    You may want to bear in mind that the showlistings.tpl is the searchresults for either browsing by category or a search. By design, just like a search engines results, it is meant to give a brief overview of the listing. If you start putting all of the information in that template it can cause two issues for you and your viewers...
    1. A very confusing and overly crowded display.
    2. There's not much incentive or need to click into the full listing (viewlisting.tpl) page except to see the images.
    Just something to keep in mind.
  5. NancyLucas Member

    Hi Mike - Thanks! We are definitely trying to keep it clean. Many clients have said they prefer to see the Sire/dam instead of the AHA#, so they can see that on the ad, plus a bunch of info, 3-generation pedigree, show record, photos, video, etc. :)

Share This Page