Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
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