Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2007-05-19 17:15:13
- groda
- Member
- Registered: 2007-04-22
- Posts: 11
Unlogical behavior
I tried to link to next and previous article and textpattern behaves really strange. Here’s my code:
<p>
< <txp:link_to_prev><txp:prev_title /></txp:link_to_prev>
|
<txp:link_to_next><txp:next_title /></txp:link_to_next> >
</p>
If i write it like this, the “prev”-part doesn’t appear at all. I manadged to solve the problem in a rather ugly way bu repeating the “prev”-part, making the code looking like this:
<p>
<txp:link_to_prev><txp:prev_title /></txp:link_to_prev>
< <txp:link_to_prev><txp:prev_title /></txp:link_to_prev>
|
<txp:link_to_next><txp:next_title /></txp:link_to_next> >
</p>
This makes everything working fine, but wy? It’s strange indeed.
Offline
Re: Unlogical behavior
If you want to display a <
on your website, use <
(same for >
, which should be >
)
Offline
#3 2007-05-20 01:15:41
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Unlogical behavior
Do you mean that you want this?
<p><txp:link_to_prev>< <txp:prev_title /></txp:link_to_prev> |
<txp:link_to_next><txp:next_title /> ></txp:link_to_next></p>
Offline
Pages: 1