Nuxeo mailing list archives
[CPS-devel] Re: migrating a site to cps
Andrius
andrius.all at gmail.com
Sat Mar 3 11:07:31 CET 2007
>
> should look like this:
>
> ##########################################
> <tal:block condition="python: display == 'navigation_tree'">
> <tal:block
> define="show_icons ds/show_icons;
> show_icons python: int(show_icons);
> contextual ds/contextual;
> end_depth ds/end_depth;
> folderItems python: context.getNavigationItems(
> root_uids=root_uids,
> context_rpath=context_rpath,
> context_obj=context,
> contextual=contextual,
> end_depth=int(end_depth),
> start_depth=int(start_depth),
> display_description=display_description,
> display_hidden_folders=display_hidden_folders,
> );
> #########################################
>
You should add one more line: end_depth ds/end_depth;
##########################################
<tal:block condition="python: display == 'navigation_tree'">
<tal:block
define="show_icons ds/show_icons;
show_icons python: int(show_icons);
contextual ds/contextual;
end_depth ds/end_depth;
start_depth ds/start_depth;
folderItems python: context.getNavigationItems(
root_uids=root_uids,
context_rpath=context_rpath,
context_obj=context,
contextual=contextual,
end_depth=int(end_depth),
start_depth=int(start_depth),
display_description=display_description,
display_hidden_folders=display_hidden_folders,
);
#########################################
This list archive provided by Nuxeo, the
leaders of open source ECM.
Check out the Nuxeo 5 open source,
standards-based ECM project.