Tutorials
Tutorial about - how to create a custom homepage.

Hallo Community


our CF @admin has shared a way about how to create a custom homepage for your CF installation. Because it was a part of another topic I thought it would be great to create a own tutorial topic about it.



Here you go


Step 1- create a page from backend like this:


6080b53db59a2


Step 2 - now add this line around line 884 in routes.php i.e replace


if ($user->can('view forum')) {

with


if ($user->can('view forum')) {
header("Location: " . RURI . "page/8");

The number 8 is from the url you see in the page created in above image.


Kind regards, Andy smile


### Hallo Community our CF @admin has shared a way about **how to create a custom homepage for your CF installation**. Because it was a part of another topic I thought it would be great to create a own tutorial topic about it. --------------------------------------------------- ### Here you go Step 1- create a page from backend like this: ![6080b53db59a2](serve/attachment&path=6080b53db59a2) Step 2 - now add this line around **line 884** in **routes.php** i.e replace if ($user->can('view forum')) { with if ($user->can('view forum')) { header("Location: " . RURI . "page/8"); The number 8 is from the url you see in the page created in above image. Kind regards, Andy ;)
edited Apr 22 at 12:29 am
48
2
3
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft