[pmwiki-users] Use PmWiki for Blog and Gallery
jhaupt at gmail.com
Thu Sep 28 10:39:10 CDT 2006
On 9/28/06, Mike <mike at widowitz.com> wrote:
> Hi Jon, thanks for the explanations.
> Jon Haupt wrote on 28.09.2006 00:06:
> [Blog setup]
> > I think the template is set up so that you'd see the edit link only if
> > you have editing privileges, but you could just delete it if you
> > prefer. It was set up that way so that the editor would have an easy
> > way to get to the edit page. Certainly the whole layout is customizable
> > using the templates.
> Which templates are resposible for the layout of the Blog Index page?
Well, it all depends... but on my site, I use #recentblog, like this:
(:pagelist fmt=#recentblog count=5 link=Category.Blog order=-ctime list=blog:)
This tells it to use the #recentblog format on Site.BlogListTemplates,
to show only 5 entries, that I want it to show only items in the Blog
category, to order the entries in reverse chronological order, and
list=blog tells it basically to avoid using pages called "HomePage,"
"RecentChanges," "SideBar," and that sort of thing, even if they
happen to link to Category.Blog. So if you want to customize, you
just have to change the #recentblog on Site.BlogListTemplates.
> > * Use tags for blog entries to categorize them into stuff like "News",
> > "Pics", "Holiday", "Tech" etc...
> > Yep, or just categories.
> Ok, that seems to fulfill what I wanted.
> I have one more problem: Now that I read-protected the whole site except
> the Blog and the Main group, the Blog Index (with pagelist) doesn't work
> anymore unless I use the read password (which the average user won't
> have). Obviously I locked the access to something that pagelist needs -
> but I don't know which page I'd need to "unlock". Would you know where
> this is?
Right - you actually have to have read access to some of the Site
group for this to work, I think. It might work if you just set the
read password on Site.BlogListTemplates to @nopass. However, probably
several pages in Site will need to be changed, or you should consider
allowing read access to Site by default and adding a read password to
any page that you _don't_ want anyone to read (this is what I've
More information about the pmwiki-users