Changing nav links

I’m presuming that ares-webportal\app\templates\components\global-navbar.hbs is where the navigation links are living.

Making changes here and re-deploying the website doesn’t actually result in changes to the nav bar, though.

Am I in the wrong place? Missing a step?

Did you try shift+F5 (or whatever your browser’s equivalent is to ignore cache)?

I went down this rabbit hole.

1 Like

That is indeed the right file to change. As @KarmaBum mentioned, sometimes a force-refresh is needed due to browser-side caching.

You can also check the game log to make sure that there wasn’t an error during the re-deployment. I don’t think errors come back to the MU screen (which is probably not good - I’ll see if I can fix that.)

For example on my test server I messed up the directory and get:

2018-03-13 15:22:24 DEBUG - AresMUSH::Website::WebsiteDeployCmd: ID=1 Enactor=Faraday Cmd=website/deploy
2018-03-13 15:22:24 INFO - Deployed web portal: sh: /blahblah/ares-webportal/bin/deploy: No such file or directory

So it didn’t actually deploy.

1 Like

Hm. Yeah, I tried the forced browser refresh.

Oh hey, there are errors in my log. I’ll see if I can figure out what’s the what. Thanks!