Pagination in 1.4.5

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
dellos
Posts: 67
Joined: Thu 25. Jan 2007, 18:18

Pagination in 1.4.5

Post by dellos »

Im, looking for help. Trying to prepair the 1.4.5 for my website and there is some pagination problem i can't find the way to solve. I searched on forum and still Can't find the sollution. Well, how to add the <br /> before and after the pagination ? And how to change the visible of pagination ?

Right nowin pagination I have: « » page 1/2, result 1-10, 1–10 11–11
How to add brake before and after ?? At the top pagination all is ok, but at the bottom the pagination is under link next and not under the picture next to article summary. Well, the pagination tempt is not under the last article summary but like next to it.

The second problem is, where to find the way to change « » page 1/2, result 1-10, 1–10 11–11
to something like 1-10, 11-20 etc. wythout the page and result and all this stuff.
dellos
Posts: 67
Joined: Thu 25. Jan 2007, 18:18

Re: Pagination in 1.4.5

Post by dellos »

I found the answer for the look of: « » page 1/2, result 1-10, 1–10 11–11

The changes I made in the conf.template_default.inc.php

I can add the <br /><br /> before and than the bottom pagination is ok, but the upper get's also the brakes and I don't want that...

But the problem is still the same. I'm showing the problem on the img:
Image
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: Pagination in 1.4.5

Post by flip-flop »

Yuu can create your own RT for the Article pagination navi e.g.:

Code: Select all

$template_default['article_paginate_show']	= 'rt{ART_PAGI_NAV} top'; // top bottom rt{RT} where should the navi be shown - possible values: top and/or bottom and/or rt:{RT} 
The navi is shown in the top and additionaly you can use the RT {ART_PAGI_NAV} in your template where ever you want. (But I think you have a css problem in your article template (clear: left; or clear: both;)?)

Knut
Last edited by flip-flop on Fri 5. Mar 2010, 08:29, edited 1 time in total.
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
dellos
Posts: 67
Joined: Thu 25. Jan 2007, 18:18

Re: Pagination in 1.4.5

Post by dellos »

I think the template is OK for me, the problem is in that the image next to article summary is higher than the article summary wyth the next link, and there stay's the free place for pagination. So what to do wyth that code ?? I'm not sure what to do... :(

I didn't changed the .tpl files I only added the template in admin panel for design of my site and place the cod for web content. The content part is:

{BREADCRUMB_ARTICLE:0}<br />
{CONTENT}<br />
{BREADCRUMB_ARTICLE:0}
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: Pagination in 1.4.5

Post by flip-flop »

E.G. in your pagination template:

Code: Select all

$template_default['article_paginate_navi']	= '<div style="clear:both;" class="paginate paginate .............
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Post Reply