Sean, thanks for the step by step guide for the page_attachments
extension.
I have followed all of the steps and the upload interface is showing up.
However I am still having the same problem in that after I browse to the
files and click to save the page the images are still not uploaded
anywher
Hi, the radiantcms.org server seems to be down and I'm looking for a link so
I can download the page_attachments files - anyone know if it's available
elsewhere? Thanks!
--
-Grant Blakeman
[EMAIL PROTECTED]
http://grantblakeman.com
___
Radiant mailing l
Hi,
some kind of usage problems with page_attachments:
1.
has somebody found out how to cycle through page_attachments?
I want to render all the attachments as a list or in a gallery like
format but could not find something like
2.
can the upload attachment functionality be made accessible
I'm having trouble using the page_attachments extension. The
admin/extensions page in Radiant shows that it's installed and enabled, I
just don't see where the interface for uploading assets is, there's no
difference when creating or updating a page. Am I doing something wrong?
___
Does the filesystem have write access to the proper folder (I'm guessing
its /YOUR-PROJECT/public/files)?
--
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post: Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-lis
> Does the filesystem have write access to the proper folder (I'm guessing
> its /YOUR-PROJECT/public/files)?
My mistake, the filesystem needs write access to /YOUR-PROJECT/public/
It will add a new directory titled "page_attachments" and store uploads
there.
--
Posted via http://www.ruby-for
thanks
Sharon
--
Message: 1
Date: Mon, 4 Jun 2007 20:26:31 +0200
From: David Piehler <[EMAIL PROTECTED]>
Subject: Re: [Radiant] Page_Attachments
To: radiant@lists.radiantcms.org
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain
I'm suddenly getting this same error with a PDF file I am trying to
attach. Other files (PDF, JPG, and TXT) have worked fine up until this
point and can be attached to the page, just not this specific PDF.
--
Posted via http://www.ruby-forum.com/.
___
Hi,
I have page_attachments installed and running on Radiant edge. I also
have MiniMagick installed. gem list shows:
mini_magick (1.2.0)
Manipulate images with minimal use of memory.
The tag works very well!
But in the Available Tags list, I can't see anything related to
generating a thumb
David Piehler wrote:
> I'm suddenly getting this same error with a PDF file I am trying to
> attach. Other files (PDF, JPG, and TXT) have worked fine up until this
> point and can be attached to the page, just not this specific PDF.
Did you ever fix this?
--
John Long
http://wiseheartdesign.com
John W. Long wrote:
> Did you ever fix this?
No. Its still a lingering issue.
I'm actually at about a 50% success rate for attaching PDFs. They either
consistently attach or consistently fail -- not once has trying the same
file multiple times suddenly worked for me (unlike Sharon's statement
What's your hosting solution?
Sean
David Piehler wrote:
> John W. Long wrote:
>
>> Did you ever fix this?
>>
>
> No. Its still a lingering issue.
>
> I'm actually at about a 50% success rate for attaching PDFs. They either
> consistently attach or consistently fail -- not once has trying
http://svn.seancribbs.com/svn/rails/plugins/extensions/page_attachments
;)
Sean
On 6/14/07, Grant Blakeman <[EMAIL PROTECTED]> wrote:
> Hi, the radiantcms.org server seems to be down and I'm looking for a link so
> I can download the page_attachments files - anyone know if it's available
> elsew
I am also still having the same problem with Page_Attachments, I have
only tried a couple of pdf files which have been ok. It is mostly image
files that we need to upload. The images are usually over 1mb so it
doesn't seem to be caused by the files being very small.
Thanks
Sharon
This e-m
Aha! That would be the problem. I'll go ahead and make the change,
but if you want to do it yourself, go to
vendor/extensions/page_attachments/app/models/page_attachment.rb and
add this option to the has_attachment line:
:max_size => 10.megabytes # or whatever you want
Then restart your server.
thanks!
-gb
On 6/14/07, Sean Cribbs <[EMAIL PROTECTED]> wrote:
>
> http://svn.seancribbs.com/svn/rails/plugins/extensions/page_attachments
>
> ;)
>
> Sean
>
> On 6/14/07, Grant Blakeman <[EMAIL PROTECTED]> wrote:
> > Hi, the radiantcms.org server seems to be down and I'm looking for a
> link so
>
Michael,
1) page_attachments assumes you want a particular file accessible from a
particular page or its children. It also assumes you know the name of
the file and makes no assumptions about the format of the file, be it
text, image or some other binary format. There is no way to iterate
th
1) imho it's not very good assumption... iteration would be VERY useful
feature
for example to easily create javascript-based gallery. when i create page
Gallery i won't attach anything except images i want to show...
2) i agree with Sean..
On 7/17/07, Sean Cribbs <[EMAIL PROTECTED]> wrote:
>
> M
On 7/17/07, Sean Cribbs <[EMAIL PROTECTED]> wrote:
> Michael,
>
> 1) page_attachments assumes you want a particular file accessible from a
> particular page or its children. It also assumes you know the name of
> the file and makes no assumptions about the format of the file, be it
> text, image o
Adding some iteration tags is actually not very hard. You can easily
find all page attachments for a given page and cycle through them. I
have done this, but I am not sure where the tags are... :) I prefer
some sort of gallery plugin for such things, but sometimes it is nice
to have a few i
Hi
On Tue, 2007-07-17 at 23:33 +0300, Keymone wrote:
> 1) imho it's not very good assumption... iteration would be VERY useful
> feature
> for example to easily create javascript-based gallery. when i create page
> Gallery i won't attach anything except images i want to show...
>
Who's develop
Keith Bingman wrote:
> Adding some iteration tags is actually not very hard. You can easily
> find all page attachments for a given page and cycle through them. I
> have done this, but I am not sure where the tags are... :) I prefer
> some sort of gallery plugin for such things, but sometimes
To iterate over attachments like this:
Add these tags to page_attachment_tags.rb:
desc %{
Gives access to a page's attachments.
*Usage:*
...
}
tag "attachments" do |tag|
tag.locals.attachments = tag.locals.page.attachments
tag.expand
end
desc %{
John W. Long wrote:
> Did you ever fix this?
Fixed via Sean's patch here:
http://www.ruby-forum.com/topic/111949
Thanks guys!
--
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post: Radiant@lists.radiantcms.org
Search: http://radiant
No - noone has replied as yet :(
David Piehler wrote:
> John W. Long wrote:
>
>> Did you ever fix this?
>>
>
> Fixed via Sean's patch here:
> http://www.ruby-forum.com/topic/111949
>
> Thanks guys!
>
___
Radiant mailing list
Post: Radiant@l
I'm curious how well page_attachments has worked for others. I'm going
to give it a try in my test environment, but wondering how it's worked
for end users who may or may not be computer savvy (from a programmer's
perspective).
Are there any other options, aside from writing my own extension,
curr
antcms.org
Subject: [Radiant] page_attachments extension
I'm having trouble using the page_attachments extension. The admin/extensions
page in Radiant shows that it's installed and enabled,
I just don't see where the interface for uploading assets is, there's no
difference when cre
I noticed this yesterday as well whilst working with the new 0.6 gem
and edge versions. Luckily I had an older version of the extension
that I could roll back to. It worked fine with my new installation...
It looks like the modifications to the edit page aren't getting
picked up from the lat
Andrew,
I have yet to update the extension to make it compatible with the
release of 0.6. I wrote that back in January I think. Give me a couple
days, at least; I have to update about 5 other extensions too!
Sean
Andrew Gruner wrote:
I'm having trouble using the page_attachments extension.
Sean,
No problem, I just thought I was missing something. Thanks.
On 4/27/07, Sean Cribbs <[EMAIL PROTECTED]> wrote:
Andrew,
I have yet to update the extension to make it compatible with the release
of 0.6. I wrote that back in January I think. Give me a couple days, at
least; I have to up
I have such a problem with those extension. I've installed the extension
and it's visible on admin/extensions page. But on Edit page there is no
UI for uploading some file or anything... What can be wrong??
--
Posted via http://www.ruby-forum.com/.
_
Do you have any other extensions that modify your edit-page page? I
believe that a current limitation is that only one extension can
modify the page.
Matt
On May 16, 2007, at 9:12 AM, Artur Baldyga wrote:
> I have such a problem with those extension. I've installed the
> extension
> and i
Matt,
You're almost right. I updated page_attachments to use the hooks
available in 0.6.x to place a section just above the form buttons.
However, if any other extensions directly override the interface, this
could be broken.
Artur,
Make sure you run `rake radiant:extensions:page_attachments:up
P.S. Make sure you do `rake radiant:freeze:edge` as well. 0.6.1
doesn't allow multi-part forms on the page-edit interface, which are
needed for file uploads. See r436:
http://dev.radiantcms.org/radiant/changeset/436
Sean
On 5/16/07, Sean Cribbs <[EMAIL PROTECTED]> wrote:
> Matt,
>
> You're almos
Matt Bauman wrote:
> Do you have any other extensions that modify your edit-page page? I
> believe that a current limitation is that only one extension can
> modify the page.
>
> Matt
On edit page I have only tiny_mce editor...
--
Posted via http://www.ruby-forum.com/.
OK, I've got page_attachments installed and can upload files. My question
is, after uploading, how do I link to it from the page it's attached to? I
don't see the link to the actual file, only the thumbnail. Am I still
missing something?
Thanks.
___
Radi
In order to generate a thumbnail with MiniMagick, you need to set the
processor to :mini_magick. You can do this in the PageAttachments
model, just where it says "has_attachment".
I have written my own tags that allow you to access the thumbnails,
but these are currently not in page_attachme
There's no specific support for thumbnails, other than being generated
to support the UI. They are 50x50 by default. Would a "thumbnail" tag
be helpful?
Sean
Jonathan Métillon wrote:
> Hi,
>
> I have page_attachments installed and running on Radiant edge. I also
> have MiniMagick installed. ge
I solved it by writing an image tag with a "size" attribute. This
just passes a key to the public_filename in attachment_fu. Then I can
make and access any size I want using something like
with calls the image path
with "public_filename(:thumbnail)". This gives me a great deal of
flexibi
Awesome, Keith. I'll put that in the extension right away.
Sean
Keith Bingman wrote:
> I solved it by writing an image tag with a "size" attribute. This
> just passes a key to the public_filename in attachment_fu. Then I can
> make and access any size I want using something like
> with ca
If you would like, I can send you the code I have.
Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]
http://keithbingman.com
On Jun 6, 2007, at 2:41 PM, Sean Cribbs wrote:
> Awesome, Keith. I'll put that in the extension right away.
>
> Sean
>
> Keith Bingman wrote:
>> I solved it by wr
I forgot, I did something similar on the link tag, so that you can
make links to specific image sizes as well. I don't use this one
much, but it is good for embedding light box images in blog posts and
such. Like this: /http://bitchkittyracing.com/articles/keiths-visit-
days-0-1/
Keith Bing
I'm pretty happy with page_attachments. The biggest headache for me
was installing RMagick or image_science on my Mac dev machine (I don't
know why this is still such a pain in the a$$!). It's running great
on my Ubuntu Server though.
Usability-wise, the thumbnails it adds to the page admin inte
Andrew O'Brien wrote:
> I'm pretty happy with page_attachments. The biggest headache for me
> was installing RMagick or image_science on my Mac dev machine (I don't
> know why this is still such a pain in the a$$!). It's running great
> on my Ubuntu Server though.
>
> Usability-wise, the thumbnai
I think this is a top notch extension. However I will try to patch it so the
admin view can display the 'public' url for easy copy pasting with wysiwyg
editors.
P.
On Jan 3, 2008 5:18 PM, Mohit Sindhwani <[EMAIL PROTECTED]> wrote:
> Andrew O'Brien wrote:
> > I'm pretty happy with page_attachment
* Mohit Sindhwani <[EMAIL PROTECTED]> [2008-01-04 00:18:40 +0800]:
> Andrew O'Brien wrote:
> > I'm pretty happy with page_attachments. The biggest headache for me
> > was installing RMagick or image_science on my Mac dev machine (I don't
> > know why this is still such a pain in the a$$!). It's
Saji N. Hameed wrote:
> * Mohit Sindhwani <[EMAIL PROTECTED]> [2008-01-04 00:18:40 +0800]:
>
>> It also works fine for me. No problems yet!
>>
>> Cheers,
>> Mohit.
>>
> Sorry, but not very easy to use for the lay person client who may have no
> idea
> about radius tags.
>
> saji
>
>
> Sorry, but not very easy to use for the lay person client who may have no
> idea
> about radius tags.
>
> saji
>
> True, that's why I will try to patch it with some easy copy/paste URL
thingy. (like photobucket and the like)
___
Radiant mailing list
"Peter Berkenbosch" <[EMAIL PROTECTED]> writes:
>>
>> Sorry, but not very easy to use for the lay person client who may have no
>> idea
>> about radius tags.
>>
>> saji
>>
>> True, that's why I will try to patch it with some easy copy/paste URL
> thingy. (like photobucket and the like)
One way
On Jan 7, 2008 4:16 PM, J Aaron Farr <[EMAIL PROTECTED]> wrote:
> One way I use the page_attachements extension is to create a single
> page under Root called Assets and then attach "global" files to this
> page. I can then reference them directly by URL, but it would be nice
> to have a tag that
J Aaron Farr wrote:
> "Peter Berkenbosch" <[EMAIL PROTECTED]> writes:
>
>
>>> Sorry, but not very easy to use for the lay person client who may have no
>>> idea
>>> about radius tags.
>>>
>>> saji
>>>
>>> True, that's why I will try to patch it with some easy copy/paste URL
>>>
>> thing
Click the "Available Tags" link on the Page Edit screen. It shows you
all the tags related to attachments. Examples:
Click here to
download!
And lots more.
--
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post: Radiant@lists.ra
Aha! I knew I was missing something easy. Thanks!
On 6/5/07, David Piehler <[EMAIL PROTECTED]> wrote:
>
> Click the "Available Tags" link on the Page Edit screen. It shows you
> all the tags related to attachments. Examples:
>
>
>
> Click here to
> download!
>
> And lots more.
>
> --
> Posted via
Hello List,
I'm currently trying to install the page_attachments extention, but facing a
problem when I run rake radiant:extensions:page_attachments:update.
This is the trace:
** Invoke environment (first_time)
** Execute environment
Extensions cannot be used until Radiant migrations are up to d
Just checking to see if anyone is using page_attachments successfully on a
TextDrive account running lighttpd. I'm using such a setup as my test
server and get an application error whenever I try to attach files. My
production box is on another host running mongrel and everything works
beautifully
First off, preemptive apology in case this is a repeat of another bug
report with page_attachments (I did search the archives, so I think
this is a new one)...
Whenever I try to both upload a file and make a change to a standard
page_part, I get the error below. If I just upload an image, or just
Hi all,
I just installed the page_attachments extension according to the
instructions on the wiki page. Everything seems to work on the UI
side since the attachment menu shows up and I can upload files. It
seems, however, that none of the files are actually saved even though
I don't any er
Peter,
Could you give a directory listing of vendor/extensions? Thanks.
Sean
Peter Berkenbosch wrote:
> Hello List,
>
> I'm currently trying to install the page_attachments extention, but facing a
> problem when I run rake radiant:extensions:page_attachments:update.
>
> This is the trace:
>
> *
Hi Sean,
I will do that this evening. The code is on my laptop, atm I'm at a job
where I work on a workstation.
Peter.
On 6/13/07, Sean Cribbs <[EMAIL PROTECTED]> wrote:
>
> Peter,
>
> Could you give a directory listing of vendor/extensions? Thanks.
>
> Sean
>
> Peter Berkenbosch wrote:
> > Hel
Hi Sean,
vendor/extentions only has a folder page_attachments.
Should there be more?
Peter.
On 6/13/07, Sean Cribbs <[EMAIL PROTECTED]> wrote:
> >
> > Peter,
> >
> > Could you give a directory listing of vendor/extensions? Thanks.
> >
> > Sean
> >
> > Peter Berkenbosch wrote:
> > > Hello Lis
Nope. Although it shouldn't be necessary, you might try
rake production radiant:extensions:page_attachments:update
If that task didn't need RAILS_ROOT to know where to copy files, I
would make it independent of the current environment altogether.
Sean
On 6/14/07, Peter Berkenbosch <[EMAIL PROT
Ok, I will give it another try tomorrow. Will investigate some more if it
fails...
Thanks
Peter.
On 6/14/07, Sean Cribbs <[EMAIL PROTECTED]> wrote:
>
> Nope. Although it shouldn't be necessary, you might try
>
> rake production radiant:extensions:page_attachments:update
>
> If that task didn't
Make sure to bug me again with any specific errors. It seems lots of
people are having trouble and I'd like to keep track of the pain
points as much as possible so I can fix them.
Sean
On 6/14/07, Peter Berkenbosch <[EMAIL PROTECTED]> wrote:
> Ok, I will give it another try tomorrow. Will invest
will do! Thanks.
On 6/14/07, Sean Cribbs <[EMAIL PROTECTED]> wrote:
>
> Make sure to bug me again with any specific errors. It seems lots of
> people are having trouble and I'd like to keep track of the pain
> points as much as possible so I can fix them.
>
> Sean
>
> On 6/14/07, Peter Berkenbosc
I just did all the steps on the wiki, but I still keep getting the same
errors:
[EMAIL PROTECTED] ~/radiant_workspace/demo
$ rake radiant:extensions:page_attachments:update --trace
(in /cygdrive/c/dev/Source/radiant_workspace/demo)
** Invoke radiant:extensions:page_attachments:update (first_time)
When I was running a pre 0.6 version on TextDrive, I had to specify
RMagick as the processor because ImageScience was broken. Try this
from a shell:
$ irb
>> require 'rubygems'
=> true
>> require 'image_science'
If at that point, you get an error and stack trace, it is incorrectly
configured on
You should think about MiniMagick, as well. RMagick hits the memory
limit pretty fast on TextDrive. I have not had much luck with it
there. You can install MiniMagick as a gem or plugin in your vendor
folder, then just specify the processor as mini_magick. I have a site
on Textdrive using p
Good to know, Keith! :D
Sean
On 6/17/07, Keith Bingman <[EMAIL PROTECTED]> wrote:
> You should think about MiniMagick, as well. RMagick hits the memory
> limit pretty fast on TextDrive. I have not had much luck with it
> there. You can install MiniMagick as a gem or plugin in your vendor
> folder
Thanks guys, Keith, I'll give MiniMagick a try. It didn't even dawn on me
that it might be the image processor giving me the error.
-gb
On 6/17/07, Sean Cribbs <[EMAIL PROTECTED]> wrote:
>
> Good to know, Keith! :D
>
> Sean
>
> On 6/17/07, Keith Bingman <[EMAIL PROTECTED]> wrote:
> > You should t
I have radiant installed, with rmagick and page_attachments is working
but it only works with very small text files. Is there any configuration
I can change to make it work with larger files? Has anyone else had
this problem?
--
Posted via http://www.ruby-forum.com/.
_
Ulf,
Check the permissions on the public/ directory of your Radiant project
and make sure that the user your app server (Mongrel or FCGI) runs as
has write access to that directory. It's possible that the file
wouldn't save.
Sean
Ulf Moehring wrote:
> Hi all,
>
> I just installed the page_at
I have other problem, when I add this extension in Edit page below body
I see a green plus which and label with "(0)" in the end. But when I
click on plus nothing action begins.
--
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:
Michael,
Make sure to use the included rake task to copy the included javascript
and stylesheets to your public directory.
Sean
Michael Nikitochkin wrote:
> I have other problem, when I add this extension in Edit page below body
> I see a green plus which and label with "(0)" in the end. But w
Sean,
thanks for the suggestion. Unfortunately that wasn't the problem...
Ulf
On Dec 7, 2007, at 6:06 AM, Sean Cribbs wrote:
> Ulf,
>
> Check the permissions on the public/ directory of your Radiant project
> and make sure that the user your app server (Mongrel or FCGI) runs as
> has write acc
Unless your hosting provider or web server has a limit on the POST
size, it should allow attachments up to 10MB in size. Could you give
some information about your hosting solution?
Sean
On 9/22/07, Nick Mr <[EMAIL PROTECTED]> wrote:
> I have radiant installed, with rmagick and page_attachments
Hi,
I'm using the page_attachments extension and it is working fine, except
when I use it on a page that with a page type of anything other than
normal. I saw an old mailing list post about it, but there was no
resolution...anyone else having problems with this?
I'm running 0.6.4 Radiant with mon
I think I've got part of the solution figured out. After digging into
the code a little and poking around console, I think I understanding
what's going on.
page_attachments is literally attached to a page with class Page. In
page_attachments_extension.rb, the PageAttachment stuff gets
class_ev
Dave,
That sounds kind of hack-ish. The better solution is make sure
page_attachments loads before anything else. Uncomment/put this line in
config/environment.rb:
config.extensions = [:page_attachments, :all]
Although I haven't heard of changes to a superclass not propagating to
subclasses
Sean Cribbs wrote:
> Dave,
>
> That sounds kind of hack-ish. The better solution is make sure
> page_attachments loads before anything else. Uncomment/put this line in
> config/environment.rb:
>
> config.extensions = [:page_attachments, :all]
>
> Although I haven't heard of changes to a superc
79 matches
Mail list logo