|
Customizing Author Formatting [1/2]
D E S C R I P T I O N: |
|
|
<dpAuthor number="all"> is the default value for authors and will always display multiple authors in the following format:
Humpty Dumpty, Robert Crumb and Dr. Seuss If you decide you want to customize this, you can do so by looping through the authors as follows.
<dpLoop var="i" from="1" to="<dpAuthor return="count">">
See also: <dpIf>, <dpLoop>, <dpMath>, <dpVar>
Phil Campbell, Josh Feit, Trisha Ready & Jennifer Vogel
This code always displays an author. It then tests to see if it is the one before last in a multiple author scenario. If it is, it displays an "&". If it isn't, it tests to make sure it isn't the last author and displays a comma.
|
| Home:
Support:
Reference Guide:
|
Questions? Comments? Please write support@desert.net. |