Store Front Contact Us Projects Blog PHP Tutorials Community Forums Support Downloads Client Area Homepage
Insane Visions
Insane Visions - Top Navigation

Welcome Guest!. Please Login or Sign-Up to use some features of Insane Visions

Insane Visions :: Viewing Topic - Displaying Content After Xth Number
Home > OneCMS    



edstittle




Joined: 05/29/08
Posts: 11
Online Tag:




User is Online
Posted: 07-06-08 08:50 AM

Hey,

I'm trying to include some game reviews and I want to have them in columns so eg. 4 columns which have 10 games in each so in all it would show the latest 40 games.

How would I go about including a list of reviews that displayed 4 reviews after the 10th piece of content...

The code so far is this.. so i just need to add something in which makes it display items after the 10th one.



Thanks for your help :D.






admin




Joined: 02/10/07
Posts: 367
Online Tag:




User is Online
Posted: 07-06-08 11:43 PM

Hmm that is quite an interesting question. I'll look into it, I can't guarantee it's possible though without maybe making a new php function.

I'll get back to you shortly, thanks!






edstittle




Joined: 05/29/08
Posts: 11
Online Tag:




User is Online
Posted: 07-09-08 09:08 AM

Any luck?






admin




Joined: 02/10/07
Posts: 367
Online Tag:




User is Online
Posted: 07-13-08 06:39 PM

Quote:
Any luck?


Sorry for the delayed reply. It's funny, I was thinking of all the custom code that would be needed and then I realized the answer was so much easier:

Area #1
< ? php echo content("category", "0,10", "templatename"); ? >

Area #2
< ? php echo content("category", "10,10", "templatename"); ? >

Area #3
< ? php echo content("category", "20,10", "templatename"); ? >

Area #4
< ? php echo content("category", "30,10", "templatename"); ? >

Should work, lemme know how it goes. :)






edstittle




Joined: 05/29/08
Posts: 11
Online Tag:




User is Online
Posted: 07-20-08 08:37 AM

Sorry I haven't been around the past few days.

Yeah thanks, that's worked great :D. You'll be please to know I'm not too far from finishing the design so that'll be the end of me posting help topics lol.






admin




Joined: 02/10/07
Posts: 367
Online Tag:




User is Online
Posted: 07-20-08 11:12 AM

Quote:
Sorry I haven't been around the past few days.

Yeah thanks, that's worked great :D. You'll be please to know I'm not too far from finishing the design so that'll be the end of me posting help topics lol.


Glad it worked. And no problems about the topics, I prefer people ask for help then not ask and not use the script. ;)







Insane Visions - Footer
Personal Loans - Loans - Debt Consolidation - Vegas Hotel