•  » Themes
  •  » Additional pages plugin: how to add album icons on homepage

#1 2025-06-09 11:41:52

NachoMas
Member
2025-06-09
2

Additional pages plugin: how to add album icons on homepage

Hi all,

I've just started with Piwigo and I'm learning fast but I've found a small problem with the Additional Pages extension that I'm not sure how to solve. I've made some searches in the forum but so far I have not managed to solve it.

i have added a customized home page with AdditionalPages plugin since I wanted to have a intro text to my gallery and then a personal photo displayed *only* on the home page. Now, in the new home page I have a text link to the albums page where I can go to see all the thumbnails of the different albums, but I would like instead to show the thumbnails in the home page instead of just the text link. I am pretty sure it is a simple variable I have to add, but I've spent hours searching to no avail...

This is the content of the customized home page (Sorry about the Spanish... ;) ):

---
<style type="text/css">
#menubar {display:none !important;}
.titrePage {display:none}
.content {max-width:1120px; margin:0 auto 10px auto !important;}
.Online {display:none;}
.content_block {max-width:none;}

.myHomePage_photo {text-align: center; margin:50px 0 20px 0;}
.myHomePage_photo a img {border-width:2px; border-style:solid; border-color:#666;}
.myHomePage_links {letter-spacing:2px; text-align:center; margin-bottom:0; font-weight:bold;}
.myHomePage_name {margin-top:30px; letter-spacing:2px; text-align:center;}
</style>

<div id="myHomePage">
  <div class="myHomePage_photo">
    <!-- Install the "Extended Description" plugin to turn the following into an actual image:
      http://piwigo.org/ext/extension_view.php?eid=175 -->
    <a href="index.php?/categories">[photo id=485 size=L link=no]</a>
  </div>
  <div>
    <p>Llevo muchos años pintando, con mejor o peor fortuna, y hasta hace poco era autodidacta ya que, hasta que me jubilé como ingeniero industrial, nunca había recibido enseñanza artística de forma sistemática. Ahora sí la recibo y espero que se note.La página refleja casi toda mi obra y la he dividido así:<ul><li>Colección general, que son los cuadros que tengo almacenados en casa.</li><li>Colecciones particulares, que son los cuadros que me han comprado o son de la familia.</li></ul></p>
  </div>
  <div class="myHomePage_links">
    <a href="index.php?/categories">Albums</a> ● <a href="index.php?/contact">Contact</a>
  </div>

  <div class="myHomePage_name">
    by Nacho Mas &middot;
  </div>
</div>

--------

I assume I need to add something before the <div class="myHomePage_links"> but I can't figure it out. Any kind soul that points me to the right code?
Thanks!
/Nacho

Offline

 

#2 2025-06-09 13:05:07

Katryne
Member
2016-12-03
471

Re: Additional pages plugin: how to add album icons on homepage

Hello Nacho
I would not do it with additionnal Page but with PWG Stuff, like that :
https://blackland.legtux.org/


https://album.chauvigne.info/ v.15.5  PHP: 8.2.26
https://balades.comoni.org/  v.15.5 PHP: 8.2.26
Système d'exploitation: Linux - Hébergeur 1&1-Ionos - MySQL: 5.7.42
Bibliothèque graphique: External ImageMagick 6.9.11-60

Offline

 

#3 2025-06-09 17:28:12

NachoMas
Member
2025-06-09
2

Re: Additional pages plugin: how to add album icons on homepage

Yes, that is the right advice! Moved to PWG stuff and I got what I wanted. Thanks!

Offline

 
  •  » Themes
  •  » Additional pages plugin: how to add album icons on homepage

Board footer

Powered by FluxBB

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