Re: [Radiant] Copy and Move extension

2010-03-11 Thread Shaolo
I tried it out, but it fails with a sql error.  Trying to perform the
install by hand failed with a virtual timer expired error.

This is the SQL error:
ActiveRecord::StatementInvalid (Mysql::Error: Unknown column
'position' in 'order clause': SELECT * FROM `pages` WHERE
(`pages`.`slug` = 'styles.css') AND (`pages`.parent_id = 1)  ORDER BY
position ASC LIMIT 1):



On Wed, Mar 10, 2010 at 9:43 PM, Arthur Gunn art...@gunn.co.nz wrote:
 Shaolo,

 If you haven't look at the drag_order extension.
 It allows copying, moving and also reordering and does them all
 through the same less invasive dragging interface.



 -Arthur

 ___
 Radiant mailing list
 Post: Radiant@radiantcms.org
 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: Radiant@radiantcms.org
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


Re: [Radiant] Copy and Move extension

2010-03-11 Thread Haselwanter Edmund

On 11.03.2010, at 09:14, Shaolo wrote:

 I tried it out, but it fails with a sql error.  Trying to perform the
 install by hand failed with a virtual timer expired error.
 
 This is the SQL error:
 ActiveRecord::StatementInvalid (Mysql::Error: Unknown column
 'position' in 'order clause': SELECT * FROM `pages` WHERE
 (`pages`.`slug` = 'styles.css') AND (`pages`.parent_id = 1)  ORDER BY
 position ASC LIMIT 1):

did you run the migration?

cu edi

--
DI Edmund Haselwanter, edm...@haselwanter.com, http://edmund.haselwanter.com/




___
Radiant mailing list
Post: Radiant@radiantcms.org
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


Re: [Radiant] Copy and Move extension

2010-03-11 Thread Shaolo
I had to upgrade from 1.8.6 to 1.8.7 and uninstall and reinstall, but
now the drag order extension works.

Now if someone can just help me figure out why I can't delete page
parts, I would be happy.

Thank you for the help.



On Thu, Mar 11, 2010 at 12:20 AM, Haselwanter Edmund
edm...@haselwanter.com wrote:

 On 11.03.2010, at 09:14, Shaolo wrote:

 I tried it out, but it fails with a sql error.  Trying to perform the
 install by hand failed with a virtual timer expired error.

 This is the SQL error:
 ActiveRecord::StatementInvalid (Mysql::Error: Unknown column
 'position' in 'order clause': SELECT * FROM `pages` WHERE
 (`pages`.`slug` = 'styles.css') AND (`pages`.parent_id = 1)  ORDER BY
 position ASC LIMIT 1):

 did you run the migration?

 cu edi

 --
 DI Edmund Haselwanter, edm...@haselwanter.com, http://edmund.haselwanter.com/




 ___
 Radiant mailing list
 Post: Radiant@radiantcms.org
 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: Radiant@radiantcms.org
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

Re: [Radiant] Copy and Move extension

2010-03-11 Thread Haselwanter Edmund

On 11.03.2010, at 10:30, Shaolo wrote:

 I had to upgrade from 1.8.6 to 1.8.7 and uninstall and reinstall, but
 now the drag order extension works.

I think while re-installing you run the migration of the drag order extension.

cu edi

--
DI Edmund Haselwanter, edm...@haselwanter.com, http://edmund.haselwanter.com/




___
Radiant mailing list
Post: Radiant@radiantcms.org
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


Re: [Radiant] Copy and Move extension

2010-03-11 Thread banane
If the column's not there, you need to re-run the migration, or set
hte migration version to 0 and run. Check the database and see what
schema versions are there. The schema.rb file will be wrong (because
extension migrations don't update there). So I'd advise running the
migration as:
rake radiant:extensions:copy_move:migrate version=0 (including the
environment RAILS_ENV=dev/prod of course)
___
Radiant mailing list
Post: Radiant@radiantcms.org
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] Copy and Move extension

2010-03-10 Thread Shaolo
Does anyone have this working?  I had it semi working at one point,
but after migrating to a new server, it fails to work.  There are no
errors.  I click the copy_move button in the admin page, I get the 4
option menu and when I click on one, it does absolutely nothing.
Nothing shows up in logs, no errors, etc.

I would LOVE to get this working.  Anyone else have success with this?
 I've tried running the ./script/extension uninstall copy_move and
then ./script/extension install copy_move.  Still no go.  I even
stopped the server before running the uninstall and started after the
install.  Extension admin page says it's version 2.0.
___
Radiant mailing list
Post: Radiant@radiantcms.org
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


Re: [Radiant] Copy and Move extension

2010-03-10 Thread Arthur Gunn
Shaolo,

If you haven't look at the drag_order extension.
It allows copying, moving and also reordering and does them all  
through the same less invasive dragging interface.



-Arthur

___
Radiant mailing list
Post: Radiant@radiantcms.org
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