Looks like you've got a good handle on things. Congrats for catching on so quick. And that you got your system working. Looks complex.
As for the help system, it's only a supplement to the online docs. But it's only a tiny bit of code, and gives some helpful info, at least to developers. It also gives a nice little cheat sheet if the user is not an admin (try adding &help to a url when you are NOT logged in). But admittedly, it's only little notes. The real documentation is online, at the BoltWire site. Probably soon available as a zipped download. Cheers, Dan On Tue, Mar 24, 2009 at 9:07 AM, DrunkenMonk <[email protected]> wrote: > >> Great. What are you wanting the counter function to do? Maybe I can >> offer a suggestion or something. > > I've got it working: I'm converting my ticket-sales tracking pages to > a form based interface instead of just me writing stuff down > explicitly. > I actually had a python script being run generating {p}.total pages > before, largely since I didn't realise there was a counter function, > and didn't know form commands well enough. > > So I've got a group of people who have checked out tickets to sell, a > group of tickets that have been sold, and a group of tickets that have > been reserved by mail. > I simply needed a system to count how many are reserved, so I can stop > booking tickets when they've run out. > > essentially: > > [template first][(counter = {:nSeats} id=remaining)] > [template each] > [r][c]{+:amount}[(counter - {+:amount} id=remaining)] > [c] {+:groupName} > [c] {+:seller} > [template last][r][c]remaining: [(counter + 0 id=remaining > output=true)] > > Except it's actually two templates and the code is a bit more spread > out. > I assume theres a better way to display a counter than the last line > of code, but I was too tired to find it. > > I now use the same header to control ticket sales for 5 shows and the > party. It's something of an improvement. > >> Good. Don't bother to upgrade the codebarn docs, as that was supposed >> to have been deleted in favor of the new help system. Didn't realize >> those links were still there. > > The new help system has potential, but I think more usage oriented > help-texts would be more useful than the description oriented texts I > saw... > > The system is very similar to matlabs help command. I like it. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "BoltWire" 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/boltwire?hl=en -~----------~----~----~----~------~----~------~--~---
