[pmwiki-users] including Wikiform issue in a page

Tegan Dowling tmdowling at gmail.com
Mon Jan 23 10:21:04 CST 2006


On 15 Nov 2005 14:45:51 +1300, John Rankin <john.rankin at affinity.co.nz>
wrote:
>
> On Thursday, 10 November 2005 3:40 AM, nexyufuli evo <noskule at gmx.net>
> wrote:
> >Use wikiform as a contact form ( with name, adress, phone, ... . )
> >Could there be a configurable solution for using words for the entrys
> instead
> >of numbers, or some complytly other solution to do it?
> >
> >
> >
> See the new version at http://www.pmwiki.org/wiki/Cookbook/WikiForms
>
> First, note that a wikiform-i18n-xx.php file is now required, for
> translations of display elements.
>
> The script now supports ?action=editeform for any pagename, not
> just pages it automatically numbers.
> Unfortunately, we aren't quite there yet. The (:wikilist:)
> directive looks for page names that are all digits, so it's
> not going to find any of the pages created using the above
> method! This ought to be possible, but I don't have an
> answer at the moment.
>

Hi, John:

Like several others, I also would like to be able to use the matrix provided
by (:wikilist:) as a contacts table.  I'll have just a few selected fields
visible in the (:wikilist:), and let users click through to other pages for
more information about the individual contacts.

The individual pages for the contacts would not be the numbered pages that
feed the (:wikilist:), because I want the page names to be the names of the
individuals, and I want to be able to format the contact pages and add
pictures, etc.  This means that each entry in the (:wikilist:) will
correspond to two individual pages: one that feeds the wikilist, and one
that the user will visit for more information.

For the time being, I'm ok manually generating the contents of each pair of
pages to get the layout and formatting I need on the contacts page, and to
create field contents on the wikiform pages that feed the wikilist as needed
to create and display records in the wikilist like this:

Wikilist:
Header row: | First Name | Initial | Last Name                          |
etc | etc |
Record row: | First          |  M     | [[Group.FirstMLast | Last]]    | etc
| etc |

So I'd like to NOT show the first, "page name" column in the wikilist. Even
if the wikiform pages that feed the wikilist are still numbered, I'd not be
wanting to link to them, so I'd like to not show the column with the links.
Instead, users would click on the entry in the Last Name field.

That's my immediate, short-term request:  Can I suppress the display of the
first column?

Longer term, it would be great if that [[Group.FirstMLast | Last]]
1) could be automatically generated from user input: concatenate the input
from the first three user fields (in camel case, and ignoring any of the
three fields that might be empty) and make that the page name, with
link-text formed (optionally, I suppose) from just the selected field; and
then
2) could actually be the wikiform page that feeds the wikilist, if the
wikilist could find it, and
2a) if the author/admin could format the wikiform page, adding text and
images that the wikilist would ignore if they aren't form fields.

Thanks for your consideration!

Tegan Dowling
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20060123/1afb2bf5/attachment.html 


More information about the pmwiki-users mailing list