support

Author Topic: When does preview layout will be impmented?  (Read 2266 times)

Offline yonghan79

  • Jr. Member
  • **
  • Posts: 60
  • Karma: +17/-0
    • View Profile
When does preview layout will be impmented?
« 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.

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2054
  • Karma: +320/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: When does preview layout will be impmented?
« Reply #1 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?
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline yonghan79

  • Jr. Member
  • **
  • Posts: 60
  • Karma: +17/-0
    • View Profile
Re: When does preview layout will be impmented?
« Reply #2 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

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

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

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5863
  • Karma: +275/-2
    • View Profile
Re: When does preview layout will be impmented?
« Reply #3 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.

 

Powered by SMFPacks Social Login Mod