Announcement

#1 2012-11-08 17:41:43

dean
Guest

How to add a "home" link or button on the piwigo gallery page

We use piwigo as a way to display our paintings and drawings portfolio and would like to add a "back to home page" link or button to the very top of the gallery and sub gallery pages (similar to what is on the piwiogo.org/demo    but we can't seem to find the proper place to add the code.

 

#2 2012-11-08 17:46:54

flop25
Piwigo Team
2006-07-06
7037

Re: How to add a "home" link or button on the piwigo gallery page

Hello
Register on the forum and share your creation ;)

You need to use the .tpl files : create a template extensions by copy/pasting on tpl from default(or your current theme) in /template-extension OR create a child theme (see th Doc for that)


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#3 2015-03-08 17:35:27

Mandraek
Member
2015-03-01
6

Re: How to add a "home" link or button on the piwigo gallery page

This worked for me

<?php

/* File does not exist and will be created by LocalFiles Editor */

$conf['links'] = array(
  'http://catspyjamas.org' => 'return to Cats Pyjamas website',
);


?>

added to gallery/local/config

config.inc.php file

Last edited by Mandraek (2015-03-08 17:40:27)

Offline

 

Board footer

Powered by FluxBB

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