Page 1 of 1

Move Breadcrumb

Posted: Thu May 26, 2022 4:37 pm
by hinermat
Is it possible to move the breadcrumb list from it's location in the header bar? We would like to move it onto our form as we are using a custom header. I can't seem to find any nuBuilder functions or hash variables that contain this information.

Thanks!

Re: Move Breadcrumb

Posted: Thu May 26, 2022 6:26 pm
by kev1n
Hi,

Example, to move the "nuBreadcrumbHolder" above the tabs:

Code: Select all

function nuOnLoad() {

    moveBreadcrumbHolder();

    if (nuFormType() == 'edit') {
        // Edit Form loaded
    } else
    if (nuFormType() == 'browse') {
        // Browse Form loaded
    }

}

function moveBreadcrumbHolder() {

    let bc = $('#nuBreadcrumbHolder');
    bc.clone()
        .prop("id", "holder2")
        .insertAfter('#nuActionHolder')
        .css({height: 26})
		
    bc.remove();
		
}



Re: Move Breadcrumb

Posted: Thu May 26, 2022 7:23 pm
by hinermat
Perfect, Thanks!