Content last modified Monday 6 March 2017
hop to #bottom
Categories:
Author:
Current version:
1.2.2
About It:
Get it:
Rate it:
  • Helpful?
  • 0 Yes
  • 0 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!

rsx_frontend

This plugin will add a link to your posts that will take you directly the edit screen in your textpattern install. The link is hidden by a cookie that you can turn on or off. You will need to be logged in to textpattern to be able to actually edit the post, this plugin provides a shortcut from a post directly to the edit screen.

First upload the files rsx_frontend_on.php and rsx_frontend_off.php to your website, and place them in a location you can reach. The textpattern directory is a good spot. You will need to run the rsx_frontend_on.php file to toggle the visibilty of the frontend edit link on. You can run the file rsx_frontend_off.php to turn the visibility off.

Simply place the tag <txp:rsx_frontend_edit_link> link text </txp:rsx_frontend_edit_link> anywhere on a form you use to display a post. This will create a link to the edit screen for that post.

If you want to use the plugin, grab this file: rsx_frontend_edit.txt. You will also need two php files to set and unset a cookie: rsx_frontend_on.php.txt, and rsx_frontend_off.php.txt. These last two files you will need to rename back to proper php files.

You can read more about this subject at brain-dump, though from a Moveable Type perspective.

*Update: The plugin has been fixed so it works with Textpattern 4.0. The change is small, the variable formally known as $pfr is now known as $hu. If there are any problems let me know. This version will not work with older versions of Textpattern.

Article Request Count:
Initially released:
2004-06-10
Posted here:
03 Dec 2004
Article modified:
01 Sep 2005

You may want to leave your comments/questions at the Forum thread for quicker feedback. Otherwise, comment away:

Your comment will NOT be submitted until you click the 'Submit' button on the next pageload.

Commented (5)

A nice one that comes in handy indeed :-) It was a missing feature of TxP and certainly is a must-have !
what i did with mine is to paste the code from rsx_frontend_on into a form that sits on the bottom of each page template, so that it automatically loads on its own each time.
the aforementioned idea is apparently (and clearly) a bad one, as was afterward pointed out to me. it means that everyone gets it loaded when they visit your site. so…. i put mine into forms and temporarily call them on a remote sandbox page when i need them. or you could just upload it as the instructions said, i spose.. ;)
If people are having a problem with the plugin, one possible fix is to set the variable in the plugin back from $hu to $pfr.
Changing $hu to hu without the dollar sign will fix the problem.

Subscribe to this article's comments RSS feed. [ ? ]   View Recent Comments across the site.

Would you care to write a comment or visit the forum discussion?

You know you want to visit the Archives.

Browse

Categories


Articles

There are also tag clouds, 'cause those are fun.
Published with Textpattern