[Radiant] attachments in database with page_attachment extension
???
Sean Cribbs
seancribbs at gmail.com
Mon Mar 17 08:41:13 CDT 2008
Kay,
I don't understand why you would want to store them in the DB, but to
each his own. To do so, you will also need to create a table in the
database according to the needs of attachment_fu, and have a field in
the page_attachments table that serves as a key into the db_files
table. Find the info here:
http://svn.techno-weenie.net/projects/plugins/attachment_fu/README
Sean
Kay Joo wrote:
> With page_attachment extension, I am trying to store my photo files in a
> database(mysql).
>
> I changed a single row of page_attachment.rb.
>
> The changed line is "has_attachment :storage => :db_file," while there was
> :file_system in the original one.
>
> However, the attached files are still saved in the file system, not the
> database.
>
> Help me please~.
> _______________________________________________
> Radiant mailing list
> Post: Radiant at radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site: http://lists.radiantcms.org/mailman/listinfo/radiant
>
>
More information about the Radiant
mailing list