Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#133 2008-09-30 18:24:24

roelof
Member
Registered: 2005-03-27
Posts: 647

Re: [plugin] [ORPHAN] ob1_pagination

Yep,

You get then a list with the first two empty.

Roelof

Offline

#134 2008-09-30 18:31:55

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: [plugin] [ORPHAN] ob1_pagination

How about:

<txp:ob1_pagination outputlastfirst ="0" outputnextprevious="0" />

Offline

#135 2008-09-30 19:17:35

roelof
Member
Registered: 2005-03-27
Posts: 647

Re: [plugin] [ORPHAN] ob1_pagination

Thank you,

This works.
Only now i have to change the url because the month is not in the url.

Roelof

Offline

#136 2008-10-01 12:54:58

roelof
Member
Registered: 2005-03-27
Posts: 647

Re: [plugin] [ORPHAN] ob1_pagination

Hello,

I have one question.
For the pagination i need that this in html :

<LI id=active><A id=current href=“http://tygoborst.nl/gastenboek#”>1</A>

How can i make the id in the a tag ?

Roelof

Offline

#137 2008-10-10 08:47:03

roelof
Member
Registered: 2005-03-27
Posts: 647

Re: [plugin] [ORPHAN] ob1_pagination

Nobody ??

Roelof

Offline

#138 2008-10-10 09:14:27

paperboy
Member
From: Gothenburg, SE
Registered: 2006-01-24
Posts: 30
Website

Re: [plugin] [ORPHAN] ob1_pagination

You can add a class for the active li <txp:ob1_pagination liselected=“active” /> to get <li class=“active”> </li>.

Offline

#139 2008-10-10 11:48:13

roelof
Member
Registered: 2005-03-27
Posts: 647

Re: [plugin] [ORPHAN] ob1_pagination

Thank you for the help, but that part is not the problem.
I need the < a id=current > otherwise a lot of css doesn’t work.

Roelof

Offline

#140 2008-10-10 12:18:57

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,271
Website GitHub

Re: [plugin] [ORPHAN] ob1_pagination

roelof wrote:

I need the < a id=current > otherwise a lot of css doesn’t work.

I know it’s not an ‘answer’ to your problem, but can’t you change the CSS from #current to .current and use a class? Using an ID for an active marker is not ideal in case you ever have more than one on a page.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#141 2008-10-10 13:29:16

roelof
Member
Registered: 2005-03-27
Posts: 647

Re: [plugin] [ORPHAN] ob1_pagination

Hello Bloke,

I can be a solution.
But how “must” I change this bit of the css.
bc. #navlist A#current:link { BACKGROUND: none transparent scroll repeat 0% 0%; PADDING-BOTTOM: 2px; COLOR: #93425a; BORDER-BOTTOM: #000 4px solid
}
#navlist A#current:visited { BACKGROUND: none transparent scroll repeat 0% 0%; PADDING-BOTTOM: 2px; COLOR: #93425a; BORDER-BOTTOM: #000 4px solid
}

Roelof

Offline

#142 2008-10-10 13:51:13

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,271
Website GitHub

Re: [plugin] [ORPHAN] ob1_pagination

#navlist A .current:link {
	BACKGROUND: none transparent scroll repeat 0% 0%; PADDING-BOTTOM: 2px; COLOR: #93425a; BORDER-BOTTOM: #000 4px solid
}
#navlist A .current:visited {
	BACKGROUND: none transparent scroll repeat 0% 0%; PADDING-BOTTOM: 2px; COLOR: #93425a; BORDER-BOTTOM: #000 4px solid
}

?


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#143 2008-10-10 17:36:12

roelof
Member
Registered: 2005-03-27
Posts: 647

Re: [plugin] [ORPHAN] ob1_pagination

Hoi Bloke,

Strange, when you change something from a class to a id i allways thougt that something has to change in the css.

Roelof

Offline

#144 2008-10-10 17:44:44

paperboy
Member
From: Gothenburg, SE
Registered: 2006-01-24
Posts: 30
Website

Re: [plugin] [ORPHAN] ob1_pagination

???

That’s what he meant, change the # to a . (dot) in the CSS if you are going to use class=“active” instead of id=“active”.

Last edited by paperboy (2008-10-10 17:45:24)

Offline

Board footer

Powered by FluxBB