Hi, Try http://trac.edgewall.org/wiki/TracDev/PluginDevelopment as a starting point. Also http://trac.edgewall.org/wiki/TracDev/ComponentArchitecture is worth taking a look at.
On 4/16/07, Winger Nick (Semizen) <[EMAIL PROTECTED]> wrote: > > Hi, > > well yeah it "should be" dead simple. What I wanna do is, you are right, > modify an existing wiki-page, to be exact add lines to it. > > I thought of this add comment thing, but I would like some nice link > To trac homepage where there is something about it. How, why and where > this works, and how I can implement that. > > For example you mentioned that editing is also only form posting, but > there > Must be some doku where this is described, how to extend it, and use it > For my own purposes, > > Thx ! > > > > Hi Nick, > > could it be that it's actually dead simple? You could easily build a > HTML page containing a form that will create a new Wiki page when > submitted. After all, editing a new page in trac itself is just a > form that's being posted, too. > > However, I don't see what you would do with it. Every wiki page needs > an unique name, and the submit form would contain that wiki page > name, too. Or would you like to add some lines to an already existing > wiki page? > > A macro/plugin/whatever get's executed whenever it is called, i.e. > whenever a macro is included in a page. Certainly you could use a > macro to create a new wiki page, but that would create a fresh wiki > object every time the page is reloaded. Is that what you want? Again, > you'd need an unique name for it. > > Maybe you even think of something like adding comments to a ticket. > That's easy in python, have a look at the subversion hook scripts to > get an idea of how that is done. You could use this technique to > create a ticket comment in reponse to an email actually arriving on > an email server, which would allow some pretty slick use cases. > > HTH. Kind regards, > > - Christian > > Am 16.04.2007 um 13:01 schrieb Winger Nick ((Semizen)): > > > Hi, > > > > I want to make some simple input Form and generate some Wiki-Html > > code when submitting, e.g. > > Name: > > > > eMail: > > > > Date: > > > > <Submit> > > > > And then I have WikiSite (or TracSite in general) with a table > > > > ||Name||eMail||Date|| > > > > And I just want to fill in this file a new line, after submitting like > > > > ||Nick||[EMAIL PROTECTED]||today|| > > > > > > > > Now can this be done easily like some plugin or makro or do I have > > > > to code python or cs ? > -- > > Christian Aust > mailto:[EMAIL PROTECTED] > icq: 84500990 - AIM: datenimperator - MSN: datenimperator > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" 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/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
