On Mon, Feb 22, 2010 at 1:03 PM, Erik Ostrom <[email protected]> wrote:
> Those first two statements look to me like they'd at least make the parts > show up differently in the admin area. > > Did you commit the changes? (I don't know whether SQLite3 defaults to > autocommit.) > I didn't commit them, but I'm pretty sure the default is autocommit. > > Did you restart the server? (Depending on what mode you're running it, this > might be necessary.) > Yup. > > On Mon, Feb 22, 2010 at 7:26 AM, Leon Miller-Out <[email protected] > >wrote: > > > Hi, folks! I was trying to rename some parts in one of our sites, and I > > couldn't get the application to show me the new part names. Here's what I > > did: > > > > sqlite> update page_parts set name = 'left' where name = 'body'; > > sqlite> update page_parts set name = 'right' where name = 'sidebar'; > > sqlite> update layouts set content = replace(content, 'part="body"', > > 'part="left"'); > > sqlite> update layouts set content = replace(content, 'part="sidebar"', > > 'part="right"'); > > (These last two are for the Chronicle extension's versioning table.) > > sqlite> update versions set yaml = replace(yaml, 'name: body', 'name: > > left'); > > sqlite> update versions set yaml = replace(yaml, 'name: sidebar', 'name: > > right'); > > > > When I loaded up the pages in the admin area, they were still called > "body" > > and "sidebar" instead of "left" and "right". What was I missing? > > > > Leon > > > > ============================= > > Leon Miller-Out > > President & CTO, Singlebrook Technology, Inc > > [email protected] > > p 607-330-1493 > > f 607-697-0457 > > 516 W. State St. - Suite 100 > > Ithaca, NY 14850 > > _______________________________________________ > > Radiant mailing list > > Post: [email protected] > > Search: http://radiantcms.org/mailing-list/search/ > > List Site: http://lists.radiantcms.org/mailman/listinfo/radiant > > Radiant: http://radiantcms.org > > Extensions: http://ext.radiantcms.org > > > _______________________________________________ > Radiant mailing list > Post: [email protected] > Search: http://radiantcms.org/mailing-list/search/ > List Site: http://lists.radiantcms.org/mailman/listinfo/radiant > Radiant: http://radiantcms.org > Extensions: http://ext.radiantcms.org > _______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
