Need to redirect the default space 'home' to a post url
Hi. I have a space where I am hiding all the topics (so no topics menu at top of space).
Why? I am trying to make a super clean interface, like chapters in a book. It is about my book actually. Anyway, I find 2 things in a default space layout problematic:
- The topics can't be ordered so get all scrambled up by alphabetical order...
- I hate the "All" or default space "Topic" feed in a space. Sometimes for discussions is it great. But other times, it is very confusing as it shows all sorts of posts. Even when you pin one post, you can't get rid of thee random ones below it.
I use topics though to organize posts related to each topics. I am using a table of contents TOC post to be the intro post this whole space. Works great.
I also added a space link and made that point to the TOC post. It is also the pinned post on the "All" view, On that ROC post are links to the topic urls. works great.
The problem (small but could be confusing to users) if that when your initially click on that space menu item on the left menu it goes to the default url: /space/myspace/home NOTE: this is essentially the default "All" view.
I also have right side all turned off. It is very clean.
What I want is the click on the default space link to go instead to /space/myspace/post/my-space-toc-post
I have tried JS redirects but can't seem to get anything to fire off. Any help much appreciated
I may be misunderstanding but what about adding a link (Spaces->New Space and select Link for space type) and link to the desired post. Add it to the desired Space Group. Then remove the existing space from the Space Group so it doesn't show in the menu.
Thomas OatesΒ Good morning, I did some more testing. The link idea works BUT (there is always a catch right ;) ) I can't effectively move or remove the original space from there left menu. You can't just delete it from the left menu, as it has to live somewhere. I tried a bunch of different CSS solutions but kept messing up the space when actually viewing posts inside it.
I also tried some various things to try to grab just the space with the using multiple classes and the preceding \
It also kinda looks weird when I click on the link and it doesn't go active visually. I guess I will stick with the space menu link for now.
Maybe I can figure out some JS I could put in the customizer that would hijack the space link and put in the specific post url? Not a game changer by any means, just me trying to push fcom to its limits LOL.
Jamie RobeΒ Just curious....did you try removing the existing Menu Group in the Menu Group dropdown? It is a bit weird that the dropdown list doesn't have a blank option but clicking the X in the far right of the dropdown will remove the existing value. That should remove it from the left menu completely since it isn't assigned to a Menu Group then.
Thomas OatesΒ Just tried your suggestion and that worked. Funny, I had looked at that dropdown but since it doesn't have a blank selection, I didn't try the x. It indeed removed it from the group, but it is still a space. It shows up under the spaces menu item.
So this is actually looking pretty clean now. Thank you!
Jamie