You may not need any special code for this. If you want each memory to be a sub-page of the place/building page (which makes sense), you can just have an "Add memory" link within each place/building page, using either #forminput or #formlink to get the user to a form for just that memory, depending on whether you want to set their own title, or the form should create an automatic title like "Memory 1", "Memory 2", etc. If you use #forminput, you can pass in the current page name as the "super_page" value in order to make the generated page title automatically be a sub-page. I don't know if there's a way to do the same thing with #formlink and automatic page titles, but there should be. :)
Once the user has saved the form, they end up on the page for that memory, and if it's a sub-page there should be a link at the top to take them back to the main building page. -Yaron On Tue, Dec 30, 2008 at 10:44 AM, Joe Hoover <[email protected]> wrote: > > One of the things I have been trying to create is an easier way for > users to comment and add memories. Currently the way we do it at > Placeography.org is to use the Multiple-instance template feature. > While it has worked well for some things on our site it has been > confusing for most of our users for adding memories. It does not get > used much and memories have been deleted by users by accident. I was > intrigued by the nice way ardorado.com handles it and their "Write > about this interest" link which then ties the submitted comment to the > user as a sub page which in turn is brought in through on the correct > page via semantic query. The problem is it appears ardorado.com is > using an extension function to accomplish this called PNLToolBox. I > think that was a rather genius solution. However, I am unfamiliar > with that extension or how it works its magic. Anyone here know of it > and and is it something that would work at Placeography? The only > thing different is I would rather have the function tie the comment > sub page to the place/building page rather than the user page. > > I've have hacked together a rather sad and unsuccessful attempt on the > sandbox page. > http://www.placeography.org/index.php/Sandbox > > Thanks, > _Joe > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Semantic Forms" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/semantic-forms?hl=en -~----------~----~----~----~------~----~------~--~---
