[Radiant] Re: adding a menu item

2010-10-12 Thread Diann S.
Mohit Sindhwani wrote in post #949364:
> On 12/10/2010 8:12 AM, Diann S. wrote:
>> I'm trying to add a menu item to the home page.
>> I've done it before: just add the item to the correct snippets file.
>> The Item appears on the website, but not in "Pages" in the
>> administration page.
>> help?  I know it must be something simple.
>> TSK!Thank youd
> I'm sorry I'm not sure I understand the problem.
>
> Are you unable to see the snippet?  It won't be under pages - it'll be
> under Snippets.
> Do you mean that you added an item to the menu (e.g. FAQ) but no "page"
> is created for it?  You will need to create that page yourself and
> create a link from the menu item to that page.
>
> Other than that, I think you may need to explain what you mean.
>
> Cheers,
> Mohit.
> 12/10/2010 | 1:12 PM.

Wait!  I simply needed to add a child to the HOME page...geeduh! 
Thank you for your attention to this...sorry to waste your time.

-- 
Posted via http://www.ruby-forum.com/.


Re: [Radiant] Re: adding a menu item

2010-10-12 Thread Mohit Sindhwani

 On 12/10/2010 8:32 PM, Diann S. wrote:

Mohit Sindhwani wrote in post #949364:

On 12/10/2010 8:12 AM, Diann S. wrote:

I'm trying to add a menu item to the home page.
I've done it before: just add the item to the correct snippets file.
The Item appears on the website, but not in "Pages" in the
administration page.
help?  I know it must be something simple.
TSK!Thank youd

I'm sorry I'm not sure I understand the problem.

Are you unable to see the snippet?  It won't be under pages - it'll be
under Snippets.
Do you mean that you added an item to the menu (e.g. FAQ) but no "page"
is created for it?  You will need to create that page yourself and
create a link from the menu item to that page.

Other than that, I think you may need to explain what you mean.

Cheers,
Mohit.
12/10/2010 | 1:12 PM.

Wait!  I simply needed to add a child to the HOME page...geeduh!
Thank you for your attention to this...sorry to waste your time.


:)




Re: [Radiant] Why is rails bundled with radiant?

2010-10-12 Thread D.Kreft
On Fri, Oct 8, 2010 at 11:27 AM, Jim Gay  wrote:

It makes things simpler. By bundling rails, we build and test against
> that version and it prevents people from changing things and reporting
> errors for versions that were not taken into account with the code.
>

I don't get it. Why not just require a specific version of rails and enforce
version requirements via code?

-dan


[Radiant] Re: feed_me extension for metaweblogapi

2010-10-12 Thread hamlet
Had you any luck with extension ?
I'd like to use it and doesn't really want to dive into that right
now...
Regards

On Sep 27, 3:56 pm, Bobby Johnson  wrote:
> Hi Jim,
>
> Thanks for the response. I am currently using Radiant (0.9.1) which I was
> under the impression was Rails 3 compliant. I may have misread that. Thanks
> for the pointers to other version of AWS, I will give them a shot.
>
> Thanks again,
> Bobby
>
>
>
> On Sun, Sep 26, 2010 at 10:58 AM, Jim Gay  wrote:
> > I'm not very familiar with ActionWebService, but you could check other
> > forks for support of rails 3
> >http://github.com/datanoise/actionwebservice/network
>
> > Are you running the rails 3 branch of radiant? Because we bundle rails
> > 2.3.8 with the current gem (0.9.1)
>
> > On Fri, Sep 24, 2010 at 8:12 AM, Bobby Johnson 
> > wrote:
> > > Ok, so I have dug in a bit more and it looks like ActionWebServive was
> > > replaced with ActionResource which is intended to provide RESTful
> > interfaces
> > > of your ActiveRecord entities. Not sure how to make ActionResource
> > conform
> > > to the metablogapi xmlrpc api. But I am digging more. Are there any good
> > > docs on testing extensions for Radiant?
>
> > > On Thu, Sep 23, 2010 at 8:47 AM, Bobby Johnson (NotMyself)
> > >  wrote:
>
> > >> Hi gang,
>
> > >> I am attempting to convert my blog over to radiantcms & rails 3. I am
> > >> getting the following error when trying to hit api/xmlrpc:
> > >>http://gist.github.com/579241
>
> > >> Now, I have researched myself enough to know that I am running radiant
> > >> with rails 3 and feed_me has a dependency on actionwebservice which
> > >> doesn't seem to support rails 3. The extension is simple enough and I
> > >> want to try to fix it myself. Maybe even make a contribution back to
> > >> the community.
>
> > >> My question is what is the rails 3 way of standing up a web service? I
> > >> can't seem to find any documentation on it and my google-fu is failing
> > >> me.
>
> > >> Thanks for any pointers in the right direction, even if it's a "go
> > >> read this" kinda response.
>
> > >> Bobby
>
> > > --
> > > "The explanation requiring the fewest assumptions is most likely to be
> > > correct."
>
> > > - Occam’s Razor
> > >http://en.wikipedia.org/wiki/Occam's_Razor
>
> > --
> > Jim Gay
> > Saturn Flyer LLC
> >http://www.saturnflyer.com
> > 571-403-0338
>
> --
> "The explanation requiring the fewest assumptions is most likely to be
> correct."
>
> - Occam’s Razorhttp://en.wikipedia.org/wiki/Occam's_Razor


Re: [Radiant] Why is rails bundled with radiant?

2010-10-12 Thread Jim Gay
On Tue, Oct 12, 2010 at 7:34 PM, D.Kreft  wrote:
> On Fri, Oct 8, 2010 at 11:27 AM, Jim Gay  wrote:
>>
>> It makes things simpler. By bundling rails, we build and test against
>> that version and it prevents people from changing things and reporting
>> errors for versions that were not taken into account with the code.
>
> I don't get it. Why not just require a specific version of rails and enforce
> version requirements via code?
>
> -dan

I think my original reply explains it pretty well. Radiant has been
bundling Rails since the beginning. Have you had a problem with the
bundled version of rails?
If so, have you tried my other suggestions?

> But you can freeze radiant and remove or upgrade the bundled rails, or
> you can build your own radiant gem to run locally.


Or how would you propose we enforce version requirements via code?


-- 
Jim Gay
Saturn Flyer LLC
http://www.saturnflyer.com
571-403-0338


[Radiant] Excluding certain pages from Radiant cache

2010-10-12 Thread Wes Gamble

 All,

Is there a way to keep a specific page from being cached by Radiant?

Thanks,
Wes


Re: [Radiant] Excluding certain pages from Radiant cache

2010-10-12 Thread Jim Gay
On Tue, Oct 12, 2010 at 10:16 PM, Wes Gamble  wrote:
> All,
>
> Is there a way to keep a specific page from being cached by Radiant?
>
> Thanks,
> Wes
>

You could make a custom page class and turn it off.

class NoCachePage < Page
  def cache
false
  end
end

You could also take a look at
http://ext.radiantcms.org/extensions/123-page-options

-- 
Jim Gay
Saturn Flyer LLC
http://www.saturnflyer.com
571-403-0338