Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 Re: FluxBB discussion » [Feature] "generate_navlinks" may generate links relative to PUN_ROOT » 2009-07-03 00:46:53

Plume

Hum, is it a good idea to prefix *all* href referencing .php files by PUN_ROOT ?

#2 FluxBB discussion » [Feature] "generate_navlinks" may generate links relative to PUN_ROOT » 2009-07-03 00:02:25

Plume
Replies: 2

Hi,

We are building a home page and having generate_navlinks() prefixing navigation links it generates by PUN_ROOT ("/forum") lets the possibility to call the function on the home page. As far as I have looked into the your code, it should not change any behaviour.

It might be usefull to others so here I am with a regex style© patch:

In include/functions.php@generate_navlinks()

307,60s/href="/href="'.PUN_ROOT.'/g

Board footer

Powered by FluxBB 1.4.8