Page 1 of 1

Hiding progress bar (v2022)

Posted: Thu Apr 13, 2023 4:16 am
by skymark

Is it possible to hide or disable the progress bar that runs across the top of the page? (For PHPMaker 2022) If so, how does one do it? Thanks!


Re: Hiding the progress bar in PHPMaker 2022

Posted: Thu Apr 13, 2023 8:30 am
by mobhar

Just remove this code from views/layout.php file, and try again:

<script data-pace-options='<?= JsonEncode(Config("PACE_OPTIONS")) ?>' src="<?= $basePath ?>js/pace.js?v=19.12.0"></script><!-- Single quotes for data-pace-options -->


Re: Hiding progress bar (v2022)

Posted: Wed May 24, 2023 6:43 pm
by rembo

removing this line case an error in ew.min.js at line Pace.on('done' => ()) for v2023


Re: Hiding progress bar (v2022)

Posted: Thu May 25, 2023 8:30 am
by mobhar

If you want to obviously remove the Pace feature, then you may make your own Extension in order to remove the related code in js/ew.js template file.


Re: Hiding progress bar (v2022)

Posted: Thu May 25, 2023 10:12 pm
by arbei