Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2011-01-10 13:08:22
- talya
- New Member
- Registered: 2011-01-10
- Posts: 4
New Section for a Category that covers any Articles/Images/Files
I would like to create a SECTION that displays any content (of any type: whether it be articles, images or any type of files ) with a particular category name (eg. “Horses”).
So I have created a category within articles called ‘horses’
and also one for images called ‘horses’
and also a category for files called ‘horses’….
Now how can I display, on one page, ALL the content relating to Horses – whether it be an article, an image or a file?
Offline
Re: New Section for a Category that covers any Articles/Images/Files
You don’t need a special section. If you are running Txp 4.3.0:
<txp:if_category>
<txp:article />
<txp:images />
<txp:file_download_list />
</txp:if_category>
Code is topiary
Offline
#3 2011-01-10 19:40:43
- talya
- New Member
- Registered: 2011-01-10
- Posts: 4
Re: New Section for a Category that covers any Articles/Images/Files
Thank you and I am sorry – I should have been clearer about what I am trying to find out:
Before learning the syntax of Textile I wanted to know if it was possible to do what I want to do with Textpattern:
I want to set up a CMS for a website and was tinkering with the Textpattern demo to see whether it can be used for what is needed and whether Textpattern is friendly to use – I liked what I saw – there are so many CMS’s and Textpattern looks simple and elegant, so I was keen to find out more about it.
I was hoping it would be easy to set up a site where Users can upload files, images or articles under a few different headings, eg. for them to go to a section called ‘Horses’ (for example) and to add content there relating to horses, in whatever format, and to also see a list there of all other content under that heading. If this is possibles, that is all I needed to know. But it looks like the structure of Textpattern might not be conducive to this approach;
I have just had a look at your website here:
http://ipsedixit.net/txp/112/what-is-textpattern-cms-and-why-should-i-use-it#content_model
which is very helpful.
However, from that it does seem like Textpattern might not be the ideal CMS for a simple, small website where users can see lists of public content (articles, files, images) under different category headings, and also contribute similar content under those headings, as there is no generic, fully-customizable content type in Textpattern.
I do like it, though!
Thanks for your help,
Talya :)
Offline
Re: New Section for a Category that covers any Articles/Images/Files
Re: seeing lists under different category headings – I think Txp can display what you are want.
- Just to clarify — you primarily mention categories, but in the last post you did reference going to a section. Section and categories are different animals, but both can be used to help structure content. Sections create structure from a site presentation perspective, categories from a content organization perspective.
- Also, there are a couple of plugins that allow for unlimited categories, and/or tags. rss_unlimited_categries, tru_tags, and smd_tags being the most recent/most used. These give a great deal of ability for content organization and presentation.
Re: Users uploading content – the answer depends on whether you mean users who log in to the administrative side of Txp or the front-end of Txp.
- If the administrative side of Txp, you can set default categories and there’s a plugin to pick your section as you log in. There’s also a couple of dashboard plugins that might apply
- But from what you are describing, it sounds like you may mean generic website visitors who visit the front end. If so, there are a couple of plugins that allow for user submitted content. Some combo of zem_contact_reborn, the mem_user suite of plugins, ign_password would likely be required. Also there’s one or two file upload plugins out there if I recall correctly.
Last edited by maverick (2011-01-10 19:58:35)
Offline
Re: New Section for a Category that covers any Articles/Images/Files
talya wrote:
I was hoping it would be easy to set up a site where Users can upload files, images or articles under a few different headings, eg. for them to go to a section called ‘Horses’ (for example) and to add content there relating to horses, in whatever format, and to also see a list there of all other content under that heading.
By “users” do you mean public site visitors or admin-side contributors?
Edit: As Mike asked already :)
Last edited by jsoo (2011-01-10 20:03:11)
Code is topiary
Offline
#6 2011-01-10 20:35:10
- talya
- New Member
- Registered: 2011-01-10
- Posts: 4
Re: New Section for a Category that covers any Articles/Images/Files
public site visitors
Offline
Re: New Section for a Category that covers any Articles/Images/Files
The plugins Mike lists could probably get you there. But it would probably require a lot of work to get it working well and securely. Txp was never conceived as a community portal or Web 2.0 kind of system; the only built-in system for uploading user content is Comments. I think you’d have a lot of work to get this working on any system, but there might be other platforms out there with pre-built modules that would get you most of the way there. Good luck.
Code is topiary
Offline
#8 2011-01-11 15:57:35
- talya
- New Member
- Registered: 2011-01-10
- Posts: 4
Re: New Section for a Category that covers any Articles/Images/Files
Thanks. I’ll add another reply if I do find something else that is perfect for what I want, just to let people know, and thanks for the plugin advice.
It looks possible, but at the moment it all looks a bit scary – too many plugins needed and I don’t know php!
Thanks for your help
Offline