[pmwiki-users] Putting a list of "include" files on the edit page

Waylan Limberg waylan at gmail.com
Tue Jan 17 09:33:55 CST 2006


Welcome my fellow mountain biker :-)

To be honest, I'm not 100% sure I understand your question, but I
think you may want to look at pagelists
(http://www.pmwiki.org/wiki/Cookbook/PagelistExplained).

Looking over you newletter I can see a few possibilities. Each
event/ride could have its own page. Then you could create a few lists
(upcoming events, recurring events, etc...) and use the (:pagelist:)
directive (perhaps with various PageListTemplates to define the
format) to display them in your newsletter. That way, if you want to
edit a specific event, go straight to that event's page and the
changes will automatically appear in the newsletter. Want to add or
remove an event, just add or remove it from the appropriate list and
the newsletter will be updated.

If you want to include some more static content, then the (:include:)
directive may be what your looking for.
(http://www.pmwiki.org/wiki/PmWiki/IncludeOtherPages)

Hope this helps. If you were looking for something different you'll
have to be more specific (I'm not quite sure what you mean by "on the
edit page").

PS: Love the email address - keeptherubbersidedown - that can be
tricky at times ;-)
--
----
Waylan Limberg
waylan at gmail.com

On 1/15/06, scratch at keeptherubbersidedown.com
<scratch at keeptherubbersidedown.com> wrote:
> How can I put a list of pages that I want to use as includes on my edit page? I'm a newbie, so it's OK to point me in the right direction as a first try. In other words, what do I search for or are there examples. For this purpose, the default skin is fine. I think I'll create these pages on some kind of admin page. I'm not (yet) planning to have the whole site PmWiki, just this one page I have to make every month.
>
> Background, not needed to answer question.
>
> A newbie here. I've looked at various wikis off and on and finally see the light and the power of PmWiki. I want to use it in two different ways. One is pretty much as intended—to allow non-Geek users to edit pages. So far no problems there.
>
> The other relates to the question above where I want to use PmWiki to edit a monthly newsletter that lists our weekend mountain bike rides. For each weekend day, there is a date, ride description, leader contact information, directions to starting place, and starting time. I'll use PmWiki to set up a database of sorts. So I'll have an "include" for different starting places (different rides start from the same place), different leaders and contact information (leaders lead the same and different rides). A current example (written in raw HTML and then copied and mailed to a emailing list.) is at http://www.sbmbc.com/newsletter.php?c=200601. I want to get away from the tedious HTML editing. I'll accept simpler formatting that this may entail. My testing/development is at http://www.sbmbc.com/pmwiki-sbmbc/, although there isn't much to see and I know it's not done correctly.
>
> Thanks for any hints.
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users
>


--
----
Waylan Limberg
waylan at gmail.com


More information about the pmwiki-users mailing list