I'm able to install the radiant 0.9.1 gem and it's dependencies no
problem but when I start Mongrel and switch to the "Administrator"
view, I don't see a way to edit/view the Articles. I see the arrow
next to Articles indicating that it's a parent with child entries but
I see no way to display thos
So it looks like it's a CSS/JS issue. I ran a quick HTTP trace and
noticed that /admin/dropdown.js was 404ing. I then re-created a
radiant project and sure enough that JS file was missing from the
initial set of files radiant generates. dropdown.js is in the Git repo
@
https://github.com/radiant/r
I've begun to explore Radiant as a publishing/blogging platform. At
the moment, I'm trying to nail down is how to best format command-line
output or code as the majority of the content published will be of a
technical nature.
Can someone point me in the right direction of what I should use to
get
I can't quite figure out how to use the coderay gem. Could you provide
some guidance around how to do it? I see that there are filters
available to me via extensions that allow me to leverage different
text markups - I'm guessing I'd have to use the coderay gem in a
different manner? Or should it b
P
Thanks again.
On Dec 12, 2:51 pm, craayzie wrote:
> I can't quite figure out how to use the coderay gem. Could you provide
> some guidance around how to do it? I see that there are filters
> available to me via extensions that allow me to leverage different
> text markups -
I've done some searching on a guide for how to use capistrano + git +
bundler to deploy radiant 0.9.1 but haven't had much success in
finding something comprehensive. Is deploying radiant the same as
deploying a Rails app?
I do my development on a MacBook and have a staging and production
server t
Anyone know where I can find the following (originally) spurrd.com-
hosted image:
http://spurrd.com/assets/126/comments.jpg
http://demo-assets.radiantcms.org/comments.jpg
It's referenced from the Roasters blog template.
Thanks,
Fima
how do you disable markdown? I'm running 0.9.1
thanks in advance!
On Dec 16 2010, 4:51 pm, john muhl wrote:
> On Thu, Dec 16, 2010 at 6:42 PM, Wes Gamble wrote:
> > Thanks John,
>
> > I installed the kramdown filter, took a page and switched it from "markdown"
> > to "kramdown" and got this err
My coderay + kramdown markup is really heavy/cumbersome. Is there a
better way?
Here's an example:
# heading
## sub-heading
code-goes-here
Ideally I could just write:
# heading
## sub-heading
$
code-goes-here
$
(using '$' to endicate start/end coderay blocks)
Any advice/guidance on how to
I'm having a hell of a time figuring out how to install the
scoped_access plugin so i can get Saturnflyer's vhost extension fork
up and running. https://github.com/saturnflyer/radiant-vhost-extension
Here's the only repo I found on git-hub matching the scoped_access
plugin name (I'm guessing this
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
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
Daniel - thanks for posting this. I'm about to embark on this very
journey. Before I do - I'm curious if anyone's had any success
importing the Scribbish theme Charlie put together @
https://github.com/indexzero/radiant-scribbish-theme
I haven't had any success with it. When I try to import it the
Thanks John - exactly what I was looking for. Do you know how to
specify multiple params for Coderay? I want to tell it to hide line
numbers but can't seem to get to recognize the command. Here's what
I'm trying:
def meth options
--p options
end
{:lang="ruby", :line_numbers="false"}
A
I now have two sites running on the same Radiant instance using the
vhost extension. When I try to add a snippet to the 2nd site,
ActiveRecord complains that I'm violating the unique constraint on the
snippet name. I thought the "apply_site_scoping" rake task of the
vhost extension would have limit
+ validates_uniqueness_of :name, :scope => :site_id
I then ran 'rake db:migrate' but nothing changed? Did I miss a step?
On Feb 13, 8:41 pm, craayzie wrote:
> I now have two sites running on the same Radiant instance using the
> vhost extension. When I try to add a snippet to the 2nd site,
>
ed_by_id", "created_at", "filter_id",
"updated_at", "created_by_id", "lock_version", "content", "site_id")
VALUES('google_analytics', NULL, '2011-02-14 05:59:51', '',
'2011-02-14 05:59:51', 1, 0, &
n? Or is there a way to create the constraint
without generating an index?
On Feb 13, 10:27 pm, craayzie wrote:
> It looks like it's a DB-level constraint that's throwing the error as
> opposed to something at the model level .. still figuring out how to
> correct this ..
quot;name", :unique => true
Here's the exact migration:
$ cat db/migrate/004_migration4.rb
class AddSiteIdIndex < ActiveRecord::Migration
def self.up
remove_index :snippets, :name
end
def self.down
add_index "snippets", ["name"], :name => "name&q
e" ON "snippets" ("name")
Has anyone run into this before?
On Feb 14, 12:50 am, Haselwanter Edmund
wrote:
> Snippet:
> name:
> message:
> 'Name wurde schon verwendet'
> scope:
> site_id
>
> in config/v
The migration to remove the unique constraint works great (below) but
when I try to roll it back I get the following from sqlite:
$ rake db:rollback
(in /Users/username/Sites/heroku)
== CleanUpSnippetConstraints1: reverting
=
-- remove_index(:snippets, {:name=>
f this. Am I missing
something obvious here?
class CleanUpSnippetConstraints < ActiveRecord::Migration
def self.up
remove_index :snippets, :name => "name"
end
def self.down
add_index "snippets", ["name"], :name => "name", :unique =>
, Haselwanter Edmund wrote:
> On 15.02.2011, at 01:37, craayzie wrote:
>
> > Below is the migration that finally did the trick! There wasn't really
> > a need to have an index on the name attribute anyways since it'll
> > always require the site_id.
>
>
I've installed the mailer extension and it works great! I'd like to
send a "thank you for contacting us" email to the form submitter in
addition to receiving a notification email letting me know that
they've submitted a form. Unfortunately, I don't see a way to send
multiple emails with mailer ..
I'm trying to use if_url to conditionally include jquery on my /
contact page but it doesn't seem to be working:
http://ajax.googleapis.com/
ajax/libs/jquery/1.5.0/jquery.min.js">
Any ideas what I might be doing wrong?
a.com
> My profiles: [image: Facebook] <http://www.facebook.com/rachelsoma> [image:
> LinkedIn] <http://au.linkedin.com/in/rachellyoung> [image:
> Flickr] [image:
> Twitter] <http://www.twitter.com/rachelsoma>
> Contact me: [image: Google Talk/] ms.rachel.soma
>
&g
k within layouts?
Thanks!
On Feb 21, 4:46 pm, Anton J Aylward wrote:
> craayzie said the following on 02/21/2011 07:22 PM:
> .
>
> > I'm trying to use if_url to conditionally include jquery on my /
> > contact page but it doesn't seem to be working:
&g
Thanks John! That did the trick :) Turns out I was placing if_url in
the wrong layout. As soon as I moved it to the correct layout the
if_url match worked perfectly.
Thanks for the help!
On Feb 21, 7:37 pm, john wrote:
> On Monday, February 21, 2011 8:07:33 PM UTC-6, craayzie wr
I can't seem to figure out how to get jquery .ajax submission to work
w/ the mailer extension. Has anyone implemented this before and could
you point me to an example?
It seems that mailer's "action" parameter is "hard-coded" mine
reads:
so the jquery $.ajax({ url parameter is never honored on
/t/d61aefec680aabf1
On Feb 22, 1:49 am, craayzie wrote:
> I can't seem to figure out how to get jquery .ajax submission to work
> w/ the mailer extension. Has anyone implemented this before and could
> you point me to an example?
>
> It seems that mailer's "action&q
em...@email.com
> to: em...@email.com
> reply_to: em...@email.com
> fields:
> subject: contact[subject]
>
> Regards,
>
> Marc
>
> On Feb 22, 8:44 am, craayzie wrote:
>
> > I've installed the mailer extension and it works great! I'd like to
Thanks John - I'm actually interested in sending two totally separate
emails. One to myself notifying me that a form was submitted and
another notifying the form submitter that I received their submission.
Is this possible to set up w/ Mailer?
Thanks for replying :)
On Feb 24, 2:50 pm, john wro
natural example of forking rather than
> just creating an additional extension, in your case.
>
> I've used mailer for a simple contact form. My cursory look at the
> code didn't suggest a clean way to be able to use the one form
> submission to generate two s
:35 pm, William Ross wrote:
> On 27 Feb 2011, at 19:16, craayzie wrote:
>
> > If someone could jump in and provide guidance on how to best implement
> > sending multiple emails upon form submission that would be huge. I'd
> > hate to spend time working on an impleme
I've got Radiant deployed on Heroku and wanted to have it serve a
static site in addition to my Radiant site. I used rack-rewrite to map
requests for the static site to the right location but I'm not sure
how to add the proper Cache-Control response header. Could you please
point me in the right di
27;max-age=3600'
end
On Mar 12, 1:20 am, craayzie wrote:
> I've got Radiant deployed on Heroku and wanted to have it serve a
> static site in addition to my Radiant site. I used rack-rewrite to map
> requests for the static site to the right location but I'm not sure
> how
36 matches
Mail list logo