Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#85 2005-09-10 18:41:08

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

Re: rsx_frontend_edit: Frontend Edit Link

Alright, I’ve fixed the ampersands in the generated link ‘bug’. As I have mentioned, this is probably not such a big deal, but I hate invalid pages as much as the next guy, so it has been fixed.

The issue of a having that initial slash or not I haven’t changed. I still don’t believe this is a bug. Heh. Let me know if people are having trouble. As far as I can tell, the default value for $hu should be to have that trailing slash.

Offline

#86 2005-09-12 06:35:33

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: rsx_frontend_edit: Frontend Edit Link

I have fixed the abersands manually but it is always cool to be working with the official version. Thanks for the update ramanan…


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#87 2005-09-14 14:59:40

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: rsx_frontend_edit: Frontend Edit Link

The ‘edit’ link works in list and search views but not in individual articles
I think i got where it is going wrong
the first url is the url of the article under the write tab, the second is the url requested by the front end edit

http://neme.org/main/textpattern/index.php?event=article&step=edit&ID=182
http://neme.org/main/182/textpattern/index.php?event=article&step=edit&ID=182

And here is the actual url of the article (front end)

<a href=“http://neme.org/main/182/mobile-utopia”>http://neme.org/main/182/mobile-utopia</a>
It seems that the frontend edit link does not recognise the url schema (ie. /id/title/)

>Edit apologies for not noticing and reporting this before. i actually normally use the list views.
re the prefix and suffix, they are just fine in my install 4.01/svn895

Last edited by colak (2005-09-14 15:44:32)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#88 2005-09-14 17:52:24

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

Re: rsx_frontend_edit: Frontend Edit Link

I think the variable I am using to generate the URL is incorrect. Someone had mentioned earlier in this thread I need to use $hu in Textpattern 4.0, and I had assumed they were correct. I now think they are wrong.

I am using an older version of the plugin on my site, and it works. If you want to test something out, please edit the plugin you have installed, replacing $hu with $pfr. This occurs once in the plugin. I think this will fix your problems.

Offline

#89 2005-09-15 05:44:05

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: rsx_frontend_edit: Frontend Edit Link

Thanks again ramanan,
<code>$pfr;</code> did the trick


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#90 2005-09-15 13:55:52

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

Re: rsx_frontend_edit: Frontend Edit Link

Strange. Mary was the one who recomended the switch to $hu, and it sounded like it worked for some people. I’ll need to look up in the source where the values are set, and what they are set to. I’ll update the plugin soon.

Last edited by ramanan (2005-09-15 14:04:25)

Offline

#91 2005-11-02 14:43:47

alice_c
Plugin Author
From: Karlsruhe, Germany
Registered: 2004-07-03
Posts: 33

Re: rsx_frontend_edit: Frontend Edit Link

@ramanan: Any Updates concerning the Edit-Link on the Frondend for Admins? Is this plugin now 4.0.x-compatible?

Offline

#92 2005-11-02 14:46:09

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: rsx_frontend_edit: Frontend Edit Link

I think the variable I am using to generate the URL is incorrect. Someone had mentioned earlier in this thread I need to use $hu in Textpattern 4.0, and I had assumed they were correct. I now think they are wrong.

There is no $hu, there is only hu. (It’s a constant, not a variable). As mentioned earlier

Offline

#93 2005-11-29 13:58:50

-rr-
Member
Registered: 2005-09-11
Posts: 73

Re: rsx_frontend_edit: Frontend Edit Link

Is it possible to use the frontend link to make a [add new article] link that takes you to a blank write screen?
I tried this:

<code>
<txp:rsx_frontend_edit_link >[add new article]</txp:rsx_frontend_edit_link>
</code>
<br>
but it created these errors after clicking on Publish:
<br>
<code>Notice: Undefined index: Status in ../textpattern/include/txp_article.php on line 175</code>
<code>Notice: Undefined index: Status in ../textpattern/include/txp_article.php on line 176</code>
<code>Notice: Undefined index: Status in ../textpattern/include/txp_article.php on line 177</code>
<code>Notice: Undefined index: Status in ../textpattern/include/txp_article.php on line 269</code>
<br>

Any ideas?

Offline

#94 2005-11-29 15:21:30

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

Re: rsx_frontend_edit: Frontend Edit Link

Sencer thanks, I don’t know how I missed that. So I should go back to using hu then? I haven’t had any complaints recently about the plugin, but people may just be changing things themselves, or not using it.

RR that won’t work. You can only use the plugin within an article form template. I can add a new tag that does what you want though.

Last edited by ramanan (2005-11-29 15:21:47)

Offline

#95 2005-11-29 16:02:36

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: rsx_frontend_edit: Frontend Edit Link

> ramanan wrote:

> people may just be changing things themselves, or not using it.

Hi ramanan
we are using it!!!:)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#96 2005-11-29 17:00:46

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

Re: rsx_frontend_edit: Frontend Edit Link

Glad to know. So do you have a problem with my not using hu? It seems some people do, some people don’t. I’m surprised this plugin isn’t more popular actually, it’s very handy. My plugin listing plugin seems to be my most popular, and it’s also my most boring.

Offline

Board footer

Powered by FluxBB