Linked pages from the piratebox main page?

Posted by Lazaras 
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Now, this forum is in read-only mode. You find details Details hereContinue on /r/PirateBox
Linked pages from the piratebox main page?
February 08, 2015 05:30PM
Pi'm aware the default piratebox setup has forum and chat support. So what about side pages for specific info bits?

Examples would be an instruction page for a local game server, contact information, calander of events, or just anything where you want to specifically have 'this' information on it's own thing for people to find.

If it matters I would like those pages to also display links for pages under them.

I ask if this can be done because piratebox's whole redirect thing and would like to make sure this wouldn't be a big huge issue.

Lastly would it be possible to have links to downloadable things on these pages?
Re: Linked pages from the piratebox main page?
February 09, 2015 06:42AM
I'm not very sure about the context of your question sad smiley

Do you mean:
- Having an HowTo page preinstalled to mod the PirateBox?
- or you want to add links to content on your personal PirateBox
- The redirect thingy does two things:
... 1. for a unknown url/404 -> redirect to start page
... 2. resolve any (unknown domain) with the IP of the PirateBox

Can you specifiy it a bit more, please smiling smiley ?
Re: Linked pages from the piratebox main page?
February 09, 2015 09:01AM
Are you are wanting to change the links at the top of the main page located here? Or maybe ad more of them?

If yes, you should be able to edit the index.html using nano like this:

sudo nano /opt/piratebox/www/index.html

find the place in the code where it looks like this

You would edit the code so that it adds a link to your new page.

When your done adding your link your index.html file should look similar to this

Your piratebox home page now should look like this

The webpage your LAN party page or calendar should be placed in is the /opt/piratebox/www/ folder

Cheers, Darkskynet
Re: Linked pages from the piratebox main page?
February 09, 2015 09:42AM
In addition, you need to modify those two files:

/opt/piratebox/src/HEADER.txt
/opt/piratebox/src/README.txt

Those files are copied over to each directory, that you have that nice directory listing.

regards Matthias