Announcement

#1 2014-02-04 09:43:07

hkdigit
Translation Team
Hong Kong
2013-05-23
89

[resolved] Smartpocket theme Footer

Hi,

When access the following URL on mobile devices.

http://www.hkgimages.com/pics/index/cat … r/start-15

I find the

Powered By Piwigo
View in: Mobile | Desktop footer

is missing under the bottom of navigation bar (See attached printscreen.).

Is it normal?

Also, I try to insert the Google Adsense code below the site title (see banner.jpg), but failed if I add it on header.tpl (It always show on the buttom), which template should I edit instead?

Thanks,
Chris Lee

Offline

 

#2 2014-02-04 11:16:28

hkdigit
Translation Team
Hong Kong
2013-05-23
89

Re: [resolved] Smartpocket theme Footer

I find the solution for banner issue:

Put the Adsense Code inside DIV

<div data-role="header">

Still looking answers for Footer issue.

Thx!

Offline

 

#3 2014-02-04 11:43:56

flop25
Piwigo Team
2006-07-06
7037

Re: [resolved] Smartpocket theme Footer

let me decrypt

Code:

{if !empty($thumb_navbar)} 
{include file='navigation_bar.tpl'|@get_extent:'navbar' navbar=$thumb_navbar} 
{elseif !empty($navbar) and !isset($ELEMENT_CONTENT)} 
{include file='navigation_bar.tpl'|@get_extent:'navbar'} 
{else} 
<div data-role="footer"...

so the content of the footer depend on if there is a nvaigation bar or not
so put your content after or before the if block
and read the jquery mobile documentation


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

 

Board footer

Powered by FluxBB

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