Page_attachment extension problem

Hi there!

@sean cribs:

I’m getting a “template not found error” in the page attachment
extension. I took a look to the last change to it:


r59 | seancribbs | 2008-02-08 15:20:00 +0100 (Fri, 08 Feb 2008) | 1 line
Changed paths:
A
/plugins/extensions/page_attachments/app/views/admin/page/_attachment.html.erb
D
/plugins/extensions/page_attachments/app/views/admin/page/_attachment.rhtml
A
/plugins/extensions/page_attachments/app/views/admin/page/_attachments_box.html.erb
D
/plugins/extensions/page_attachments/app/views/admin/page/_attachments_box.rhtml
M /plugins/extensions/page_attachments/page_attachments_extension.rb
M
/plugins/extensions/page_attachments/public/javascripts/page_attachments.js
M
/plugins/extensions/page_attachments/public/stylesheets/page_attachments.css

Apply Mislav’s patch.

And seems that you are making it Rails 2.0 compliant. But the Rails
extension packed in Radiant 0.6.4 gem is 1.2.5 so AFAIK it’s not
recognizing
the new template name rules.

I switched to the previous revision r58 and it’s working correctly
again.
I’m missing some update to Radiant?

Thanks!

/AITOR

Aitor,

No, page_attachments just recently moved over to the Radiant
repository. It is still available from my personal repository in an
older version:

http://svn.seancribbs.com/svn/rails/plugins/extensions/page_attachments/

Use that version with 0.6.4.

Sean

Hi Sean, thanks for the quick reply.

The new Rails 2.0 compliant changes are also on your repo:

$ svn log -v
http://svn.seancribbs.com/svn/rails/plugins/extensions/page_attachments

r59 | seancribbs | 2008-02-08 15:20:00 +0100 (Fri, 08 Feb 2008) | 1 line
Changed paths:
A
/plugins/extensions/page_attachments/app/views/admin/page/_attachment.html.erb
D
/plugins/extensions/page_attachments/app/views/admin/page/_attachment.rhtml
A
/plugins/extensions/page_attachments/app/views/admin/page/_attachments_box.html.erb
D
/plugins/extensions/page_attachments/app/views/admin/page/_attachments_box.rhtml
M /plugins/extensions/page_attachments/page_attachments_extension.rb
M
/plugins/extensions/page_attachments/public/javascripts/page_attachments.js
M
/plugins/extensions/page_attachments/public/stylesheets/page_attachments.css

Apply Mislav’s patch.

r58 | seancribbs | 2007-09-26 00:26:22 +0200 (Wed, 26 Sep 2007) | 1 line
Changed paths:
M
/plugins/extensions/page_attachments/lib/tasks/page_attachments_extension_tasks.rake

Update rake task

It's not important for me, i'm using the revision r58 above and it's

working well.

/AITOR