acf
This commit is contained in:
24
plugins/fields/acfarticles/tmpl/layouts/list.php
Normal file
24
plugins/fields/acfarticles/tmpl/layouts/list.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Advanced Custom Fields
|
||||
* @version 2.8.8 Pro
|
||||
*
|
||||
* @author Tassos Marinos <info@tassos.gr>
|
||||
* @link http://www.tassos.gr
|
||||
* @copyright Copyright © 2023 Tassos Marinos All Rights Reserved
|
||||
* @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> or later
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Router\Route;
|
||||
|
||||
$html .= '<ul>';
|
||||
|
||||
foreach ($articles as $article)
|
||||
{
|
||||
$html .= '<li><a href="' . Route::_($routerHelper::getArticleRoute($article['id'], $article['catid'], $article['language'])) . '">' . $article['title'] . '</a></li>';
|
||||
}
|
||||
|
||||
$html .= '</ul>';
|
||||
Reference in New Issue
Block a user