Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2014-11-14 12:26:11
- pierlu
- Member
- Registered: 2014-08-12
- Posts: 153
plugin for login
Hi, I need a plugin to create the site restricted access to a page. What do you recommend? thanks
Offline
Re: plugin for login
Hi pierlu and welcome to txp.
there’s a native password tag. Read about it on the tag reference
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#3 2014-11-14 13:36:54
- pierlu
- Member
- Registered: 2014-08-12
- Posts: 153
Re: plugin for login
The tag “password tag” I have to get to the page for you? and to make the form where you can enter your username and password?
Offline
Re: plugin for login
Hi
All you need to do is add <txp:password_protect login="theuser" pass="thepassword" />
at the top of your article. A pop-up will come up for visitors of that page which will not load until the login/password are filled. The best way to understand is testing it:)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: plugin for login
colak wrote #285761:
Hi
All you need to do is add
<txp:password_protect login="theuser" pass="thepassword" />
at the top of your article. A pop-up will come up for visitors of that page which will not load until the login/password are filled. The best way to understand is testing it:)
intersting. i have not had the occasion to ever need this feature but may in the future…
just to be clare – does that txp code get input in the Body when one writes a new article?
…. texted postive
Offline
Re: plugin for login
I used it a few times for authors who wanted to check their texts before they are published. All i did was to post it art the top of those articles and set the time to future so as not to have the texts in the rss feed.
Re your question. I never looked at the code:)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#7 2014-11-16 20:58:39
- pierlu
- Member
- Registered: 2014-08-12
- Posts: 153
Re: plugin for login
I think I’ve almost solved. One last thing …. what should I write to set the link so that if the password is correct has a redirect to secure page? Thanks
Offline
Pages: 1