Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2005-04-04 04:40:24

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

Re: rsx_frontend_edit: Frontend Edit Link

I haven’t looked in to how to write an admin-side plugin, but I can work on that shortly. There is another update I need to make to the plugin so that you can put textile tags between the frontend-link tag.

Offline

#32 2005-04-04 23:06:57

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

Re: rsx_frontend_edit: Frontend Edit Link

very cool to hear this may turn into an adminplugin…
if you are working on it, could i suggest the possibility of adding before and after non-link capability? @<txp:rsx_frontend>

i really miss this plugin on the sites i don’t have it on; thank you for making it in the first place.


textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation

Offline

#33 2005-04-05 23:24:28

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

Re: rsx_frontend_edit: Frontend Edit Link

Sorry, what do you mean by “before and after non-link capability”?

Offline

#34 2005-04-06 01:51:42

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

Re: rsx_frontend_edit: Frontend Edit Link

I’ve updated the plugin so that you can use textpattern tags between the link tags. This was requested by someone who wanted to use <txp:title /> as the frontend link text. Admin-side plugin to come, once I figure out what’s involved with doing that.

Offline

#35 2005-04-06 02:26:37

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

Re: rsx_frontend_edit: Frontend Edit Link

oh sorry.. i meant (and that is great news about using txp tags between the link tags..) basically that it would be nice to be able to have text that shows only when the cookies are activated.. such as the edit-link… except you might want some of it to be non-link… as it is right now, it seems everything between the tags becomes part o the link, yes?

thanks again for having made this one, and continuing to work on it.


textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation

Offline

#36 2005-04-06 03:10:33

swf
Plugin Author
From: Saskatoon, Saskatchewan Canada
Registered: 2004-06-21
Posts: 109
Website

Re: rsx_frontend_edit: Frontend Edit Link

from the front end edit link help:
“There are two optional arguments you can supply to the plugin. They are prefix and suffix. The text in the prefix attribute will be placed before the link, and the text in the suffix tag will be placed after the link.”

You can already put ‘non-link’ info before and after the link

Offline

#37 2005-04-06 04:29:13

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

Re: rsx_frontend_edit: Frontend Edit Link

goodness. thank you for that.. i’m not sure how i thoroughly missed that. i apologize for the confusion.. thanks for letting me know


textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation

Offline

#38 2005-04-06 12:01:57

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

Re: rsx_frontend_edit: Frontend Edit Link

Oh i sees. Yes, as swf said, it’s all their now. I will try and make an admin tab for turning the links on or off, but please don’t wait with baited breath. I find I’m much slower and doing much of anything for textpattern now.

Offline

#39 2005-04-06 23:05:26

Baseline_Benny
Archived Plugin Author
From: Brisbane, Australia.
Registered: 2004-06-01
Posts: 15
Website

Re: rsx_frontend_edit: Frontend Edit Link

> alicson wrote:

> oh sorry.. i meant (and that is great news about using txp tags between the link tags..) basically that it would be nice to be able to have text that shows only when the cookies are activated.. such as the edit-link… except you might want some of it to be non-link… as it is right now, it seems everything between the tags becomes part o the link, yes?

Alicson, I use this code:
<code>
<h2><txp:permlink><txp:title /></txp:permlink><txp:rsx_frontend_edit_link>*</txp:rsx_frontend_edit_link></h2>
</code>

on the article form.

This gives the world the heading, and I get a small <strong>*</strong> to click to edit the article.

If find that this doesn’t adversly destroy the look of the page for me.


Life is what you make it… if nothing changes, nothing changes.
Web hosting http://dynamicwebhosting.com.au/
Web dev & marketing http://wallishamilton.com/

Offline

#40 2005-04-06 23:18:05

swf
Plugin Author
From: Saskatoon, Saskatchewan Canada
Registered: 2004-06-21
Posts: 109
Website

Re: rsx_frontend_edit: Frontend Edit Link

This is what i use and I get something that looks like this edit entry

<txp:rsx_frontend_edit_link prefix="[" suffix="]">edit entry</txp:rsx_frontend_edit_link>

Last edited by swf (2005-04-06 23:19:07)

Offline

#41 2005-04-07 00:46:28

Baseline_Benny
Archived Plugin Author
From: Brisbane, Australia.
Registered: 2004-06-01
Posts: 15
Website

Re: rsx_frontend_edit: Frontend Edit Link

:-) seeing as we’re posting code samples….

On an internal site I work with, we use the following code:

<code>
<p><txp:permlink>Peramalink</txp:permlink> <txp:comments_invite /> <txp:rsx_frontend_edit_link>Edit this post</txp:rsx_frontend_edit_link></p>
</code>

Which produces:
Peramalink Comment Edit this post

Not highly original, but it fits with the site look.
Those that don’t have “edit” rights don’t get the link, it doesn’t leave a hole in the page.


Life is what you make it… if nothing changes, nothing changes.
Web hosting http://dynamicwebhosting.com.au/
Web dev & marketing http://wallishamilton.com/

Offline

#42 2005-04-29 06:41:57

mikkeX
Archived Plugin Author
Registered: 2004-02-26
Posts: 74

Re: rsx_frontend_edit: Frontend Edit Link

Something seems to have changed in the handling – your plugin now produces an error on installing in the latest version of Textpattern.
It seems to have to do with the function doSlash in txp_misc

Offline

#43 2005-04-29 22:15:57

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

Re: rsx_frontend_edit: Frontend Edit Link

I’ll check it out when I get a chance. There is probably some new function that does what doSlash does currently.

Offline

#44 2005-05-14 21:26:36

Engelbert
New Member
From: Salzburg
Registered: 2005-05-14
Posts: 4
Website

Re: rsx_frontend_edit: Frontend Edit Link

I’ve got a strange error after installing rsx_frontend_edit:

Parse error: parse error, unexpected T_STRING in C:\Dokumente und Einstellungen\Bertl\Eigene Dateien\webpages\webetc\textpattern\publish.php(796) : eval()’d code on line 1

Doesn’t really know why. If I turn the plugin off everything is fine. I thing that there might be something wrong with the PHP code. I have version 1.2.1

Any ideas? :)

Offline

#45 2005-05-16 02:26:11

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

Re: rsx_frontend_edit: Frontend Edit Link

Not a clue. How are you using it? Anyone else getting a bug like that?

Offline

Board footer

Powered by FluxBB