I installed the asset module correctly and everything is fine.
But when I click "Insert Asset" on the Create content page i get a blank white popup, no asset wizard and no errors of any sort.
any thoughts?
I installed the asset module correctly and everything is fine.
But when I click "Insert Asset" on the Create content page i get a blank white popup, no asset wizard and no errors of any sort.
any thoughts?
Comments
Comment #1
wmostrey commentedHey djalloway,
Could you check your php error logs for any indication on what's going on? If there's no errors there, could you check the html source of the blank page? Also, are you using a custom theme? Try using the garland theme to see if it's not something theme-related.
Comment #2
prodosh commentedI had the same issue. A look in the logs showed a problem with the flvplayer.swf file not being found in the asset_bonus/swfobject directory. Copying Jeroen Wijering's Media Player into this directory and renaming it to flvplayer.swf solved the main problem.
Roger, you might want to update your excellent documentation to include this issue.
There is a minor display issues with the control area/bar of the player: it does not display displays cleanly.
Hope this helps and thanks to roger for a great module.
Comment #3
wmostrey commentedDid you follow the installation instructions as found in the INSTALL.TXT? They include a link to an external zip to download (because of license issues). If you've done this, you should have the flvplayer.swf in place.
Comment #4
wmostrey commentedComment #5
prodosh commentedI had trouble finding the INSTALL.txt - you meant the INSTALL.txt in the asset_bonus directory.
I have now downloaded and installed the extra files as recommended in the INSTALL.txt for asset_bonus pack.
The Insert Asset button is still not showing below the page content editing area as it should.
Uninstalling and re-installing the Asset and Asset Bonus modules, doesn't fix the problem either.
Can you help?
TIA
Comment #6
wmostrey commentedPBan, I'm confused. You say the "insert asset" link is not showing. So this means the asset module itself isn't set up correctly yet, not so much the asset bonus module. Is this correct?
Comment #7
prodosh commentedThe Insert Asset link wasn't showing even after both asset and asset_bonus were set up properly.
But the problem has to do with the internationalization (i18n) module - on a site that didn't have i18n installed, the Asset module worked fine. On sites that have i18n installed, you need to do the following to ensure the "Insert Asset" link shows up:
Go to: Administer -> Site Configuration -> Assets (something like http://yoursite.com/en/admin/settings/asset)
In the "Visibility Settings":
- "show only on the following pages" is selected by default.
In the list of pages to show on, change:
to
and everything works fine, the reason being that the i18n module generates paths like:
instead of
for the english language version
Alternately, for a quick fix, in the Visibility Settings, select "show on every page".
Comment #8
wmostrey commentedThis is not specifically for asset of course, this also counts towards blocks and TinyMCE visibility settings for instance. Thanks for following up!
Comment #9
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.