Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Archive by month links. How to make 'em?
Hi all,
I’m dead happy with Textpattern! Love it! I have all the functionality I want except one.
I want to have links on the main page to archives by month. Just like on the following site:
http://jrhull.typepad.com/
Can anyone point me in the right direction?
Thanks a bunch!
-d
Offline
Re: Archive by month links. How to make 'em?
Its possible there are other ways but here’s one
Offline
Re: Archive by month links. How to make 'em?
Thanks wilshire! It looks like exactly what I want. I’m having a little trouble with it however.
I installed the plugin, turned the beastie on, and tried to use the following in my default page template:
<txp:rss_suparchive_menu mode=“MONTH” section=“article” timeframe=“PAST” />
As soon as do though, I get this error when I ‘view site’:
Fatal error: Call to undefined function: safe_strftime() in /home/jimarse/public_html/weblog/textpattern/publish.php(767) : eval()’d code on line 40
Do you know what I may be doing wrong?
-d
Offline
Re: Archive by month links. How to make 'em?
You must be using RC1. The download includes 2 versions of the plugin, one for pre-RC3 and one for RC3 only, but the suparchive_menu tag is only in the new version.
If you want to try out RC3 you can find the instructions here
Offline
Re: Archive by month links. How to make 'em?
Ouch, that looks like too much for me. Is there not some easier way to download and install RC3. is there not a download procedure and instructions for it like the version I downloaded from the Textpattern homepage?
Sorry for the newbie questions! I’d really love to get superarchive_menu working!
-d
Offline
Re: Archive by month links. How to make 'em?
Okay, I’ve looked at the instructions again. All of those things I can do over an ftp client ap right? I’ll have a go at upgrading to RC3.
This is a stoopid quesstion, but how do I download all the new Textpattern files at once from that web address?
-d
Last edited by dsloss (2005-03-22 16:45:14)
Offline
Re: Archive by month links. How to make 'em?
You need to use an svn client to get the files. Then you can FTP the files to your webserver. If you host with textdrive its much easier of course.
Last edited by wilshire (2005-03-22 17:03:12)
Offline
Re: Archive by month links. How to make 'em?
Thanks wilshire for your help. It’s much appreciated. I have the files now and will try plopping them up on my host’s servers.
I’ll probably have another silly question before too long. Thanks for your patience!
-d
Offline
Re: Archive by month links. How to make 'em?
No worries. Good luck getting everything up and running.
Offline
Re: Archive by month links. How to make 'em?
HAHA! I have it working! Brilliant!
One last thing. Can I display the months without the bullet points? They don’t really fit into the visual styling I had anticipated for the menu.
I don’t see this as an option in the help file.
Thanks for the great plugin!
-d
Edit—-Hmmm, the link that’s produced by the plugin doesn’t seem to go to anything. I get my 404 page at http://www.davidsloss.net/weblog/default/2005/03
Might this have something to do with the messy / not messy url preference? I have mine set to messy.
Last edited by dsloss (2005-03-23 12:42:48)
Offline
Re: Archive by month links. How to make 'em?
The bullet points are just the standard styling on an unordered list. I usually reset my lists at the top of my css using this:
<code>
ul, ol { padding:0; margin: 0; list-style:none }
</code>
Its the list-style that will get tid of the bullet for you.
And after all that, I don’t think this will work for you under messy URLs. You’ll have to change to one of the clean options. But also, that URL of weblog/default looks a bit suspicious. You shouldn’t ever have to use the default section in your URL. Can you switch the clean URLs?
Offline
Re: Archive by month links. How to make 'em?
This is the link that is created for march:
http://www.davidsloss.net/weblog/article/2005/03
Ok. So I think that’s good. But when I use any of the options other than messy, the direct links to the articles break. Am I screwed? I don’t have many entries in the blog. What do I need to do to make the blog work with one of the clean link options?
Last edited by dsloss (2005-03-23 13:49:14)
Offline