Wow .. I stepped away for a bit .. reloaded the page and hit the "+
New Homepage" button again ... and ... it just worked .. wtf ..
Thanks Jim. Slowly but surely I'm figuring it out :)
I manually updated the Hostname.domain fields via the console and now
Radiant seems to be recognizing them! For some reason it doesn't like
any domain starting w/ www e.g. "www.domain.com". Instead I had to use
"domain.com" to match www.domain.c
On Feb 9, 2011, at 0:33 , Fima Leshinsky wrote:
> That seems very odd. How does Radiant know which site you're
> requesting? In your examples, the browser wouldn't send an HTTP Host
> header which is really the only way to differentiate between site A
> and site B at the HTTP level. Also localho
Well I'm a complete N00b to RoR so please bare w/ me but I just discovered this:
ree-1.8.7-2010.02 > ActiveRecord::Base.connection.tables
=> ["schema_migrations", "config", "extension_meta", "layouts",
"page_parts", "pages", "sessions", "snippets", "users", "sites_users",
"hostnames", "sites"]
W
That seems very odd. How does Radiant know which site you're
requesting? In your examples, the browser wouldn't send an HTTP Host
header which is really the only way to differentiate between site A
and site B at the HTTP level. Also localhost is just an entry in your
/etc/hosts file (assuming you'
On Feb 9, 2011, at 0:07 , craayzie wrote:
> So I now have the vhost extension installed and I was even able to
> create a 2nd site via the "Sites" tab within the admin UI. Problem is
> I'm lost as to where to go from here. When I visit my newly created
> site - the first (default) site is display
So I now have the vhost extension installed and I was even able to
create a 2nd site via the "Sites" tab within the admin UI. Problem is
I'm lost as to where to go from here. When I visit my newly created
site - the first (default) site is displayed.
How do I get radiant + vhost to display the "em
On 08.02.2011, at 11:42, Hadi S. wrote:
> ok, i figured out why the extensions directory is empty. git added
> those as submodules, so git never pushed them to the server. Now i
> have to figure out how to remove the submodule and add the extensions
> as "normal" content.
in Capfile:
require 'c
I am seeking a Radiant Expert / Programmer to help me on a project.
We are converting a static site, which currently contains 100's of
pages, to a dynamic template based site. All of the HTML/CSS,
Javascript, and JQuery has been developed. We have already setup our
Production Environment, which
Hi,
I was looking for another devise thread on the ML and I found yours.
Add this to script/generate to load an unpacked gem generators:
gems_path = File.expand_path(File.join(RAILS_ROOT, %w(vendor gems)))
sources << Rails::Generator::PathSource.new(:"gems (vendor/gems)",
"#{gems_path}/*/**/{,rai
yay! my first issue submission - i hope I didn't butcher it :P
https://github.com/saturnflyer/radiant-vhost-extension/issues/issue/10
On Tue, Feb 8, 2011 at 12:06 PM, Jim Gay wrote:
> Would you mind opening up an issue for this?
>
> https://github.com/saturnflyer/radiant-vhost-extension/issues
>
Would you mind opening up an issue for this?
https://github.com/saturnflyer/radiant-vhost-extension/issues
On Feb 8, 2011, at 14:54 , Fima Leshinsky wrote:
> Hm .. I also had to set site_admin = true to be able to login to the backend:
>
> ree-1.8.7-2010.02 > user = User.find_by_login('admin')
Hm .. I also had to set site_admin = true to be able to login to the backend:
ree-1.8.7-2010.02 > user = User.find_by_login('admin')
ree-1.8.7-2010.02 > user.site_admin = true
ree-1.8.7-2010.02 > user.save!
On Tue, Feb 8, 2011 at 11:34 AM, Fima Leshinsky wrote:
> Oh wow .. figured it out :) Is t
The only file I have in lib/tasks is vhost_extension_tasks.rake .. is
lib/tasks/add_site_columns supposed to be copied over during the
extension install?
On Tue, Feb 8, 2011 at 10:05 AM, Fima Leshinsky wrote:
> yup - same exact problem ..
>
> Here's where this file is being required:
>
> $ grep -
Oh wow .. figured it out :) Is this a bug w/ the gem/extension?
So it looks like add_site_columns.rb is part of the gem:
$ ls -lh
~/.rvm/gems/ree-1.8.7-2010.02/gems/radiant-vhost-extension-2.3.1/lib/tasks/
total 24
-rwxr-xr-x 1 fimaleshinsky staff 1.2K Feb 8 10:02 add_site_columns.rb
-rwxr-x
yup - same exact problem ..
Here's where this file is being required:
$ grep -r add_site_columns .
./lib/tasks/vhost_extension_tasks.rake:require
"#{File.dirname(__FILE__)}/add_site_columns"
On Tue, Feb 8, 2011 at 9:59 AM, john wrote:
> do you have the same problem if you install the ex
do you have the same problem if you install the extension into
vendor/extensions?
Thanks Jim - that's exactly what I was trying to do. Here's were I'm
getting stuck:
$ gem install radiant-vhost-extension
(update config/environment.rb with: config.gem
'radiant-vhost-extension', :lib => false)
$ rake production radiant:extensions:vhost:update
$ rake production radiant:extensions:
On Feb 8, 2011, at 12:14 , Fima Leshinsky wrote:
> Thanks John! So odd. It worked on the "Empty" database template
> install but when I tried to run it w/ any of the other options it
> failed:
>
> Select a database template:
> 1. Empty
> 2. Roasters (a coffee-themed blog / brochure)
> 3. Simple B
Thanks John! So odd. It worked on the "Empty" database template
install but when I tried to run it w/ any of the other options it
failed:
Select a database template:
1. Empty
2. Roasters (a coffee-themed blog / brochure)
3. Simple Blog
4. Styled Blog
[1-4]: 1
Any ideas how to get the Roasters tem
the plugin should be included with the extension. setup is pretty
straightforward:
radiant -d sqlite3 radiant_vhost
cd !$
rake db:bootstrap
git clone git://github.com/saturnflyer/radiant-vhost-extension.git
vendor/extensions/vhost
rake radiant:extensions:vhost:install
./script/server
I just went through this dance last week :) Check out:
http://docs.heroku.com/constraints#git-submodules
Also here's the quick and easy way to install extensions that play
well w/ Heroku:
$ git clone git://github.com/saturnflyer/radiant-vhost-extension.git
vendor/extensions/vhost
and optionally/w
ok, i figured out why the extensions directory is empty. git added
those as submodules, so git never pushed them to the server. Now i
have to figure out how to remove the submodule and add the extensions
as "normal" content.
On Feb 8, 10:17 am, "Hadi S." wrote:
> Hi
>
> i successfully pushed a ra
Hi
i successfully pushed a radiant project to heroku. everything works
fine except that the extensions in vendor/extensions aren't loaded.
Although locally everything works fine, the extensions in the
extensions directory are empty on heroku, So what could the cause be?
Ok so what I'm really trying to do is install the Saturnflyer's vhost
extension. rake complains of a missing lib/tasks/add_site_columns
file. Any ideas?
$ rake production radiant:extensions:vhost:install
(in /Users/fimaleshinsky/Sites/heroku)
rake aborted!
no such file to load -- /Users/fimaleshin
25 matches
Mail list logo