Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2010-12-16 20:14:43
- nitse
- New Member
- Registered: 2010-12-16
- Posts: 1
Post articles through forms
Hello, I was wondering if there is a method for the customer, after the website is finished, to create new articles and to refresh the site through forms like cutenews e.t.c.
The customer will choose the category of the article, the title, a small preview and the rest of the article (that it will be shown by clicking more).
Also the appearance of the article will be defined through css that developer will have created to prevent changing the appearance of the whole site.
How can I do this ? Thank you!
Offline
Re: Post articles through forms
Hello and welcome to the txp forums!
I’m not sure how well you know textpattern but textpattern basically allows you to do that out of the box. You can give your customer a login and assign them the role of a “staff Writer” which allows them to edit and create articles in a screen similar to the the add news screen shown on the cutenews site, but that doesn’t allow them to change the inner workings of your site. You can find an overview of the different roles and what they can and can’t do here.
Textpattern’s write screen has a preview button that gives an approximate indication of the later formatting and if you want “B” and “I” buttons etc. in your textarea you can install a plugin such as rah_textile or hak_textile_tags. With additional plugins such as bot_write_tab_hide you can slightly adapt this screen, for example to hide unwanted options from view.
If you have very specific needs or your user/customer need only submit certain items, there are other plugins that allow you to make your own data entry mask. It is not so straightforward to set up but means you can be very specific about what can be entered and the format you wish to receive it in. Here’s an example.
Finally, there is also the ability for users to submit articles using third-party blogging tools (see the comments here for some examples) via an rpc-protocol. I’ve not tried this method, though, so I can only tell you that it exists but not what is capable with it.
TXP Builders – finely-crafted code, design and txp
Offline
Re: Post articles through forms
The more complex option is to provide users with the ability to create and edit articles from the front-end using mem_public_article, and create and edit other entries in the database using mem_simple_form.
This of course comes with greater risks, as you have to consider what is being posted and by whom. I’m current working on a site which allows selected users to do some basic posting and editing, all wrapped up in ign_password_protect to make sure that access is restricted.
Offline
Pages: 1