Announcement

  •  » Extensions
  •  » [Perso Footer] Sitewide Footer & bugs

#1 2017-02-18 13:44:15

PEU
Member
Buenos Aires, Argentina
2017-02-12
100

[Perso Footer] Sitewide Footer & bugs

Hi

Is it possible to add a sitewide footer? such as http://tutorialzine.com/2015/01/freebie … templates/

[EDIT] It can be done, look next posts, I just needed some help with an example!


It would be great to add more info to pages without using a banner which sometimes gets in the way...

Can it be adapted to be used with perso footer or a new plugin needs to be done? My coding skills are nil, but Im fairly good at trying if I get some examples :)


Thanks

Operating system: Linux
PHP: 5.6.21 (Show info) [2017-02-18 09:39:35]
MySQL: 5.0.45-Max [2017-02-18 09:39:35]
Graphics Library: GD bundled (2.1.0 compatible)
Piwigo URL: http://www.peu.net

Last edited by PEU (2017-02-19 15:01:30)

Offline

 

#2 2017-02-19 14:55:24

PEU
Member
Buenos Aires, Argentina
2017-02-12
100

Re: [Perso Footer] Sitewide Footer & bugs

With the help of Thomas K. I managed to make it work, its almost there, what looks odd is that the perso footer plugin goes below the piwigo copyright notice and not at the bottom as it should be (and is if perso footer is not used)

Also, tried to make use of the extended descriptions plugin, which works in perso footer BUT only if you use it for multilingual and nothing else, the moment you add multilingual comments all the HTML5 vanishes.

Will post the issue at perso footer git [edit] there is no git, so use this post as the issue report :)

check: www.peu.net

Thanks again Thomas!!

Last edited by PEU (2017-02-19 15:50:31)

Offline

 

#3 2017-02-19 15:05:43

PEU
Member
Buenos Aires, Argentina
2017-02-12
100

Re: [Perso Footer] Sitewide Footer & bugs

Here is the footer code I used, the CSS were stored in a subfolder at my website, failed miserably at putting them inline :)

To use it just enable perso footer, then paste this into the box and submit.

Just don't mix extended descriptions with HTML5, they don't mix well at the moment...

Also, perso footer should insert itself before piwigo copyright notice, not after, just a suggestion :)

code is live here: www.peu.net

Cheers!

Code:

<!DOCTYPE html>
<html>

<head>

  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="keywords" content="footer, address, phone, icons" />

  <title>Footer With Address And Phones</title>
  <!-- http://tutorialzine.com/2015/01/freebie-5-responsive-footer-templates/ -->
  <link rel="stylesheet" href="http://peu.net/cuchillos/themes/footerpeu/css/demo.css">
  <link rel="stylesheet" href="http://peu.net/cuchillos/themes/footerpeu/css/footer.css">
  
  <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">



</head>

  <body>
    <footer class="footer-distributed">

      <div class="footer-left">

        <img src="http://peu.net/cuchillos/themes/footerpeu/images/PEUlogo.png" alt="Smiley face" height="83" width="169">
        <p class="footer-links">
          <a href="http://www.shop.peu.net/">El Mercadito de PEU</a>
          |
          <a href="http://peu.net/cuchillos/index.php?/contact/">Contacto/Contacto</a>
        </p>

        <p class="footer-company-name">Pablo E. Untroib (PEU) &copy; 2017</p>
      </div>

      <div class="footer-center">

        <div>
          <i class="fa fa-map-marker"></i>
          <p><span>Suipacha 834 5to A</span> <span>Buenos Aires, Argentina</span></p>
        </div>

        <div>
          <i class="fa fa-phone"></i>
          <p><span>+54 11 4328-7500</span><span>+54 11 4328-7500<span>
          </p>
          
        </div>

        <div>
          <i class="fa fa-envelope"></i>
          <p><a href="mailto:cuchillos@peu.net?Subject=Consulta%20web%20PEU%20Cuchillos&Body=Hola%20Pablo%2C%0A%0A">cuchillos@peu.net</a></p>
        </div>

      </div>

      <div class="footer-right">

        <p class="footer-company-about">
          <span>Como usar al sitio</span>
          Gracias por visitar mi sitio, con la función de busqueda vas a poder encontrar mis cuchillos usando lenguaje natural, por ejemplo: cuchillo de cocina micarta verde
        </p>

        <div class="footer-icons">

          <a target="_blank" href="https://www.facebook.com/PabloUntroib"><i class="fa fa-facebook"></i></a>
          <a target="_blank" href="https://twitter.com/PEU_AR"><i class="fa fa-twitter"></i></a>
          <a target="_blank" href="https://www.instagram.com/peu_ar/"><i class="fa fa-instagram"></i></a>
          <a target="_blank" href="tg:telegram.me/pablopeu"><i class="fa fa-telegram"></i></a>
        </div>

      </div>

    </footer>

  </body>

</html>

Last edited by PEU (2017-02-19 15:14:08)

Offline

 

#4 2017-02-19 23:15:03

PEU
Member
Buenos Aires, Argentina
2017-02-12
100

Re: [Perso Footer] Sitewide Footer & bugs

Solved the copyright notice position by disabling perso footer and enabling PWG Stuffs, does the same, and more flexible. Still cannot mix languages, or don't know how to do it :)

Offline

 
  •  » Extensions
  •  » [Perso Footer] Sitewide Footer & bugs

Board footer

Powered by FluxBB

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