Resource icon

Unmaintained [n] Custom HTML Page (for homepage) 1.0.0

No permission to download
Compatible XF 1.x versions
  1. 1.0
  2. 1.1
  3. 1.2
  4. 1.3
  5. 1.4
  6. 1.5
License
Apache 2.0 License
Visible branding
No
An add-on for XenForo to give you 1 custom HTML page to use.

To install, upload the files contained in /upload and install using the .xml file.

To set up the page, use the template acomhomepage_layout to set up the html head and layout. Be aware of certain variables in there; do not remove variable configurations (such as $title, $contents). Use the template acomhomepage and acomhomepage.css to setup the page body.

The phrase acomhomepage is used to determine what users are shown as viewing when viewing this page.

If you want to make this your homepage: Set your index route in `Options -> Basic Board Settings` to `home/`

If you want to use this for another page (other than a homepage), you will have to make a few changes prior to the route filters update:
1. Enable debug mode (config.php: `$config['debug'] = 1;`)
2. Go to http://yourwebsite/admin.php?route-prefixes/ (or `Admin -> Development -> Route Prefixes`) and edit the `home` route prefix to whatever you wish to call it
3. Edit /library/Apantic/ACOMHomepage/Route/Prefix/Home.php and change `home` on line 17 to whatever you want the route to be called.

If you are using a newer version of XenForo (XF 1.2+), you should be able to use route filters for this purpose. See: https://xenforo.com/help/route-filters/

Open source
This add-on is open source, licensed under the Apache 2.0 License. Repository: https://github.com/nanocodeio/custom-html-page

Note that support and updates are not provided for this add-on. If you need support, please reply to the thread. If you find a bug in the add-on, please open an issue on the repository linked. We appreciate all contributions to the add-on, and if you're able to make the changes yourself we'd appreciate it if you'd PR the changes back into the repository for the use of others.
Author
nanocode
Downloads
100
Views
1,500
First release
Last update

Ratings

5.00 star(s) 1 ratings

More resources from nanocode

Latest reviews

Did exactly what I need it to do, having a custom html page without an external CMS. When I ran into a snag the author was very helpful. Would recommend!
Top Bottom