Joomla 3.x 前台 content category 單一分類列表套用後台的排序方法

打開 components/com_content/views/category/tmpl/default_articles.php在檔案最頭的 $listDirn 下一行貼上以下程式碼: 1234567$saveOrder = $listOrder == 'a.ordering';if ($saveOrder) ...

Posted on  | 0 Comments

Joomla 3.x 前台 Content Category List 啟用發佈選項

Joomla 3 內建前台沒有像後台列表頁一樣有發佈按鈕可以快速切換,可以使用以下方法在前台列表頁啟用發佈按鈕喔! 打開你的前台列表頁,將發佈按鈕的 HTML 貼在你要的表格上12345678910<?php $menu = JFactory::getApplication()->getMenu(); $active = $menu->getActive(); $it...

Posted on  | 0 Comments