Textpattern Forum

You are not logged in. Register | Login | Help

#21 2006-12-07 14:11:06

wet
Developer
From: Lenzing, Austria
Registered: 2005-06-06
Posts: 3,087
Website

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

Offline

#22 2006-12-11 01:08:55

marios
Plugin Author
Registered: 2005-03-12
Posts: 1,253

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

@alex, here’s one more
( I finally got some time to try this and found a practical usage example, that I need for a Template Set. )

Finally, I’d like to express my thanks to Sencer again, for making this wonder possible.

regards, marios

Last edited by marios (2006-12-11 01:17:20)


⌃ ⇧ < ⌃ ⇧ >

Offline

#23 2006-12-23 18:23:53

jstur8jv
Member
Registered: 2006-12-23
Posts: 23

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

Another vote for the “this plugin is awesome” crowd.

I used this plugin to turn upm_image into a plugin that can be manipulated via the url variables, such as with the following code:

<txp:asy_wondertag><txp:upm_image image_id="<txp:php>echo $_GET['p'];</txp:php>" ><txp:upm_img_caption /></txp:upm_image></txp:asy_wondertag>

That returns the description for the current image, useful if you would like that functionality when you’re browsing a category of images.

It’s helping me create a photo blog that doesn’t rely on articles at all.

Offline

#24 2007-01-06 01:08:52

mrdale
Moderator
From: Walla Walla
Registered: 2004-11-19
Posts: 2,041
Website

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

Ok, Finally got around to using this plugin which I find indeed to be “da fahshizzle”. Totally awesome.

I’ve almost got a client area set up on my site using this plugin, ign_password_protect (hacked) and glx_if.

Everything works fine, until I try something like;

<txp:asy_wondertag>
   <txp:if_category name="<txp:ign_user_name display="name" />">
      <txp:any_tag_here_including_an_output_form_tag />
   </txp:if_category>
</txp:wondertag>

When it does not parse the </txp:if_category> tag which appears in the html. The tag <txp:ign_user_name> is a hack and is verified to output the user name in plain text.

I assume this is expected behavior because there’s a tag nested inside the one being worked upon by wondertag.

Ideas? Is there a workaround?

Last edited by mrdale (2007-01-06 01:13:06)

Offline

#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: Norwich, UK
Registered: 2005-03-16
Posts: 201
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
Moderator
From: Walla Walla
Registered: 2004-11-19
Posts: 2,041
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

Board footer

Powered by FluxBB