[HowTo] Set Conversr Forums as Home Page!

Post

Posted
Rating:
Item has a rating of 5 (Liked by KingBastLiked by Chris Graham)
#2506 (In Topic #459)
Avatar
Standard member
mythus is in the usergroup ‘Community saint’

A little tip for those who want the forums as their site home.

Composr is a heavily flexible CMS that if you have the know how and take the time to learn how Composr does things, you can really make your site however you want it. For me, my site is meant to be centered around a wiki and forums. I don't make much use of the default homepage and would much rather have the diverse and always lively forums be the first thing visitors to my site see.

Composr makes this easy using a secret weapon called Redirects. With Redirects, you can set any page as your home page. Of course, it doesn't stop there. You can even use the power of Redirects and Virtual Roots to make each forum act like its own set of forums and have its own page on your site. I did this long ago as a test, and it blew me away. 

Anyway I'm getting off topic. Here I'll show you how to do the one thing that community makers often seem to like doing (or maybe its just me?). That is, I will show you how to make your forums be your home page. This will work seemlessly so that even clicking on forum home in the breadcrumbs will put you back on the home page. All it requires is two little redirects.


Code

Welcome:start -> Forums:forumview to make forums be the default home page.
Forums:forumview -> Welcome:start to make forums be the default home page. (not transparent)


The first one is what makes your forums be your homepage. The second one makes it more transparent so that clicking on "Forum home" in the breadcrumbs will take you to your homepage instead of the forumview page. Using both keeps it all nice and tidy as far as URL's are concerned so that your members and visitors will be less confused. 

Here's how to set them.

In your admin zone, go to Structure. Then go to Redirects.
Once in your Redirects page, go to the bottom. You will see something like this….
Screenshot from 2017-04-22 13-24-05.png

The fields are From Zone, From Page, To Zone, To Page, and Trs which stands for transparent. Type the following in each field:
From Zone: Welcome
From Page: start
To Zone: Forums
To Page: forumview
Trs: check

Then hit save. Now go back to the bottom and type in the following in each field:
From Zone: Forums
From Page: forumview
To Zone: Welcome
To Page: start
Trs: leave blank

You need to leave Trs blank otherwise it will spit out an error about a missing page should you click on "Forum home" in the breadcrumbs. 

What is happening is the redirects are telling the site to use the forumview page as your home page, but do not rewrite the URL to show the forumview page (that is what the Trs transparent is all about). It also is telling the site that if you click on Forum home you mean to go home and to update the URL to the home url. Since home is already set to forumview page but the home url is simply your website address, this means your home page will be the forumview page with your default url.


Rocking composr again for my site! Legends of Nor'Ova

Like ocPortal? Want to thank Chris and gang somehow? Then help out in the chat room! It really needs your help! Just open it in a tab everytime you open your web browser, and when you hear a "ding", check it out!
 
"Those who want help should first be willing to give help."
Online now: No Back to the top

Post

Posted
Rating:
Item has a rating of 5 (Liked by mythus)
#2508
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Thanks, I just tied this into the docs :).

26 views (531 KB)


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top
1 guest and 0 members have just viewed this.
Control functions:

Contract Quick reply

Statistics

Users online:

Manu, MVLipwig, John Connor, Salman, J.Thomas, Robbie Goacher (2), Nimitz, 100 guests

Forum statistics:
  • 607 topics, 3,204 posts, 5,018 members
  • Our newest member is JoshuaHton
Birthdays:
Back to Top