# Deactivating Page\_Attachments extension not working

**URL:** <https://www.ruby-forum.com/t/deactivating-page-attachments-extension-not-working/111590>\
**Category:** Radiant CMS\
**Created:** [August 8, 2007, 9:54pm UTC](https://www.ruby-forum.com/t/deactivating-page-attachments-extension-not-working/111590 "2007-08-08T21:54:26Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dpitman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/a9adbd/32.png) [@dpitman](https://www.ruby-forum.com/u/dpitman)\
**Post date:** [August 8, 2007, 9:54pm UTC](https://www.ruby-forum.com/t/deactivating-page-attachments-extension-not-working/111590/1 "2007-08-08T21:54:26Z")

</div>

Running 0.6.2 on gem with last week’s version of the Page\_Attachments  
extension. This is happening both locally on my Mac and live on a Sun  
machine.

After I deactivate the Page\_Attachments extension, the tan attachments  
upload bar still appears on the Edit Page screen. Then, when I  
re-activate it, there are now two upload bars on the Edit Page screen.  
If I de-activate/re-activate it again, there will be three bars.

Any ideas as to what is going wrong?

---

<div class="post-metadata">

**Author:** ![dpitman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/a9adbd/32.png) [@dpitman](https://www.ruby-forum.com/u/dpitman)\
**Post date:** [August 8, 2007, 11:19pm UTC](https://www.ruby-forum.com/t/deactivating-page-attachments-extension-not-working/111590/2 "2007-08-08T23:19:28Z")

</div>

Deactivation is a feature that is very lacking in page\_attachments. I  
apologize for this. Essentially, it does nothing right now, but  
reactivating does the initialization again! So you’ll keep getting  
attachments sections added to the edit page.

Sean

---

<div class="post-metadata">

**Author:** ![dpitman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/a9adbd/32.png) [@dpitman](https://www.ruby-forum.com/u/dpitman)\
**Post date:** [April 16, 2008, 6:01pm UTC](https://www.ruby-forum.com/t/deactivating-page-attachments-extension-not-working/111590/3 "2008-04-16T18:01:50Z")

</div>

Hi Sean,  
Hmmm, I have 3 upload bars at the moment, and although I surely must be  
blind, I can’t figure out how to get rid of the two I don’t need.  
Any pointers would be greatly appreciated,

Thanks in advance,  
Nancy

Sean C. schrieb:

---

<div class="post-metadata">

**Author:** ![dpitman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/a9adbd/32.png) [@dpitman](https://www.ruby-forum.com/u/dpitman)\
**Post date:** [April 16, 2008, 6:14pm UTC](https://www.ruby-forum.com/t/deactivating-page-attachments-extension-not-working/111590/4 "2008-04-16T18:14:18Z")

</div>

Nancy,

Wow, that was a really old message you replied to. What do you mean 3  
upload bars? Also, what version of Radiant are you using and which  
version of page\_attachments did you install?

Sean

---

<div class="post-metadata">

**Author:** ![dpitman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/a9adbd/32.png) [@dpitman](https://www.ruby-forum.com/u/dpitman)\
**Post date:** [April 16, 2008, 6:44pm UTC](https://www.ruby-forum.com/t/deactivating-page-attachments-extension-not-working/111590/5 "2008-04-16T18:44:28Z")

</div>

Nancy,

I would restart your app server to remove the problem. Deactivating  
extensions from the interface has always been “sketchy” and has been  
removed in trunk.

Sean

---

<div class="post-metadata">

**Author:** ![dpitman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/a9adbd/32.png) [@dpitman](https://www.ruby-forum.com/u/dpitman)\
**Post date:** [April 16, 2008, 6:30pm UTC](https://www.ruby-forum.com/t/deactivating-page-attachments-extension-not-working/111590/6 "2008-04-16T18:30:15Z")

</div>

Hi Sean,  
Wow! You’re fast! The three upload bars that I have are the result of  
clicking the “update” button in the extensions tab just like David had  
reported:

```
"After I deactivate the Page_Attachments extension, the tan
attachments upload bar still appears on the Edit Page screen. Then,
when I re-activate it, there are now two upload bars on the Edit
Page screen. If I de-activate/re-activate it again, there will be
three bars."

```

Unfortunately, I already had two when I went “archive fishing”, and then  
before I replied I tested that I was looking at the same effect.

This Radiant is 0.6.4 (gem), and the page\_attachments came from the svn  
trunk  
([http://dev.radiantcms.org/browser/trunk/extensions/page\_attachments](http://dev.radiantcms.org/browser/trunk/extensions/page_attachments))

Thanks,  
Nancy

Sean C. schrieb:

---

<div class="post-metadata">

**Author:** ![dpitman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/a9adbd/32.png) [@dpitman](https://www.ruby-forum.com/u/dpitman)\
**Post date:** [April 16, 2008, 6:54pm UTC](https://www.ruby-forum.com/t/deactivating-page-attachments-extension-not-working/111590/7 "2008-04-16T18:54:08Z")

</div>

Yep. Oh man, how embarrassing. I figgered it would turn out this way.  
It’s always the one thing I forgot to think of that solves the  
problem… Thanks a million, Sean

Nancy

Sean C. schrieb:
