Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2006-03-15 23:43:36
- Jack
- Member
- Registered: 2005-10-10
- Posts: 14
changing page template for category_list
Hi everyone
I posted my questions here a few days ago and you were all very helpful, but there are a few new issues that have poped up that googling hasn’t resolved..
The problem is that when I click on a link generated by category_list, the resulting page uses the default page template, but I would like to use my own template instead.
The other issue is that I’m also using categories as subsections, so some categories would have only one article per category. In this case I would like for the link to go directly to the article instead of returning a list of articles. Is this possible with category_list, or would it be easier to simply use txp:linklist and copy/paste the messy url in the subsection links?
edit:
one more question about category_list :]
how do you make it so that the parent category isn’t returned with the subcategories?
Thanks for all the help
Jack
Last edited by Jack (2006-03-15 23:46:47)
Offline
Re: changing page template for category_list
hi Jack!
for your first question, see this tag example
Offline
#3 2006-03-16 00:17:43
- Jack
- Member
- Registered: 2005-10-10
- Posts: 14
Re: changing page template for category_list
hey, thanks. It looks like that solution might work for single links, but it’s a bit hackish. I guess I didn’t do enough googling, ‘cause I found <a href=“http://textpattern.org/plugins/470/cbscategorylist”>a great plugin</a> that solves my first and last problem.
I think I saw something about managing static content on the faq.. [go and looks]
thanks :]
Offline
#4 2006-03-16 09:41:02
- Jack
- Member
- Registered: 2005-10-10
- Posts: 14
Re: changing page template for category_list
Hi again
It seems there’s never an end to problems..
I’ve hacked together something for now. It’s not pretty but it works. However here’s just one more question :D
My client is not very tech savvy, and I was just wondering if anyone knew of a plugin that would make file uploading easier. From what I understand, the content creator needs to manually insert a txp tag along with the file id to make the file show up in the article. Unfortunately he needs to do this (attach several files at the end of the article) quite regularly, and it’s an bother to do this repeatedly.
Thanks for any tips
Jack
Offline
Re: changing page template for category_list
Offline
#6 2006-03-16 10:28:08
- Jack
- Member
- Registered: 2005-10-10
- Posts: 14
Re: changing page template for category_list
Thanks! That’s exactly what I was looking for :]
I’ll post the final url when we’re done. Thanks for all the speedy replies!
Offline