Re: [Radiant] Shards in Radiant 0.6.7

2008-05-20 Thread Casper Fabricius
Thanks Sean, worked like a charm. I this documented anywhere? Perhaps I should add an explanation to the wiki, since shards is now part of Radiant. Cheers, Casper On 19/05/2008, at 16:18, Sean Cribbs wrote: Casper, "page" is a method/property on the admin object. Change that to admin.pag

Re: [Radiant] Upgrading Gallery Extension

2008-05-20 Thread Andrea Franz
> Processing GalleryItemsController#create (for 24.114.252.234 at 2008-05-18 > 05:47 > :55) [POST] > Session ID: > BAh7CCIMdXNlcl9pZGkHIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVyOjpG%0AbGF > zaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsAOg5yZXR1cm5fdG8w--a1ffbb314fb3178222cccae86eec0 > 8c69e470641 > Parameters: {"

Re: [Radiant] Upgrading Gallery Extension

2008-05-20 Thread Andrea Franz
> I didn't try the new radiant yet. It seems that I need to add the > authenticity_token in the form. > I'll add it asap and I let you know. > Thank you very much. Added. You can pull from github, let me know. -- Andrea Franz http://gravityblast.com - http://nimboo.net _

[Radiant] [ANN] File based layout extension now compatible with 0.6.7

2008-05-20 Thread Casper Fabricius
My extension for using standard Rails layout files with Radiant pages are now fully compatible with 0.6.7. Get it here: http://svn.casperfabricius.com/extensions/file_based_layout/tags/for-radiant-0.6.7/ = File Based Layout This extension allows pages served by Radiant to share a standard fi

Re: [Radiant] Re: Re: [Radiant-Dev] [ANN] Styles 'n Scripts Extension

2008-05-20 Thread nurilized
1) nope that gave the same config error... but this way it worked charmly.. thank you rake RAILS_ENV="production" radiant:extensions:styles_n_scripts:migrate rake RAILS_ENV="production" radiant:extensions:styles_n_scripts:update p.s.: uncommenting ENV['RAILS_ENV'] ||= 'production' on config/envi

[Radiant] Extension initialization code reloads on each request in dev mode

2008-05-20 Thread Casper Fabricius
Radiant 0.6.7 seems to call the activate method of each extension upon each request when in development mode. Perhaps it has always been so, but it gets very visible and quite annoying when extensions use the "shards/facets" feature. Here is an example of a clean 0.6.7 with the reorder exte

Re: [Radiant] Re: Re: [Radiant-Dev] [ANN] Styles 'n Scripts Extension

2008-05-20 Thread Rufo Sanchez
> is there any way to call js/css files from anywhere of the page/layout? > suppose, i use one template and many subpages? > but i use different/extra css/js files on subpages (and also common), for > example i will use accordion script on a subpage and putting this on > template or on header snip

Re: [Radiant] Re: Re: [Radiant-Dev] [ANN] Styles 'n Scripts Extension

2008-05-20 Thread nurilized
hmm, thats nice but it can be good to inject css/js files from body part inside head thank you On 5/20/08, Rufo Sanchez <[EMAIL PROTECTED]> wrote: > > > is there any way to call js/css files from anywhere of the page/layout? > > suppose, i use one template and many subpages? > > but i use diffe

Re: [Radiant] Extension initialization code reloads on each request in dev mode

2008-05-20 Thread Sean Cribbs
Casper, Someone already notified me of this and the fix is on github. I'll probably be rolling out a bugfix release on Friday. Sean Casper Fabricius wrote: Radiant 0.6.7 seems to call the activate method of each extension upon each request when in development mode. Perhaps it has always bee

[Radiant] Re: [ANN] Radiant 0.6.7 Mordant Release

2008-05-20 Thread David Piehler
Sean Cribbs wrote: > Looks like it's time for another release of Radiant: > Radiant 0.6.7 "Mordant" ... Excellent! I'm glad to see Shards integrated into the core. Question about the switch to Haml... Does this affect extensions that utilize Shards and ERb files (either as .rhtml or .html.erb)

Re: [Radiant] Re: [ANN] Radiant 0.6.7 Mordant Release

2008-05-20 Thread Sean Cribbs
Dave, Since ERb templates tend to be preferred by Rails, it should not affect extensions that override the defaults. Sean David Piehler wrote: Sean Cribbs wrote: Looks like it's time for another release of Radiant: Radiant 0.6.7 "Mordant" ... Excellent! I'm glad to see Shards inte

Re: [Radiant] New metatags for keywords, description feature

2008-05-20 Thread Chris Parrish
If you'd rather keep this as an extension, Sean, I'd be happy to improve my PageMeta Extension (it needs some tests, at least). I'd also entertain additional features, recommendations to improve my code, or even donate it to the core team's repository -- whatever -- if it would help Radiant.

Re: [Radiant] Re: Re: [Radiant-Dev] [ANN] Styles 'n Scripts Extension

2008-05-20 Thread Chris Parrish
I played around with the idea of creating an and tag or even enhancing the tag to let you add stylesheet/javascript content in addition to page part content. The problem is that in either case you have to specify which file you want (either explicitly or by first setting up a context to tha

[Radiant] [idea] snippets just like functions

2008-05-20 Thread nurilized
hey, do you think it is a bad idea? creating a snippets that could take params could be good and will help dry, imho (actually thats what i need atm :D) what do you think? ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcm

Re: [Radiant] event_calendar - setup

2008-05-20 Thread Marc Anderson
Roland, I also came across this issue myself, but after a quick scouring through the mailing list I came up with this post of matt parrish's http://lists.radiantcms.org/pipermail/radiant/2007-June/005504.html basically you have to remove the application.rb and application_helper.rb files from wi

Re: [Radiant] [idea] snippets just like functions

2008-05-20 Thread Sean Cribbs
There's a patch on the dev site for "yielding" snippets. I'm not sure how I feel about it yet. Snippets are already sensitive to local context in the sense that they inherit it from the spot where they are rendered. It could be powerful, but it could also be a can of worms. Do you have a co

Re: [Radiant] [idea] snippets just like functions

2008-05-20 Thread nurilized
yes, i use breadcrumbs and slugs in many snippets and that makes it flexible thats nice but in my case, i list sub pages of a subpage and need to repeat the same process 8 or more times i just change the url thingy thats it: On 5/20/08, Sean Cribbs <[EMAIL PROTECTED]> wrote: > > There's a

Re: [Radiant] [idea] snippets just like functions

2008-05-20 Thread Sean Cribbs
You can use snippets recursively, just be careful how you do it. Also you're complicating the href on that tag: use . You can find info about the "sitemapper" snippet that recursively calls itself on the wiki. Sean nurilized wrote: yes, i use breadcrumbs and slugs in many snippets and tha

Re: [Radiant] [idea] snippets just like functions

2008-05-20 Thread nurilized
thanks for href :) bad(good actually) of me, just learning radius tags and lovin 'em i took a look at sitemapper, but that is not what i want because my design dont let me list all of subpages recursively but instead i wished something that i would pass a param/arg to snippet just like calling a

[Radiant] Re: Firefox vs. IE

2008-05-20 Thread Arik Jones
Jared Blitzstein wrote: > What do you have the content type set as for the layout you're using? > IE might not think it's an HTML document. I think layouts inherit the "text/html" content type by default, but it doesn't hurt to set it anyway. Its good practice. -- Posted via http://www.ruby-foru