On Mon, Mar 2, 2009 at 3:26 AM, Hans <[email protected]> wrote:
>
> Two things i noticed with the latest release:
>
> 1. the toc has empty lines between each item now.
> Removing  a linebreak in template.toc seems to fix this.

Seems there is an extra \n at the end of template.toc. I'd recommend
editing the system template.toc page, as it will get upgraded in the
next release.

> 2. I got various triad skin pages, and this markup was showing them:
>
> [(search group=*triad template=link)]
>
> but now it renders only a column of text:
>
> link
> link
> link

I think that is supposed to be group=triad*. The * only work at the
end. Not true wildcards, I'm afraid. You can do, however type=triad to
get all the pages that end in triad.

As for the output, this would be the output if no template is found.
Here is the general process:

                        if ($actionLink != '') $temp = 
BOLTloadpage("$actionLink#$fmt");
  [[#link]] on an action page, if an action called.
                        if ($temp == '') $temp = BOLTloadpage("$pageLink#$fmt");
  [[#link]] on current page
                        if ($temp == '') $temp = 
BOLTloadpage("template.$fmt.$BOLTskin");
 contents of page template.link.triad (or your skin)
                        if ($temp == '') $temp = BOLTloadpage("template.$fmt");
         contents of page template.link
                        if ($temp == '' && $fmt != $pageLink && 
BOLTexists($fmt)) {
       contents of page link if it exists and view permissions
                                if (BOLTauth($fmt, $BOLTid, 'view')) $temp = 
BOLTloadpage($fmt);
                                else $fmt = '';
                                }
                        if ($temp != '') $fmt = $temp;                        
else, use
actual inline value of  $args['template'] (for single line templates

These inline templates mean you can do

[(search type=triad template="{+p}... my skin page")]

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