On Thu, Feb 26, 2009 at 12:32 PM, Hans <[email protected]> wrote:
>
> I suppose one could also use rtl=1 as breadcrumb argument, as the
> switch is only needed for rtl, the default is left to right and no
> switch needed.

Probably we could do rtl=true. No 1's and 0's in BoltWire, yet.  :)
Just changed...

> I still do not know how to prevent individual pages from getting the
> dir=rtl parameter into the <HTML >tag. Perhaps you can tell me. Like
> for all code pages a rtl setting in site.config shall be ignored. Use
> conditionals in site.config?

There's no built in method for putting conditionals in site.config...
However, just for the fun of it I tried:

(site.config)
textDirection: [if ! equal {p1} code]RTL[if]

then in breadcrumb:

$direction = BOLTdomarkup(BOLTconfig('BOLTtextdirection'));

And it works just nifty.  Quite cool actually... Interesting.  Can't
easily work this into the config process automatically, however,
because config  values are set long before BoltWire is ready to start
running markup rules...

The "proper" approach, at least if you had asked me yesterday, would
be to do something like this in config.php:

if ($pageArray[0] != 'code') $BOLTconfig['textdirection'] = 'rtl';

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

Reply via email to