Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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)
VC3 :: weblog :: my wishlist
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">‹‹ start</li><li class="pgPrev pgEmpty">
‹ 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 ›</a></li><li class="pgEnd"><a href="?pg=4">end bq. ››</a></li></ul><p>
Last edited by ksorbo (2005-09-05 19:43:05)
Offline
Re: [plugin] [ORPHAN] etz_pg for paginated articles
Can anyone tell me if this still works in txp version 4.0.1?
Refresh Dallas and other Refreshing Cities.
Offline
Offline
Re: [plugin] [ORPHAN] etz_pg for paginated articles
Thanks, just wanted to confirm before I pluged it all in.
Refresh Dallas and other Refreshing Cities.
Offline
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
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 (|).
VC3 :: weblog :: my wishlist
Offline
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
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
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
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