• Resolved andreescocard

    (@andreescocard)


    Hi
    When using an ad as iframe, i get this error when trying to edit the ad
    $(…).datepicker is not a function
    and the edit page breaks, not showing the save button below the loaded previewed iframe
    Ad rotate version 5.8.25
    WP version 5.9.3

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Arnan de Gans

    (@adegans)

    Does that happen with every advert or just the one you’re trying to create now?

    Thread Starter andreescocard

    (@andreescocard)

    Just the one i create now

    Plugin Author Arnan de Gans

    (@adegans)

    Then the advert you’re trying to create is doing something that WordPress doesn’t support by using a datepicker that either installed differently or doesn’t exist in WordPress.

    Try creating a less complex advert ??

    Thread Starter andreescocard

    (@andreescocard)

    i guess i know the reason
    i am creating an advert using youtube playlist embed iframe
    it maybe import some script that breaks the plugin
    i’ll think another alternative for this

    Plugin Author Arnan de Gans

    (@adegans)

    It’s not breaking the plugin. It’s breaking your WP dashboard because you’re trying to use functions that do not exist in WP.

    Thread Starter andreescocard

    (@andreescocard)

    Using an iframe as advert? Sorry but i disagree.
    Example: https://ibb.co/V3z5YHJ
    The plugin breaks, since it uses datepicker on it.
    But ok, i know iframe is not the purpose of this plugin, thanks anyway.

    Plugin Author Arnan de Gans

    (@adegans)

    iFrames in general work fine on AdRotate (Pro). There is even an iFrame example on the right of the adcode field.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘$(…).datepicker is not a function’ is closed to new replies.