Support Forum
In an earlier post, you mentioned that you changed the title of the "Upload Attachment" button to something more meaningful. Is that difficult to do? Would you explain how? Thanks!
BobChristensen
http://www.theformtool.com
Did we? dont remember that... possible but a bit involved... unfortunately, that button, given how the uploader works and needs to be located, cannot really be done with a template tag... but it can be changed..
In your spFunctions.php file of your sp theme (and please make sure its your own theme: http://codex.simple-press.com/.....g-a-theme/), add this code:
add_filter('sph_uploader_editor_section', 'my_uploader_section', 10, 5);
function my_uploader_section($out, $type, $uploadImages, $uploadMedia, $uploadFiles) {
if (empty($type) || $type = 'edit') {
$out = str_replace('Upload Attachments', 'Some String', $out);
}
return $out;
}
should do it though I have not actually tested... Of course, replace Some String with what you want the button to say...
And I can see if I can simplify that in an future version of the file uploader...
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)