Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
[plugin] [ORPHAN] rss_article_edit - public site edit link
I’ve used Ramanan’s version of the front end edit plugin for a while on a variety of sites. I recently had the need to install it for someone and didn’t want to rely on the manual upload of PHP files to enable and disable the edit links.
This plugin contains the same functionality of the original plugin but creates a tab in the TXP admin interface that allows you to set the cookie name, set the cookie and expire the cookie. This comes in handy when working on multiple computers or enabling “non-technical” users to turn on front end edit links. Just follow these simple steps to setup:
- Install and enable the plugin
- Navigate to the extensions -> edit link tab
- You have the option to change the cookie name that will be used
- Click the Add or Remove buttons to set or expire the cookie
- Add the rss_editlink tag to your article form (e.g., <code><txp:rss_article_edit>Edit</txp:rss_article_edit></code>)
- Navigate to an article on your public site and click the edit link to be taken to the content -> write tab for that article.
Offline
Re: [plugin] [ORPHAN] rss_article_edit - public site edit link
Neat :)
Offline
Re: [plugin] [ORPHAN] rss_article_edit - public site edit link
Great! you d-man.
This is a real time saver for multiple site situations. Thanks
Offline
Re: [plugin] [ORPHAN] rss_article_edit - public site edit link
Thanks so much Rob…This will come in quite handy!
Offline
Re: [plugin] [ORPHAN] rss_article_edit - public site edit link
You kept this one quiet Rob. ;)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: [plugin] [ORPHAN] rss_article_edit - public site edit link
You just weren’t listening ;)
Should I announce LOUDER next time?
Offline
Re: [plugin] [ORPHAN] rss_article_edit - public site edit link
Dumb question perhaps, but I’ll ask…
let’s say I use this plugin for a client and they edit the site at a web kiosk somewhere. How long will a user be capable of simply editing the pages directly on that machine.
A lot of variables, I know, but I’m just thinking through the security implications.
-Thanks
Offline
Re: [plugin] [ORPHAN] rss_article_edit - public site edit link
Since it sets a cookie, it would be able to be edited by a user of that kiosk until the “Remove edit link” is clicked on that machine to unset the cookie. If the user didn’t log out and checked the “Remain logged in with this browser” option, then anyone at that machine would have access to that site.
Just like using a web based email service or any portal where you have to log in, you’d want to be sure to log out on a public machine.
Offline
Re: [plugin] [ORPHAN] rss_article_edit - public site edit link
As RenJonsin said, the key is logging out of Textpattern. If you’re on a public computer, its probably a good idea not to use this plugin just to be safe.
Offline
Re: [plugin] [ORPHAN] rss_article_edit - public site edit link
Thanks for the clarification. Great plugin.
Offline
Re: [plugin] [ORPHAN] rss_article_edit - public site edit link
Nice plugin. For the next revision, can you maybe add the “prefix” attribute that was part of Ramanan’s plugin? It makes things look less awkward that way (as in add in text before the link if the link is shown, but the text is not linked). There also might have been a suffix attribute also…
bludrop studios .::. Creative Expression
Offline
Re: [plugin] [ORPHAN] rss_article_edit - public site edit link
There actually are prefix and suffix attributes for the plugin. I just neglected to mention that.
Offline