Piwigo.org

You are not logged in. (Register / Login)

Announcement

#1 2017-08-12 10:27:43

homdax
Member
Location: Sweden
Registered: 2015-02-02
Posts: 69

Relocate Copyright in Bootstrap Default theme

I am just getting DEV hits when searching, so forgive this new post about a thing that really should be simple to find...

Using Perso footer I added a copyright to the site that is relevant for the content, but it also places the Piwigo Copyright text in an awkward position and I would like to push it down, below.

I know I am looking to move the copyright DIV which contains:

Code:

<div class="copyright container">
            <div class="text-center">
{if isset($debug.TIME)}
                {'Page generated in'|@translate} {$debug.TIME} ({$debug.NB_QUERIES} {'SQL queries in'|@translate} {$debug.SQL_TIME}) -
{/if}
                {*
                    Please, do not remove this copyright. If you really want to,
                            contact us on http://piwigo.org to find a solution on how
                            to show the origin of the script...
                *}
                {'Powered by'|@translate}  <a href="{$PHPWG_URL}" class="Piwigo">Piwigo</a> | Bootstrap Default {'theme by'|@translate} <a href="https://philio.me/">Phil Bayfield</a>
{$VERSION}
{if isset($CONTACT_MAIL)}
                | <a href="mailto:{$CONTACT_MAIL}?subject={'A comment on your site'|@translate|@escape:url}">{'Contact webmaster'|@translate}</a>
{/if}
{if isset($TOGGLE_MOBILE_THEME_URL)}
                | {'View in'|@translate} : <a href="{$TOGGLE_MOBILE_THEME_URL}">{'Mobile'|@translate}</a> | <b>{'Desktop'|@translate}</b>
{/if}

{get_combined_scripts load='footer'}

{if isset($footer_elements)}
{foreach from=$footer_elements item=v}
{$v}
{/foreach}
{/if}
            </div>
        </div>
{if isset($debug.QUERIES_LIST)}
        <div id="debug">
{$debug.QUERIES_LIST}
        </div>
{/if}
    </div>

but I don't know where to in the tpl files. Index?

Tried pasting it in to Perso Footer, but it did not take the code, which was expected. :)

www.shots.lotrokin.me

Last edited by homdax (2017-08-12 11:06:48)

Offline

 

#2 2017-08-16 14:58:02

homdax
Member
Location: Sweden
Registered: 2015-02-02
Posts: 69

Re: Relocate Copyright in Bootstrap Default theme

'ello?

Offline

 

#3 Today 08:54:35

ddtddt
Piwigo Team
Location: Quetigny - France
Registered: 2007-07-27
Posts: 6671

Re: Relocate Copyright in Bootstrap Default theme

Hi :-)

folder template in your thème ?


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#4 Today 15:14:10

homdax
Member
Location: Sweden
Registered: 2015-02-02
Posts: 69

Re: Relocate Copyright in Bootstrap Default theme

Come on... you pull mon shin, ne'st pas? :)

its in footer.tpl in theme/bootstrapdefault/

I can find the code, that is the minor issue. If I comment out that I remove it, and I do not want that.

As it is it pops up higher up on the site than where i want it so i am looking to relocate it to further down and the code in theme/bootstrapdefault/template/index.tpl is a bit too complex for me.

I find a footer reference and I find includes, but I do not find any include for footer.tpl so it is done in some other way I am not familiar with.

Offline

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2017 · Contact