1
Almik
Re: MyAlbum 3.07 pre-RC3 available for testing
  • 2013/8/16 15:17

  • Almik

  • Just popping in

  • Posts: 4

  • Since: 2011/2/28


You are right, I'm not explained what wrong.)
When do clicking by any button of pagination in current category(album), script move us to page of Home category, instead to page in current category.

myalbum 3.07 (from svn)
xoops 2.5.6
php 5.4.7



2
Almik
Re: MyAlbum 3.07 pre-RC3 available for testing
  • 2013/8/15 21:31

  • Almik

  • Just popping in

  • Posts: 4

  • Since: 2011/2/28


In "category view" isn't working properly navigating to pages. Maybe I'm wrong, but I think the problem when XoopsPageNav don't get the category id ($cid) as
argument to URL

see veiwcat.php line 138:
$nav = new XoopsPageNav$photo_small_sum $num $pos 'pos' "$get_append&num=$num&orderby=$orderby) ;


when I added &cid=$cid is work fine:
$nav = new XoopsPageNav$photo_small_sum $num $pos 'pos' "$get_append&num=$num&cid=$cid&orderby=$orderby) ;


Check it, please.
Thanks.



3
Almik
Re: Myabum error with 2.5.6
  • 2013/7/2 23:00

  • Almik

  • Just popping in

  • Posts: 4

  • Since: 2011/2/28


Module work good. This I agree. You created categories and posted several photos for have pagination of pages? That's only in this case does not correct work links to navigation in pagination.

Forgot about environment:
PHP 5.4.7
XOOPS 2.5.6

Unfortunately, I have not found where it came this variable - $get_append .
Used existing variable $cid and offered it as query. Maybe this is wrong, but the navigation is now working.
Quote:
Deleted:

if (!isset($get_append)) $get_append = 0;
$nav = new XoopsPageNav( $photo_small_sum , $num , $pos , 'pos' , "$get_append&num=$num&orderby=$orderby" ) ;

Quote:
Added:

$nav = new XoopsPageNav( $photo_small_sum , $num , $pos , 'pos' , "&cid=$cid&num=$num&orderby=$orderby" ) ;



4
Almik
Re: Myabum error with 2.5.6
  • 2013/7/2 20:18

  • Almik

  • Just popping in

  • Posts: 4

  • Since: 2011/2/28


The question of the same module.
Wrong generated pagination in categories (list or table views).
XoopsPageNav function is not takes as $extra_arg current number of the category (cid). Due does not work navigate pages in current section. It is unclear where $get_append can get cid. Please help to correct pagination in categories. Thanks!

Xoops 2.5.6
MyAlbum 3.0.7 (last version from module repository on sourceforge)
(GIJoe, Updated by Wishcraft=Simon Roberts
Corrected by montuy337513 alias black_beard)

on screen viewcat.php in root of myalbum module
----
Resized Image




TopTop



Login

Who's Online

233 user(s) are online (152 user(s) are browsing Support Forums)


Members: 0


Guests: 233


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits