I have a couple of days trying the following:
1. I have a menu with a list of items from a table (table1).
2. I have a few pages with calls to the same elements of the table from $ MANY_MANY relationship
I access the url through getURLParams () from a function in the parent page:
public function get_url_action() {
$full_url = $this->getURLParams();
$url_action= $Params[Action];
return new ArrayData(array("url" => $url_action));
}
I call it with
<% control get_url_action%>
$ url
<% end_control%>
can be:
<% Control Children%>
<% Control table1%>
<% If value_table1 == get_url_action%>
I can see the data from the Children page
<% end_if%>
<% end_control%>
<% end_control%>
thank you very much, I'm a little lost.