• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 26.01.22, 16:22
  • Opened by: Robert Gonnet
  • Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #22935 - Create a page in AMP with an IFRAME

Hello,
I would like to create a page with an iframe. This would allow me to integrate content from a quote module.
I would still like to stay in the amp interface. This page would be accessible from an icon that I added in the header.
Could you please help me and explain how to achieve this?

Comments

Fred 27 Jan 2022, 11:45

Hi, Robert.
Sorry for the long reply.
Check out Google AMP documentation https://amp.dev/documentation/components/amp-iframe/ about iframes
You can use this file for example /.ftp-users/apps/tienda/themes/alysum/templates/mobile/_partials/footer-bottom.tpl to add that iframe

Robert Gonnet 28 Jan 2022, 15:14

Thank you for your reply.
I have another question, how to display simpleblog posts while staying with AMP ?

Fred 28 Jan 2022, 22:23

You can add Blog widget using AMP page builder

Robert Gonnet 29 Jan 2022, 15:11

Yes the widget display the cover image of the blog articles, but when clicking on “READ WHOLE POST” the user leaves the AMP website and display the article with the regular front design. The link pointing to the article stay the same on the regular front as on amp.

Fred 30 Jan 2022, 11:31

Please fill out all necessary fields in your profile https://support.promokit.eu/index.php?do=myprofile to access to your Back-office and FTP Server

Robert Gonnet 30 Jan 2022, 17:58

ok

Robert Gonnet 30 Jan 2022, 18:00

I have another issue: once a widget is set, I can’t edit it ( for example accordion )

Fred 31 Jan 2022, 10:08

Did you uninstall page builder? because I cant find it https://take.ms/SzYG7

Robert Gonnet 31 Jan 2022, 10:50

No, you will find it in the modules. A module in the promokit theme had disappeared from the sidebar, and I was editing the _tab table to adjust the sidebar.

Fred 31 Jan 2022, 23:29

You need to reset Creative Elements module to get it back to the sidebar.

Robert Gonnet 01 Feb 2022, 16:59

are you talking about the creative element module?
I tried to reset it but there is a problem.
I have contacted the developer.
Could it be because of this module that the display of blog posts is not done under AMP?

Fred 02 Feb 2022, 10:08

Yes, I wrote about Creative Elements module.
That’s common Prestashop issue, please check out this video how to solve it https://www.youtube.com/watch?v=UfEpLikS4W4

Robert Gonnet 02 Feb 2022, 10:23

Hello Creative Elements is back in my sidebar

Robert Gonnet 02 Feb 2022, 10:45

But the simpleblog widget still doesn’t seem to work properly with AMP.

Fred 02 Feb 2022, 22:23

AMP blog widget link is fixed. Please check it out

Robert Gonnet 03 Feb 2022, 09:00

Thanks for your support.
However, the last link to the post takes you out of the AMP interface. Would it be possible to view the post while remaining in AMP?

Fred 03 Feb 2022, 21:10

Do you mean this link https://take.ms/N8Iv6 is not AMP?

Robert Gonnet 04 Feb 2022, 13:16

when we follow this link and we arrive on the post, the post is not under amp, the url of the final page does not have the structure url.fr/mobile/…
so we leave the AMP site when we read the article.

Attachments:

mobile.png (61.5 KiB)
Fred 05 Feb 2022, 12:25

The issue has been fixed. Please test to confirm the change

Robert Gonnet 06 Feb 2022, 12:10

thank you, it works

Fred 07 Feb 2022, 10:37

You are welcome!