Jump to content

limit portal rows with [FMP-If]


This topic is 8542 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I have a page where I would like to return only the first three portal rows. Here's my code;

[FMP-If: CurrentPortalRowNumber .lte. 3]

[FMP-Portal:webdev_log]

<tr>

<td><img src="images/1x1.gif" width=8 height=1></td>

<td valign=top><font face="verdana,arial,helvetica" size=1><b></b></font></td>

<td><img src="images/1x1.gif" width=8 height=1></td>

<td valign=top><font face="verdana,arial,helvetica" size=1><i>[FMP-Field:webdev_log::submit_date]-[FMP-Field:webdev_log::submit_time]<i><br>

</font></td>

<td valign="top"><font face="verdana,arial,helvetica" size=1>[FMP-Field: webdev_log::entry] </font></td>

</tr>

[/FMP-Portal]

[/FMP-If]

Doesn't seem to work with FMPro 5. I think I'm close but not close enough.

Link to comment
Share on other sites

This topic is 8542 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.