[pLog-svn] r3960 - plog/branches/lifetype-1.1.1/class/net
BalearWeb
balearweb at balearweb.com
Sun Sep 17 15:09:58 GMT 2006
There is still somethin not working here. If you go to my home page
http://elenavera.balearweb.net/ and scroll down to the bottom until you
find the pager you will se that the pager is not working.
If you try
http://elenavera.balearweb.net/page/2 it will say not found
and if you try
http://elenavera.balearweb.net/page/8 i gost to block number 8
On the other hand it works fine under categories.
http://elenavera.balearweb.net/category/11/25/page/2
I tryed to reopen the mantis bug report, but I think I'm not allowed...
http://bugs.lifetype.net/view.php?id=1037
oscar at devel.lifetype.net wrote:
> Author: oscar
> Date: 2006-09-13 15:52:45 +0000 (Wed, 13 Sep 2006)
> New Revision: 3960
>
> Modified:
> plog/branches/lifetype-1.1.1/class/net/prettyrequestgenerator.class.php
> Log:
> fixed mantis issue 1037 (http://bugs.lifetype.net/view.php?id=1037) -- pager not working in search engine friendly URLs. I've modified the blogLink method to return /blog/X instead of /X for blog links because that was the only way to get things like /blog/X/page/Y to work (/X/page/Y wouldn't work) This was not the same format returned by this method in 1.1 but although different, old URLs will not be broken.
>
>
> Modified: plog/branches/lifetype-1.1.1/class/net/prettyrequestgenerator.class.php
> ===================================================================
> --- plog/branches/lifetype-1.1.1/class/net/prettyrequestgenerator.class.php 2006-09-13 10:36:47 UTC (rev 3959)
> +++ plog/branches/lifetype-1.1.1/class/net/prettyrequestgenerator.class.php 2006-09-13 15:52:45 UTC (rev 3960)
> @@ -159,12 +159,7 @@
> }
> else {
> // if not, we need some additional logic
> - $disableApacheErrorHandler = $config->getValue( "disable_apache_error_handler" );
> - if( $disableApacheErrorHandler )
> - $path = "/blog/";
> - else
> - $path = "/";
> -
> + $path = "/blog/";
>
> if( $blogInfo == null ) {
> if( $config->getValue( "pretty_urls_force_use_username" )) {
> @@ -387,7 +382,7 @@
> }
> else {
> // if none of the above, we should at least get a link to the blog!
> - $url = $this->blogLink()."/".$this->_blogInfo->getId();
> + $url = $this->blogLink();
> }
>
> $pageFormat = "/page/";
More information about the pLog-svn
mailing list