customize comments section

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

customize comments section

Johnathan Doe
Hey Guys,

I am new to the Squeak/Seaside/Pier stack.  I have a question about comments in the out of the box Pier blog.

I see there are input fields for Author and Website when creating a comment.  How do I add an input box for email?

Thanks



_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: customize comments section

Lukas Renggli
Hi Johnathan,

Have a look at PBComment>>#descriptionWebsite and create a similar
description and accessors for the e-mail address.

Lukas

On 3 September 2010 16:21, Johnathan Doe <[hidden email]> wrote:

> Hey Guys,
> I am new to the Squeak/Seaside/Pier stack.  I have a question about comments
> in the out of the box Pier blog.
> I see there are input fields for Author and Website when creating a comment.
>  How do I add an input box for email?
> Thanks
>
>
> _______________________________________________
> Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>



--
Lukas Renggli
www.lukas-renggli.ch

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

RE: customize comments section

Johnathan Doe
Thanks Lukas,

I am using the Pier 1.2 from piercms.com.

I looked at PBComment prior to posting this question.  I figured that this has something to do with solving my problem.

I took a look at it again and I did not see a #descriptionWebsite.  I did see a website and website:.  I am not sure if that is what you meant.

I made an email and email:.  I am now unsure as to how to display this new field when someone wants to leave a comment.  Is there a class that controls the view for the comments?




> From: [hidden email]
> Date: Fri, 3 Sep 2010 19:25:23 +0200
> Subject: Re: customize comments section
> To: [hidden email]
>
> Hi Johnathan,
>
> Have a look at PBComment>>#descriptionWebsite and create a similar
> description and accessors for the e-mail address.
>
> Lukas
>
> On 3 September 2010 16:21, Johnathan Doe <[hidden email]> wrote:
> > Hey Guys,
> > I am new to the Squeak/Seaside/Pier stack.  I have a question about comments
> > in the out of the box Pier blog.
> > I see there are input fields for Author and Website when creating a comment.
> >  How do I add an input box for email?
> > Thanks
> >
> >
> > _______________________________________________
> > Magritte, Pier and Related Tools ...
> > https://www.iam.unibe.ch/mailman/listinfo/smallwiki
> >
>
>
>
> --
> Lukas Renggli
> www.lukas-renggli.ch
>
> _______________________________________________
> 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
Reply | Threaded
Open this post in threaded view
|

Re: customize comments section

Lukas Renggli
> I looked at PBComment prior to posting this question.  I figured that this
> has something to do with solving my problem.
> I took a look at it again and I did not see a #descriptionWebsite.  I did
> see a website and website:.  I am not sure if that is what you meant.
> I made an email and email:.  I am now unsure as to how to display this new
> field when someone wants to leave a comment.  Is there a class that controls
> the view for the comments?

The descriptions are on the class-side.

Check-out the documentation listed here for more information on Magritte:

http://www.lukas-renggli.ch/smalltalk/magritte

Lukas

--
Lukas Renggli
www.lukas-renggli.ch

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

RE: customize comments section

Johnathan Doe
thanks, it worked.

i totally forgot to look at the class-side of the object.

> From: [hidden email]

> Date: Mon, 6 Sep 2010 11:18:21 +0200
> Subject: Re: customize comments section
> To: [hidden email]
>
> > I looked at PBComment prior to posting this question.  I figured that this
> > has something to do with solving my problem.
> > I took a look at it again and I did not see a #descriptionWebsite.  I did
> > see a website and website:.  I am not sure if that is what you meant.
> > I made an email and email:.  I am now unsure as to how to display this new
> > field when someone wants to leave a comment.  Is there a class that controls
> > the view for the comments?
>
> The descriptions are on the class-side.
>
> Check-out the documentation listed here for more information on Magritte:
>
> http://www.lukas-renggli.ch/smalltalk/magritte
>
> Lukas
>
> --
> Lukas Renggli
> www.lukas-renggli.ch
>
> _______________________________________________
> 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