Adding Articles Section
Posted: Fri Apr 23, 2021 12:51 am
Looking for a way to add an articles section with different topics.
Free Open Source Ecommerce
https://phoenixcart.org/forum/
Yes, we used the folders extension to make something like that.Kofod95 wrote: ↑Wed Apr 28, 2021 6:32 pm This comes to my mind
app.php/addons/supporters_code/s05e02_i ... extensions
Code: Select all
<div class="row">
<?php
$containment = info_pages::getContainer(['pd.languages_id' => '1',
'p.folder' => '12', 'p.pages_status' => '1']);
foreach ($containment as $k => $v) {
echo '<div class="col-12 col-md-6 my-2">' . PHP_EOL;
echo '<a class="btn btn-lg btn-block btn-primary" href="' . tep_href_link('info.php', 'pages_id=' . $v['pages_id']) . '">' . '<i class="far fa-file-alt"></i> ' . $v['pages_title'] . '</a>' . PHP_EOL;
echo '</div>' . PHP_EOL;
}
?>
</div>