Sure. Code snippets:
// SEARCH syspages: header,footer,side,top,bottom,template*,site*,code*,action*,login*,.* // SKIN SETTINGS ... default content ... Search: [(search dir=pages exclude=$$syspages)] The results include pages in the following hierarchies: site.* action.* (not all) code.* and zones. Interestingly the first search result is "mypage.DS_Store". ".DS_Store" is a Mac system file which I wanted to exclude with ".*". These files reside in folders, though "mypage" is not a folder but a file. No idea, why BoltWire puts the system file below a page file in the hierarchy. If I don't use the snippet, the very same code works: [(search dir=pages exclude=header,footer,side,top,bottom,template*,site*,code*,action*,login*,.*)] Any idea? Regards, Markus On Oct 7, 12:52 pm, The Editor <[email protected]> wrote: > Can you give me some sample code (more details) and the snippet entry > that's not working. On my tests, it works perfectly. > > My guess is, there is an error somewhere on your site. > > Cheers, > Dan > > > > On Wed, Oct 7, 2009 at 3:39 AM, Markus <[email protected]> wrote: > > > I tried to use snippets inside a search function call and it was not > > replaced with the string defined in code.snippets. This problem > > occurred with some previous versions too. > > > Regards, Markus > > > On Oct 6, 3:50 pm, The Editor <[email protected]> wrote: > >> Sorry for the problems with this. It is my fourth attempt to get out a > >> polished release. But I think we may have finally got the new > >> zones/site page working this time! I've just reuploaded and updated > >> the changelog to include notes of additional fixes affecting skin > >> arrays in site.config and a bug in loadpage. > > >> * Reworked how snippets are injected into zones. Now they are sent > >> unescaped, with only the "pre" markup rules processed on them. No need > >> for special handling in functions or conditionals. > >> * Fixed bug in image markups causing parameters to be doubled in html > >> output. > >> * Added automatic double line breaks to the end of each zone in the > >> getzones function to help ensure last paragraphs get properly styled. > >> Watch out for styling issues in your skin. > >> * Zones function now return a csv list and can take code or content > >> for parameter one. This zones //action// is now piped through the list > >> function to get similar output as before. > >> * Reworked the zones section on page "site" to give more relevant > >> output, and called it skin (skin pages). > >> * Tweaked the skin selection process to give better functionality and > >> a `{skin} var. Also the site.config system was slightly enhanced to > >> handle skin arrays better. > >> * Fixed another bug in the loadpage function involving calls like > >> some.page#, where no anchor is found on the target page. > > >> My apologies for the flurry of releases today. I appreciate all the > >> quick feedback and your patience in getting this to work.. > > >> 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 -~----------~----~----~----~------~----~------~--~---
