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>&gt; 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 "&lt;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>&nbsp;</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 &lt;[email protected]&gt;<br><b><span style=3D"font-weig=
ht: bold;">To:</span></b> Coreblog (English) &lt;coreblog-en-/9qXvnWia/9Wk0Htik3J/[email protected]&g=
t;<br><b><span style=3D"font-weight: bold;">Cc:</span></b> Coreblog (Englis=
h) &lt;coreblog-en-/9qXvnWia/9Wk0Htik3J/[email protected]&gt;<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>&nbsp; =
&nbsp; COREBlog2 9.82b<br>&nbsp; &nbsp; Plone 2.5.4-2<br>&nbsp; &nbsp; CMF-=
1.6.4<br>&nbsp; &nbsp; Zope (Zope 2.9.8-final, python 2.4.4, linux2)<br>&nb=
sp; &nbsp; Five 1.4.2<br>&nbsp; &nbsp; 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.&nbsp; <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 -&gt; Edit -&gt; Entry Editing), but it does not work.&nbsp; 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&nbsp;  =
--or--&nbsp;  519 725 7875, ext 620.<br><br>----- "Yusuke NAKAI" &lt;<a yma=
ilto=3D"mailto:[email protected]" href=3D"mailto:[email protected]">nyu=
[email protected]</a>&gt; wrote:<br><br>&gt; Hi,<br>&gt; <br>&gt; &gt; Unfor=
tunately, these settings do not take effect.&nbsp; <br>&gt; &gt; When I cre=
ate a new blog post, both comments and trackbacks are set<br>&gt;
 <br>&gt; &gt; to "Open" (unless I explicitly change these settings).<br>&g=
t; <br>&gt; How is your environment?<br>&gt; <br>&gt; I've just test commen=
ts and trackbacks setting.<br>&gt; Both are set to none, that is, cannot ad=
d and hidden.<br>&gt; So my test entry looks fllowing:<br>&gt; <br>&gt; <a =
href=3D"http://nagosui.org/PloneSkin/testblog/test-entry" target=3D"_blank"=
>http://nagosui.org/PloneSkin/testblog/test-entry</a><br>&gt; <br>&gt; It l=
ooks that settings works correctly.<br>&gt; <br>&gt; My environment summary=
:<br>&gt; <br>&gt; - COREBlog2 0.9.83b<br>&gt; - Plone 3.1.7 (buildout)<br>=
&gt; - CMF 2.1.1<br>&gt; - Zope 2.10.6-final<br>&gt; - Python 2.4.4<br>&gt;=
 <br>&gt; Regards,<br>&gt; <br>&gt; -- <br>&gt; Yusuke NAKAI<br>&gt; <br>&g=
t; mail: <a ymailto=3D"mailto:[email protected]" href=3D"mailto:nyusuke@n=
agosui.org">[email protected]</a><br>&gt; web : <a href=3D"http://nagosui=
.org" target=3D"_blank">http://nagosui.org</a><br>&gt;
 _______________________________________________<br>&gt; COREblog-en mailin=
g list<br>&gt; <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>&gt; <a href=3D=
"http://postaria.com/mailman/listinfo/coreblog-en" target=3D"_blank">http:/=
/postaria.com/mailman/listinfo/coreblog-en</a><br>&gt; 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==--