Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2012-01-31 00:38:06

mrtunes
Member
From: Toronto, On
Registered: 2007-03-12
Posts: 575
Website

Re: archiving older posts and starting fresh

finally got back to this…

as for the solution Els gave me, is there any way that you plug in the article ID from which you want to cut off access? in my scenario, every article 650 and down needs to be inaccessible from this <txp:article> loop.

edit: i feel like an idiot because i ditched the topic before and came back with such simple questions. i actually was caught up in a bunch of responsive fun, which i blame.

Last edited by mrtunes (2012-01-31 04:25:57)

Offline

#14 2012-01-31 21:02:03

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: archiving older posts and starting fresh

mrtunes wrote:

as for the solution Els gave me, is there any way that you plug in the article ID from which you want to cut off access? in my scenario, every article 650 and down needs to be inaccessible from this <txp:article> loop.

I take it that means that you are not going to move the 650 oldest articles to a separate section?

Offline

#15 2012-01-31 21:08:24

mrtunes
Member
From: Toronto, On
Registered: 2007-03-12
Posts: 575
Website

Re: archiving older posts and starting fresh

Els wrote:

I take it that means that you are not going to move the 650 oldest articles to a separate section?

i didn’t think to do that because then i’d be in a 301 mess. unless there is a good plugin for this task?

Offline

#16 2012-01-31 21:23:33

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: archiving older posts and starting fresh

If you happen to have zem_redirect pro, it takes care of automatic redirection if you change an article’s section. It’s not available from thresholdstate.com anymore, but if you want it I still have a copy and apparently I’m allowed to send it to you.

If you don’t want to change the section, my original code won’t help you. In that case you could have a look at smd_query. But I don’t know if it can handle pagination…

Offline

Board footer

Powered by FluxBB