Re: [Radiant] Can a tag determine the filter used by it's page part?

2009-01-29 Thread Mohit Sindhwani
Philip Hallstrom wrote: Hi everyone - Working on an extension and it would be convenient for me if the tag could determine what if any filter was being applied to it's result. I didn't see anything in the source (but also haven't mapped it all the way through). I saw one post on the

Re: [Radiant] Can a tag determine the filter used by it's page part?

2009-01-29 Thread Mohit Sindhwani
Mohit Sindhwani wrote: Philip Hallstrom wrote: Hi everyone - Working on an extension and it would be convenient for me if the tag could determine what if any filter was being applied to it's result. I didn't see anything in the source (but also haven't mapped it all the way through). I

Re: [Radiant] SnS Extension - 500 Error

2009-01-29 Thread Adam Farnsworth
I think my server is having a problem, because I'm finding I have to migrate almost every extension. it appears that the text_assets table is missing. Perhaps you need to run the migrations for sns? Make sure you do it in both dev and production environments.

[Radiant] Members Extension Won't Install Correctly

2009-01-29 Thread Adam Farnsworth
When I try to install farra's members extension (http://github.com/farra/radiant-members-extension/tree/master ) I keep getting this error upon migration: rake aborted! undefined method `file_column' for #Class:0x40fd1408 I read in his readme that the file_column plugin is included, and I'm

Re: [Radiant] Members Extension Won't Install Correctly

2009-01-29 Thread J Aaron Farr
On Thu 29 Jan 2009 17:10, Adam Farnsworth b...@adamfarnsworth.com wrote: When I try to install farra's members extension (http://github.com/farra/radiant-members-extension/tree/master ) I keep getting this error upon migration: rake aborted! undefined method `file_column' for

Re: [Radiant] Abstract and Resource controllers

2009-01-29 Thread Jeroen Janssen
On Thu, Jan 29, 2009 at 1:13 AM, Andrew Neil andrew.jr.n...@googlemail.com wrote: I would appreciate if anyone can take the time to step through the latest version of the tutorial, using Radiant 0.7 (edge, not rc2), and let me know if everything works as it should. I'm rereading the tutorial

Re: [Radiant] Can a tag determine the filter used by it's page part?

2009-01-29 Thread Sean Cribbs
Hate to say it, but this sounds like a problem at the user level, not the tag. If you don't want filters being applied to certain text, Textile has a notextile tag that will prevent it. Markdown may have a similar feature. Sean Mohit Sindhwani wrote: Mohit Sindhwani wrote: Philip

Re: [Radiant] Abstract and Resource controllers

2009-01-29 Thread Andrew Neil
Thanks Jeroen, for taking the time to do this. I'm pleased that you have a working link_roll extension, at the end of it. That was my main concern. If you could update the errors you've pointed out too, that would be a great help. the first thing I've noticed is that the text uses I and my in

Re: [Radiant] Can a tag determine the filter used by it's page part?

2009-01-29 Thread Mohit Sindhwani
Sean Cribbs wrote: Hate to say it, but this sounds like a problem at the user level, not the tag. If you don't want filters being applied to certain text, Textile has a notextile tag that will prevent it. Markdown may have a similar feature. Hi Sean I think I see what you mean, but what if

Re: [Radiant] Abstract and Resource controllers

2009-01-29 Thread Jeroen Janssen
On Thu, Jan 29, 2009 at 2:36 PM, Andrew Neil andrew.jr.n...@googlemail.com wrote: I'm pleased that you have a working link_roll extension, at the end of it. That was my main concern. If you could update the errors you've pointed out too, that would be a great help. I've updated the wiki with

Re: [Radiant] Can a tag determine the filter used by it's page part?

2009-01-29 Thread Philip Hallstrom
On Jan 29, 2009, at 12:47 AM, Mohit Sindhwani wrote: Mohit Sindhwani wrote: Philip Hallstrom wrote: Hi everyone - Working on an extension and it would be convenient for me if the tag could determine what if any filter was being applied to it's result. I didn't see anything in the

Re: [Radiant] Can a tag determine the filter used by it's page part?

2009-01-29 Thread Philip Hallstrom
On Jan 29, 2009, at 5:22 AM, Sean Cribbs wrote: Hate to say it, but this sounds like a problem at the user level, not the tag. If you don't want filters being applied to certain text, Textile has a notextile tag that will prevent it. Markdown may have a similar feature. Maybe. In my

Re: [Radiant] Can a tag determine the filter used by it's page part?

2009-01-29 Thread Sean Cribbs
I abandoned using the syntax_highlighter extension long ago because the syntax gem is pretty much unmaintained. I like using Dan Webb's code_highlighter.js. I have some additional languages on my github, too: http://github.com/seancribbs/codehighlighter-languages Sean Philip Hallstrom

[Radiant] Extenision help for a newbie

2009-01-29 Thread Chaim Kirby
I'm trying to get a clear view in my head of what happens when extensions are deployed to a server, and the process that I can use to deploy them. I have noticed some extensions come with deployment directions and others don't. Is there some standard set of commands I should be using to deploy an

Re: [Radiant] Can a tag determine the filter used by it's page part?

2009-01-29 Thread Mohit Sindhwani
Philip Hallstrom wrote: On Jan 29, 2009, at 5:22 AM, Sean Cribbs wrote: Hate to say it, but this sounds like a problem at the user level, not the tag. If you don't want filters being applied to certain text, Textile has a notextile tag that will prevent it. Markdown may have a similar

Re: [Radiant] Extenision help for a newbie

2009-01-29 Thread Jeroen Janssen
On Thu, Jan 29, 2009 at 6:49 PM, Chaim Kirby chaim.ki...@childrens.harvard.edu wrote: I'm trying to get a clear view in my head of what happens when extensions are deployed to a server, and the process that I can use to deploy them. I have noticed some extensions come with deployment

Re: [Radiant] Extenision help for a newbie

2009-01-29 Thread Nate Turnage
On Thu, Jan 29, 2009 at 12:23 PM, Jeroen Janssen jeroen.jans...@gmail.comwrote: rake db:migrate:extensions rake radiant:extensions:update_all Or if you don't want to migrate extensions after they have already been migrated, assuming the extension is called templates, this works: rake

Re: [Radiant] Extenision help for a newbie

2009-01-29 Thread Chaim Kirby
Nate Turnage wrote: On Thu, Jan 29, 2009 at 12:23 PM, Jeroen Janssen jeroen.jans...@gmail.comwrote: rake db:migrate:extensions rake radiant:extensions:update_all Or if you don't want to migrate extensions after they have already been migrated, assuming the extension is called

Re: [Radiant] Extenision help for a newbie

2009-01-29 Thread Sean Cribbs
Migrations are idempotent. That is, it doesn't hurt anything to run them again if you're unsure. Sean Chaim Kirby wrote: Nate Turnage wrote: On Thu, Jan 29, 2009 at 12:23 PM, Jeroen Janssen jeroen.jans...@gmail.comwrote: rake db:migrate:extensions rake

Re: [Radiant] Extenision help for a newbie

2009-01-29 Thread Chaim Kirby
Ok - trying it out I get an error. I put the extension page_group_permissions in my vendor/extensions folder and ran (from my $RADIANT_HOME): # rake db:migrate:extensions got: (in /opt/radiant) rake aborted! PGError: ERROR: relation extension_meta does not exist : SELECT a.attname,

Re: [Radiant] Extenision help for a newbie

2009-01-29 Thread Sean Cribbs
Wow, that's a weird error. I read on the Raleigh.rb mailing list over the past few days about some strangeness with Rails and PostrgeSQL, having to do with using the root schema, etc. Not sure if that relates. Did your Radiant bootstrap ok? Sean Chaim Kirby wrote: Ok - trying it out I get

Re: [Radiant] Extenision help for a newbie

2009-01-29 Thread Chaim Kirby
Sean Cribbs wrote: Wow, that's a weird error. I read on the Raleigh.rb mailing list over the past few days about some strangeness with Rails and PostrgeSQL, having to do with using the root schema, etc. Not sure if that relates. Did your Radiant bootstrap ok? Sean It bootstrapped

Re: [Radiant] Extenision help for a newbie

2009-01-29 Thread Chaim Kirby
Nate Turnage wrote: On Thu, Jan 29, 2009 at 1:50 PM, Sean Cribbs seancri...@gmail.com wrote: Did your Radiant bootstrap ok? I am guessing that is the problem, too. ~Nate Here is the output from the bootstrapping step (it is a lot): # rake production db:bootstrap (in /opt/radiant)

Re: [Radiant] Extenision help for a newbie

2009-01-29 Thread Nate Turnage
On Thu, Jan 29, 2009 at 1:50 PM, Sean Cribbs seancri...@gmail.com wrote: Did your Radiant bootstrap ok? I am guessing that is the problem, too. ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search:

Re: [Radiant] Extenision help for a newbie

2009-01-29 Thread Chaim Kirby
I got the extension to install (it seems) by running: #rake db:boostrap instead of: #rake production db:bootstrap (this is the command I found on the radiant wiki: http://wiki.radiantcms.org/Create_your_first_Radiant_project) then I run #ruby script/server -e production and I get the site home

[Radiant] Templates extension help

2009-01-29 Thread Jacob Burkhart
Hey Sean, What's the suggested version of radiant to run with the suggested version of the templates extension. I tried http://github.com/radiant/radiant/tree/master with http://github.com/seancribbs/radiant-templates-extension/tree/master and am running into lots of problems... for example...

Re: [Radiant] Templates extension help

2009-01-29 Thread Sean Cribbs
Jacob, It should work on 0.6.9. Behavior comes from lowpro.js, which I use all over the place. My apologies if it's not in there. I'm not sure what's causing that filter error, unless your Radiant version is not 0.6.9. Sean Jacob Burkhart wrote: Hey Sean, What's the suggested version of

Re: [Radiant] Members Extension Won't Install Correctly

2009-01-29 Thread Adam Farnsworth
How do I get the file_column to install? On Jan 29, 2009, at 1:41 AM, J Aaron Farr wrote: When I try to install farra's members extension (http://github.com/farra/radiant-members-extension/tree/master ) I keep getting this error upon migration: rake aborted! undefined method `file_column'

Re: [Radiant] Members Extension Won't Install Correctly

2009-01-29 Thread Adam Farnsworth
That didn't seem to work: $ cd vendor/extensions/members/ $ git submodule init No submodule mapping found in .gitmodules for path 'vendor/plugins/ file_column' $ git submodule update No submodule mapping found in .gitmodules for path 'vendor/plugins/ file_column' On Jan 29, 2009, at 2:19

Re: [Radiant] Members Extension Won't Install Correctly

2009-01-29 Thread Andrew vonderLuft
From the ext root, run:git submodule init git submodule update On Thu, Jan 29, 2009 at 1:33 PM, Adam Farnsworth b...@adamfarnsworth.comwrote: How do I get the file_column to install? On Jan 29, 2009, at 1:41 AM, J Aaron Farr wrote: When I try to install farra's members extension

Re: [Radiant] Members Extension Won't Install Correctly

2009-01-29 Thread Adam Farnsworth
I also tried to go into the extension's vendor/plugin folder and git clone the repo, then initialize it, but received the same error. On Jan 29, 2009, at 2:28 PM, Adam Farnsworth wrote: That didn't seem to work: $ cd vendor/extensions/members/ $ git submodule init No submodule mapping

Re: [Radiant] Showing the user associated with updated_by_id

2009-01-29 Thread Mohit Sindhwani
Jose Hales-Garcia wrote: r:author / shows the user associated through created_by_id. Is there a way to show the user associated with updated_by_id? This is the tag definition for author: tag 'author' do |tag| page = tag.locals.page if author = page.created_by author.name end

Re: [Radiant] Archive Extension

2009-01-29 Thread Steven Southard
I using the archive extension and on the homepage I'm doing something like: r:find url=/articles/ r:children:each limit=5 order=desc br / div class=dater:date format=%a, %b %d, %Y for=published_at / /div div class=entry h1r:link //h1 hr class=soft / div class=entrybody r:content /

Re: [Radiant] Members Extension Won't Install Correctly

2009-01-29 Thread john muhl
On Thu, Jan 29, 2009 at 3:28 PM, Adam Farnsworth b...@adamfarnsworth.com wrote: That didn't seem to work: $ cd vendor/extensions/members/ $ git submodule init No submodule mapping found in .gitmodules for path 'vendor/plugins/file_column' $ git submodule update No submodule