Nuclear General

Articles 2x2 and 3x3 Templates

5 posts in this topic

File Name: Articles 2x2 and 3x3 Templates

File Submitter: Nuclear General

File Submitted: 02 Sep 2011

File Category: Content Management



The 2x2x2 and 3x3x3 Article Templates for IPB 3.2 I posted up in IPContent Support Forum, rather than allow them to be buried i am placing them freely in the marketplace as a consolidated file.



here to download this file

Share this post


Link to post
Share on other sites

Thank you so much! I've been fooling around with them a bit because I really would like a 1x3x3. I have it working...well, not really. 1 display is good but the 3x3 starts back at one! So the newest article is posted twice and then it continues on to the other articles. I've tried slipping numbers into areas. .. :logik: I've looked at the 1x2x2 for comparison and can't figure out what is wrong.

Share this post


Link to post
Share on other sites

Thank you so much! I've been fooling around with them a bit because I really would like a 1x3x3. I have it working...well, not really. 1 display is good but the 3x3 starts back at one! So the newest article is posted twice and then it continues on to the other articles. I've tried slipping numbers into areas. .. [img]

[/img] I've looked at the 1x2x2 for comparison and can't figure out what is wrong.



find:


<foreach loop="$data['records'] as $k => $record">

<if test="($k % 3)=='0' AND $k!='0'">

replace:


<foreach loop="$data['records'] as $k => $record">

<if test="$k!='0'">

<if test="($k % 3)=='0'">

find:


</foreach>

replace:


</if>

</foreach>


should resolve your duplicate.
.

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.