You are not logged in.
Well, I’m a newbie in TextPattern and I have just understood certainly one of the basic elements: the Id is an “article” attribute and it must be called from a “form” not from a “page”. Hope this can help another new comer.
Last edited by p_see (2006-02-28 23:02:42)
Offline
I think of a way to delete an article from the write/edit page of each article.
A button after “Reset time to now” …
—> “DELETE”
(I’ve post a request in the features request forum).
I don’t have any idea of the difficulty to do this, it is just a suggestion (honestly I am sure that others already thought of it. Thus that should not be so easy to make…).
It would have sense with the front-editing concept.
Offline
Rob,
Any chance its not difficult to add a wraptag and wrap class to this?
It would allow me to style it.
Thanks man,
Matthew
Offline
wouldn’t it be just as useful and much simpler for a plugin to use textpattern’s own cookie?
I was asked today why one needs to set an extra cookie for this and was stumped for an answer, particularly as the “edit” link depends upon you being logged in.
Would it be possible to make it use the ‘remember me on this machine’ cookie txp sets when you’re logged in or not?
BTW: as “The Exit” said, you need to give rights to lower user-levels to show the extension tab. This is no problem, unless you have other extension tab plug-ins which should not be available to all.
TXP Builders – finely-crafted code, design and txp
Offline
how come it wouldn’t work on my site? I’ve set the cookie and followed the instructions, even checked and rechecked the template and the article form, but it wouldn’t work? =/
It takes a heap of sense to write good nonsense. – Mark Twain
Offline
wordgasm wrote:
how come it wouldn’t work on my site? I’ve set the cookie and followed the instructions, even checked and rechecked the template and the article form, but it wouldn’t work? =/
It would help if you showed us what your relevant template and form code is.
By the way, you did turn the plugin on, right?
Last edited by Destry (2006-07-30 16:21:20)
Offline
the plugin was and is still turned on, the cookie was set, etc. this is my article form:
<code>
<a href=”<txp:permlink />” title=”<txp:title />”><div id=title><txp:title /></div></a>
<div id=entry><txp:ied_replacer what=“body” /></div>
<div id=comment><txp:rss_article_edit>edit</txp:rss_article_edit> <txp:posted format=”%d.%m.%y | %R” /> | <img src=”/blue/comment.gif”> <txp:comments_invite /></div>
</code>
is there something wrong with it that I don’t know of?? I’m sure I know what I’m doing with my layout, putting the right forms in the right place and such… I’m using txp 4.03 by the way. thanks for helping out :D
It takes a heap of sense to write good nonsense. – Mark Twain
Offline
I see two things worth considering:
Here’s one idea about redoing that form (CSS not included):
<code><a href=”<txp:permlink />” title=”<txp:title />”><h1><txp:title /></h1></a></code>
<code><txp:body /></code>
<code><div id=“comment”><p><txp:rss_article_edit>edit</txp:rss_article_edit> <txp:posted format=”%d.%m.%y | %R” /> | <img src=”/blue/comment.gif”></code> <code><txp:comments_invite /></p></div></code>
Ultimately you can do what you like with the divs, but I think the <code><txp:body /></code> tag is the root of the real problem here. Just a guess.
Last edited by Destry (2006-07-31 18:38:48)
Offline
okay thank you very much! can’t believe I overlooked that one.:p
It takes a heap of sense to write good nonsense. – Mark Twain
Offline
Sorry, this line should have been written like this…
<code><h1><a href=”<txp:permlink />” title=”<txp:title />”><txp:title /></a></h1></code>
(header tags on the outside of the anchor)
Offline