Amazon Banner embed

Discussion in 'Article Script / Article Directory Script' started by gedop, Nov 24, 2016.

  1. gedop

    gedop New Member

    How can I embed amazon banner codes (iframe) in to specific article or custom field. Thank you..
  2. Dayir_A.

    Dayir_A. Staff Member

    Hello @gedop,

    You can add custom field for articles in Admin panel -> Publishing -> Article Fields -> Add field -> fill the form and click on Add button. (See the screenshots)

    2016-11-25_09-23-02.png
    2016-11-25_09-26-08.png

    The in Article add page, click on Source button and paste your code in textarea field.
    2016-11-25_09-29-29.png

    Thanks.
    Andrew_G. likes this.
  3. gedop

    gedop New Member

    Thank you for response But I cant see the source button

    Attached Files:

  4. gedop

    gedop New Member

    I installed ck editor full version. html codes now working but iframe not working. Amazon uses iframe for image+text banners
    Last edited: Nov 25, 2016
  5. Dayir_A.

    Dayir_A. Staff Member

  6. gedop

    gedop New Member

    Working now Thank you
    includes/classes/ia.core.util.php

    For Amazon.de
    Code (Text):
    $config->set('URI.SafeIframeRegexp', '%^(https?:)?//(www\.youtube(?:-nocookie)?\.com/embed/|player\.vimeo\.com/video/|(.*)ws-eu.amazon-adsystem.com/)%');

     
    For amazon.com
    Code (Text):
    $config->set('URI.SafeIframeRegexp', '%^(https?:)?//(www\.youtube(?:-nocookie)?\.com/embed/|player\.vimeo\.com/video/|(.*)ws-na.amazon-adsystem.com/)%');
    Dayir_A. likes this.
  7. Dayir_A.

    Dayir_A. Staff Member

    Thanks for sharing the solution.

Share This Page