I'm trying to start a blog from scratch,
but I can't get it to use the built-in functionality unless I
subclass the PRDistribution code and add a "first entry" post
within the method "blog".
What am I missing, or am I missing anything?
Not sure I understand what you're asking. Is it how do I
create a new blog entry? If so:
login using admin/pier (login link bottom left)
navigate to /pier/blog
click on commands:add (link bottom left)
click on the add button
on the next form fill in "source title" "contents" and
press the "current" button for the "publication" field then
press "save" button
If instead your question is how do I define my own site
which incorporates a blog? Then look at
PRDistribution>>root as a starting point for your site's
structure. Experiment by removing and adding components until
you end up with a structure that works for you. In particular
you might find the following lines within
PRDistribution>>root a useful starting place for
understanding how to customise the look and feel of your site:
self
rootPage localEnvironment: self mainEnvironmentPage.
self
blog localEnvironment: self blogEnvironmentPage.
which will lead you into examining:
PRDistribution>> mainEnvironmentPage
PRDistribution>> blogEnvironmentPage
Hope that helps
Nick