Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-01-29 15:13:33

johnpeat
New Member
Registered: 2011-01-22
Posts: 5

Putting 'edit' and 'create' links into a site for logged-in admins

Sorry if this is an obvious question but it’s hard to search for as the terms are too common.

Basically, I’m wondering if there’s are conditional tags or similar which would allow you to include content on a site which only appears for logged-in admins/users.

So that you could put somewhere in each article an “EDIT THIS” button only if the person had the ability to do so – and a “CREATE NEW” button in the header etc. etc.

??

Offline

#2 2011-01-29 15:55:15

joebaich
Member
From: DC Metro Area and elsewhere
Registered: 2006-09-24
Posts: 507
Website

Re: Putting 'edit' and 'create' links into a site for logged-in admins

Hello John,

The plugin rss_article_edit provides a front end link for a logged in user to jump from an article in the front end to its edit page in the back end. You can use the “View” link in the back end to toggle to the newly edited and saved article in the front end again. Note the requirement to set a cookie in each browser. It’s described in the plug-in help.

Offline

#3 2011-01-29 16:00:00

johnpeat
New Member
Registered: 2011-01-22
Posts: 5

Re: Putting 'edit' and 'create' links into a site for logged-in admins

Thanks for that!

Offline

Board footer

Powered by FluxBB