[pLog-svn] r3172 - plog/trunk
Jon Daley
plogworld at jon.limedaley.com
Mon Apr 3 14:53:40 GMT 2006
Ah, I see.
On Sun, 2 Apr 2006, Paul Westbrook wrote:
> Hello,
>
> urlize_word_separator = _
> permalink_format = /post/{year}/{month}/{day}/{postname}$
> category_link_format = /category/{catname}$
> blog_link_format = $
> archive_link_format = /archives/{year}/?{month}/?{day}
> user_posts_link_format = /user/{username}$
> post_trackbacks_link_format =
> /post/{year}/{month}/{day}/{postname}/trackbacks$
> template_link_format = /static/{templatename}$
> album_link_format = /album/{albumname}$
> resource_link_format = /resource/{albumname}/view/{resourcename}$
> resource_preview_link_format = /resource/{albumname}/preview/{resourcename}$
> resource_medium_size_preview_link_format =
> /resource/{albumname}/med-preview/{resourcename}$
> resource_download_link_format =
> /resource/{albumname}/download/{resourcename}$
> page_suffix_format = /page/{page}
>
>
> --Paul
>
>
> On Apr 2, 2006, at 4:05 PM, Jon Daley wrote:
>
>> 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
>> _______________________________________________
>> 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/
So, what's with this guy Gideon, anyway?
And why can't he ever remember his Bible?
More information about the pLog-svn
mailing list