Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Is there a way to make a regular column clickable, so that it sorts ascending and defending?


1 reply to this topic

#1 bigbob2

  • Community Member
  • 77 posts
  • Real Name:Kevin

Posted 15 December 2011, 02:30

I have installed a contribution that in the admin section has columns for product specials. As of now, it sorts the contents by product name, but I would like to be able to click on the heading of the date of the special and have it sort by date, then change back to sorting by product when needed. Is there a novice way to allow me to click on the date heading, like you can on search results in the main part of the site?

Cheers
Kev

I have attached the file if you are able to help me.

catalog/admin/happy_hours_specials_basic.php

Attached Files



#2 Monika in Germany

  • Community Member
  • 4,860 posts
  • Real Name:Monika
  • Gender:Female
  • Location:Frankfurt, Germany

Posted 20 December 2011, 21:38

the quick updates contribution will show you how to sort your columns using your column headers (ascendingly and descendingly) - excellent for code reading/learning
:-)
Monika

addicted to writing code ... can't get enough of databases either, LOL!

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

Interactive Media Award July 2007 ~ category E-Commerce
my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...