Announcement

#1 2017-07-03 15:28:34

SciFiKriss
Member
Bracknell, Berks
2017-06-19
56

Adding a menu item

Hi guys

I want to add to the menu a link back to my main website.  How do I do that?

I have looked around and it looks like I have to change a template?  if so which one?

Thanks in advance

Kriss :)

Piwigo 2.9.1
Operating system: Linux
PHP: 5.6.30 (Show info) [2017-07-03 14:26:59]
MySQL: 5.5.5-10.1.24-MariaDB [2017-07-03 14:26:59]
Graphics Library: External ImageMagick 6.9.3-9
http://www.nikmania.me.uk/media

Offline

 

#2 2017-07-03 21:30:41

teekay
Member
2013-06-12
427

Re: Adding a menu item

You can use Administration -> Plugins -> LocalFiles Editor -> local config tab, add

Code:

$conf['links'] = array(
    'http://www.test.com' => 'My other website',
  );

See [Github] Piwigo file include/config_default.inc.php@L133 for an extended description.

Last edited by teekay (2017-07-03 21:31:05)

Offline

 

#3 2017-07-03 21:37:58

SciFiKriss
Member
Bracknell, Berks
2017-06-19
56

Re: Adding a menu item

That worked thank you!

Wish though that copy and paste worked... :)

Kriss :)

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact