Displaying 20 results from an estimated 300 matches similar to: "Error On relative_url_root"
2005 Sep 07
3
XMLHttp question
I''m continuing my work on integrating fckeditor with Rails. Currently
I''m working on implementing the filebrowser / upload features, but
I''ve ran into this problem.
The response I get back is being loaded into the "responseText"
property instead of the "responseXML" property. I''m trying to figure
out why this is the case, but am coming up
2008 Jan 09
1
relative_url_root and problems with CSS url()
I''m using relative_url_root to allow my app to be run from a sub-
domain. Things work fine except with images that are referenced in my
CSS code.
For example,
background-image: url(/images/bg_image.jpg);
does not take into account the value in relative_url_root.
Consequently, my background image (and other images similarly
referenced in my stylesheet) are not loadable.
Anyone know a
2007 Oct 11
2
relative_url_root and javascript_include_tag
Hi. In my environment.rb, I have:
ActionController::AbstractRequest.relative_url_root = "/foobar"
In my layout, I have:
<%= javascript_include_tag :defaults %>
Question 1:
I am getting an error:
ActionController::RoutingError (no route found to match
"/javascripts/prototype.js" with {:method=>:get}):
When I remove the relative_url_root, everything works great.
2010 Jul 08
0
Rails3 -- Replacement for ActionController::Base.relative_url_root?
I have a post on stackoverflow which outlines the problem I am having:
http://stackoverflow.com/questions/3181746/what-is-the-replacement-for-actioncontrollerbase-relative-url-root
In short, I ported a rails 2.x to rails3 and started getting a
deprecation warning for using
ActionController::Base.relative_url_root. I switched to using
config.action_controller.relative_url_root and while any
2009 May 06
0
Setting config.action_controller.relative_url_root isn't working
Hi everyone,
I''m trying to set the "config.action_controller.relative_url_root"
config value but it isn''t working:
config.action_controller.relative_url_root = "/de"
When i try to view the http://localhost:3000/de page it gives me a
"Routing Error", but if I try http://localhost:3000/ it works
perfectly. Any idea about what this might be?
-
2012 Jun 19
1
how to manipulate dput output format
I am reading into Java dput output for a matrix, more specifically for a
file backed big-matrix. I basically need to lift dimnames for a matrix from
dput output. It's no big deal, but the code is very 'hackish' due to the
need to get rid of quotes, endlines, parenthesis, etc. I was wondering if i
could manipulate to an extent dput output with some options that define it,
for example,
2006 Aug 15
0
Using config.action_controller.asset_host with ActionController::AbstractRequest.relative_url_root
I''m looking for some help with an issue I''m having using an external
asset host. I''ve got the lines below in my environments/development.rb
file.
# Enable serving of images, stylesheets, and javascripts from an asset server
config.action_controller.asset_host = "http://assets.example.com"
#make rails think it lives in /app
2006 Mar 07
0
setting relative_url_root for static files in webrick
Hi,
I am using webrick and want my application not be available on
http://localhost:3000/ but http://localhost:3000/rails.
So I found out I can set
ActionController::AbstractRequest.relative_url_root = "/rails"
in environment.rb.
This works for controllers without further modifications. But for the
static files, I have to put a "rails" directory into the public
directory, and
2006 Mar 11
2
Customising FCKeditor
I would like to customise my FCKeditor-instance so that when the "add
image" button is pressed, it opens my own add_image popup.
In this popup i would handle the image upload/image browser/etc. tasks
with rails.
How can I open the popup and pass the picture information from there
back to FCKeditor''s textarea?
--
Posted via http://www.ruby-forum.com/.
2006 Mar 03
2
FCKEditor Image uploading feature
Hello,
I followed instructions on
http://www.joshuamcharles.com/rails/fckeditor.html
Added FCKEditor to my rails app which works great, but I''m not able to
upload images using the WYSISYG editor.
Is there a way to enable this feature in rails app? If not, where is the
images folder that FCK looks into it for images, so I can upload my images
manully there?
Thanks,
- Dunnil
--------------
2012 May 04
2
[Sweave] string.prefix without hyphen-minus
Dear Sweave users,
Could you help me to find a way to place Sweave output files in a subdirectory of the currentfolder without giving them a subname?
If the option "prefix.string=foo/" is used, all files are placed in this folder, but begin with an hyphen-minus, which makes it difficult to work with them. If the option "prefix=FALSE" is used, then files won't be placed in
2006 Jun 15
0
fckeditor not working in lighttpd
Hi there
We arethinking about switching from apache to lighttpd, but we are
having problem with the fckeditor...
it was working normally in apache and in webrick...
but not now, it does not show up
I followed the site :
http://www.joshuamcharles.com/rails/fckeditor.html
So it might be a configuration thing in lighttpd
any help is very apreciate it
jorge mario
2009 Apr 02
4
Uploads with FCKEditor
Hello everyone.
Since I''ve found very poor documentation about the rails FCKEditor
plug-in and Easy-FCKEditor (which is a fork of the very same plug-in),
I decided to bother you with my noobish questions.
I have this weird sensation that the image-uploading feature of
FCKEditor isn''t supposed to work magically, without some sort of
server side preparation, but I have no idea
2007 Sep 28
1
evalJSON problem
Hey there,
I have a FCKeditor(a WYSIWYG online html editor) and i want to bring
it to a page by Ajax and JSON by a php request-catcher.
I have sth like this in my ajax request:
new Ajax.Request(''myactions.php'',
{
method:''get'',
parameters: {action:''bringeditor'', id:<?php echo $uid; ?>},
onSuccess: function(transport){
2013 Oct 30
3
Use of FCKEDITOR as normal text area
Hi all
I am trying to use Fckeditor as text area to send mails.here is my code
<% remote_form_for :send_sms,
:before => "Element.show(''loader'')",
:success => "Element.hide(''loader'')" do |sms| %>
<div id="news_content_text_field_bg">
<%= fckeditor_textarea :send_sms, :message,:lang =>
2006 Sep 11
8
fckeditor works, but i cant get my buttons back...
I am going to bet this is a mongrel issue,because this doesn''t happen
under webrick. Anyway, I was able to get fckeditor: http://www.fckeditor.net/
to work under rails: http://www.joshuamcharles.com/xhtml/fckrails.php
i even saw the part about adding "1. Adding a YAML configuration file. For example, create
$(RAILS_ROOT)/config/mongrel_mime.yml with the contents:
xml:
2008 Nov 26
3
fckeditor_textarea
hi, i am currently using rails version 2.2.2.
and using fckeditor_textarea.
here is the code:
<%= fckeditor_textarea(:emailcontent,:body, {:toolbarSet => ''Basic'',
:width => ''100%'', :height => ''100%''}) %>
where emailcontent is the model(object) name,
and body is method.
but it''s not working,however
2006 Mar 03
3
TinyMCE or FCKEditor (WYSISYG editor)
TinyMCE or FCKEditor? which one is the best from your experience?
Or anything better than these two for rails env?
Thank you all,
- Dunnil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060303/7350e5df/attachment.html
2010 Apr 20
2
Javascript validations for word count in fckeditor
I need to count the number of words in fckeditor using javascript
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2006 Sep 13
0
File Upload in FCKeditor
Just wandering if anyone has used fckeditor for file uploads other than
images and flash files, from rails?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to