Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-02-24 14:32:03

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

Show article EDIT link to logged in authors only

Hello there,

i am using a link like
<a href="<txp:site_url />textpattern/index.php?event=article&step=edit&ID=<txp:article_id />">EDIT</a>

in an article default form to display an edit link next to an article title in the frontend.
Direct access to an article edit window simplifies site editing quite a lot i found.

Nevertheless my question is, if there’d be any way to show this link only to authors who already have logged into the backend.

Anyone? Thanx much in advance!

Last edited by jayrope (2008-02-24 14:33:19)


A hole turned upside down is a dome, when there’s also gravity.

Offline

#2 2008-02-24 14:44:18

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: Show article EDIT link to logged in authors only

rvm_privileged (only with txp 4.0.6)

or rss_article_edit (this sets its own cookie)

Last edited by iblastoff (2008-02-24 14:44:43)

Offline

#3 2008-02-24 15:55:37

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

Re: Show article EDIT link to logged in authors only

Iblastoff, I completely adore the speed of your latest answers to my stupid quests (although one shouldn’t work on weekends, unless being an atheist, here i am ,-)

thanx a zillion!


A hole turned upside down is a dome, when there’s also gravity.

Offline

Board footer

Powered by FluxBB