Mohit Sindhwani wrote:
Francis Hwang wrote:
Hi, I've done very little with Radiant so maybe I'm missing something
obvious. I'm trying to use Mark Yoon's mail_to extension
(http://ext.radiantcms.org/extensions/32-mail-to) and not having much
luck. I put the extension in vendor/extensions/mail_to, and then ran
RAILS_ENV=production rake radiant:extensions:mail_to:migrate
RAILS_ENV=production rake radiant:extensions:mail_to:update
-- though I'm not sure that those rake tasks would be necessary.
Anyway, I restart my mongrels, and I just get this on the page:
"undefined tag `mail_to'"
Francis,
I'm not using the extension but I just installed it into a test site
of mine. It seems to load fine.
Just check that it's installed to extensions/mail_to (underscore not
dash - but you seem to have that). After doing that, Radiant starts
OK, I can use the tag in my page.
<r:mail_to email="[EMAIL PROTECTED]" />
This is <r:mail_to email="[EMAIL PROTECTED]">my </r:mail_to> email.
But, I don't see any specific output on the web page. The source has
something similar to:
<script
type="text/javascript">eval(unescape(‘%64%6f%63%75%6d%65%6e%74%2e%77%72%69%74%65%28%27%3c%61%20%68%72%65%66%3d%22%6d%61%69%6c%74%6f%3a%72%61%6e%64%6f%6d%40%65%78%61%6d%70%6c%65%2e%6f%72%67%22%3e%72%61%6e%64%6f%6d%40%65%78%61%6d%70%6c%65%2e%6f%72%67%3c%2f%61%3e%27%29%3b’))</script>
But I don't see an error either.
Perhaps, you could show us how you're using it?
OK, I investigated this a bit further and found that the problem in my
case was that my page is Textile and that was causing a problem. Use of
this should be wrapped in <notextile></notextile> so that Textile
doesn't escape it.
Now, where are you facing the problem? Let's see if we can help :)
Cheers,
Mohit.
9/21/2008 | 11:48 PM.
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant