Thread: post.cfm - ifCurrentIsThird

Created on: 12/29/10 03:57 PM

New topic Reply    Page: 1  

Replies: 0

mhenke's Gravatar
Joined: 06/04/08
Posts: 27

12/29/10 3:57 PM

Could someone add this code for ifCurrentIsThird to mangoblog's tags/mango/post.cfm?

<cfparam name="attributes.ifCurrentIsThird" type="boolean" default="false">

<cfif attributes.ifCurrentIsThird AND currentItemCount mod 3>
         <cfsetting enablecfoutputonly="false"><cfexit method="exittag">

Thanks, I added the code to my site and am using it.
Link | Top | Bottom

New Post

Please login to post a response.