|
More by this Author [3/4]
D E S C R I P T I O N: |
|
|
This version of more by this author takes into consideration that a story may have more than one author and in that scenario it should display suggested links for each of the authors independently. This is achieved by creating a loop that processes each author one at a time. If there is only one author, it will display the one like before, but if there are multiple, it will list them out one after the other.
<dpLoop var="i" from="1" to="<dpAuthor return="count">">
See also: <dpAuthor>, <dpAuthorId>, <dpHeadline>, <dpLoop>, <dpSummary>
More by Phil Campbell:
Of Rags and Riches
Facing the Mob
One Step Forward...
Windows for Unions
Last Train to Debtsville
Seattle Weekly Up for Sale
Sliced Eyeballs
To explain this in more detail, let's first examine what the loop does by simplifying it a bit. The loop is defined as being a number from "1" to the amount of authors a story has. If the story has 3 authors, it will loop three times (from 1 to 3). The variable "i" will contain the loop number it is currently on. Here's what it would look like if you had 3 authors on a story.
|
| Home:
Support:
Reference Guide:
|
Questions? Comments? Please write support@desert.net. |