Auto height and date problems.

Phoca Gallery - image gallery extension
Archy108
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 17 Mar 2012, 19:34

Auto height and date problems.

Post by Archy108 »

Hi, everybody!

I faced with two problems and I need some one to help me.

First one is, my category block are not in one line but they stuck because of very large height. See the picture Image
I can not change the height of the box or cut the name of the category. So I need this boxes to be in one line no matter of the height.
I was trying to solve this problem by my self and I solved it. I set height to 200px and limited the name to 59 and every thing is fine but now imagesboxes in every category are 200px in height to! So I am asking you to help me. Image

Second problem is, i need phoca to display date of the creation of the category. How can I do that.

P.S. Sorry for my English I am from Russia :|
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Auto height and date problems.

Post by Jan »

Hi,

1) why you cannot change the height of box - if you cannot cut the text then you need to set height of the box by larger description image.
2) Needs to be customized - load date item from database (if not loaded) and paste it to html outpupt of phoca gallery :-(

Jan

Jan
If you find Phoca extensions useful, please support the project
Archy108
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 17 Mar 2012, 19:34

Re: Auto height and date problems.

Post by Archy108 »

Jan wrote:Hi,

1) why you cannot change the height of box - if you cannot cut the text then you need to set height of the box by larger description image.
2) Needs to be customized - load date item from database (if not loaded) and paste it to html outpupt of phoca gallery :-(
1- well thank you, but it will make a lot of empty space in boxes which title is short.What I need is this: Image

2 - How to do that I don't understand? Can you be more explicit? Sorry...
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Auto height and date problems.

Post by Jan »

Hi, than you need to customize it (to remove the specific height), but not sure if float boxes will behave like you have drawn it (I think, not) :-(
If you find Phoca extensions useful, please support the project
Archy108
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 17 Mar 2012, 19:34

Re: Auto height and date problems.

Post by Archy108 »

Well, ok than =) May be you know an article about loading data from db. And one more thing. I know this is silly but I forgot which php file is responsible boxes.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Auto height and date problems.

Post by Jan »

components/com_phocagallery/views/category/tmpl/...

Jan
If you find Phoca extensions useful, please support the project
Post Reply