Location: PHPKode > projects > Dev's CMS > devscms/admin/modules/news/start.php
<?php

$items = array();
foreach ($news->getAll('id,title,is_visible') as $item) {
	$items[] = array('href' => "?p=n&amp;a=e&amp;id=$item[id]", 'title' => $item['title']);
}

$previews[] = array(
	'title' => 'Nyheter',
	'empty' => 'Inga nyheter',
	'items' => $items
);
Return current item: Dev's CMS