how to get vpath through .ipl??
in the context of custom menu CGI - via the form parameters. Similarly to what described above.
use TeamSite::CGI_lite;my $cgi = new TeamSite::CGI_lite;$cgi->parse_data();. . .my $forms_vpath = $cgi->{form}{vpath};
Form's 'vpath' is a scalar that indicates where you were when CGI was called. There are various ways to get it. For example: use TeamSite::CGI_lite;my $cgi = new TeamSite::CGI_lite;$cgi->parse_data();. . .my $forms_vpath = $cgi->{form}{vpath};If some assets in this vpath were checked names are passed as {form}{name_0}, {form}{name_1}, etc...Plenty more information is supplied (full path, Object ID's, etc). IW provides "show_env" cgi script to see all that. Configure it in the menu, check few files/directories and run. You will see all you need to know to proceed on your own
why are you replying to my post? did I ask you teh question?