> (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';
>

The first did not work for me, at least i could not get a variable out
of it to use in the skin template.
The last works. I notice that 'site' pages also need some protection.
But I like to think on this  a bit longer, as it is not ideal to just
disable rtl for some page groups. I am not sure about all the
ramnifications. For instance how does one edit a config page if your
key input is rtl? Hmmm, answer is probably: it is easy to switch the
browser's text input direction.

But what would look a lot better are rtl exempt pages only showing rtl
exempt content, and the rest stays the same: sidebar left, menus from
right to left, page header text on right etc.
I'll see if i can find out more about this.

~Hans

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