>Date: Tue, 15 Jul 2008 14:05:33 +0000 (UTC) >how can i tell the search result (in this example, Main.00001), when clicked >to open Main.00001?action=editeform > >i'd prefer users not to see the viewform style when a search has been done. >would the ?action=editeform need to be specified in pmwiki.php? this search is >site specific so i don't mind it being changed as a default. > >thanks for any suggestions! > >david > There are 2 options:
1. use a (:wikilist page=form ... :) directive, which appends an editeform action to the pagename link in the listed pages 2. use a (:pagelist:) directive with a custom format; see http://www.pmwiki.org/wiki/PmWiki/PageLists#pagelistfmt you'll need to make sure that the pagelist directive only returns pages of the form Group.ddddd (5 digits) or include logic in the custom format that uses a regular edit action for non-numeric pages in the list Option 1 would be the simpler, if it meets the requirement. Some users have done quite sophisticated things with per-field search criteria. Hope this helps -- John Rankin Affinity Limited T 64 4 495 3737 F 64 4 473 7991 021 RANKIN [EMAIL PROTECTED] www.affinity.co.nz _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
