Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#37 2007-09-17 08:32:41

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

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

@mrdale

thanks for you help. I’ll keep trying. I appreciate your effort but I would rather have a full walk-through than a template so that I can fully understand how it works by doing it myself. Of course there might be others interested in this template ;-)


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

visit me at visiongraphix

Offline

#38 2007-09-17 10:50:50

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

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

mrdale: either a full walkthrough and/or templates of your client section would be great! personally i’ve never been able to get the whole community-oriented plugin package of ign_password_protect, mem_self_register, etc etc to ever work on where i host my pages (but i’ve tested them on different servers and they work without a hitch? no idea). i hate netfirms.

Last edited by iblastoff (2007-09-17 10:56:44)

Offline

#39 2007-09-26 17:57:37

Logoleptic
Plugin Author
From: Kansas, USA
Registered: 2004-02-29
Posts: 482

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

I forgot to mention this earlier, but I recently finished work on a site that used this plugin together with chs_if_urlvar. The combination allowed me to give forms a kind of “memory.” I also used it to display articles with different page templates, URLs, and content without having to duplicate the same article in different sections. Thanks for this great tool. I’m still discovering new ways to use it on every project.

Offline

#40 2007-10-02 20:34:18

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

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

Anything changed in 4.0.5 and the lastest SVN?

I’m trying the plugin with a simple <txp:asy_wondertag><txp:article_custom status="4" time="past" sort="Posted desc" limit="2" form="some form" category="a cat" section="<txp:section />" /></asy_wondertag> as shown in the help, and TXP returns me all kind of unpleasantness :

textpattern/lib/txplib_misc.php:606 trigger_error()
textpattern/lib/txplib_misc.php(535) : eval()'d code:11 lAtts()
textpattern/publish.php:982 asy_wondertag()
processTags()
textpattern/publish.php:941 preg_replace_callback()
textpattern/lib/txplib_misc.php:1388 parse()
textpattern/publish/taghandlers.php:242 parse_form()
textpattern/publish.php:982 output_form()
processTags()
textpattern/publish.php:941 preg_replace_callback()

Last edited by Jeremie (2007-10-02 20:34:37)

Offline

#41 2007-10-02 21:08:20

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

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

Could it be a typo error?

</asy_wondertag>


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#42 2007-10-02 21:21:05

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

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

Ok, I do need a new brain…

Thanks Julián.

Offline

#43 2007-10-27 16:15:47

nabrown78
Member
From: Northampton, MA, USA
Registered: 2006-10-04
Posts: 294
Website

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

Awesome plugin! I was able to use this with <txp:upm_image /> in the image_name attribute like so: <txp:upm_image image_name="<txp:custom_field name="before_pic" />" /> I have three article images for a certain type of article, and I want a more complex output than just a list, so I’m storing the three image names in custom fields.
Thanks for writing this solution!

Offline

#44 2008-09-02 03:03:20

andrea
Member
From: la la land
Registered: 2004-02-24
Posts: 62
Website

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

just another thanks for a super-handy plugin!

;) andrea

Offline

#45 2008-10-04 02:53:45

alanfluff
Member
From: Ottawa, Canada
Registered: 2008-09-15
Posts: 222
Website

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

Hurrah! Thanks SO much for the plugin – solved a problem very neatly :)


At LAST I’ve cheerfully donated to the core devs at #TXP. I only wish I were able to give more. Thanks to the devs and ALL fellow TXPers. -A

Offline

#46 2008-11-22 21:43:57

Logoleptic
Plugin Author
From: Kansas, USA
Registered: 2004-02-29
Posts: 482

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

Will this plugin still work with the new template parser in 4.0.7? The new parser has the tags-as-attributes functionality built in, but it would require template rewrites across several of the sites I’ve created to change to the native feature after an upgrade.

Offline

#47 2008-11-22 21:55:33

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

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

Well, I simply tried it (a minute ago) and it appears to work fine. I used this code for testing:

<txp:asy_wondertag><txp:article_custom form="lofi" section="<txp:section />" /></txp:asy_wondertag>

It wouldn’t surprise me if mixing asy_wondertag and the 4.0.7 style of attribute parsing also works (though I have no idea why anyone would want to do that).

Offline

#48 2008-11-23 02:51:17

Logoleptic
Plugin Author
From: Kansas, USA
Registered: 2004-02-29
Posts: 482

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

That’s a big relief. Thanks for taking a moment to look into it, Ruud.

Offline

Board footer

Powered by FluxBB