Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: asy_wondertag (tags-in-tags/tags as attributes)
Wow. Thank you so much for taking the trouble to do this! Works like a charm.
Offline
Re: asy_wondertag (tags-in-tags/tags as attributes)
I’m using this as the “post and reply engine” for “TXPhorum”: , a simple forum solution for Textpattern.
Here’s the example:
<txp:asy_wondertag>
<txp:article_custom post_or_reply="<txp:article_id />" form="txphorum_reply" sort="Posted asc" />
</txp:asy_wondertag>
- Ben
Offline
Re: asy_wondertag (tags-in-tags/tags as attributes)
Marvelous, how did I miss this gem – thanks.
Offline
Re: asy_wondertag (tags-in-tags/tags as attributes)
I could find no way to get asy_wondertag work with an RSS collector plug-in (bit_rss, feed). Both are using SimplePie, the later being the very stable original TXP extension from SimplePie (recommended by me). No critique at all, but very sad for some occasions :)
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline
Re: asy_wondertag (tags-in-tags/tags as attributes)
Hi Sencer,
I was reading through your explanation of how this wondertag works, and noticed something confusing for a humble designer like me. Is this a contradiction? :-
How to use & Examples
Simply …bla blah bla blah …..<txp:if_article_category>. This does not work
Examples:
1. blah bla etc
On this thread the text seems to suggest that the examples don’t work, but when i installed the plugin, the intro text suggests that the examples ARE indeed ways of using the plugin. Could you please clarify? and please excuse my ignorance on this matter.
I think, therefore I AM, … … er … I think :-?
Offline
Re: asy_wondertag (tags-in-tags/tags as attributes)
Yep the examples work.
It’s all quite straightforward.
Just wrap wondertag around the tag that you wish to insert another txp tag into, and you’re good.
Offline
Re: asy_wondertag (tags-in-tags/tags as attributes)
Did you geht the client area to work? I wanted to use this after login to output individual content for clients.
<txp:asy_wondertag>
<txp:article_custom allowoverride=“0” category=”<txp:ign_logged_user form=“current_user”/>” pgonly=“0” />
</txp:asy_wondertag>
???
I sometimes destructively reverse engineer my own work and the only help is this forum.
visit me at visiongraphix
Offline
Re: asy_wondertag (tags-in-tags/tags as attributes)
Yeah, my client section works nicely.
Looks like your’s should work too.
The only security issue is with files, where a client could just start plugging in numbers and download othe clients files… But this could happen anyway.
Offline
Re: asy_wondertag (tags-in-tags/tags as attributes)
is there another way to output content sensitive to users ?
I sometimes destructively reverse engineer my own work and the only help is this forum.
visit me at visiongraphix
Offline
#34 2007-09-16 03:07:46
- Logoleptic
- Plugin Author
- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: asy_wondertag (tags-in-tags/tags as attributes)
mrdale wrote:
The only security issue is with files, where a client could just start plugging in numbers and download othe clients files… But this could happen anyway.
Doesn’t 4.0.5 alleviate this problem by adding actual filenames to the download URIs, or do the old number-only links still work?
Offline
Re: asy_wondertag (tags-in-tags/tags as attributes)
@mrdale
<txp:asy_wondertag>
<txp:if_category name=”<txp:ign_user_name display=“name” />”>
</txp:wondertag>
<txp:any_tag_here_including_an_output_form_tag />
</txp:if_category>
the way I understand that you used this to create your client login … don’t you have to add more lines into your template for each client?
I sometimes destructively reverse engineer my own work and the only help is this forum.
visit me at visiongraphix
Offline
Re: asy_wondertag (tags-in-tags/tags as attributes)
>markus
Short answer: Just use your article form to compare the login name to the article category name and present the article on true and a “rejection” message on failure.
I don’t have time right now, (hella busy) but when things settle down for me, I’ll do a full walk-through of my client section. If there’s enough interest I could be persuaded to package it all up in a hgc_templates install, allowing you to import the whole client section with an upload and a few clicks.
Offline