Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-09-10 12:32:09

Qwest
Member
From: London, UK
Registered: 2007-01-24
Posts: 112

TXP not displaying newest post?

I’ve got a strange one here.. For some odd reason, Txp doesn’t seem to be showing my newest post on my installation.

Here’s the code to my content, can anyone see any trouble here?

@<div id=“content”>

<!— next event —>
<txp:glx_if_frontpage>
<div id=“showevent”>
<txp:article_custom form=“nextevent” section=“event” limit=“1” sort=“custom_1 ASC” >
</div>
</txp:glx_if_frontpage>

<txp:article limit=“5” />

<txp:if_individual_article> <p align=“center”>«<txp:link_to_prev><txp:prev_title /></txp:link_to_prev> || <txp:link_to_next><txp:next_title /></txp:link_to_next>»</p>
<txp:else /> <p><txp:older><txp:text item=“older” /></txp:older> <txp:newer><txp:text item=“newer” /></txp:newer></p>
</txp:if_individual_article>

</div>@

Basically, i’ve got a box at the top of the page which shows the next event. Details are pulled from the event section. Below that is the blog. I’ve just written a post, but it doesn’t show up on the front page.. It’s as if there’s an offset="1"… but there isn’t?

Here’s the new post > http://www.eliteproductions.co.uk/article/89/browse-past-events
And here’s my front page, where it should appear > http://eliteproductions.co.uk

Can anyone help me out?! Is it something to do with the ‘latest event’ section at teh top?

Offline

#2 2007-09-10 14:58:10

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: TXP not displaying newest post?

<txp:article_custom form="nextevent" section="event" limit="1" sort="custom_1 ASC" > ==> Please, close the tag, if it is, as it is.

Cheers!

Last edited by Gocom (2007-09-10 14:58:43)

Offline

#3 2007-09-10 15:08:14

Qwest
Member
From: London, UK
Registered: 2007-01-24
Posts: 112

Re: TXP not displaying newest post?

Gocom! Thank you so much! I closed the tag, and it found my newest post!!… I honestly didn’t spot the open tag =\ woopsy!

Thanks for pointing it out though :)

Offline

#4 2007-09-10 19:41:21

marios
Archived Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re: TXP not displaying newest post?

Qwest wrote:

Gocom! Thank you so much! I closed the tag, and it found my newest post!!… I honestly didn’t spot the open tag =\ woopsy!

Debugging mode in admin>prefs is your friend to spot these kind of typos :))

regards, marios


⌃ ⇧ < ⌃ ⇧ >

Offline

Board footer

Powered by FluxBB