Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-10-10 20:59:09

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

<txp:article edit="#" />

<code><txp:article edit=”#” /></code>
would display a linked “#” directly to this individual article’s edit window (write tab).
1 more example:
<code><txp:article edit=“edit” /></code>
would display edit
and link to http://yoursite.com//textpattern/index.php?event=article&step=edit&ID=articleID

i use this linking already in a form, but it should/would be easier to integrate this into the article tab, if for easier handling ofr customers runnign their own site after the programmer has gone … (otherwise it’ll be easy to convert this into a plug)…
this would of course only work, if one were logged in… otherwise one would just get the login screen instead. as it is now.

toooooot.

Last edited by jayrope (2006-10-10 21:20:22)


A hole turned upside down is a dome, when there’s also gravity.

Offline

#2 2006-10-10 21:11:40

anoke
Archived Plugin Author
Registered: 2006-04-15
Posts: 152

Re: <txp:article edit="#" />

Something like rss_article_edit ?


- When chickens are cold, they roost in trees; when ducks are cold, they plunge into water -

Offline

#3 2006-10-10 21:14:17

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

Re: <txp:article edit="#" />

uh, i guess no. i would prefer to see it built-in to the article tab as displayed above – and only this feature. ‘no other luxury necessary. thanx nevertheless 8)

Last edited by jayrope (2006-10-10 21:14:38)


A hole turned upside down is a dome, when there’s also gravity.

Offline

#4 2006-10-10 23:49:38

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: <txp:article edit="#" />

It’s already possible, one can use txp:article_id and build the link by hand. Like :

<a href="domain.tld/textpattern/?event=article&amp;step=edit&amp;ID=<txp:article_id />" >the text link</a>

Offline

#5 2006-10-11 06:43:25

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

Re: <txp:article edit="#" />

oh yes, of course, as i said: i am using this already. it would just be nicer to have this as part of a tag.


A hole turned upside down is a dome, when there’s also gravity.

Offline

#6 2006-10-11 06:50:45

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: <txp:article edit="#" />

Personnaly, I’m not so sure it’s a good idea. It can easily be done already, and with more precision and finesse. Adding a new tag to do something one can now is a road to bloated software :)

And, it can always be done as a plugin.

Offline

#7 2006-10-11 08:35:57

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

Re: <txp:article edit="#" />

for easier handling for customers running their own site after the programmer has gone

so what would you recommend regarding the original idea (above)?


A hole turned upside down is a dome, when there’s also gravity.

Offline

#8 2006-10-11 09:45:21

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: <txp:article edit="#" />

I don’t see the issue. You want your tag as an article tag, or a page/form one? I have understood the later.

If a client as html knowledge, than my solution applies, it may even be easier than a new tag. If he has not, well he’s not supposed to toy around the page/form, he’s suposed to pay you to do so :)

Offline

#9 2006-10-11 13:27:55

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: <txp:article edit="#" />

Integrated with the article tag wouldn’t make much sense, adding a new form tag would. As already pointed out, there already exists a plugin to do this.

Offline

#10 2006-10-12 17:47:46

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

Re: <txp:article edit="#" />

thanx both.
jeremie: i meant the tag as part of an article tag. and: i tend to behave like a client myself, sorry 8) mary: hmm, if i use the plug i use way more than just this simple code, but nevertheless. i guess i write me a plug, which only does that then.

tooooot.
*great to see 4.0.4 coming. toyed with the beta and had much fun.


A hole turned upside down is a dome, when there’s also gravity.

Offline

Board footer

Powered by FluxBB