AbanteCart Community
AbanteCart Development => General Discussion => Topic started by: yonghan79 on July 09, 2024, 11:09:30 AM
-
Hi core devs,
i found in the 1.4.0 code that there are preview layout code but it's not finished yet.
Are there estimation in which version of AbanteCart that it will implemented?
Thanks.
-
Hi core devs,
i found in the 1.4.0 code that there are preview layout code but it's not finished yet.
Are there estimation in which version of AbanteCart that it will implemented?
Thanks.
hi, what "preview layout code" do you mean?
-
Hi abolabo,
i mean preview layout function within v1.4.0.
https://github.com/abantecart/abantecart-src/blob/1.4.0/public_html/admin/view/default/template/pages/design/layout.tpl (https://github.com/abantecart/abantecart-src/blob/1.4.0/public_html/admin/view/default/template/pages/design/layout.tpl)
line 3-8
/* preview development is not complete. future */
if ($preview_id) { ?>
<div class="alert alert-info">
<?php echo $text_preview_generated; ?> <a href="<?php echo $preview_url; ?>" target="_blank"><?php echo $text_click_here; ?></a>
</div>
<?php }
https://github.com/abantecart/abantecart-src/blob/1.4.0/public_html/admin/controller/pages/design/layout.php (https://github.com/abantecart/abantecart-src/blob/1.4.0/public_html/admin/controller/pages/design/layout.php)
line 40-45
//Note yet implemented
if (isset($this->request->get['preview_id'])) {
$preview_id = $this->request->get['preview_id'];
$layout_data['preview_id'] = $preview_id;
$layout_data['preview_url'] = HTTP_CATALOG.'?preview='.$preview_id.'&layout_id='.$preview_id.'&page_id='.$page_id;
}
-
Hello.
The AbanteCart team is considering a future transition to a Page Builder, which means the development of a preview layout feature is currently on hold.