Page 3 of 3

Re: Category view - cut categoryname

Posted: 11 Jun 2009, 00:03
by Demonike
Hi folks,

I have a question along these lines, so I will spare to create yet another new thread.
There might be a bug in the parameters setting, let me explain:

If I select "Display Name: Show Category Name Only", it shows only the category name, which is correct
HOWEVER
it creates this extra space (for name field) under EVERY thumbnail. In Category view (Thumnails), this is not desired.
Is it possible for me to change the code, that it would take into account this specific name selection, and not create the extra space for thumbnail containers which display no names? And perhaps consider it including into the next release.
I remember seeing this PHP if clause somewhere "if(DisplayName == 1 || DisplayName ==2)", when I searched for a way to get rid of this space in the first place. Later I decided that I would still like to have category names displayed for the users to know what category they will be opening... I think these conditions have to be separated.

Re: Category view - cut categoryname

Posted: 18 Jun 2009, 22:49
by Jan
Hi, the space is created becasue all boxes should have the same height. These are float boxes, so they need to have the same height.

Jan

Re: Category view - cut categoryname

Posted: 25 Jun 2009, 14:11
by Demonike
Jan,

I understand that, but we are talking about identical heights in different VIEWS, meaning the boxes would still be the same height within every given page, just that one is Categories View and the other is Category View (Thumbs). In other words, if the names are displayed (and hence the space below category thumb) in Categories View page, it does not necessarily show the empty space for names in Category View (Thumbs) page, where the filenames of the images are not shown.

I believe this can be done using conditional settings in the right place...

I'll give you two current example pages (cannot guarantee their existence over time):
Categories View, the name and space are ok - http://www.artman-racing.ee/portal/gall ... -2007.html
Category View (Thumbs), the names are turned off and I'd like to get rid of their space in this page - http://www.artman-racing.ee/portal/gall ... -2007.html

I believe it will be for greter good, if this get sorted out ;)
Thanks for your time and effort, Jan!

Re: Category view - cut categoryname

Posted: 25 Jun 2009, 16:06
by Jan
Hi, did you set the parameters OK, if there is no name (and no category name), the space should be not displayed, see:

https://www.phoca.cz/demo/shadowbox

Both your examples are Category View (thumbnails) (in one of them the name is displayed, in other not - but maybe there is some settings which make the box heigher - e.g. display subcategory name (there are no subcategories on the page but if it is active the box will be heigher)

Jan