Spooky's Databases > Advanced Parameters
Results from your database are easily
customized to display:
Images
There are many ways to display images from a database, the most
important lesson is that embedded images (BLOBS - Binary large
objects) are NOT supported.
If you have existing imaged in your database of this type, you will
not be able to display them
There are, however, other options
- Use parameters
- Use a text field from your database
- Use full html code in a text field
<needs to be re-written as viewlets no longer
work>
URL's
Clickable URL's can be used from the database, again there are many
methods of doing this and many ways of displaying the information.
For example:
- Use a text field from your database
- Use full html code in a text field
- Use an Access hyperlink type field
To use raw data from
the database, means changing the function that displays the
information.
One of the best to use, is FP_Field(..) as it does no processing of
the data returned, whereas other functions such as FP_FieldURL(..) or
FP_FieldLink(..) or FP_FieldHTML(..) perform some encoding of
the returned data.
So you can make a
hyperlink like so :
<a href="<%=FP_Field(..)%>">
This text </a>
Email links
When display an Email link on a web page, you may want to make it
clickable
This is easily achieved using
parameters.
<needs to be re-written as viewlets no longer
work>
|