On Tue, Sep 22, 2009 at 4:06 PM, Kevin <[email protected]> wrote:
> Some of the other stuff you included is of interest. I think I could use
> the header/footers by turning them off when at the main page. will play
> with that after I get the rest up and running...
You can do [if ! equal {p} main]... of course, but if you create
whiteboard.header, it will only be used in the whiteboard hierarchy.
Same with footers. This is the powerful thing about inheritance in
BoltWire. Virtually everything is hierarchical: skins, actions, zones,
config files, etc. Everything possible.
>> Why not use the commentbox plugin? Very simple. And faster than having
>> all the updates on a separate page. Also, makes it easy to rename or
>> backup files--all the issues on one page.
>
> Have to keep this as dumb proof as possible, I also have to train how
> support can modify and edit incorrectly created pages as that will happen.
> The key is consistent look, as little modifying of the pages themselves as
> possible.
It is possible to configure the comment box to make it possible to
edit comments. Combined with section edit, could be really easy... I
actually have been doing some advanced work on that plugin of various
kinds of things. Haven't released the changes, but I've made enough
progress to know it's doable. Still your solution has it's advantages.
I argued for that long ago (each "comment" a separate page) quite
eloquently. But in the long run, I concluded the advantages of keeping
everything on a single page outweighed the advantages of dynamically
generating a display from multiple sub pages every page load. You will
have to make that decision. BoltWire gives you the flexibility. But it
won't be easy to make the change down the road...
BTW, you don't need to use the exact commentbox plugin. You could very
easily generate your own custom form. For a hint, what if you had:
[box comment][box]
[session template #comment]
[session source {p}]
[session edit {=source}{=template}]...
[[#template]]
----
!! Posted {+time} by {+id}
{+comment}
[[#end]]
Actually I don't a template command but I've been thinking we really
need one. :) Unless theres someway to do this I've forgotten... But
with sectionedit enabled you'ld easily be able to edit each section
separately. It might take some tweaking to work out the detail, but in
the long run I think it would be better solution. It definitely makes
it easier if a person WANTS to edit the entire page, simplify the
gibberish into some kind of brief synopsis or whatever.
Of course the way you are doing it is the simplest and does give you
many advantages. Particularly in terms of flexibility. The kind of
thing BoltWire was designed for. Much more than the commentbox kind of
approach which has to use some complicated programming. And it might
never do all you want.
> I have everything working now except the update form. Haven't been able to
> start on that yet but I assume it will work the same way as the creation one
> does, but I need to pickup the title and page number of the main page it is
> updating.
Let me know if you get stuck on anything. Next time will be much
easier. You got most of the main parts of the system down now it
seems.
Cheers,
Dan
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---