Recent Topics

1 Oct 17, 2007 12:56    

My b2evolution Version: Not Entered

I installed 2.0.2 on my site yesterday - http://www.cartmel-bar.co.uk/index.php

So far I'm really impressed with the changes since the 1.x versions of the software.

But I'm having an issue when viewing categories.

When I click a category I get a page of correct entries. Then at the bottom of the page I get numbers of other pages for that category and link arrows too.

However these links don't work - clicking them just gives me all the blog posts ever made rather than those in the category.

So at the moment it seems impossible to view anything other than the first page of a category.

Any suggestions for what I may be doing wrong?

2 Oct 17, 2007 13:08

Yes, your page links are really screwed.
All I can think is that you maybe missed replacing an older file from the previous 1.x version.

Start by checking your index.main.php

I tried to retain my previous one and got into all sorts of hidden issues.

3 Oct 17, 2007 13:19

Thanks for the reply. I thought I'd deleted all my files, but I'll take a look.

4 Oct 17, 2007 13:47

Nope, I'm using a totally fresh skin. So I don't think it's that. Anyone got any ideas?

5 Oct 17, 2007 13:54

my next page url within a selected Category...
/index.php?blog=2&cat=5&paged=2

Yours
/harry.php?blog=2&order=ASC&orderby=main_cat_ID%20title&unit=all&show_past=1&show_future=1&paged=2

6 Oct 17, 2007 14:55

Yeah and I've just noticed it does it with the page number links on the main blog, rather than just the category pages too. How strange.

7 Oct 18, 2007 19:01

Still no fix found. Anyone any suggestions before I just bite the bullet and stop using the evocamp skin?

8 Oct 19, 2007 01:27

Which "pagination" code are you using?
This ( my preferred )

<?php
				// -------------------- PREV/NEXT PAGE LINKS (POST LIST MODE) --------------------
				mainlist_page_links( array(
						'block_start' => '<p class="paged">'.T_('Pages:').' ',
						'block_end' => '</p>',
   					'prev_text' =  '&lt;&lt;',
   					'next_text' => '&gt;&gt;',
					) );
				// ------------------------- END OF PREV/NEXT PAGE LINKS -------------------------
			?>


or this....

<?php
		// -------------------- PREV/NEXT PAGE LINKS (POST LIST MODE) --------------------
		mainlist_page_links( array(
				'block_start' => '<p class="paged">'.T_('Pages:').' ',
				'block_end' => '</p>',
				) );
		// ------------------------- END OF PREV/NEXT PAGE LINKS -------------------------
	?>

or something else ? I use them both and they work fine

10 Oct 20, 2007 20:50

John which file would feature the pagination code?

¥åßßå here's my Stub...

<?php
/**
 * This file is a stub file for displaying a blog, using evoSkins.
 *
 * This file will set some display parameters and then let b2evolution handle
 * the display by calling an evoSkin. (skins are in the /skins folder.)
 *
 * Note: You only need to use this stub file for advanced use of b2evolution.
 * Most of the time, calling your blog through index.php will be enough.
 *
 * Same display without using skins: a_noskin.php
 *
 * b2evolution - {@link http://b2evolution.net/}
 * Released under GNU GPL License - {@link http://b2evolution.net/about/license.html}
 * @copyright (c)2003-2007 by Francois PLANQUE - {@link http://fplanque.net/}
 *
 * @package evoskins
 * @subpackage noskin
 */

# First, select which blog you want to display here!
# You can find these numbers in the back-office under the Blogs section.
# You can also create new blogs over there. If you do, you may duplicate this file for the new blog.
$blog = 2;

# You could *force* a specific skin here with this setting: (otherwise, default will be used)
# $skin = 'evocamp';

# This setting retricts posts to those published, thus hiding drafts.
# You should not have to change this.
$show_statuses = array();

# Here you can set a limit before which posts will be ignored
# You can use a unix timestamp value or 'now' which will hide all posts in the past
$timestamp_min = '';

# Here you can set a limit after which posts will be ignored
# You can use a unix timestamp value or 'now' which will hide all posts in the future
$timestamp_max = 'now';

# Additionnaly, you can set other values (see URL params in the manual)...
# $order = 'ASC'; // This for example would display the blog in chronological order...

/**
 * That's it, now let b2evolution do the rest! :)
 */
require_once dirname(__FILE__).'/conf/_config.php';

require $inc_path.'_blog_main.inc.php';
?>

11 Oct 21, 2007 17:52

I know you said you've done this, but download a fresh copy of the zip and re-upload the skins folder.

If that doesn't work then try different settings for your category urls et al in admin and see if any of those are the cause.

¥

12 Oct 22, 2007 10:46

Okay. Just tried the fresh skins upload. That didn't work.

Then I tried your suggestion of changing the URL settings.

This actually had some effect. But has not totally fixed the issue.

Originally I had the setting on "Use param: cat ID"

I've just tried the two following settings.

What happens here is that I get the page number list as usual when viewing the first page of a category.

When I click on (for example) the page 2 link, instead of getting every single blog post (the original problem) I instead get a long page of every post in that category but not in date order, nor is it the second page, but actually all the posts. And the page number links obviously disappear as everything is on one page.

14 Oct 23, 2007 16:41

Well, told me nothing :P

Next, could you possibly send me a link to a zip of the online version of your skins folder ?

¥

16 Oct 23, 2007 17:27

Got it ;)

It might be tomorrow before I have chance to have a look though so, unless you like the colour blue, don't hold yer breath 'til then ;)

¥

17 Oct 23, 2007 17:40

Hehe thanks once again for your help.

18 Oct 29, 2007 19:36

I've still not managed to fix this yet. My apologies for bumping the thread.

I wonder if anyone could tell me which part of the evocamp skin code is used to define the links to subsequent pages is categories or across the blog as a whole?

I'd actually prefer "next page" arrows to a list of page numbers anyway, but I can't seem to find the place where this is defined within the evocamp skin folder.

19 Jan 11, 2008 10:43

Having the exact same problem. Did you have any luck resolving this?

20 Jan 11, 2008 10:47

Unfortunately not. I'm not suffering it at the moment just because I'm using one of the few default skins where this problem doesn't occur.

22 Jan 11, 2008 14:36

Yeah!! that works! Thank you so much. Spend days pondering this one.


Form is loading...