# Page\_attachment extension problem

**URL:** <https://www.ruby-forum.com/t/page-attachment-extension-problem/128883>\
**Category:** Radiant CMS\
**Created:** [February 12, 2008, 12:39pm UTC](https://www.ruby-forum.com/t/page-attachment-extension-problem/128883 "2008-02-12T12:39:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aitor\_Garay-Romero](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ac8455/32.png) [@Aitor\_Garay-Romero](https://www.ruby-forum.com/u/Aitor_Garay-Romero)\
**Post date:** [February 12, 2008, 12:39pm UTC](https://www.ruby-forum.com/t/page-attachment-extension-problem/128883/1 "2008-02-12T12:39:47Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Aitor\_Garay-Romero](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ac8455/32.png) [@Aitor\_Garay-Romero](https://www.ruby-forum.com/u/Aitor_Garay-Romero)\
**Post date:** [February 12, 2008, 3:35pm UTC](https://www.ruby-forum.com/t/page-attachment-extension-problem/128883/2 "2008-02-12T15:35:54Z")

</div>

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/](http://svn.seancribbs.com/svn/rails/plugins/extensions/page_attachments/)

Use that version with 0.6.4.

Sean

---

<div class="post-metadata">

**Author:** ![Aitor\_Garay-Romero](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ac8455/32.png) [@Aitor\_Garay-Romero](https://www.ruby-forum.com/u/Aitor_Garay-Romero)\
**Post date:** [February 12, 2008, 6:17pm UTC](https://www.ruby-forum.com/t/page-attachment-extension-problem/128883/3 "2008-02-12T18:17:01Z")

</div>

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](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

```
