RESTRICTING ACCEPTABLE DATA - Jun 7th, 2015


Now let’s set up some important parameters for the upload field.

First click on “modify” next to the upload field. We’ll assume that the thumbnail on your list page should be a
maximum of 150 pixels wide and 150 pixels high, which is the default size, so all we’ll have to do is remove the
entries in the “file extensions allowed” area that we don’t want. You should be left with jpg,png (just the 2
extensions with a comma in between them and no spaces or periods)

HINT: There’s nothing special about these entries, so you can remove them all and just enter the few that you want.
You can add ones that are not on the list and the program will apply that filter to the upload.

HINT: CMS Builder does not change the aspect ratio of your images when it resizes them. It also will not enlarge your
images to fit an allotted space. It just shrinks them to fit within the allotted dimensions.

Next change maximum uploads from 25 to 1, and maximum upload size from 5120 Kbytes to 1000 Kbytes (1 megabyte)

Scroll down and delete the word “Title” and the word “Caption” from the “info” fields since you won’t be
using these optional fields in this example, and click on “save”.

Then click on the Viewer URL tab and enter “/event.php” for the List Page URL and “/eventdetail.php” for the
Detail Page URL (don’t forget the slashes but leave out the quotation marks)

!!!YOU MUST CLICK ON THE “SAVE DETAIL” BOX OR YOUR CHANGES WILL NOT BE SAVED TO YOUR DATABASE!!!



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