Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2004-10-25 13:50:12

davidm
Member
From: Paris, France
Registered: 2004-04-27
Posts: 719

Re: rsx_frontend_edit: Frontend Edit Link

Real cool plugin, I love it !

THX !!!


.: Retired :.

Offline

#14 2004-10-25 14:54:22

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

Re: rsx_frontend_edit: Frontend Edit Link

Hello,
I am using 2 forms to output articles slightly differently. If I use the tags on one form it works great. If I add the tags to the other form it gives this error….

Warning: Missing argument 2 for rsx_frontend_edit_link() in /home/mysite/pub/textpattern/publish.php(767) : eval()'d code on line 890

Last edited by Martagnan (2004-10-25 14:58:08)

Offline

#15 2004-10-26 23:38:12

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

Re: rsx_frontend_edit: Frontend Edit Link

I’m not sure, the second parameter couldn’t be empty since it is the string that goes between the opening and closing tags. What does your form look like?

Offline

#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

Board footer

Powered by FluxBB