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.

Form Questions

Change the way Image Uploading Iframe looks


Reply

2 Posts   1427 Views

Avatar
michelle84

23 February 2009 at 7:46am Community Member, 5 Posts

I have looked everywhere, but I can't seem to find a template or something like that for the Image Uploading Iframe that is shown in the backend admin.

I want to change some layout things, for example, the phrase 'Replace Image' is a H2 right now. I would like to change this. I would also like to change the placement of the thumbnail.

Does anyone know where I have to look?

(my apologies if I should have posted this in the Templates section. Didn't know which one to choose.)

Avatar
Willr

24 February 2009 at 9:22am Forum Moderator, 5511 Posts

Changing this is a little bit tricky, the template it uses is sapphire/templates/Image_iframe.ss but that file does not have the h2. The heading is outputted from the php code. The $EditImageForm is where the h2 is generated is called from sapphire/core/model/Image.php. The function EditImageForm() (for me this is on line 590) is probably where you need to edit it