|
View:
New views
9 Messages
—
Rating Filter:
Alert me
|
|
|
Default layout is not selected(Strange Behv.)HI I am trying to set default layout but it will not set Radiant::Config['defaults.page.layout'] = "inner-pages" each and every time it selected as inherit Any One have idea about this .... --~--~---------~--~----~------------~-------~--~----~ Radiant CMS Dev Mailing List Post: radiantcms-dev@... Unsubscribe: radiantcms-dev-unsubscribe@... Group Site: http://groups.google.com/group/radiantcms-dev/ -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Default layout is not selected(Strange Behv.)On Wed, Oct 28, 2009 at 9:39 AM, Martin <amitdotagarwal@...> wrote: > > HI > > I am trying to set default layout but it will not set > > Radiant::Config['defaults.page.layout'] = "inner-pages" > > each and every time it selected as inherit > > Any One have idea about this .... > I don't believe that Radiant uses that, so it's not surprising that it's never selected. Is there documentation somewhere that suggests you are able to do this? -- Jim Gay http://www.saturnflyer.com --~--~---------~--~----~------------~-------~--~----~ Radiant CMS Dev Mailing List Post: radiantcms-dev@... Unsubscribe: radiantcms-dev-unsubscribe@... Group Site: http://groups.google.com/group/radiantcms-dev/ -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Default layout is not selected(Strange Behv.)On Wed, Oct 28, 2009 at 8:45 AM, Jim Gay <jim@...> wrote: > > On Wed, Oct 28, 2009 at 9:39 AM, Martin <amitdotagarwal@...> wrote: >> >> HI >> >> I am trying to set default layout but it will not set >> >> Radiant::Config['defaults.page.layout'] = "inner-pages" >> >> each and every time it selected as inherit >> >> Any One have idea about this .... >> > > I don't believe that Radiant uses that, so it's not surprising that > it's never selected. > Is there documentation somewhere that suggests you are able to do this? looks like it might be part of spanner's made_easy extension[1]; at least that's the only reference i can turn up. http://github.com/spanner/radiant-made_easy-extension/blob/9a91602485db371c999ebe13ed0eb7c436451e29/app/models/easy_layout.rb#L10 --~--~---------~--~----~------------~-------~--~----~ Radiant CMS Dev Mailing List Post: radiantcms-dev@... Unsubscribe: radiantcms-dev-unsubscribe@... Group Site: http://groups.google.com/group/radiantcms-dev/ -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Default layout is not selected(Strange Behv.)wrong link. http://github.com/spanner/radiant-made_easy-extension/blob/9a91602485db371c999ebe13ed0eb7c436451e29/app/models/easy_page.rb#L7 On Wed, Oct 28, 2009 at 9:54 AM, john muhl <johnmuhl@...> wrote: > On Wed, Oct 28, 2009 at 8:45 AM, Jim Gay <jim@...> wrote: >> >> On Wed, Oct 28, 2009 at 9:39 AM, Martin <amitdotagarwal@...> wrote: >>> >>> HI >>> >>> I am trying to set default layout but it will not set >>> >>> Radiant::Config['defaults.page.layout'] = "inner-pages" >>> >>> each and every time it selected as inherit >>> >>> Any One have idea about this .... >>> >> >> I don't believe that Radiant uses that, so it's not surprising that >> it's never selected. >> Is there documentation somewhere that suggests you are able to do this? > > looks like it might be part of spanner's made_easy extension[1]; at > least that's the only reference i can turn up. > > http://github.com/spanner/radiant-made_easy-extension/blob/9a91602485db371c999ebe13ed0eb7c436451e29/app/models/easy_layout.rb#L10 > --~--~---------~--~----~------------~-------~--~----~ Radiant CMS Dev Mailing List Post: radiantcms-dev@... Unsubscribe: radiantcms-dev-unsubscribe@... Group Site: http://groups.google.com/group/radiantcms-dev/ -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Default layout is not selected(Strange Behv.)On 28 Oct 2009, at 14:54, john muhl wrote: > On Wed, Oct 28, 2009 at 8:45 AM, Jim Gay <jim@...> wrote: >> On Wed, Oct 28, 2009 at 9:39 AM, Martin <amitdotagarwal@...> >> wrote: >>> >>> HI >>> >>> I am trying to set default layout but it will not set >>> >>> Radiant::Config['defaults.page.layout'] = "inner-pages" >>> >>> each and every time it selected as inherit >>> >>> Any One have idea about this .... >>> >> >> I don't believe that Radiant uses that, so it's not surprising that >> it's never selected. >> Is there documentation somewhere that suggests you are able to do >> this? > > looks like it might be part of spanner's made_easy extension[1]; at > least that's the only reference i can turn up. yes, that rings a bell. I haven't looked that way for a long time, though. Bit of a failed experiment. I'll have a look tomorrow. best, will --~--~---------~--~----~------------~-------~--~----~ Radiant CMS Dev Mailing List Post: radiantcms-dev@... Unsubscribe: radiantcms-dev-unsubscribe@... Group Site: http://groups.google.com/group/radiantcms-dev/ -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Default layout is not selected(Strange Behv.)This is same as setting extension is do , ActiveSupport::Inflector.inflections do | inflect| inflect.uncountable 'config' Radiant::Config['defaults.page.layout'] = "inner-pages" end On Oct 28, 6:45 pm, Jim Gay <j...@...> wrote: > On Wed, Oct 28, 2009 at 9:39 AM, Martin <amitdotagar...@...> wrote: > > > HI > > > I am trying to set default layout but it will not set > > > Radiant::Config['defaults.page.layout'] = "inner-pages" > > > each and every time it selected as inherit > > > Any One have idea about this .... > > I don't believe that Radiant uses that, so it's not surprising that > it's never selected. > Is there documentation somewhere that suggests you are able to do this? > > -- > Jim Gayhttp://www.saturnflyer.com Radiant CMS Dev Mailing List Post: radiantcms-dev@... Unsubscribe: radiantcms-dev-unsubscribe@... Group Site: http://groups.google.com/group/radiantcms-dev/ -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Default layout is not selected(Strange Behv.)I Am using this Radiant seeting extension url is http://github.com/Squeegy/radiant-settings/ --~--~---------~--~----~------------~-------~--~----~ Radiant CMS Dev Mailing List Post: radiantcms-dev@... Unsubscribe: radiantcms-dev-unsubscribe@... Group Site: http://groups.google.com/group/radiantcms-dev/ -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Default layout is not selected(Strange Behv.)I fix this issue' by chaning this line to = fields.select :layout_id , Layout.find(:all).map { |s| [s.name, s.id] } + [['<inherit>', '']] as new layout comes on the top so my layout 'inner-page' will always select On Oct 29, 11:15 am, Martin <amitdotagar...@...> wrote: > I Am using this Radiant seeting extension > > url ishttp://github.com/Squeegy/radiant-settings/ --~--~---------~--~----~------------~-------~--~----~ Radiant CMS Dev Mailing List Post: radiantcms-dev@... Unsubscribe: radiantcms-dev-unsubscribe@... Group Site: http://groups.google.com/group/radiantcms-dev/ -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Default layout is not selected(Strange Behv.)On 29 Oct 2009, at 06:15, Martin wrote: > I Am using this Radiant seeting extension > > url is > http://github.com/Squeegy/radiant-settings/ I don't think made_easy is to blame. The code that John pointed to was removed in September. It's probably just a coincidence of config names. I'd be surprised if anyone was using that, but it's actually quite a useful thing. I wrote it to address a compilation of small client grumbles (eg. they always complain about the difficulty of getting from the edit view of a page to its public version): * page edit view shows a dynamically-updated path in header * the word 'published' in the page index view becomes a link to the published page * new child pages inherit the page parts of their parent * default filters can be specified per layout rather than globally the last two make it much easier to set up areas of the site to which people can add pages without much thought. best, will --~--~---------~--~----~------------~-------~--~----~ Radiant CMS Dev Mailing List Post: radiantcms-dev@... Unsubscribe: radiantcms-dev-unsubscribe@... Group Site: http://groups.google.com/group/radiantcms-dev/ -~----------~----~----~----~------~----~------~--~--- |
| Free embeddable forum powered by Nabble | Forum Help |