xml - Using Position() in a blog roll to work on every page -


currently using following xslt code:

<xsl:if test="position() = 3">       <div>         <object data="/frontpage_blogroll_center_top_728x90" type="text/html" width="735" height="95" style="overflow:hidden; width: 738px; height: 100px"><xsl:comment /></object>       </div>     </xsl:if>   

i'm using "position() = 3" position ad in blog roll, works first page not subsequent pages. (ie ?page=2 ?page=3 etc) there anyway work pages?

  <xsl:if test="position() = 3 + ($numberofposts * number($pagenumber - 1))">     <div>       <object data="/frontpage_blogroll_center_top_728x90" type="text/html" width="735" height="95" style="overflow:hidden; width: 738px; height: 100px"><xsl:comment /></object>     </div>    </xsl:if> 

just wanted post answer


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -