Ramsesx Posted May 13, 2022 Posted May 13, 2022 I created a custom report link on a database page and would like to have it open a specific report type (ID=3) when pressed. <div class="ipsButton ipsButton_importantRed"><a class="link_importantRed" href='{$record->url('report')}' data-ipsDialog data-ipsDialog-size='medium' data-ipsDialog-title="{lang="content_record_report" sprintf="$record::database()->recordWord( 1, TRUE )"}" data-ipsDialog-remoteSubmit data-ipsDialog-flashMessage="{lang="report_submit_success"}" title="{lang="content_record_report" sprintf="$record::database()->recordWord( 1, TRUE )"}">{lang="content_record_report" sprintf="$record::database()->recordWord( 1, TRUE )"}</a></div> Any idea to achieve this would be highly appreciated. Thanks.
Recommended Posts