Page 1 of 1

[changed] display only subcategory names

Posted: 18 Jun 2008, 12:00
by caro84g
Hi,

I updated my website with lots of new pictures and created subcategories. Now I made a menu link to a parent category and when you see the pictures you see the subcategories and some pictures. This is exactly what I want.

To distinguish the subcategories you have to display the names of the images. (otherwise you see only 3 folders icons) I would like only to display the names of the subcategories and not displaying the names of the images. (because they're just the names of the JPEG, and I might change it one day, but not now)

The website is: http://www.boerbert.nl/index.php/appart ... Itemid=103

I hope someone can help me,

thanks in advance,

Carolien

Re: [changed] display only subcategory names

Posted: 18 Jun 2008, 23:49
by Jan
Hi, you can disable or enable them only together (category name + image name) There is no possibility to enable e.g. category name and disable e.g. image name :(

Jan

Re: [changed] display only subcategory names

Posted: 19 Jun 2008, 09:47
by caro84g
Can I assign a specific picture to the category, which is displayed instead of the folder icon? So each category has its own picture. This might be the first (or last) picture in that category, but I prefer it not to be, if that's possible. Well I'll hope this is possible.

Thanks in advance,

Carolien

Re: [changed] display only subcategory names

Posted: 19 Jun 2008, 23:33
by Jan
It worked so, but then I did the random image ... the image will be taken as random image from the category, if there is no image, then from the subcategories ....

so you can enable the random image (in parameters) and then you can change the random to e.g. first image, in the php code, e.g.:

CATEGORY VIEW:
components\com_phocagallery\models\category.php
row 401 +

FROM: ' ORDER BY RAND()'; TO ' ORDER BY ordering'; ... then the first image (ordering e.g. 1) will be displayed

CATEGORIES VIEW:
components\com_phocagallery\models\categories.php
row 189 + (the same as by category view)

Jan

Re: [changed] display only subcategory names

Posted: 24 Jun 2008, 17:33
by caro84g
Hey Jan,

in the plugin forum stood a nice question, which would be a better solution. Would you be so kind to answer that one. Or answer it here.

Question:
viewtopic.php?f=9&t=1174#p6651
How can you display sub-category items as category items.

Re: [changed] display only subcategory names

Posted: 07 Jun 2011, 14:26
by redrobin
In parameters I have set

Display image instead of folder icon: yes

Category Image Ordering: special

Then set the image I wanted ti first in list


But I still get random images on folders each time it refreshes

Can any one help me

RR

Re: [changed] display only subcategory names

Posted: 07 Jun 2011, 23:34
by Jan