-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 27.03.2015 20:13, pineapplehandler wrote: > continuing: I'm still struggling to understand how the... [fieldscheck] > and [ticketvalidator] entries in trac.ini are passing their values to > the code, but I think all I need is some time to understand it.
Generally you should rather write below previous message's text. Avoid top-posting, because it effectively ruins reading flow (top-down for most languages). On you current topic: There are definitions you can use to establish know configuration options. Look at Option and friend in trac.config. Furthermore you'll find many examples, where options are declare in a plugin class. These options are then made class attributes, and you can read their current value by calling either self.option_name or self.config.get(<section>, <option_name>) Note that configuration changes applied permanently will trigger Trac environment reload (incl. configuration). Hope, this will get you make it a bit easier for you. Steffen Hoffmann -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlUVxxUACgkQ31DJeiZFuHczNgCfX+krHwKFYM+nRhkBnfw4+ul0 C+QAn1OBaZMd63n3YYP0WiiNPPJl5rF0 =Xwax -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
