Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2007-01-15 03:47:30

scronje
Member
Registered: 2004-09-28
Posts: 24
Website

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

#26 2007-01-23 19:00:32

benbruce
Plugin Author
Registered: 2006-01-13
Posts: 328
Website

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

#27 2007-05-24 20:44:38

rossharvey
Member
From: Earth. Sometimes.
Registered: 2005-03-16
Posts: 233
Website

Re: asy_wondertag (tags-in-tags/tags as attributes)

Marvelous, how did I miss this gem – thanks.

Offline

#28 2007-05-25 17:07:21

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

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

#29 2007-09-14 18:59:21

Timid&friendly
Member
From: The Netherlands
Registered: 2006-05-28
Posts: 252
Website

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

#30 2007-09-14 19:07:06

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

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

#31 2007-09-15 23:09:54

markusfalk
Member
Registered: 2007-08-16
Posts: 57
Website

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>

???

detailed information


I sometimes destructively reverse engineer my own work and the only help is this forum.

visit me at visiongraphix

Offline

#32 2007-09-15 23:22:45

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

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

#33 2007-09-15 23:46:09

markusfalk
Member
Registered: 2007-08-16
Posts: 57
Website

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

#35 2007-09-16 08:52:49

markusfalk
Member
Registered: 2007-08-16
Posts: 57
Website

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

#36 2007-09-16 17:45:23

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

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

Board footer

Powered by FluxBB