Hi Mariano,
The Environment is the page that defines the template for the current
structure :). You can see it via the Edit Design Command.
In the Pier 1.1.1 distribution, the environment of /blog is /
blogenvironment. If you go to /blog and Edit Design, you will see that
you have a +/environment/blogarchive+. This means that the component
blogarchive resides somewhere else (in this case under /environment)
and it is embedded when the blog is rendered.
Indeed, the class is PBPostArchive, but in the ui menu it appears
under the name of 'Archive' in the 'Blog' grouping.
For the code to produce this setup, please take a look in
PRDistribution from the Pier-Setup package.
Cheers,
Doru
On 14 Apr 2009, at 04:21, Mariano Martinez Peck wrote:
On Fri, Apr 10, 2009 at 6:35 PM, Tudor Girba <girba(a)iam.unibe.ch>
wrote:
Hi,
I added the followings to the faq:
How to setup a blog?
• Invoke the Add command and select Blog from the dropdown
menu.
•
To get the archive in the blog, add an Blog Archive component
somewhere else, and embed it in the environment of the Blog
Doru, thanks for the help.
I didn't understand this point. I don't have Blog Archive component.
I only have PBPostArchive. However, I don't know how to embed it
into the enviorment of the blog. Add command in blog, only shows me
"post".
Sorry for the newbies questions :)
Mariano
How to post to a blog?
• Go to the blog
• Invoke the Add command and select Post
• Entry the content
• If you want to publish it for everyone to see, enter the
publication date (you can also click on the current button)
Does this help?
Cheers,
Doru
On 10 Apr 2009, at 11:01, John M McIntosh wrote:
On 9-Apr-09, at 12:50 AM, Damien Cassou wrote:
You may want to download Pier-Setup and execute 'PRDistribution new
register'. That will erase default Pier kernel and replace with with a
new one, with a good-looking css some default pages and a blog. Here
is the list of packages I install in a new pharo-web image related to
Pier:
Yes, but I want to do it via Add Components so I can fill out
http://www.mobilewikiserver.com/Wiki_Add_Blog.html
Although I could supply a premade one via smalltalk objects creating
the required objects, it
likely someone would like to do it manually from a browser.
--
=
=
=
=
=
======================================================================
John M. McIntosh <johnmci(a)smalltalkconsulting.com>
Corporate Smalltalk Consulting Ltd. http://
www.smalltalkconsulting.com
=
=
=
=
=
======================================================================
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
--
www.tudorgirba.com
"Relationships are of two kinds: those we choose and those that
happen. They both matter."
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki