Tatsui,
Andy was suggesting that you replace the current line with
$this->assign( 'page', isset( $this->page ) ? $this->page : 1 );
Rick
On Oct 28, 10:56 pm, Tatsui <[EMAIL PROTECTED]> wrote:
> Hi Andy,
>
> I'm note sure what you just wrote there but was able to find the code
> in the theme.php file on line 66. The php file already contains this
> line:
>
> LINE66: $this->assign('page', isset( $page ) ? $page : 1 );
> }
>
> I read over your comment a few times and not sure if you are
> suggesting to add the extra lines above the original line of command?
> I'm quite a novice with php files so bear with me. Much thanks for the
> help! Hopefully I get this straightened out. Thanks again! Let me
> know.
> Jeff
>
> On Oct 28, 11:09 am, Andy C <[EMAIL PROTECTED]> wrote:
>
> > $ diff theme.php theme.php~
> > 66c66
> > < $this->assign('page', isset( $this->page ) ? $this-
>
> > >page : 1 );
> > ---
> > > $this->assign('page', isset( $page ) ? $page : 1 );
>
> > fixes this problem.
>
> > On Oct 21, 1:50 pm, Andy C <[EMAIL PROTECTED]> wrote:
>
> > > Well, the relevant code snippet is in 'entry.multiple.php'
>
> > > entry.multiple.php: Page: <?php $theme->prev_page_link(); ?> <?php
> > > $theme->page_selector( null, array( 'leftSide' => 2, 'rightSide' =>
> > > 2 ) ); ?> <?php $theme->next_page_link(); ?>
>
> > > However, this is the same as K2 (which works) so this bug is obviously
> > > specific toWhitespace.
>
> > > Although I did the original port, I don't have a clue as I can't spell
> > > PHP.
>
> > > Hopefully, someone clever will wander along soon and help us out.
> > > --
> > > Andy
>
> > > On Oct 21, 6:34 am, Tatsui <[EMAIL PROTECTED]> wrote:
>
> > > > So it's been a week since I started using Habari. I have set to
> > > > publish 5 entries per page and notice the Next arrow and page numbers
> > > > are showing on the bottom for users to go to the oldest entries. I
> > > > didn't notice the bug until I got 3 pages up. The Next arrow will only
> > > > go to Page 2 after clicking it. So from page 1 to 2 makes sense, but
> > > > from 3 - 4 (clicking Next) will bring you back to Page 2. I tried
> > > > looking to see where this error could be, but I haven't figured it out
> > > > yet.
>
> > > > FYI - I'm usingWhitespacetheme on my habari.
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/habari-users
-~----------~----~----~----~------~----~------~--~---