[pmwiki-users] Fwd: BlogSimple2 + MultiLanguage

Mike mike at widowitz.com
Fri Sep 29 02:45:52 CDT 2006


Still working at the same problem: My hope is that by customizing the
template for the blog list:
> !!Blog Pagelist Templates
>
> [[#RecentBlog]]
> !!!fmt=#recentblog
> include the first five blog entries and an edit link
>
> [@
> [[#recentblog]]
> (:if ! equal {=$BlogDate2} {<$BlogDate2}:)
> %block blogdate%{=$BlogDate}%%(:if:)
> >>blogentry<<
> (:if exists PostComments.{=$Group}-{=$Name}:)
> %rfloat%[[PostComments.{=$Group}-{=$Name}#comments| Show Comments]]
> ({PostComments.{=$Group}-{=$Name}$PostCount})
> (:if !exists PostComments.{=$Group}-{=$Name}:)
> %rfloat%[[PostComments.{=$Group}-{=$Name}?action=set#commentbox| Add
> Comment]]
> (:if:)
> !!![[{=$FullName}|{=$Titlespaced}]] (:if auth edit:)[-(''[[Edit ->
> {=$FullName}?action=edit]]'')-](:if:)
>
> (:include {=$FullName}:)
> >><<
> [[#recentblogend]]
> @]
>
> (:markup:) [=
> (:pagelist link=Category.Blog fmt=#recentblog order=-ctime count=5:)
> =]

it would be possible to tell PmWiki that entries in a custom language
(i.e. in a block like (:if userlang en:) ) should be visible in the blog
list. Any ideas?

Mike



-------- Original Message --------
Subject: 	BlogSimple2 + MultiLanguage
Date: 	Thu, 28 Sep 2006 16:19:45 +0200
From: 	Mike <mike at widowitz.com>
To: 	pmwiki-users <pmwiki-users at pmichaud.com>



Hello,

it looks as if I stumbled about a slight incompatibility between two
recipes: BlogSimple2 and MultiLanguage.

Problem is that I have my blog pages in two languages without any text
in the "general" section at all. Now, in the blog index page (which
contains the pagelist directive), the blog entries appear empty - I
suppose that this is because for the pagelist, there is no "userlang" set...

Does anyone have an idea about how to fix this?

Thanks,
Mike

-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20060929/ea2a5ce4/attachment.html 


More information about the pmwiki-users mailing list