Re: defaults for comments, trackbacks
Barry Page <barry_page-/[email protected]> Thu, 4 Dec 2008 14:12:24 -0800 (PST)
| Newsgroups | gmane.comp.python.zope.coreblog.english |
|---|---|
| Message-ID | <[email protected]> |
--===============1765081059== Content-Type: multipart/alternative; boundary="0-1806878181-1228428744=:67578" --0-1806878181-1228428744=:67578 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable As far as I can tell, version 0.982 has a condition in the view template th= at can suppress comments and trackbacks only if you switch that off for ind= ividual blog entries as per the following example=0A=0Acondition=3D"python:= entry_obj.getAllow_comment() ... "which is not what you want it to do. If y= ou want to simplify the layout, you have to modify the template as per the = instructions in a recent posting:=0A=0AHi,=0A=0A> Is there a way I can turn= this display OFF, I would still like to see Comment (5) but none of the re= st??=0A=0Ago to:=0A=0A/PloneInstance/portal_skins/COREBlog2/cbentry_view=0A= =0Aand you can find "<metal:infoslot define-slot=3D"info_slot">" macro.=0A= =0ASay, if you don't want to show permalink,=0Adelete "li" element containi= ng permalink.=0A=0AEnjoy customizing your blog.=0A=0ARegards,=0A=0A--=0AYus= uke [email protected]=0Ahttp://nagosui.org=0A=0A=0A Regards,= =0ABarry Page=0A021 438 695=0A=0AInformation, news, discussions, polls and = classifieds online at greenhithe.org.nz, albanynz.com and paremoremo.com. R= ead about community websites at locallywired.com=0A=0A=0A=0A=0A=0A=0A=0A___= _____________________________=0AFrom: Jason Hildebrand <[email protected]= >=0ATo: Coreblog (English) <coreblog-en-/9qXvnWia/9Wk0Htik3J/[email protected]>=0ACc: Coreblog (Engli= sh) <coreblog-en-/9qXvnWia/9Wk0Htik3J/[email protected]>=0ASent: Friday, 5 December, 2008 6:22:37 AM= =0ASubject: Re: [COREblog-en] defaults for comments, trackbacks=0A=0AHello,= =0A=0AMy environment is:=0A COREBlog2 9.82b=0A Plone 2.5.4-2=0A CM= F-1.6.4=0A Zope (Zope 2.9.8-final, python 2.4.4, linux2)=0A Five 1.4.= 2=0A Python 2.4.4 (#1, Oct 23 2007, 10:55:06) [GCC 3.2.3 20030502 (Red H= at Linux 3.2.3-59)]=0A=0AIf I turn off comments and trackbacks for one sing= le blog post, it works. =0A=0AHowever, I would like to be able to add new = blog posts without having to change these settings each time: I would like = both of these options to default to "None". It looks like this should be p= ossible by dhanging the blog defaults (Blog -> Edit -> Entry Editing), but = it does not work. Can you confirm whether the default settings take effect= for you in your environment?=0A=0Apeace,=0AJason=0A=0A--=0AJason Hildebran= d=0APeaceWorks Computer Consulting=0A#2 - 396 Assiniboine Ave, Winnipeg=0A2= 04 480 0314 --or-- 519 725 7875, ext 620.=0A=0A----- "Yusuke NAKAI" <ny= [email protected]> wrote:=0A=0A> Hi,=0A> =0A> > Unfortunately, these settin= gs do not take effect. =0A> > When I create a new blog post, both comments= and trackbacks are set=0A> =0A> > to "Open" (unless I explicitly change th= ese settings).=0A> =0A> How is your environment?=0A> =0A> I've just test co= mments and trackbacks setting.=0A> Both are set to none, that is, cannot ad= d and hidden.=0A> So my test entry looks fllowing:=0A> =0A> http://nagosui.= org/PloneSkin/testblog/test-entry=0A> =0A> It looks that settings works cor= rectly.=0A> =0A> My environment summary:=0A> =0A> - COREBlog2 0.9.83b=0A> -= Plone 3.1.7 (buildout)=0A> - CMF 2.1.1=0A> - Zope 2.10.6-final=0A> - Pytho= n 2.4.4=0A> =0A> Regards,=0A> =0A> -- =0A> Yusuke NAKAI=0A> =0A> mail: nyus= [email protected]=0A> web : http://nagosui.org=0A> __________________________= _____________________=0A> COREblog-en mailing list=0A> COREblog-en@postaria= .com=0A> http://postaria.com/mailman/listinfo/coreblog-en=0A> Unsubscriptio= n writing to coreblog-en-leave-/9qXvnWia/9Wk0Htik3J/[email protected]=0A_____________________________= __________________=0ACOREblog-en mailing list=0ACOREblog-en-/9qXvnWia/9Wk0Htik3J/[email protected]=0A= http://postaria.com/mailman/listinfo/coreblog-en=0AUnsubscription writing t= o coreblog-en-leave-/9qXvnWia/9Wk0Htik3J/[email protected]=0A --0-1806878181-1228428744=:67578 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><head><style type=3D"text/css"><!-- DIV {margin:0px;} --></style></he= ad><body><div style=3D"font-family:arial,helvetica,sans-serif;font-size:10p= t">As far as I can tell, version 0.982 has a condition in the view template= that can suppress comments and trackbacks only if you switch that off for = individual blog entries as per the following example<br><pre>condition=3D"p= ython:<span style=3D"background-color: rgb(255, 255, 0);">entry_obj</span>.= getAllow_comment() ... "</pre>which is not what you want it to do. If you w= ant to simplify the layout, you have to modify the template as per the inst= ructions in a recent posting:<br><br>Hi,<br><br>> Is there a way I can t= urn this display OFF, I would still like to see Comment (5) but none of the= rest??<br><br>go to:<br><br>/PloneInstance/portal_skins/COREBlog2/cbentry_= view<br><br>and you can find "<metal:infoslot define-slot=3D"info_slot"&= gt;" macro.<br><br>Say, if you don't want to show permalink,<br>delete "li" element containing permalink.<br><br>Enjoy customizing your blog.<br><br>R= egards,<br><br>--<br>Yusuke NAKAI<br><br><a ymailto=3D"mailto:nyusuke@nagos= ui.org" href=3D"mailto:[email protected]">[email protected]</a><br><a h= ref=3D"http://nagosui.org/" target=3D"_blank">http://nagosui.org</a><br><br= ><div> </div>Regards,<br>Barry Page<br>021 438 695<br><br>Information,= news, discussions, polls and classifieds online at <a rel=3D"nofollow" tar= get=3D"_blank" href=3D"http://greenhithe.org.nz/portal">greenhithe.org.nz</= a>, <a rel=3D"nofollow" target=3D"_blank" href=3D"http://albanynz.com/porta= l">albanynz.com</a> and <a rel=3D"nofollow" target=3D"_blank" href=3D"http:= //www.paremoremo.com/">paremoremo.com</a>. Read about community websites at= <a rel=3D"nofollow" target=3D"_blank" href=3D"http://www.locallywired.com/= ">locallywired.com</a><br><br><br><div><br></div><div style=3D"font-family:= arial,helvetica,sans-serif; font-size: 10pt;"><br><div style=3D"font-famil= y: arial,helvetica,sans-serif; font-size: 10pt;"><font size=3D"2" face=3D"Tah= oma"><hr size=3D"1"><b><span style=3D"font-weight: bold;">From:</span></b> = Jason Hildebrand <[email protected]><br><b><span style=3D"font-weig= ht: bold;">To:</span></b> Coreblog (English) <coreblog-en-/9qXvnWia/9Wk0Htik3J/[email protected]&g= t;<br><b><span style=3D"font-weight: bold;">Cc:</span></b> Coreblog (Englis= h) <coreblog-en-/9qXvnWia/9Wk0Htik3J/[email protected]><br><b><span style=3D"font-weight: bold;= ">Sent:</span></b> Friday, 5 December, 2008 6:22:37 AM<br><b><span style=3D= "font-weight: bold;">Subject:</span></b> Re: [COREblog-en] defaults for com= ments, trackbacks<br></font><br>Hello,<br><br>My environment is:<br> = COREBlog2 9.82b<br> Plone 2.5.4-2<br> CMF-= 1.6.4<br> Zope (Zope 2.9.8-final, python 2.4.4, linux2)<br>&nb= sp; Five 1.4.2<br> Python 2.4.4 (#1, Oct 23 2007, 10:55= :06) [GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-59)]<br><br>If I turn off com= ments and trackbacks for one single blog post, it works. <br><br>However, I wo= uld like to be able to add new blog posts without having to change these se= ttings each time: I would like both of these options to default to "None".&= nbsp; It looks like this should be possible by dhanging the blog defaults (= Blog -> Edit -> Entry Editing), but it does not work. Can you c= onfirm whether the default settings take effect for you in your environment= ?<br><br>peace,<br>Jason<br><br>--<br>Jason Hildebrand<br>PeaceWorks Comput= er Consulting<br>#2 - 396 Assiniboine Ave, Winnipeg<br>204 480 0314 = --or-- 519 725 7875, ext 620.<br><br>----- "Yusuke NAKAI" <<a yma= ilto=3D"mailto:[email protected]" href=3D"mailto:[email protected]">nyu= [email protected]</a>> wrote:<br><br>> Hi,<br>> <br>> > Unfor= tunately, these settings do not take effect. <br>> > When I cre= ate a new blog post, both comments and trackbacks are set<br>> <br>> > to "Open" (unless I explicitly change these settings).<br>&g= t; <br>> How is your environment?<br>> <br>> I've just test commen= ts and trackbacks setting.<br>> Both are set to none, that is, cannot ad= d and hidden.<br>> So my test entry looks fllowing:<br>> <br>> <a = href=3D"http://nagosui.org/PloneSkin/testblog/test-entry" target=3D"_blank"= >http://nagosui.org/PloneSkin/testblog/test-entry</a><br>> <br>> It l= ooks that settings works correctly.<br>> <br>> My environment summary= :<br>> <br>> - COREBlog2 0.9.83b<br>> - Plone 3.1.7 (buildout)<br>= > - CMF 2.1.1<br>> - Zope 2.10.6-final<br>> - Python 2.4.4<br>>= <br>> Regards,<br>> <br>> -- <br>> Yusuke NAKAI<br>> <br>&g= t; mail: <a ymailto=3D"mailto:[email protected]" href=3D"mailto:nyusuke@n= agosui.org">[email protected]</a><br>> web : <a href=3D"http://nagosui= .org" target=3D"_blank">http://nagosui.org</a><br>> _______________________________________________<br>> COREblog-en mailin= g list<br>> <a ymailto=3D"mailto:COREblog-en-/9qXvnWia/9Wk0Htik3J/[email protected]" href=3D"mailt= o:COREblog-en-/9qXvnWia/9Wk0Htik3J/[email protected]">COREblog-en-/9qXvnWia/9Wk0Htik3J/[email protected]</a><br>> <a href=3D= "http://postaria.com/mailman/listinfo/coreblog-en" target=3D"_blank">http:/= /postaria.com/mailman/listinfo/coreblog-en</a><br>> Unsubscription writi= ng to <a ymailto=3D"mailto:coreblog-en-leave-/9qXvnWia/9Wk0Htik3J/[email protected]" href=3D"mailto:c= oreblog-en-leave-/9qXvnWia/9Wk0Htik3J/[email protected]">coreblog-en-leave-/9qXvnWia/9Wk0Htik3J/[email protected]</a><br>______= _________________________________________<br>COREblog-en mailing list<br><a= ymailto=3D"mailto:COREblog-en-/9qXvnWia/9Wk0Htik3J/[email protected]" href=3D"mailto:COREblog-en@pos= taria.com">COREblog-en-/9qXvnWia/9Wk0Htik3J/[email protected]</a><br><a href=3D"http://postaria.com/m= ailman/listinfo/coreblog-en" target=3D"_blank">http://postaria.com/mailman/= listinfo/coreblog-en</a><br>Unsubscription writing to <a ymailto=3D"mailto:= coreblog-en-leave-/9qXvnWia/9Wk0Htik3J/[email protected]" href=3D"mailto:coreblog-en-leave-/9qXvnWia/9Wk0Htik3J/[email protected]">coreblog-en-leave@postaria.= com</a><br></div></div></div></body></html> --0-1806878181-1228428744=:67578-- --===============1765081059== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ COREblog-en mailing list COREblog-en-/9qXvnWia/9Wk0Htik3J/[email protected] http://postaria.com/mailman/listinfo/coreblog-en Unsubscription writing to coreblog-en-leave-/9qXvnWia/9Wk0Htik3J/[email protected] --===============1765081059==--