Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Changed admin to CMSadmin now can't see upload iFrame


Go to End


2 Posts   2341 Views

Avatar
mschiefmaker

Community Member, 187 Posts

15 February 2009 at 11:57am

Hi

My host uses "admin" for their control panel so I have had to change the Silverstripe admin to CMSadmin. Everything is working fine except I can no longer access the asset upload iframe (see attached pic)

The code behind the from of interest is
<div class="tab" id="Root_Upload">
<iframe name="AssetAdmin_upload" src="admin/assets/uploadiframe/1" id="AssetAdmin_upload" border
="0" style="border-style: none; width: 100%; height: 200px">
</iframe>

</div>

So I think my problem is that I need to change the code for "admin/assets/uploadiframe/1" to "CMSadmin/assets/uploadiframe/1" simple task if I could work out where the code was coming from but I can't. Can anyone point me in the right direction?

Thanks

Catherine

Attached Files
Avatar
mschiefmaker

Community Member, 187 Posts

8 March 2009 at 1:45pm

Finally found the issue here. There is a reference to admin in sapphire/filesystem/folder.php that needed to be updated