How can I customize the title link?

Hello IPFire friends,

I’d like to customize the following on my IPFire installation: Currently, the configuration page shows “IPFire_ - ipfire.localdomain”. The first part, “IPFire_”, is linked to the IPFire website. However, I’d like this part to point to the homepage of my IPFire installation, for example, 192.168.178.10. Where can I change this, or is there a module—installable via PackFire—that I can use to configure this?

Thanks for your help :slight_smile: Oh, and if I’ve posted this in the wrong forum category… please move my post accordingly, thanks :slight_smile:

Regards, Ronny

Just below “IPFire_”, you have the System → Home menu which does this

Hey,

That works for me, no question.

But I want to link the title of my installation at the very top. You’ve already shown it correctly: If I hover the mouse over “System” and then go to “Home,” it takes me to my installation. But I’m talking about the title of the home page, the links above it. It says “IPFire_”, followed by the name of the local installation, often called “ipfire.localdomain”. If I click on “IPFire_”, the IPFire domain is opened, but not my local firewall installation. I want to replace the link here.

Do you understand me better now?

Best regards,
Ronny

I understand perfectly.

The answer is No,

There is no way to change this address.
It is hard-coded in the file /var/ipfire/header.pl.

The only way is to manually edit this file on line 226.

220: print <<END
221: 	</head>
222: 	<body>
223: 		<div id="header" class="fixed">
224: 			<div id="logo">
225: 				<h1>
226: 					<a href="https://www.ipfire.org">
227: 						IPFire_
228: 					</a>
229: END

But this change could be overwritten in the next update.

Okay, thanks. I suspected that it had to be set in the template. I thought there was an add-on for that. Unfortunately, there isn’t… That’s a shame.

But a developer could certainly look into this so that the linking can be changed… Maybe even the IPFire maintainers themselves :slight_smile:

To be fair, it is only a matter of editing 2 lines in a file as mentioned above. Not very hard, but one does of course have to get in to the filesystem and actually do the edits correctly.

Also one has to be prepared for the potential overwrite of that file with each update, so restoring the edited part is probably something that may need doing after each upgrade.

And, as usual, be careful editing files in the system.

Hello Ronny,

there is no need to post in multiple languages. Please just use English.