Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

How to remove picture counter from just one album?
https://www.tinywebgallery.com/forum/viewtopic.php?f=4&t=3160
Page 1 of 1

Author:  selectany [ 21. Nov 2011, 17:49 ]
Post subject:  How to remove picture counter from just one album?

I have music collection which can be accessed from the main page of TWB as album. There is no pictures (except folder.png) in it.
Image

It is not really album because page contains only text instructions and url link to another web-application.

So, I don't need picture counter ONLY for this 'album'. I use config.php file in this folder with following content:

Code:
<?php
$show_counter_in_jstree=false;
$show_number_of_pic=false;
$show_captions = false;
?>


This must be valid ONLY for upper mentioned 'album'.

But, it doesn't work this way, although it works fine globally - for all albums, if I put upper PHP code in "Additional settings".

Author:  TinyWebGallery [ 21. Nov 2011, 21:36 ]
Post subject:  Re: How to remove picture counter from just one album?

You cannot change this for one folder only. If you like this you have to change some code which e.g. don't show the number the number is zero.

its in the inc/showfolder.inc.php.

- Michael

Author:  selectany [ 22. Nov 2011, 17:03 ]
Post subject:  Re: How to remove picture counter from just one album?

I changed the code.
Thanks :)

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/