You can set up local configuration options in a config folder of the field. It's not necessary, but it allows you to modify the php config options direction for the entire site, or any section of it. Very powerful, if you are into using the php.
Cheers, Dan P.S. Glad we got the filtering working! On Wed, Nov 25, 2009 at 1:33 PM, Markus <[email protected]> wrote: > > > On Nov 25, 2:57 pm, The Editor <[email protected]> wrote: >> On Fri, Nov 13, 2009 at 1:32 AM, Markus <[email protected]> wrote: >> >> > I am already using this behavior. :) But what happens if your title is >> > "who is dan?"? You will be redirected to page "who_is_dan?" which will >> > be missing. It's title will be "who_is_dan". Obviously, this seems to >> > happen as BoltWire does not test for question marks in titles if you >> > use [session target '{=title}']. >> >> > I am not sure what the best solution is. action.create with a text >> > field for page name and title, with auto-fill if you enter one of >> > them? Creating a plugin that converts the title so you can use >> > [session target '{=title}'] and still get valid page names (with ?!., >> > etc. removed)? >> >> I think I see now what you are saying. To get a title like "Who is >> Dan?" to be converted to a proper page name like "who-is-dan" you have >> to filter it. Like this: >> >> [text title] >> [session filter_title '{=title}'] >> [session target '{=filter_title}'] >> >> or to use a special shortcut that saves a step: >> >> [text title] >> [session target_title '{=title}'] >> >> The _title part tells BoltWire to use the $BOLTmyFilter['title'] array >> (defined line 119 in engine.php). You can modify it in a config file >> as desired, such as to get underscores instead of hyphens for >> replacing spaces, and any other changes you wish. Or create your own >> custom arrays with different keys beside "title". > > Maybe I should know but what kind of config file are you talking > about? > >> I'm planning to rework (or at least rethink) the filtering system in >> BoltWire in the next round of releases, so this may change, but I'll >> be sure to keep everyone posted. Let me know if this doesn't do what >> you want. I didn't test, just posted from my memory of what it's >> designed to do. >> >> 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. > > > -- 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.
