Plugin Author
Arnan
(@adegans)
Just because one of the examples does not work does not mean you can not create adverts.
You can simply type in the AdCode field, or copy other text into it.
For the examples to work you need a little piece of Javascript. This is of-course loaded/included with the plugin.
If something doesn’t work about it it’ll give errors in your browser inspector and such an error should become visible right after you click the example you want to use.
So please check what that error is by taking a look at your Browser Inspector.
Errors can usually be found in the ‘Console’ tab.
Thread Starter
ntone
(@ntone)
This is the error i get when clicking one of the basic examples to insert.:
admin.php?page=adrotate&view=addnew:279 Uncaught ReferenceError: textatcursor is not defined at HTMLAnchorElement.onclick (admin.php?page=adrot…view=addnew:279:159)[email protected]?page=adrotate&view=addnew:279
It happens with all the examples, and on 2 seperate installations of WP/AdRotate
Plugin Author
Arnan
(@adegans)
Aha. So the Javascript is missing or not loaded.
Make sure you do not have an adblocker active that blocks the AdRotate assets.
You may have to clear the browser cache after disabling the adblocker.
Or, if you use some kind of minimizer or cache on your website that also works on the dashboard, make sure it includes all Javascripts, or make it exclude Javascript so that the missing code is loaded as was originally intended.