Page 1 of 1
PAGING OF ARTICLES?
Posted: Thu 1. Sep 2005, 02:06
by jsw_nz
I wanted to ask if others have come across this topic on forums. I think I remember reading about this, but cannot backtrack/remember where I read it. I have a situation on website where notices are going to be posted. It is likely that over a period of time there may be as many as 100 at any given time.
The client has asked if there is any ability to
page results. For example each page would show the listing of say 20 notices (articles) with a
next button to view notices 21-40...and so on.
Is there anyone can point me in right direction?
Thanks in advance..

Posted: Thu 1. Sep 2005, 02:26
by 1996 328ti
Posted: Thu 1. Sep 2005, 02:27
by StudioZ
Posted: Thu 1. Sep 2005, 02:50
by jsw_nz
Hi '96,
Yes something similar to the browse....
As far as I understand the {BROWSE:NEXT:1} tag is for incrementally paging (one article at a time). I am looking for the paging of
article listings
.........20 at a time.........
Wee bit different. I do remember reading something about this, but cannot remember where. anyway thanks for the response.
Thinking a custom reptag might accomplish this.
Posted: Thu 1. Sep 2005, 03:15
by 1996 328ti
How about the teaser tag?
I am using it on my site for a calendar of events.
Posted: Thu 1. Sep 2005, 04:27
by StudioZ
1996 328ti wrote:How about the teaser tag?
I am using it on my site for a calendar of events.
Yep. Indeed. Good idea! That could do the job.

Posted: Thu 1. Sep 2005, 04:50
by 1996 328ti
Only problem with the teaser tag is that I can't do one column. Articles do not word wrap.

Posted: Thu 1. Sep 2005, 04:52
by 1996 328ti
StudioZ wrote:
Yep. Indeed. Good idea! That could do the job.

I finally was able to help someone.

Posted: Thu 1. Sep 2005, 05:14
by StudioZ
1996 328ti wrote:Only problem with the teaser tag is that I can't do one column. Articles do not word wrap.

hmmm... with the teaser tag... "can't do one colum" ?
Sure you can Steven
Remember:
{TEASER_EX:category_alias|count[;category_aliasx|countx]:articles_per_page:sortfield|sortdir:show_cat_name:pagelink_text:
columns:exclude_articles}
Am I off field...?

Posted: Thu 1. Sep 2005, 05:33
by 1996 328ti
I tried it as one column and the text was as if it was set to NOWRAP.
I just did it again to demonstrate but it is working as 1 column.
I'm glad I cam across this thread or I wouldn't havetried it again.
Posted: Thu 1. Sep 2005, 05:50
by jsw_nz
Hey, thanks for the heads up on this....
Never really studied teaser tag...now will....will post my results.
Thanks guys

Posted: Thu 1. Sep 2005, 05:54
by StudioZ
1996 328ti wrote:
I tried it as one column and the text was as if it was set to NOWRAP.
I just did it again to demonstrate but it is working as 1 column.
I'm glad I cam across this thread or I wouldn't havetried it again.
I have the feeling that it is something in your list template that needs a tweak...
This is what I use and it works both ways: One or Two columns:
Code: Select all
[SPACE]<hr>[/SPACE]
<div>
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<!-- <td width="150" valign="top">
[IMAGE]<div><a href="{ARTICLELINK}">{IMAGE}</a></div>[/IMAGE]
[CAPTION]<div align="center">{CAPTION}</div>[/CAPTION]
</td>
<td width="10"><img src="img/leer.gif" border="0" width="10" height="1" alt=""></td> -->
<td width="100%" valign="top">
[TITLE]<span class="articleList_tophead"><a href="{ARTICLELINK}">{TITLE}</a></span>[/TITLE]<br />
[SUB]<span class="articleList_topsubhead"><a href="{ARTICLELINK}">{SUB}</a></span>[/SUB]
[SUMMARY]<span class="articleList_toptext"><p style="margin:0">{SUMMARY}</p>[/SUMMARY]
[MORE]<a href="{ARTICLELINK}">{MORE}</a>[/MORE]</span>
</td>
</tr>
</table>
</div>
Cheers,