[pLog-svn] About the template suggest.

Jon Daley plogworld at jon.limedaley.com
Fri Jul 28 15:31:33 GMT 2006


 	Ah, I see.

On Fri, 28 Jul 2006, BalearWeb wrote:

> But that is not the "logic" that we use in paging.
> What I'm trying to say is that we have to be consistent
> between the meaning of << and >> in posts and pages:
>
> Maybe we could use this solution:
> << Newer (page) - 1 - 2 -  3 -  4 -  5 - Older (page) >>
> << Newer (post) | Older (post) >>
>
>
> Jon Daley wrote:
>
>>     When I think next, I think next post in time, so I wouldn't mismatch 
>> the next and previous like you did in your example.
>>     I think next goes with >> and goes to the post later in time.
>> 
>> Ex.
>> I went to the store.  NEXT, I went to the bank.  Which came first?
>> 
>> On Fri, 28 Jul 2006, BalearWeb wrote:
>> 
>>> Jon Daley wrote:
>>> 
>>>> ....I don't know which is the best choice, but I think
>>>> 
>>>>> we have to be consistent.
>>>> 
>>>>
>>>>     I didn't look at the bug report yet, but yes, I always thought it was 
>>>> strange that left went to the next post.  I thought maybe it was just 
>>>> Americans who would assume right means next.
>>> 
>>> 
>>> I also assume right means next, next page, next day. The problem is what
>>> do you understand by "next post"? The post written afterwards or before
>>> the current post?
>>> Normally the post that comes next in a page is the older, but
>>> value=$post->getNextArticle() means the newer. So I think that is why
>>> the arrows Next is pointing to the left.
>>> But I think we should leave it like this:
>>> 
>>> <p id="Nextpost">
>>>       {assign var=nextpost value=$post->getNextArticle()}
>>>       {if $nextpost == true}
>>> <a href="{$url->postPermalink($nextpost)}"
>>> title="{$locale->tr("next_post")}:
>>> {$nextpost->getTopic()}">&laquo;{$locale->tr("previous_post")}</a> |
>>>          {/if}
>>>       {assign var=prevpost value=$post->getPrevArticle()}
>>>          {if $prevpost == true}
>>> <a href="{$url->postPermalink($prevpost)}"
>>> title="{$locale->tr("previous_post")}:
>>> {$prevpost->getTopic()}">{$locale->tr("netx_post")}&raquo;</a>
>>>          {/if}
>>> </p>
>>> 
>>> What do you think? Its a sort of contradiction...
>>> 
>>>> 
>>>> It doesn't look like the configuration option trackback_server_enabled is 
>>>> used anywhere else in the code?  Does setting this option to false 
>>>> actually do anything?
>>> 
>>> 
>>> I have no idea. I suppose you are not asking me ;-)
>>> 
>>>> More over I wanted to display the locale message comment_html_allowed
>>>> The config option you want is: html_allowed_tags_in_comments, but I don't 
>>>> think this option, or the trackback_server_enabled are available to grab 
>>>> from the templates.
>>> 
>>> 
>>> Never mind. In fact, I think I'm not going to allow any HTML tags until
>>> I can make sure that they cannot leave open tags and affect the layout
>>> of the blog.
>>> 
>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> pLog-svn mailing list
>>> pLog-svn at devel.lifetype.net
>>> http://devel.lifetype.net/mailman/listinfo/plog-svn
>>> 
>> 
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn
>

-- 
Jon Daley
http://jon.limedaley.com/

The other line moves faster.
-- Ettore's Observation


More information about the pLog-svn mailing list