Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2004-10-27 07:52:04

Martagnan
Member
From: Humberside - uk
Registered: 2004-06-21
Posts: 90
Website

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

#17 2004-10-27 22:29:06

ramanan
Plugin Author
From: Toronto
Registered: 2004-03-12
Posts: 323
Website

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

#18 2004-10-28 08:44:54

Martagnan
Member
From: Humberside - uk
Registered: 2004-06-21
Posts: 90
Website

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

#19 2004-10-28 22:58:29

ramanan
Plugin Author
From: Toronto
Registered: 2004-03-12
Posts: 323
Website

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

#21 2004-11-05 00:45:10

ramanan
Plugin Author
From: Toronto
Registered: 2004-03-12
Posts: 323
Website

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

#22 2005-01-05 14:38:27

ramanan
Plugin Author
From: Toronto
Registered: 2004-03-12
Posts: 323
Website

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

#23 2005-02-26 23:33:08

misterk
Member
From: Morris, MN
Registered: 2004-02-24
Posts: 77
Website

Re: rsx_frontend_edit: Frontend Edit Link

Is it just me or did prefix=”“ stop working when I upgraded to RC3?

Offline

#24 2005-02-27 05:50:30

ramanan
Plugin Author
From: Toronto
Registered: 2004-03-12
Posts: 323
Website

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

#25 2005-02-27 05:59:12

misterk
Member
From: Morris, MN
Registered: 2004-02-24
Posts: 77
Website

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

#26 2005-03-07 16:24:34

Bastian
Plugin Author
From: Wuppertal, Germany
Registered: 2005-02-02
Posts: 376
Website

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

#28 2005-03-07 20:12:39

alicson
Member
Registered: 2004-05-26
Posts: 465
Website

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

#29 2005-03-08 01:58:12

ramanan
Plugin Author
From: Toronto
Registered: 2004-03-12
Posts: 323
Website

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

Board footer

Powered by FluxBB