AbanteCart Community

AbanteCart Development => General Discussion => Topic started by: yonghan79 on July 09, 2024, 11:09:30 AM

Title: When does preview layout will be impmented?
Post 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.
Title: Re: When does preview layout will be impmented?
Post by: abolabo on July 10, 2024, 04:00:56 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, what "preview layout code" do you mean?
Title: Re: When does preview layout will be impmented?
Post by: yonghan79 on July 10, 2024, 04:07:38 AM
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

Code: [Select]
/* 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
Code: [Select]
//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;
        }
Title: Re: When does preview layout will be impmented?
Post by: Basara on July 11, 2024, 06:47:06 AM
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.