Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Remove date column

Remove date column 15 years 1 month ago #5288

  • casey1110
  • casey1110's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 0
I need to remove the date column from the main event listing page. What do I edit out to accomplish this?

Please Log in or Create an account to join the conversation.

Remove date column 15 years 1 month ago #5289

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
Hello. Check this file (based on version 2.5. 8) :
/components/com_dtregister/dtregister.php

Around line 2984 you should find the start of a <th> tag that includes the header for the date column shown as 'DT_DATE'. In this table structure, you would need to remove that column starting with this line from <th> to </th>

Then the actual data for the date is pulled in around line 3306 where you will see the start of a <td> table cell. You should see some clues that you're in the right place like "get_date", $start_date, etc. Comment out or remove this code from the start of the <td> to the closing </td> which about 7 lines later.

Hope this helps :)

Please Log in or Create an account to join the conversation.

Remove date column 14 years 11 months ago #5684

  • casey1110
  • casey1110's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 0
Thank you -- this is great! Is there any way of removing the "category" drop down menu as well?

Please Log in or Create an account to join the conversation.

Remove date column 14 years 11 months ago #5685

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
casey, removing the category has been posted in the forum a couple times before so a search should locate that. The new 2.6 version has new parameters built in allowing you to "Hide" the search and/or the category filter. :) That is almost done!

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.593 seconds