[prev in list] [next in list] [prev in thread] [next in thread]
List: interchange-users
Subject: [ic] trouble setting comp_dir option in [component] tag
From: "Rene Hertell" <interchange-users () hertell ! com>
Date: 2003-11-28 21:15:13
[Download RAW message or body]
Hi,
I'm trying to figure out how to set the comp_dir for one component on a page so that \
that component will be included from a different directory. I tried the following \
setup, but it does not work:
[control reset=1]
[control-set]
[component comp_dir=templates/mytemplate/components]category_horizontal[/component]
[page_class]user_admin [/page_class]
[set_selector]top[/set_selector]
[/control-set]
[control reset=1]
@_LEFTONLY_TOP_@
[snip]
But if I set the next piece of code on the top of my page, then that directory is \
set, but page-wide: [calcn]$::Variable->{MV_COMPONENT_DIR}='templates/mytemplate/components';return;[/calcn]
(the code that sets the comp_dir looks like this in in \
icdir/code/UserTag/component.tag my $dir = $opt->{comp_dir}
|| $::Variable->{MV_COMPONENT_DIR}
|| 'templates/components';
)
Any hint would be really much appreciated!
Regards,
Rene
_______________________________________________
interchange-users mailing list
interchange-users@icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic