problem pagination posible bug

Phoca Gallery - image gallery extension
wolkmx
Phoca Member
Phoca Member
Posts: 32
Joined: 13 Jul 2010, 22:22
Location: For now Venezuela but soul in Mexico

problem pagination posible bug

Post by wolkmx »

Hi there i have some problems whit the pagination code, i don't know why don't show the pagination, for example if in the Category View Settings (List of Images) section of settings i put Pagination Default Value (Category View) = 20, and i have 120 photos or more than 20, the gallery always show 20 photos, i was changing some code but in other installation, no in this.

For example if i put the value to 0, the category shows all the photos the 120, but if i put some value the gallery only shows same number that i put.

Its enable to reinstall the phoca gallery but don't loose the DB, is enougth to rewritte the files?
Last edited by wolkmx on 30 Jul 2010, 19:57, edited 1 time in total.
wolkmx
Phoca Member
Phoca Member
Posts: 32
Joined: 13 Jul 2010, 22:22
Location: For now Venezuela but soul in Mexico

Re: problem whit pagination

Post by wolkmx »

I discover that the problem is the module, i don't sure if more people have this problem, for example, i used the module to show some random photos (6 photos) of some categorys, so i put the option that when the user clic in the image the module redirect to the category of the image, so the user can see all the images of this category, but the pagination don't work, in other way, if i put for example a option in the menu, fo example i add a new item to the menu to point to the specific photo the pagination show propertly.

So i decide to use the option to show the image whit not pop up, because i want that the image charge whit the jcoments avaliable(whit other options don show the jcoments), but I have the same problem if i put the option to show directly the photo so when the user click on the image he go to the photo and if he try to return whit the button to the category view, the pagination is not enable too, i think that the problem is the way that the back button send the addres, i think that when the addres add the name of the category.

the addres using the menu is like ../option=com_phocagallery&view=category&id=25&Itemid=5&lang=es

and using the module option or back button ../option=com_phocagallery&view=category&id=25%3Abuenos-aires&Itemid=0&lang=es

I find that the diference is in the Itemid=0 value, if i put the addres changing the 0 to 5 its works, some people have idea where change it?

Could be this a bug?
wolkmx
Phoca Member
Phoca Member
Posts: 32
Joined: 13 Jul 2010, 22:22
Location: For now Venezuela but soul in Mexico

Re: problem pagination posible bug

Post by wolkmx »

Thanks a lot JAN the solution was creating the new menu, and add each category like a menu item, so the pagination works againg, now i have a little problem now i see a text calle JPAGE_CURRENT_OF_TOTAL

I think that this could be the total of photos or total os pages of pagination, but i don't sure, anybody have some idea?

You can see in the red square.

Thanks.

Image

Uploaded with ImageShack.us
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 10081
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: problem pagination posible bug

Post by Benno »

wolkmx
Phoca Member
Phoca Member
Posts: 32
Joined: 13 Jul 2010, 22:22
Location: For now Venezuela but soul in Mexico

Re: problem pagination posible bug

Post by wolkmx »

Thanks Benno that pacht the message, so now the info is showed propertly.

I have other little question, exist a way to show the jcomends in the pop up window of phoca gallery, its means for example if you choose in Detail Settings a option different of no pop up?

Thanks
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 10081
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: problem pagination posible bug

Post by Benno »

Hi,
Thanks Benno that pacht the message, so now the info is showed propertly.
You`re welcome!
I have other little question, exist a way to show the jcomends in the pop up window of phoca gallery, its means for example if you choose in Detail Settings a option different of no pop up?
Sorry, I don`t use jcomends, so I`m not experienced with it. :idea:
Kind regards,
Benno
wolkmx
Phoca Member
Phoca Member
Posts: 32
Joined: 13 Jul 2010, 22:22
Location: For now Venezuela but soul in Mexico

Re: problem pagination posible bug

Post by wolkmx »

Ok, don't worry, thanks, for the help, if i find something i post it.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 10081
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: problem pagination posible bug

Post by Benno »

Ok.
Kind regards,
Benno
Post Reply