Landing Page toggle on off in admin; I think maybe some will or some won't like the landing page and would rather go straight to All Forums or would maybe switch it on when there's a lot to say?
I don't know how hard this would be.
Possibly not that easy as it is tied into the structure of the breadcrumbs but will take a look.
ππ»
Found a fairly simple way to achieve this
Code added for this
It was fairly simple to implement, however it comes with a couple of caveats.
Yea I wouldn’t want it to cause problems, it’s impressive that you found a way to do it but if it’s gonna cause issues maybe let it be…
It will only cause probems if you change it to something else, not sure how long browsers cache it for, but clearing the browsers cache will fix it.
Worth a trial then?
Worth a trial then?
Originally posted by doughnut
To set the landing page, you can use the new "FileManager" option on the Admin menu, when the file manager loads you should see a file called appsettings.json
, select this file and click the edit icon on the filemanager toolbar.
When the file opens, look in the SnitzForums
section and you will see a setting for "LandingPage
" change it's value from ""
to "AllForums"
and save the file.
Saving this file will trigger an app pool recycle so there may be a small delay when you try to open a new page while it reloads the application.
If you now try to go to the "home" page it should redirect you to AllForums and hide the "Home" links in the breadcrumb.
Be careful when editing this file, if you make a mistake it may prevent the application from reloading.
It doesn't seem to save the changes as far as I can tell. After saving there was no change so went back in to the file and it was still in it's original state " ", I tried about three times but no change.
It doesn't seem to save the changes as far as I can tell. After saving there was no change so went back in to the file and it was still in it's original state " ", I tried about three times but no change.
Originally posted by doughnut
I just fixed that
It didn't like that...
I see what it did, it changed the path from carp-uk.net/playdough/ to carp-uk.net/AllForums
I see what it did, it changed the path from carp-uk.net/playdough/ to carp-uk.net/AllForums
Originally posted by doughnut
???? Uhm, it shouldn't do that the Landing page should still respect the /playdough/ part. I tested it here and it worked fine will take another look
FIxed now, was a problem with the redirect
Just gave it quick go, a good solution imo, pretty simple to do ππ»