A simple bash/perl script that you could run from w/in the /themes directory might look like:
for i in `grep -lr '#showWeblogEntryComments($entry)' *`; do perl -pi'.bak' -e s/\#showWeblogEntryComments\(\$entry\)/\#showWeblogEntryComments\(\$model.weblogEntry\)/ $i done for i in `grep -lr '#showWeblogEntryCommentForm($entry)' *`; do perl -pi'.bak' -e s/\#showWeblogEntryCommentForm\(\$entry\)/\#showWeblogEntryCommentForm\(\$model.weblogEntry\)/ $i done -- Ron Peterson Network & Systems Manager Mount Holyoke College http://www.mtholyoke.edu/~rpeterso - I wish my computer would do what I want it to do - not what I tell it to do. 2008-10-24_10:52:42-0400 rpeterso: > Hi Kurt, > > These would be defined w/in the theme in question. E.g. cd to your > themes/Indigo directory (or if you are editing a custom theme, use > roller's internal theme editor), and edit the appropriate .vm file(s). > > If you are editing the theme files on disk, you'll need to restart > Tomcat before the changes take effect. > > Best. > > -Ron- > > 2008-10-24_09:47:56-0400 "Shaffer, Kurt" <[EMAIL PROTECTED]>: > > Where are these entries at? > > > > Thankx, > > Kurt > > > > > > -----Original Message----- > > From: Ron Peterson [mailto:[EMAIL PROTECTED] > > Sent: Thursday, October 23, 2008 11:19 > > To: [email protected]; Shaffer, Kurt > > Cc: David Koelmeyer > > Subject: Re: Roller 4.0 / comments issue in themes? > > > > I think you might need to change > > > > #showWeblogEntryComments($entry) > > #showWeblogEntryCommentForm($entry) > > > > to: > > > > #showWeblogEntryComments($model.weblogEntry) > > #showWeblogEntryCommentForm($model.weblogEntry) > > > > (p.s. - it would be good if this change were made in the Roller > > distribution) > > > > -Ron- > > > > 2008-10-23_07:52:57-0400 Kurt Shaffer <[EMAIL PROTECTED]>: > > > Dave, > > > > > > Interesting, I changed to basic and it allowed comments in the one > > blog. > > > > > > If anyone figures it out I would be greatful to "learn" something new. > > > > > > Thankx, > > > Kurt > > > > > > On Thu, 2008-10-23 at 13:37 +1300, David Koelmeyer wrote: > > > > > > > Hi Kurt, > > > > > > > > It's funny, but just now I've also come up against a > > > > problem whereby even if my global and user-level > > > > comments are enabled, comments in my blog are > > > > always "closed". > > > > > > > > This turned out to be related to the "Indigo" theme > > > > I had applied, and I found that by simply applying a > > > > different theme (eg "Dirtylicious"), I was able to > > > > post comments. > > > > > > > > Cheers, > > > > Dave > > > > > > > > ________________________________________ > > > > From: David Koelmeyer [EMAIL PROTECTED] > > > > Sent: Thursday, 23 October 2008 9:40 a.m. > > > > To: [email protected]; [EMAIL PROTECTED] > > > > Subject: RE: Roller 4.0 > > > > > > > > Hi Kurt, > > > > > > > > Maybe for the latter part of your query double check that > > > > comments aren't disabled at the site level, logged in > > > > as the admin user under server settings? The setting > > > > made here will override the comments setting made > > > > for individual blogs. > > > > > > > > Cheers > > > > Dave > > > > ________________________________________ > > > > From: Kurt Shaffer [EMAIL PROTECTED] > > > > Sent: Thursday, 23 October 2008 3:15 a.m. > > > > To: [email protected] > > > > Subject: Roller 4.0 > > > > > > > > I have 4.0 installed on a solaris system with Tomcat and MySQL. > > > > It was running fine for quite some time, but now I can not remove a > > blog > > > > and a newly create blog has setting to allow comments, but when I go > > in > > > > to test out comments after adding and entry it tells me comments are > > > > closed. > > > > > > > > Any help on where to start looking would be great. > > > > > > > > Thankx, > > > > KS > > > > > > > > > > Kurt Shaffer, UNIX Architect > > > STERIS Corporation > > > 440-392-7089 > > > > > > UNIX Operations Portal > > > > > > Email composed with Evolution on solaris 11.
