Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion core/components/com_kb/site/controllers/articles.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,16 @@ public function execute()
* @return void
*/
public function displayTask()
{
{
$category = new Category;
$category->set('alias', 'all');
$category->set('title', Lang::txt('COM_KB_ALL_ARTICLES'));
$category->set('id', 0);
$category->set('published', 1);
$category->set('path', 'all');

$this->view->set('category', $category);

$this->view
->set('archive', $this->archive)
->setLayout('display')
Expand Down Expand Up @@ -79,6 +88,7 @@ public function categoryTask()
$category->set('title', Lang::txt('COM_KB_ALL_ARTICLES'));
$category->set('id', 0);
$category->set('published', 1);
$category->set('path', 'all');
}
else
{
Expand Down
2 changes: 2 additions & 0 deletions core/components/com_kb/site/language/en-GB/en-GB.com_kb.ini
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ COM_KB_HAVE_A_FEATURE_REQUEST="Have an idea or feature request?"
COM_KB_FEATURE_TELL_US="Let us know!"
COM_KB_POPULAR_ARTICLES="Most Popular Articles"
COM_KB_RECENT_ARTICLES="Most Recent Articles"
COM_KB_CONTACT_US="Contact Us"
COM_KB_CONTACT_INFORMATION="Contact Information"

; Search form
COM_KB_SEARCH="Search"
Expand Down
Loading