Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#37 2005-08-13 21:20:12

Etz Haim
Archived Plugin Author
From: Karlstad, Sweden
Registered: 2005-01-24
Posts: 262
Website

Re: [plugin] [ORPHAN] etz_pg for paginated articles

Jiraya, first of all, you shouldn’t use etz_pg in the frontpage.

Second, if etz_pg added HTML junk in its output, then my pages using it wouldn’t validate. You’d better have a look at your Textile source, as you’ve probably put a [page] separator inside some broken Textile markup, or in case you use the notrim attribute, just stop using it.

Last edited by Etz Haim (2005-08-13 21:38:41)

Offline

#38 2005-08-15 17:20:30

jiraiya
Member
Registered: 2005-05-15
Posts: 13

Re: [plugin] [ORPHAN] etz_pg for paginated articles

I’m not using notrim. My forms and templates are fine. What version of txp are you using?

Offline

#39 2005-09-05 19:37:08

ksorbo
New Member
Registered: 2005-09-05
Posts: 2

Re: [plugin] [ORPHAN] etz_pg for paginated articles

I have been able to get the plugin to work, but get a vertical navigation bar rather than horizontal as expected. I am posting the form code and the resultant html code:

form code for article:

<h3><txp:permlink><txp:title /></txp:permlink> · <txp:posted /> oleh <txp:author /></h3> <txp:etz_pg_switchmode all="Lihat semua" split="Bagi halaman/><br /><txp:etz_pg_body /><p> <txp:etz_pg_pages /><p> <txp:if_comments><p><txp:comments_invite /></p></txp:if_comments> <div align="center"><img src="<txp:site_url />images/1.gif" style="height:1px;width:400px" class="divider" alt="" /></div>

html:

<p> <ul id="pages"><li class="pgStart pgEmpty">&lsaquo;&lsaquo; start</li><li class="pgPrev pgEmpty"> &lsaquo; prev</li><li class="pgNum pgCurrent">1 </li><li class="pgNum"><a href="?pg=2">2</a> </li> <li class="pgNum"><a href="?pg=3">3</a> </li><li class="pgNum"><a href="?pg=4">4</a> </li> <li class="pgNext"><a href="?pg=2">next &rsaquo;</a></li><li class="pgEnd"><a href="?pg=4">end bq. &rsaquo;&rsaquo;</a></li></ul><p>

Last edited by ksorbo (2005-09-05 19:43:05)

Offline

#40 2005-09-13 21:54:08

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: [plugin] [ORPHAN] etz_pg for paginated articles

Can anyone tell me if this still works in txp version 4.0.1?

Offline

#41 2005-09-13 21:56:04

Etz Haim
Archived Plugin Author
From: Karlstad, Sweden
Registered: 2005-01-24
Posts: 262
Website

Re: [plugin] [ORPHAN] etz_pg for paginated articles

Works for me.

Offline

#42 2005-09-13 21:56:55

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: [plugin] [ORPHAN] etz_pg for paginated articles

Thanks, just wanted to confirm before I pluged it all in.

Offline

#43 2005-09-19 12:52:18

spiros
Member
From: Athens
Registered: 2005-07-01
Posts: 29
Website

Re: [plugin] [ORPHAN] etz_pg for paginated articles

Nick,

Just some alternatives to navigation:

start | next | previous | end

or this:

start | next | 1-2…5-6 |previous | end

or this:

‹‹ | ‹ | ›| ››

Offline

#44 2005-09-19 13:50:17

Etz Haim
Archived Plugin Author
From: Karlstad, Sweden
Registered: 2005-01-24
Posts: 262
Website

Re: [plugin] [ORPHAN] etz_pg for paginated articles

> spiros wrote:

> Nick,

Why are you Nickn’ me? :P Anyway, these are all possible through the standard options (see noadjacents, noextremes and nonumbers), plus some smart CSS2 for the vertical bars (|).

Offline

#45 2005-09-19 15:27:58

spiros
Member
From: Athens
Registered: 2005-07-01
Posts: 29
Website

Re: [plugin] [ORPHAN] etz_pg for paginated articles

Thanks! My problem is not to eliminate some parameters altogether but to have them displayed horizontally rather than vertically and without bullets as the examples already mentioned above.

Is there some sort of css entry controlling this?

Last edited by spiros (2005-09-19 15:28:18)

Offline

#46 2005-09-19 17:06:25

arkham
Member
Registered: 2005-03-27
Posts: 102
Website

Re: [plugin] [ORPHAN] etz_pg for paginated articles

do a google search on styling lists with css. there’s tons of material on this online and a lot of flexibility in how you can utilize this technique … alistapart.com has some good tutorials.

for hotizontal styling with no bullets, this should get you started:

<code>
ul#pages { display: inline; list-style: none;
}
</code>

Offline

#47 2005-09-21 20:18:38

Perrine
Member
Registered: 2005-09-16
Posts: 94
Website

Re: [plugin] [ORPHAN] etz_pg for paginated articles

Hello and thx for this plugin. Works well on my website :)

Would be nice to add a title=”“ in the <a> tag to explain where the 1, 2, 3(etc) go. I mean, for some accessibility reasons, it’s important to indicate this title. Is it hard to do ?

And for Pyros, here is the CSS I use :

<code>#pages{
text-align:center;
padding:1em;
}</code>
<code>#pages li{
width:100px;
display:inline;
list-style:none;
margin-right:10px;
}</code>
<code>#pages a{
text-decoration:none;
}</code>
<code>.pgCurrent, .pgEmpty{
font-weight:bold;
}</code>

Offline

#48 2005-09-23 16:16:32

spiros
Member
From: Athens
Registered: 2005-07-01
Posts: 29
Website

Re: [plugin] [ORPHAN] etz_pg for paginated articles

Thanks Perrine!

This is what I needed! I still do not understand which bit actually makes it display horizontally….

Last edited by spiros (2005-09-23 16:17:29)

Offline

Board footer

Powered by FluxBB