I looked into this some, and realized it is only a problem with the sumbox
in the site. page. The easiest fixes are to
1) Don't put the sumbox on the site page. Perhaps in your header put [if !
equal {p} site]<(sumbox)>[if]

2) Don't enable the plugin for the site group. Basically, enable it for the
hierarchies of your site that you want.

3) Hack the code in sedit.  Basically you want to convert the $label
variable in line 26 into something without a link so it fits in line 27
properly. The issue here is that the heading in page site are themselves
links. And should be. There's no way conceptually to put links in a link...

4) The other option is to customize the site page however you want. The
easiest option might just be to change all the headers on the page to plain
text with no links. Then you can use the sumbox with no problem. But you
will lose some functionality.

So here's four ways to fix the issue. I'd like to settle on something for
the core, so this problem will not come up again, but I'm not sure the best
approach. Any suggestions?

Cheers,
Dan


On Tue, May 19, 2009 at 8:16 PM, Mark Marijnissen <[email protected]
> wrote:

>
> I realized I easily can confirm my suspicion - and yes, i was correct.
>
> the SectionEdit plugin does not parse the headings (at least not any
> links), so the anchors are displayed. It is annoying you can not use
> links within !! headers and the section-edit plugin. Also, I would
> like the "edit" en "top" links to disappear when I print the page.
>
> I do not know if there is anybody that can alter it. I think I go look
> for myself tomorrow if I have some time to fix these issues.
>
> cheers, Mark
>
> On May 20, 2:12 am, Mark Marijnissen <[email protected]>
> wrote:
> > Hi!
> >
> > The
> >
> > "is
> > <box>box</box>
> > ok?"
> >
> > caused the trouble. So this is when you use box without line breaks.
> > The enclosed one causes also trouble, but you do not notice it since
> > the lines above and below the box are empty. It does not matter
> > though, since I fixed it by changing the style. If you put a box
> > between lines, the line space will now increase to fit in the box, but
> > this is the behavior I want.
> >
> > I like the old-layout better. Is there a way to get that back? Should
> > I just look it up in an older version of boltwire? Also, I get these
> > weirds "[[#site]]Site" texts in my headings. I think this is because I
> > use the section-edit plugin, and that plugin does not parse links in
> > the !! headers.
> >
> > cheers, Mark
> >
> > On May 18, 11:29 pm, The Editor <[email protected]> wrote:
> >
> > > If you look athttp://boltwire.com/index.php?p=test.badboxyouwill
> > > see that depending on how you do the markups, you get different
> > > results.
> >
> > > The way it works, is a line return in the box means to set it as a
> > > div. Otherwise it sets it as a span. You can see the difference in the
> > > html.  You should only use the box tag without linebreaks when it is
> > > indeed in a span, or part of line. Not an entire line by itself.
> > > Otherwise you could the result you see here.
> >
> > > I'm not sure if it's a but or just a consequence of BoltWire doing
> > > what you tell it to do. Changing the style would likely cause
> > > imperfections in other situations. I haven't researched it fully. But
> > > I do know I spent a LOT of time trying to get the line spacing to work
> > > right and produce valid xhtml. I'm hesitant about changing things if I
> > > can avoid it.  :)
> >
> > > Cheers,
> > > Dan
> >
> > > On Mon, May 18, 2009 at 2:19 AM, chFaure <[email protected]> wrote:
> >
> > > > On 17 mai, 21:46, The Editor <[email protected]> wrote:
> >
> > > >> As for the box style, could you give an example of markup that
> doesn't
> > > >> display right? It seems to work right on my site, but it may be I
> have
> > > >> other style rules that go with the box style to get the line spacing
> > > >> right.
> >
> > > > I confirm a small trouble with <box> and <code>...
> > > > "The code
> > > > <box>this box</box>
> > > > is now ugly."
> >
> > > >  gave 3 lines :
> > > > The code
> > > > [ this box ]
> > > > is now ugly.
> >
> > > > Since 3.04
> > > > the box is above the text.....
> >
> > > > We can avoid this closing the box in an "empty line"
> > > > The code
> > > > <box>this box
> > > > </box>
> > > > is now OK...
> >
> > > > But before 3.04, it was not possible to enclose a box in the text...
> > > > using
> > > > I'm an <box>inserted box</box> in a sentence...
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to