CTA Home Page

xF1 Add-on CTA Home Page 1.0.0

No permission to download
Compatible XF Versions
  1. 1.5
This add-on is not affiliated with XenForo Ltd.


Introduction
This simple add-on allows you to select a Page node to use as a home page.

Setting the index page route to the page URL enables it to be a landing page at the root URL with a focussed home tab.

In addition, a couple of simple template modifications change the page title and the browser tab to the board name.

The options are very basic as it's not intended to be a replacement for a full home page/portal add-on.

You can though utilise the capabilites of a Page node, including the PHP callback functionality.
You should also be able to use it in conjunction with other add-ons, such as Widget Framework.


Instructions
If you haven't already done so, create a Page node - see here for how to do that: https://xenforo.com/community/resources/how-to-create-a-page-node.354/
Make sure 'Display in the node list' is unchecked and make a note of the 'URL Portion' as that is required when setting the Index Page Route.
xenforo_com_community_attachments_page_node_png_127472__.png


The options can be found under the CTA Home Page option group.
Check the option to enable it, select a node from the list and optionally choose whether to remove the breadcrumbs.
xenforo_com_community_attachments_options_cta_home_page_png_127473__.png


If you do not choose a node, an error will be shown.
xenforo_com_community_attachments_error_png_127475__.png


Once you have saved the options, set the 'Index Page Route' in Options -> Basic Board information.
Enter the Page node 'URL Portion' prefixed with /pages/ and with a trailing slash, as shown.
Ensure 'Home Page URL' is left blank otherwise it will result in two home tabs.
xenforo_com_community_attachments_options_index_page_route_png_127476__.png



Home Page
You now have a home page which visitors will land on and a home tab which will remain focussed.
xenforo_com_community_attachments_home_page_png_127477__.png


If the option to remove breadcrumbs is selected, it appears like so.
xenforo_com_community_attachments_home_page_no_breadcrumbs_png_127478__.png


As is normal when changing the Index Page Route, the forums route will now show as /forums.
xenforo_com_community_attachments_forum_index_png_127479__.png
Author
Admin
Size
4.7 KB
Extension
zip
Downloads
25
Views
2,199
First release
Last update

More resources from Admin

Similar resources

Additional user criteria for user group promotions, trophies, and notices
CTA Extra Colours AnimeHaxor
Expands the color palette with 20 new properties.
CTA Login AnimeHaxor
Add Facebook, Twitter, and Google logins to the sidebar
Change the number of following and followers displayed
731Threads
2,286Messages
63,731Members
anythingyouwishLatest member
Back