Loren,
That was my change. Back last March when I was developing a Rails
application that needed to send email, I dissected various
gracefully-degrading emails that I got in my inbox. I found that, for
most email clients, the multipart/alternative type with a text/plain and
a text/html part
Sean,
Yeah since I wrote that message I'd done some looking around:
http://www.wilsonweb.com/wmt5/html-email-multi.htm
http://www.freesoft.org/CIE/RFC/1521/18.htm
And will look into it more this afternooon.
I need to follow through the code and my page to see why my the plain
text version
That makes sense however it still doesn't answer why the html version
isn't being preferred by Mac Mail (not checked with any other clients
yet). . .
I'll rearrange the order of the parts and re-send to see that
magically fixes it.
L
On Feb 3, 2007, at 9:43 AM, Sean Cribbs wrote:
Thanks and np,
I forget, this is the day :)
Honestly I don't think changing the order of the parts will fix my
problem anyway, though it does look like it should happen anyway.
___
Radiant mailing list
Post: Radiant@lists.radiantcms.org
Search:
Finally,
I manually re-arranged the plain and HTML parts in a test message and
opened it up directly in Mac Mail. Yep... that definitely fixes it.
___
Radiant mailing list
Post: Radiant@lists.radiantcms.org
Search:
Daniel Waite wrote:
What it boils down to is I'd like to see an example of an extension in
use that wasn't ported over from a behavior. Ideally the extensions
makes full use of itself, including the controllers, models, views,
extra Radius tags, etc. As it stands now I have no idea how an
Hey I feel like I'm missing something obvious,
I created an extension that adds some columns to the pages table, and
now I want to add some methods to the Page class.
I put this at the bottom of my Extension class
class Page ActiveRecord::Base
def test_new_method
hi
end
end
And now I'm
class Page ActiveRecord::Base
Should be:
YourPageClassName Page
On Feb 3, 2007, at 4:10 PM, Jacob Burkhart wrote:
Hey I feel like I'm missing something obvious,
I created an extension that adds some columns to the pages table, and
now I want to add some methods to the Page class.
I
Loren Johnson wrote:
class Page ActiveRecord::Base
Should be:
YourPageClassName Page
No, I don't want to subclass page, I want to add methods to all pages.
I could directly edit page.rb but I'd like to limit my edits to remain
within the folder for my extension.
--
Posted via
Jacob Burkhart wrote:
Loren Johnson wrote:
class Page ActiveRecord::Base
Should be:
YourPageClassName Page
No, I don't want to subclass page, I want to add methods to all pages.
I could directly edit page.rb but I'd like to limit my edits to remain
within the folder for my
It might be better to put your added methods in a module and include
them in Page inside the activate method of your extension, like so:
module NewPageMethods
def foo
bar
end
end
# in your extension
def activate
Page.send :include, NewPageMethods
# ...
end
Sean
Loren
Jacob Burkhart wrote:
Shouldn't it just get loaded by default. What do I do to fix this?
Put your methods in a module and mix them into page in your extension's
activate method.
--
John Long
http://wiseheartdesign.com
___
Radiant mailing list
Post:
I'm getting more bizzaro behavior with my extension now relating to
loading.
In this case, a routing declaration is working the first time, and then
failing on the second try.
My partial calls:
url_for(:controller = 'page_attributes', :action = :add)
the first time it loads, and things look
Page.send :include, NewPageMethods
That's the magic I was looking for thanks.
--
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post: Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:
I'm getting more bizzaro behavior with my extension now relating to
loading.
my stacktrace
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/routing.rb:1252:in
`generate'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/url_rewriter.rb:104:in
`rewrite_path'
Jacob,
I am looking at the routes issue. The 47's are part of the template
compilation magic. You can ignore it.
adam williams
On Feb 3, 2007, at 9:58 PM, Jacob Burkhart wrote:
I'm getting more bizzaro behavior with my extension now relating to
loading.
my stacktrace
Jacob,
I have just checked in some additional tests that show extension
routes working fine. I also created an extension, put in a custom
route, generated a link using url_for, and have no problems. A couple
of comments below:
On Feb 3, 2007, at 9:36 PM, Jacob Burkhart wrote:
My partial
On Feb 3, 2007, at 9:26 AM, Adam Salter wrote:
Loren,
You might want to check out svk:
http://svk.bestpractical.com/view/HomePage
I've found that SVK is the way to go as well. This is just a vouching
type email ;)
adam williams
___
Radiant
Ok, even though I haven't gotten the Mailer behaviour to work on my site
yet. I have some notes here that might help others with testing their
ActionMailer configuration.
My environment:
eApps (CentOS)
Here's what I've done so far...
TESTING with Telnet
Tested my SMTP
After a hard day’s work the core team is pleased to announce the
immediate release of Radiant 0.6 RC1! Lots of changes have gone into
this release—too many to enumerate them all at this time of night.
Suffice it to say that the focus of this release has been the new
extension system. We’ll
20 matches
Mail list logo