#1 2015-02-18 17:25:49

Bob Drake
Member
Laguedoc-Roussillon
2015-02-12
12

More intriguing beginner config questions!

I have been corresponding with Pierrick and he suggested I ask these questions here on the forum, in case other Piwigo beginners might profit from them. So you experienced users please forgive the flagrant display of ignorance.

Note that I do not know CSS or any other modern coding, only some ancient HTML, even so, I managed to guess and edit a few things which worked.  A few things I haven't been able to do are:

1) How to remove the Piwigo link from the photo pages. (I am happy to leave it on the home page however.)

2) How to add more rows to the album thumbnail pages. I have looked through every menu I could find but haven't found a way to add more, and don't have the coding skills to know how to do it.

3) How to remove the number of photos listed after the album title at the top of the album pages. For instance "Home / Album Title / {84}"

Thanks,
Bob
www.bdrak.com

Last edited by Bob Drake (2015-02-18 17:37:31)

Offline

 

#2 2015-02-18 18:28:58

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
14098

Re: More intriguing beginner config questions!

Hi Bob,

http://www.bdrak.com/photos

Bob Drake wrote:

1) How to remove the Piwigo link from the photo pages. (I am happy to leave it on the home page however.)

For your theme Stripped, activate plugin LocalFiles Editor, then go to [Administration > Plugins > LocalFiles Editor], tab "CSS", add:

Code:

#copyright {display:none}

Bob Drake wrote:

2) How to add more rows to the album thumbnail pages.

Still in LocalFiles Editor, CSS :

Code:

#the_page {max-width:none;}
#content {max-width:none;}
#thumbnails_block1 {max-width:none !important;}
#thumbnails_block2 {max-width:none !important;}

With that you will have a full width page, and as many thumbnails per row as possible.

Bob Drake wrote:

3) How to remove the number of photos listed after the album title at the top of the album pages. For instance "Home / Album Title / {84}"

Not easy, there is no CSS class on it :-/ Let me see...

Offline

 

#3 2015-02-18 18:57:24

Bob Drake
Member
Laguedoc-Roussillon
2015-02-12
12

Re: More intriguing beginner config questions!

I've done what you described, but still have only three rows of thumbnails on the page, with everything shifted towards the left. The width of the pages was good before, but I'd like 4 rows of thumbnails rather than three.

Thanks!
Bob

Offline

 

#4 2015-02-18 19:07:07

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
14098

Re: More intriguing beginner config questions!

If you want more rows (and not more thumbnails per row, as I thought), you just have to have more thumbnails per page.

In your local configuration (with plugin LocalFiles Editor), add:

Code:

$stripped['maxThumb']

Offline

 

#5 2015-02-18 19:14:54

Bob Drake
Member
Laguedoc-Roussillon
2015-02-12
12

Re: More intriguing beginner config questions!

Yes perhaps I wasn't clear: I'd like the 5 columns, but 4 rows.

I tried the text you told me to use in the local files editor, but when I click "save" it says:
"Syntax error! File can't be saved."

Bob

Offline

 

#6 2015-02-18 19:25:14

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
14098

Re: More intriguing beginner config questions!

The local config must look like:

Code:

<?php
$stripped['maxThumb'] = 20; // 5 columns x 4 rows
?>

Then you must adjust the max-width to fit 5 columns.

Offline

 

#7 2015-02-18 19:31:53

Bob Drake
Member
Laguedoc-Roussillon
2015-02-12
12

Re: More intriguing beginner config questions!

Yes perfect, thanks! Very grateful for your patience. This is a great way to learn.

Bob

Offline

 

Board footer

Powered by FluxBB