Trace:
Differences
This shows you the differences between the selected revision and the current version of the page.
| joomla:order-eventlist 2011/09/15 12:43 | joomla:order-eventlist 2011/09/15 12:54 current | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| - | ===== view.html.php ===== | + | ===== Edit view.html.php ===== |
| * แก้ไขไฟล์แสดงผลด้วยที่ไฟล์ view.html.php ที่อยู่ในโฟลเดอร์ components/com_eventlist/views/eventlist | * แก้ไขไฟล์แสดงผลด้วยที่ไฟล์ view.html.php ที่อยู่ในโฟลเดอร์ components/com_eventlist/views/eventlist | ||
| - | * บรรทัดที่ 185 ของไฟล์ $filter_order_Dir = JRequest::getWord(‘filter_order_Dir’, ‘ASC’); | + | * บรรทัดที่ 185 ของไฟล์ $filter_order_Dir = JRequest::getWord(‘filter_order_Dir’, ‘**ASC**’); |
| - | * ให้แก้ไขเป็น $filter_order_Dir = JRequest::getWord(‘filter_order_Dir’, ‘DESC’); | + | * ให้แก้ไขเป็น $filter_order_Dir = JRequest::getWord(‘filter_order_Dir’, ‘**DESC**’); |
| * หรือ แก้ไขจาก ASC เป็น DESC | * หรือ แก้ไขจาก ASC เป็น DESC | ||
| + | |||
| + | **หมายเหตุ** | ||
| + | * ASC คือการเรียงข้อมูลจาก A-->Z หรือจาก น้อยไปมาก | ||
| + | * DESC คือการเรียงข้อมูลจาก Z-->A หรือจาก มากไปน้อย | ||
| เมื่อแก้ไขทั้ง 2 ไฟล์เรียบร้อยแล้วการแสดงผลทั้ง Frontend และ Backend ก็จะเรียงข้อมูลจากวันที่ปัจจุบันไปหาวันที่อดีต | เมื่อแก้ไขทั้ง 2 ไฟล์เรียบร้อยแล้วการแสดงผลทั้ง Frontend และ Backend ก็จะเรียงข้อมูลจากวันที่ปัจจุบันไปหาวันที่อดีต | ||
| + | |||
| + | |||
| + | |||
| + | {{:joomla:eventlist.png?600|eventlist}} | ||
| + | |||
| + | ---- | ||
| + | **ผู้เขียน** | ||
| + | * บุญเกียรติ เจตจำนงนุช นักวิชาการ ฝ่ายบริการความรู้ทางวิทยาศาสตร์และเทคโนโลยี | ||
| + | |||
| + | {{tag>Joomla CMS eventlist components order}} | ||
