[pmwiki-users] link to new page and edit
Chris Carter
ccarter at lbcc.edu
Fri Sep 14 11:55:21 CDT 2007
Thanks for the help Dave. It was not exactly what I was looking for but it sparked some ideas.
It's probably obvious to many of you, but I added ?action=edit to my link. I then added $EditRedirectFmt in config.php, so when users click Save, the page redirects to the previous group.
That seems to do it.
Chris Carter
________________________________
From: David Fionda [mailto:dfionda at candeos.com]
Sent: Thu 9/13/2007 5:20 PM
To: Chris Carter
Subject: RE: [pmwiki-users] link to new page and edit
Chris
THis worked like a charm for me...
http://www.pmwiki.org/wiki/Cookbook/CommentPageLink-Talk
See the steps at the bottom of the page
Best
Dave
________________________________
From: pmwiki-users-bounces at pmichaud.com [mailto:pmwiki-users-bounces at pmichaud.com] On Behalf Of Chris Carter
Sent: Thursday, September 13, 2007 6:40 PM
To: pmwiki-users at pmichaud.com
Subject: [pmwiki-users] link to new page and edit
Dear PmWiki community,
First I want to thank those that answered my last question a week or so ago. The comment box and include solutions should work well.
I have a new issue...
1. How can I make a link on one page that, when clicked, opens another page in edit mode automatically?
2. Then, when the page is edited and saved, how can PmWiki return to the first page?
An example:
Pretend I have a page called Main.Comments with a series of links in a table of contents at the top of the page. If someone clicks on a link, say "Comments on Travel," I would like the Main.TravelComments page to open in edit mode automatically. When the user saves the edits, I want to automatically return to Main.Comments, where I will have an (:include:) directive that shows their comments.
As per my last email, I think this is the best way to password protect all pages except those such as Main.TravelComments.
Lastly, could the Captcha recipe be included in this process somehow? That should cut down on bots, correct?
Thanks.
Chris Carter
(non-programmer newbie)
(but learning fast!)
More information about the pmwiki-users
mailing list