Hiding progress bar (v2022)

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
skymark
User
Posts: 183

Hiding progress bar (v2022)

Post 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!


mobhar
User
Posts: 11660

Post 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 -->


rembo
User
Posts: 227

Post by rembo »

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


mobhar
User
Posts: 11660

Post 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.


arbei
User
Posts: 9286

Post by arbei »


Post Reply