Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: rsx_frontend_edit: Frontend Edit Link
This form feeds the ‘Meanderings’ section of my site…
<img src=“http://www.martagnan.co.uk/meanderings-form.gif” />
…and this form feeds the ‘Incidentals’ section of my site…
<img src=“http://www.martagnan.co.uk/incidentals-form.gif” />
I have removed the rsx_frontend from the second form because thats when I get the error. Its working fine in the first form though? Could it be something to do with sections?
Thanks
PS- I have used images because I cant get code to render on this forum – even with @ symbols surrounding it!!!??
Last edited by Martagnan (2004-10-27 08:04:07)
Offline
Re: rsx_frontend_edit: Frontend Edit Link
If you use the exact same code to display the edit link in both forms it should work. The error you are saying you are getting would result from you doing something like <rsx:front_end_edit /> where there is no $thing parameter. Make sure you didn’t formate the tags wrong, the way the things get parsed, you can’t put spaces between the colon for example.
Offline
Re: rsx_frontend_edit: Frontend Edit Link
I copy and pasted the tags that were ok and used them on the other section and its fine now… must have been a syntax error… i’m an idiot – sorry! :(
Offline
Re: rsx_frontend_edit: Frontend Edit Link
There are worse things in life. That’s cool then. Usually errors like that are because textpattern is very picky.
Offline
#20 2004-10-31 10:33:15
- hafnius
- Archived Plugin Author

- From: DK
- Registered: 2004-09-02
- Posts: 47
Re: rsx_frontend_edit: Frontend Edit Link
I was wondering if instead of setting a new cookie we can not check for the cookie that txp already sets when we log in to the admin sections. I have checked the code and can see some diff in the content of the two cookies. Is there some reason why this cant work? – it would be niftier i think.
/Hafnius
– Nobody puts Baby in the corner !
Johnny Castle, Dirty Dancing
Offline
Re: rsx_frontend_edit: Frontend Edit Link
It doesn’t work because it would seem cookies are set against the page you are viewing. So I needed to set a cookie that was associated with ‘/’ instead of ‘/textpattern/’. Does that make sense? I also think it would be niftier to use your login cookie, I just don’t know how.
Offline
Re: rsx_frontend_edit: Frontend Edit Link
I updated the plugin so that it has a default value for the $thing paramter. This should get rid of an error message that would get displayed if you have your textpattern install set to display error messages.
Offline
Re: rsx_frontend_edit: Frontend Edit Link
Is it just me or did prefix=”“ stop working when I upgraded to RC3?
Offline
Re: rsx_frontend_edit: Frontend Edit Link
I don’t think it should have stopped working. Unless there have been big changes to the way plugins work. You may want to make sure you don’t have any typos in the tag.
Offline
Re: rsx_frontend_edit: Frontend Edit Link
Yeah – I don’t know what happened, but my prefix tag disappearing seems to have coincided with my upgrade a few days ago, I’ll keep trying to look into it. No big deal, just aesthetics.
Offline
Re: rsx_frontend_edit: Frontend Edit Link
I like this plugin very much.
But dont’t like the two extra files rsx_frontend_on/off.
Is it not possible to set path for every setcookie() in txp_auth.php to
$prefs[“path_from_root”] and use the txp_login cookie instead?
Offline
#27 2005-03-07 19:58:50
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: rsx_frontend_edit: Frontend Edit Link
Yes. It’d just be adding a hack instead of being pure-plugin. :)
Offline
Re: rsx_frontend_edit: Frontend Edit Link
what i did with mine was to add the code from rsx_frontend_on into my index page, so that it automatically loads on its own each time.
textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation
Offline
Re: rsx_frontend_edit: Frontend Edit Link
As it works right now it’s a pure plugin. The fact you need to set the cookie manually seems like a small price to pay.
Offline
#30 2005-04-02 00:49:13
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: rsx_frontend_edit: Frontend Edit Link
Any plans to make this a plugin, now that we have admin-side plugin ability?
Offline