[pLog-svn] r3172 - plog/trunk
Jon Daley
plogworld at jon.limedaley.com
Sun Apr 2 23:05:51 GMT 2006
What do you have your custom page URL set to?
On Sun, 2 Apr 2006, Paul Westbrook wrote:
> I use custom urls. This was not working for the paging on the main page.
>
> --Paul
>
>
> On Apr 2, 2006, at 3:53 PM, Jon Daley wrote:
>
>> Why was this needed? For what URLs was paging not working? It works
>> for all of mine (except for searching, because I didn't add it to my search
>> template yet)
>>
>> On Sun, 2 Apr 2006, pwestbro at devel.lifetype.net wrote:
>>> Author: pwestbro
>>> Date: 2006-04-02 21:15:55 +0000 (Sun, 02 Apr 2006)
>>> New Revision: 3172
>>>
>>> Added:
>>> plog/trunk/page
>>> Modified:
>>> plog/trunk/.htaccess
>>> Log:
>>> Added missing file that was causing paging not to work.
>>>
>>> Modified: plog/trunk/.htaccess
>>> ===================================================================
>>> --- plog/trunk/.htaccess 2006-04-01 08:36:52 UTC (rev 3171)
>>> +++ plog/trunk/.htaccess 2006-04-02 21:15:55 UTC (rev 3172)
>>> @@ -110,6 +110,10 @@
>>> ForceType application/x-httpd-php
>>> </Files>
>>>
>>> +<Files page>
>>> + ForceType application/x-httpd-php
>>> +</Files>
>>> +
>>> ErrorDocument 401 /plog/error.php
>>> ErrorDocument 403 /plog/error.php
>>> ErrorDocument 404 /plog/error.php
>>>
>>> Added: plog/trunk/page
>>> ===================================================================
>>> --- plog/trunk/page 2006-04-01 08:36:52 UTC (rev 3171)
>>> +++ plog/trunk/page 2006-04-02 21:15:55 UTC (rev 3172)
>>> @@ -0,0 +1,26 @@
>>> +<?php
>>> + if (!defined( "PLOG_CLASS_PATH" )) {
>>> + define( "PLOG_CLASS_PATH", dirname(__FILE__)."/");
>>> + }
>>> +
>>> + include_once( PLOG_CLASS_PATH."class/net/http/httpvars.class.php" );
>>> + include_once(
>>> PLOG_CLASS_PATH."class/net/prettyrequestparser.class.php" );
>>> + include_once( PLOG_CLASS_PATH."class/net/requestgenerator.class.php"
>>> );
>>> + include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
>>> +
>>> + // get the configuration data
>>> + $config =& Config::getConfig();
>>> +
>>> + // in order to maintain compatilibity with previous version, and the
>>> alternative
>>> + // format of search-engine friendly urls
>>> + if( $config->getValue( "request_format_mode" ) ==
>>> SEARCH_ENGINE_FRIENDLY_MODE ) {
>>> + $server = HttpVars::getServer();
>>> + $parser = new PrettyRequestParser( "page",
>>> $server["PATH_INFO"]);
>>> + $result = $parser->parse();
>>> + HttpVars::setRequest( $result );
>>> + include_once( "index.php" );
>>> + }
>>> + else {
>>> + include_once( PLOG_CLASS_PATH."blog.php" );
>>> + }
>>> +?>
>>>
>>> _______________________________________________
>>> pLog-svn mailing list
>>> pLog-svn at devel.lifetype.net
>>> http://devel.lifetype.net/mailman/listinfo/plog-svn
>>>
>>
>> **************************************
>> Jon Daley
>> http://jon.limedaley.com/
>>
>> Pittsburgh Uncertainty Principle:
>> You can know what the weather is now, but you can
>> never know what it will be in five minutes
>> -- Ben Schmidt
>> _______________________________________________
>> pLog-svn mailing list
>> pLog-svn at devel.lifetype.net
>> http://devel.lifetype.net/mailman/listinfo/plog-svn
>>
>
> --
> Paul Westbrook
> paul at westbrooks.org
> <http://www.westbrooks.org>
>
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn
**************************************
Jon Daley
http://jon.limedaley.com/
We live in an age when pizza gets to your home before the police.
-- Jeff Marder
More information about the pLog-svn
mailing list