Thanks for the suggestion. I would rather the performance be listed on a user page. Removing a user from the database would remove them from the performances they have listed, which would be much easier than removing a user from every performance they list individually. (Hope that makes sense)
<br>A PmWiki solution would be more desirable than the bookmarklet, although I'll look into that as an alternative. <br>Thanks!<br>Robby<br><br><div><span class="gmail_quote">On 4/30/06, <b class="gmail_sendername">Pico</b>
<<a href="mailto:pmwiki@ben-amotz.com">pmwiki@ben-amotz.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Robby Van Sciver wrote:
<br>> Is there a way to create a button that when clicked it will add text to<br>> the end of another page?<br>><br>> My site has a list of performances and if a person has a copy of it, I<br>> want them to be able to click a "I have this show" button which will
<br>> then insert:<br>> * [[(Performances.)YYYY-MM-DDShowTitle]]<br>> to their user profile. I thought it would be easier if people can click<br>> a button than finding and manually entering every show he or she owns.
<br>><br>> Any ideas?<br>><br>I would also be interested in something like that. Appending text to a<br>page other than the page that is being viewed may be a tough request.<br><br>Note that the bookmarklet recipe provides a partial solution by
<br>generating a link for the page being viewed (the performance, in your<br>example) and appending that link to the end of another page (the user<br>profile page, in your example). But, in doing that, the recipe takes<br>
the browser to that other (profile) page using an edit action, and<br>leaves the user in the open edit screen. To get all of that to work,<br>the recipe requires a special browser bookmark that contains java script<br><br>
If that sounds good to you, then check out that recipe and try to adapt<br>it to your specific situation.<br><br><br>If what you want is (1) a PmWiki specific solution that uses wiki markup<br>links, instead of browser bookmarked java, and (2) a server side
<br>solution that appends the link to a different pages behind the scenes<br>(without taking to to an edit screen of your profile page), then we are<br>in the same boat.<br><br>An entirely different approach is to make use of Wiki categories and add
<br>a user's link to the performance page, rather than adding a<br>performance's link to the profile page, and then using categories (or<br>pagelist) to generate lists for each user that lists all of the<br>performances that they have marked (with this links).
<br><br>Again, that isn't what I wanted, but if it would suit your purpose, the<br>solution might be easier, because you would be doing a quick edit,<br>append and save of the currently viewed (performance) page that makes
<br>use of the viewer's identifier.<br><br>Pico<br></blockquote></div><br><br>(And for people who read the end rather than beginning of an email:)<br>Thanks for the suggestion. I would rather the performance be listed on
a user page. Removing a user from the database would remove them from
the performances they have listed, which would be much easier than
removing a user from every performance they list individually. (Hope
that makes sense)<br>
A PmWiki solution would be more desirable than the bookmarklet, although I'll look into that as an alternative. <br>
Thanks!<br>
Robby<br>