REMOVE "TIP: HOLD <CTRL> TO SELECT MULTIPLE FILES" FROM UPLOAD FIELD - Dec 31st, 2012


This isn't an official hack, but if you search for:

echo htmlspecialchars( t("Tip: hold $key to select multiple files") );

in cmsAdmin>lib>menus>default>edit_functions.php

(it's around line 687 in version 2.17)

Then comment out that code (insert // before the echo) it should hide that text form displaying under the Add or Upload
File(s).

You can also change the text between the quotes.

You can also search for <a href="<?php echo $uploadLink ?>" class="thickbox"><b><?php echo t('Add or Upload File(s)')
?></b></a> and remove the (s) or change the link text to better meet your needs.

**** IMPORTANT: MAKE A BACKUP COPY OF edit_functions.php BEFORE YOU TRY THIS****

NOTE 1: This will change the text under all upload fields, site wide.

NOTE 2: You'll have to redo this change if you upgrade to another version of CMS Builder.



The materials on this web site have been created for use with CMS Builder content management software. CMS Builder software is published and licensed for use by InteractiveTools.com. Please contact Interactive Tools for information on the downloading of the software or the purchasing of licenses.


Terms of Service