Question
3 posts by 2 authors in: Forums > CMS Builder
Last Post: March 27, 2008 (RSS)
By thenetgirl - March 27, 2008
I made a page at http://www.climatetrek.com/articles.php
he will probably have 100's of posts on this page down the road a bit.
Right now there are 2 posts one on each page so I can see how it works ..........
I have a Intro paragraph on page 1
I dont want it to appear on any of the other pages just page 1
any suggestions
Thanks
he will probably have 100's of posts on this page down the road a bit.
Right now there are 2 posts one on each page so I can see how it works ..........
I have a Intro paragraph on page 1
I dont want it to appear on any of the other pages just page 1
any suggestions
Thanks
Patricia
www.thenetgirl.com
www.thenetgirl.com
Re: [thenetgirl] Question
By Dave - March 27, 2008
To have some content that only appears on page 1 try the following:
- Move your "Step 1" block that calls getListRows() _above_ the content you want displayed on page 1 (if it's not already).
- Next, wrap your page 1 content in these tags, like this:
<?php if ($listDetails['page'] == 1): ?>
... this is your page 1 content ...
<?php endif; ?>
Let me know if that works for you.
- Move your "Step 1" block that calls getListRows() _above_ the content you want displayed on page 1 (if it's not already).
- Next, wrap your page 1 content in these tags, like this:
<?php if ($listDetails['page'] == 1): ?>
... this is your page 1 content ...
<?php endif; ?>
Let me know if that works for you.
Dave Edis - Senior Developer
interactivetools.com
interactivetools.com
Re: [Dave] Question
By thenetgirl - March 27, 2008
Perfect Dave ...........It sure helps when I know what to ask doesnt it :-)
Thanks
Thanks
Patricia
www.thenetgirl.com
www.thenetgirl.com