When does preview layout will be impmented?

Started by yonghan79, July 09, 2024, 11:09:30 AM

Previous topic - Next topic

yonghan79

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.

abolabo

Quote from: 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, what "preview layout code" do you mean?
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

yonghan79

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

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

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;
        }

Basara

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.

Forum Rules Code of conduct
AbanteCart.com 2010 -