Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2007-05-24 00:34:59
- ghizza
- Member
- Registered: 2007-05-22
- Posts: 13
Again problems with links
Following Els’ advice, I managed to use a list of article headers as a menu to open full stories in the main page.
<a href="#<txp:article_id />"><txp:title /></a><br /><b class="data"><txp:posted /></b>
I wrapped the content of main articles form in a <div id="<txp:article_id />">...</div>
This works fine, but only with articles published in the same page.
In other and easier words: take a look at this page
Clicking on the first 4 headlines in the menu, the full story is shown on the right since I included 4 news in the main page.
But if I click on the 5th headline (“Sling Blade”), nothing happens because that news is on the second page… (http://www.ghizza.com/textpattern/index.php?pg=2&s=BananaBabelBrainstormingBlog)
What can I do to open in my main page also the “older” news?
And BTW, why on pg=2 the dates are shown in a different mode? (Not “5 minutes ago” but “May 23”).
Thanks again.
Ghizza.
Last edited by ghizza (2007-05-24 00:42:22)
Offline
#2 2007-05-24 15:31:06
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Again problems with links
Ghizza, sorry I did not reply to your other thread. I wanted to sleep on it ;) but actually I don’t know if what you want to do is even possible. You’d need a way of calculating on which page the article in question is… But who knows, maybe someone can think of a way to do it. Not me though :(
As for the date thing, that is indeed very strange. Maybe you’d better post this in the Troubleshooting forum.
Offline
#3 2007-05-25 01:57:58
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Again problems with links
The date thing is actually intentional/supposed to happen. If you don’t like it, you can change it by simply customizing the “format” attribute of the posted tag (<txp:posted format="since" />
).
Offline
Pages: 1