Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
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
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
Re: asy_wondertag (tags-in-tags/tags as attributes)
Could it be a typo error?
</asy_wondertag>
Offline
Re: asy_wondertag (tags-in-tags/tags as attributes)
Ok, I do need a new brain…
Thanks Julián.
Offline
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
Re: asy_wondertag (tags-in-tags/tags as attributes)
just another thanks for a super-handy plugin!
;) andrea
Offline
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
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