View of Category and List the same?

Phoca Gallery - image gallery extension
bollerfant
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 26 Dec 2008, 05:02

View of Category and List the same?

Post by bollerfant »

Hiho,
i have quite long names for my categories. so i tried to increase the length for the characters from 15 to 30, but it won't cut the name if the word is longer than the width of the box.

so my question is:
can i make the look of the categorys (with its subcategories) the same as the "Phoca Gallery Category List Layout" ?
the list is perfect. but when i go into an subcategory and hit back, i'm in my category view and i can see the subcategories in the same layout as the images before. but i want to have a list like the "Gallery Category List Layout" for my subcategories.
is this makeable?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: View of Category and List the same?

Post by Jan »

Hi, there is no such option, this need to be customized... but maybe you can change the width of thumbnail images so you have place for long image names, see e.g. here:

https://www.phoca.cz/wallpapers/index.ph ... tos-znojmo

Jan
If you find Phoca extensions useful, please support the project
bollerfant
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 26 Dec 2008, 05:02

Re: View of Category and List the same?

Post by bollerfant »

Hm ok,
i enlarged the medium images from 100x100 to 200x200 - now there's enough space for the text. but i had to delete all images before...
i think a function for "listing the subcategories" would be nice for categories with subcategories and without images itself.

EDIT:
I can't see the shadow box around the medium 200x200 thumbnails in my list view.
i checked the code and it's using the shadow1.gif. this image is 118x118 and it's behind the image.
perhaps there's something wrong with the switch inside the "views/categories/view.html.php" at line 53 ?
i changed the line 70 from "shadow1.gif" -> "shadow2.gif" and it worked. i have a few images with the size < 100x100px, could that be the reason? but they are not published...
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: View of Category and List the same?

Post by caro84g »

Hi,

just select shadow2 (or shadow 200x200) in the PhocaGallery parameters.

Regards, Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
bollerfant
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 26 Dec 2008, 05:02

Re: View of Category and List the same?

Post by bollerfant »

i did! that's the reason i checked the code and changed it manually.
bollerfant
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 26 Dec 2008, 05:02

Re: View of Category and List the same?

Post by bollerfant »

i still think that's a problem with the code. anyone a new idea?
Post Reply