[Radiant] [ANN] Scheduler extension

2007-10-01 Thread Sean Cribbs
4) If you want to run the extension tests, make sure to run 'rake db:test:prepare' before you begin. Cheers! Sean On 10/1/07, Bartek Rogoz <[EMAIL PROTECTED]> wrote: > Sean Cribbs wrote: > > I just finished a "content scheduling" extension for Digital Pulp. >

Re: [Radiant] Date published page attribute

2007-10-01 Thread Sean Cribbs
I just finished a "content scheduling" extension for Digital Pulp. I'll see about packaging it up if you like. Sean On 10/1/07, Mathieu Arnold <[EMAIL PROTECTED]> wrote: > +-le 01.10.2007 16:34:59 +0200, Bartek Rogoz a dit : > | Hi all, > | > | I was just thinking of adding date published attribu

Re: [Radiant] Extension - Record Tags

2007-10-01 Thread Sean Cribbs
I don't see the tutorial you are talking about. Link, please? Sean On 10/1/07, Artur Baldyga <[EMAIL PROTECTED]> wrote: > "It is important to note that your Radiant instance MUST define the > models you plan on accessing." This is sentence from this extension's > tutorial. But what exactly I hav

Re: [Radiant] Newb Help - Broken Links??

2007-09-30 Thread Sean Cribbs
On 9/30/07, Sean Cribbs <[EMAIL PROTECTED]> wrote: > Unfortunately, those tabs use static urls. We'll be looking into > fixing this in the future. > > Sean > > On 9/30/07, Damonica Miller <[EMAIL PROTECTED]> wrote: > > Hello...I'm pretty new to a

Re: [Radiant] Newb Help - Broken Links??

2007-09-30 Thread Sean Cribbs
Unfortunately, those tabs use static urls. We'll be looking into fixing this in the future. Sean On 9/30/07, Damonica Miller <[EMAIL PROTECTED]> wrote: > Hello...I'm pretty new to all this but I'll try to make sense and use > the right terminology. Anyway, so I've installed radiant fine and > cr

Re: [Radiant] [ANN] "Shards" extension

2007-09-30 Thread Sean Cribbs
Thank you, I will fix that right away. It happened on several other actions as well. Sean On 9/29/07, T. Papp <[EMAIL PROTECTED]> wrote: > I get an error when adding a page part. Even with a fresh install from > the trunk. Can someone confirm this? > > Output: http://pastie.caboo.se/102145.txt >

Re: [Radiant] Using Rails app within radiant

2007-09-27 Thread Sean Cribbs
d, so it's not > ActiveResource-compatible. It would be great though, to rewrite it and > make it RESTful in the future, but currently I don't have the time. Is > there another way to achieve what I'm looking for? > > Thanks, > > Jorge. > > On 9/27/07, Sean Cribbs <

Re: [Radiant] Using Rails app within radiant

2007-09-27 Thread Sean Cribbs
Jorge, If your app is ActiveResource-compatible, that might be an easy way to integrate them. Sean On 9/27/07, jorge santiago <[EMAIL PROTECTED]> wrote: > Hi, > > I have radiant running my website and would like to use some models > and functions from another rails app running in the same server

Re: [Radiant] New Radiant sites

2007-09-27 Thread Sean Cribbs
Yes, very nicely done on both! Sean On 9/27/07, Mohit Sindhwani <[EMAIL PROTECTED]> wrote: > Mailing wrote: > > Hi all, > > > > Just thought I'd announce two new Radiant sites to the list: > > > > www.grooveonline.co.uk > > www.timber-build.com > > > > I'd love to hear some comments from anyone?

Re: [Radiant] Workflow suggestions request

2007-09-26 Thread Sean Cribbs
Joyent ported Radiant to Slingshot, which is a way to run Rails apps offline and update the online version when connecting. You might look into that if you can't use the web interface all the time. Of course, there's always the option of writing a new extension. Sean On 9/26/07, Oli <[EMAIL PR

Re: [Radiant] Newb Menu Question

2007-09-25 Thread Sean Cribbs
s seem to focus on dynamic menus built on > > multiple levels of related pages. Or maybe I'm looking at them wrong... Do > > you have any hints/tips on using it? > > > > Anyway, my major focus is going to be simplicity and efficiency. I don't > > want to put up a huge

Re: [Radiant] Newb Menu Question

2007-09-25 Thread Sean Cribbs
I used to recommend the tag, but nowadays, I'm thinking body-ids combined with some dynamic CSS might work best. I might do something like this in the layout: Then in a separate (Radiant-stored) stylesheet, I would do something like this: Then in the snippet named "page_menu_highlight":

Re: [Radiant] Login system

2007-09-25 Thread Sean Cribbs
Depends on what you need. The "Subscriber" extension provides access to certain pages via authentication. I think there are others out there as well. Sean On 9/25/07, Artur Baldyga <[EMAIL PROTECTED]> wrote: > Is in radiant any extension which provide some login system?? > -- > Posted via http:/

Re: [Radiant] [ANN] "Shards" extension

2007-09-25 Thread Sean Cribbs
I'll talk to John about it. He may have some goals for the point release. Sean On 9/25/07, Damien McKenna <[EMAIL PROTECTED]> wrote: > On Sep 24, 2007, at 3:18 PM, Sean Cribbs wrote: > > Thanks again, Keith. A lot of the template code was copied wholesale > > from

Re: [Radiant] [ANN] singapore.rb meeting for Sept 2007 - Introduction to Radiant

2007-09-25 Thread Sean Cribbs
Awesome, Mohit! Best of luck to you! Sean On 9/25/07, Mohit Sindhwani <[EMAIL PROTECTED]> wrote: > On behalf of the Singapore Ruby brigade, I'm forwarding this to the > Radiant mailing list. > > I'll be doing a very brief introduction to Radiant at this talk. So, if > any of you are in Singapor

Re: [Radiant] [ANN] "Shards" extension

2007-09-24 Thread Sean Cribbs
Thanks again, Keith. A lot of the template code was copied wholesale from facets, which was slightly out of date. Fixed. Sean Keith Bingman wrote: >> I ran into that error earlier. I thought I had committed the fix, but >> I'll do it asap. Thanks for the heads up. >> > > Sean, > > I foun

Re: [Radiant] [ANN] "Shards" extension

2007-09-24 Thread Sean Cribbs
I ran into that error earlier. I thought I had committed the fix, but I'll do it asap. Thanks for the heads up. Sean Keith Bingman wrote: > Ideally, no extension would alter the other views, but for most > situations this isn't practical. I thinks the shards extension is > actually a very

Re: [Radiant] [ANN] "Shards" extension

2007-09-24 Thread Sean Cribbs
Keymone wrote: > Hi everybody. > > just few thoughts on this subject. > maybe everything can be much more simple? > > i understand that it is very cool when you install extension and yore > administrative part is full of new buttons and toys to play with but why > exactly do we need it in this way?

Re: [Radiant] page_attachments (attaching images and other files)

2007-09-23 Thread Sean Cribbs
Unless your hosting provider or web server has a limit on the POST size, it should allow attachments up to 10MB in size. Could you give some information about your hosting solution? Sean On 9/22/07, Nick Mr <[EMAIL PROTECTED]> wrote: > I have radiant installed, with rmagick and page_attachments

Re: [Radiant] Updated benchmarks

2007-09-21 Thread Sean Cribbs
Glenn, Yes, but if we're consistently getting these stats, it's enough to handle a Slashdot attack on a single process, potentially. The primary advantage of keeping Radiant's custom cache is to provide more control over the response headers and the expiration of content. Daniel, thanks for t

[Radiant] [ANN] share_layouts extension

2007-09-20 Thread Sean Cribbs
One of the "most requested" features for Radiant is to be able to reuse layouts in your standard Rails controllers. Well, it's here! With the help of John, I was able to write this extension from scratch today, and it is pretty well tested. I invite you to try it out and give me your feedback

Re: [Radiant] [Radiant-Dev] Re: Addendum to [ANN] "Shards" extension

2007-09-18 Thread Sean Cribbs
Yes, yes, but _for now_, one should do as I suggested. ;) Sean Mark de Haan wrote: > Or perhaps implement patch 525? ;) ;) > > Greetings, > > Mark > > > -Oorspronkelijk bericht- > Van: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Namens Sean Cribbs > Ver

[Radiant] Addendum to [ANN] "Shards" extension

2007-09-18 Thread Sean Cribbs
One caveat about this extension I must tell you about is that it may require to be loaded first. When you do a checkout, export, or externals, I HIGHLY RECOMMEND you prepend the directory with 00_ or the like so it comes lexically first in the directory structure. Cheers, Sean ___

[Radiant] [ANN] "Shards" extension

2007-09-18 Thread Sean Cribbs
It's been a long time coming, but here it is. ** The facets branch functionality is now available as an extension! ** http://dev.radiantcms.org/svn/radiant/trunk/extensions/shards The latest contract I've been working on is using Radiant, and they needed this functionality. The extension will

Re: [Radiant] Old "Page Missing" same as new "File Not Found"?

2007-09-18 Thread Sean Cribbs
Shawn, Make sure it's a child of the homepage and is "Published". That should do the trick. Thank you for updating the wiki. It takes a community to keep that accurate, and we appreciate any contributions you make. Sean Shawn Oster wrote: > I'm attempting to get a custom 404 page going and

Re: [Radiant] Specify database when installing extensions

2007-09-17 Thread Sean Cribbs
Earl, The wiki is publicly editable, just create an account and edit it. Sean Earl Chew wrote: > The wiki page on extensions (http://wiki.radiantcms.org/Extensions) says to > use: > > $ rake db:migrate:extensions > when installing extensions. Some extensions also require something like: > > $ r

Re: [Radiant] Is Radiant right for me?

2007-09-14 Thread Sean Cribbs
ome > type? I'm still getting familiar with the Radiant terms and don't quite > know where everything goes. > > Thanx! > Richard > > On 9/14/07, Sean Cribbs <[EMAIL PROTECTED]> wrote: > >> Richard, >> >> Radiant does sound like a goo

Re: [Radiant] Is Radiant right for me?

2007-09-14 Thread Sean Cribbs
Richard, Radiant does sound like a good fit. Simply because a lot of people use it for blog software doesn't mean it has to be that. Take a look at the various sites linked from the wiki page called RadiantUsers. There's a lot of sites that use the built-in templates (or modified versions) b

Re: [Radiant] 12,000 articles in a Radiant site?

2007-09-14 Thread Sean Cribbs
See, this is why it's awesome to have a performance guru on the core team. Thank you for clearing up some misunderstandings of mine. Loren, if we assume that 500,000 unique visitors in a month and every one of them requested only 1 page, that would still only be 0.19 requests per second. It w

Re: [Radiant] 12,000 articles in a Radiant site?

2007-09-13 Thread Sean Cribbs
Loren, As Aitor suggests, it sounds like this site could really use some caching that reminisces of Rails' page caching model. In a non-Radiant site I have worked on recently, the entire public site is page-cached, but each page takes a long time to generate (lots of data, averaging 3 sec/page

Re: [Radiant] Basic question abt tags

2007-09-13 Thread Sean Cribbs
Extensions are the "Right way" of doing it. Simply because an extension offers more doesn't mean you need to use it all. Note the markdown and textile filter extensions that are included in the standard distribution. They don't do anything but define text filters. That said, you could write

Re: [Radiant] How to get to the initial page

2007-09-11 Thread Sean Cribbs
It's likely that your host is not passing requests on to Radiant. What type of configuration is it? Sean Chris Doherty wrote: > I installed Radiant on my localhost and it worked great. I installed it > with my host and now when I go to the url without any controller or action > specified i sim

Re: [Radiant] Navigation tag and the home page / root

2007-09-11 Thread Sean Cribbs
You don't have to use the tag for everything. Instead you could do something like this: class="active">Home That will highlight the link with the active class only if the homepage is shown. Sean Chris Dwan wrote: > I have a site I'm working on with four main sections. The client > wants '

Re: [Radiant] Keeping the Changelog up-to-date.

2007-09-10 Thread Sean Cribbs
Jeroen, Please put the patch in a ticket on Trac. Sean On 9/10/07, Jeroen Janssen <[EMAIL PROTECTED]> wrote: > Sorry, > > I accidently made a mistake when attributing the fixes. Attached is an > updated patch. > > Note to myself: the committer isn't always the one who provided the > fix (see bug

Re: [Radiant] Handling multiple languages

2007-09-10 Thread Sean Cribbs
Interesting problem. No, the language-redirect behavior/extension reads the preferred language sent by your browser and sends the user to a whole different subsite based on that language. Multiple language support in Radiant is still very nascent; we'd love to hear some ideas or see some unique s

Re: [Radiant] Radiant and page attributes?

2007-09-08 Thread Sean Cribbs
The multiple-parts strategy is probably the easiest way to do it. I'm about to start on a custom Radiant-based project and I have some ideas brewing about this problem. Of course, the page/content template idea in the page-attributes fork/tweak is a wonderful strategy, if you can get it to work.

Re: [Radiant] how to exclude current children from a list of childrens

2007-09-07 Thread Sean Cribbs
Your other option is this tag definition: tag "unless_self" do |tag| tag.expand unless tag.globals.actual_page == tag.locals.page end Sean Aitor Garay-Romero wrote: > Back door extension to the rescue: > > > <% page = tags.locals.page > parent = page.parent >

Re: [Radiant] how to exclude current children from a list of childrens

2007-09-07 Thread Sean Cribbs
has been a pain-point for a long time. There was some discussion a month or two ago about how to change it. I doubt it will stay the same for very much longer. Sean Andrea Otto wrote: > Thanks Aitor! > > > I understood why it didn't work! But has the same > problem: I can't build url list

Re: [Radiant] I added the page_attachments plugin and the site stopped

2007-09-06 Thread Sean Cribbs
Some hosting services have problems with image_science. I had to use RMagick on Textdrive when I still had my website there. Sean Andrea Otto wrote: > Perfect... this is a working solution! I don't know why, but > imagescience and imagemagick gems aren't full functional... > > with rmagick it

Re: [Radiant] dispatch.fcgi results in tests being run?

2007-09-06 Thread Sean Cribbs
Jeroen, There is somewhere in the code a test suite being included. It's a lingering problem that I'll look into tomorrow and going forward. Sean Jeroen Janssen wrote: > Hmm.. > > Apparently this is introduced in radiant 0.6.2 because I get the > following output: > > [~]# ./radiant-0.6.1/publ

Re: [Radiant] import_export patches for user errors (and extensions)

2007-09-06 Thread Sean Cribbs
IIRC, I left open a hook to add your own models. I didn't put this hook in page_attachments because I couldn't be sure anyone was going to use import_export. Also consider that import_export is half-baked, too. I'm of a mind to rewrite it as Rake tasks with dependencies. Sean Will Green wro

Re: [Radiant] I added the page_attachments plugin and the site stopped

2007-09-05 Thread Sean Cribbs
Hmm... that /is/ strange. You said FCGI, but are you using Apache, lighttpd, nginx, Litespeed? I'm wondering if it has to do with the environment established by the webserver. Also, have you tried running: ruby public/dispatch.fcgi If you get a 500 error and not an error stacktrace, your FCG

Re: [Radiant] I added the page_attachments plugin and the site stopped

2007-09-05 Thread Sean Cribbs
f possible, run this as your FCGI user: irb -rubygems >> require 'image_science' >> ImageScience If it worked, you should get no error. Sean Andrea Otto wrote: > Sean Cribbs wrote: > >> Thanks, Andrea. That email wasn't directed at you specifically, b

Re: [Radiant] I added the page_attachments plugin and the site stopped

2007-09-05 Thread Sean Cribbs
Thanks, Andrea. That email wasn't directed at you specifically, but thank you. For #7, production.log and fastcgi.crash.log if available. A pastie would be best (http://pastie.caboo.se). Sean > 1) last version of both Radiant (0.6.2) and ruby (1.8.6) > 2) I don't froze radiant because is the

Re: [Radiant] I added the page_attachments plugin and the site stopped

2007-09-05 Thread Sean Cribbs
Everyone, Please, when you post a problem with page_attachments or any other extension, please provide as much information as possible. These can include: 1) Which version of Radiant and Ruby you are using 2) Whether you froze Radiant or not, and to what 3) Any other gems or libraries you have

Re: [Radiant] I added the page_attachments plugin and the site stopped working

2007-09-04 Thread Sean Cribbs
way the page_attachments folder and I'm back in > business using Litespeed. So Litespeed server definitely doesn't > like something about page_attachments. > I tried upgrading Litespeed and ruby-lsapi gem to the latest and that > didn't do it for page_attachments

Re: [Radiant] I added the page_attachments plugin and the site stopped working

2007-09-04 Thread Sean Cribbs
Do you have any other extensions installed? Do you have ImageScience, MiniMagick or RMagick? Sean Chris Dwan wrote: > Actually, the site didn't stop working entirely. It works fine under > WEBrick. It just stopped working under Litespeed. Nothing is showing > in the production.log at all.

Re: [Radiant] Quotes in JavaScript string are converted to HTML entities

2007-09-04 Thread Sean Cribbs
Have you tried wrapping the code in a CDATA tag? Textile might ignore that. Sean Jonathan Métillon wrote: >>> On /Mon Aug 27 15:55:56 GMT 2007/, *Andrew Bloom* wrote: >>> >>> if you are using textile you can either disable it, or wrap the >>> content that shouldnt be processed in ... >>> b

Re: [Radiant] radiant on Dreamhost: page_attachments grouchy?

2007-08-31 Thread Sean Cribbs
I've been having similar trouble on a >> Dreamhost installation. >> >> I've also had trouble installing from gems, so maybe looking into >> compiling them myself is the answer... >> >> *DN >> >> On Aug 25, 2007, at 12:40 PM, Sean Cribbs

Re: [Radiant] Updating a page using script/runner

2007-08-31 Thread Sean Cribbs
s.parts.create( >:content=> "Now for floods and droughts", >:name => "body" >) > floods.update > # > > saji > > > > * Sean Cribbs <[EMAIL PROTECTED]> [2007-08-28

[Radiant] Radiant CMS: Dev list

2007-08-30 Thread Sean Cribbs
Everyone, If you want to post to or respond to a message on the core/dev list (the one hosted at Google Groups), please become a member via the web interface. This will keep your messages from being moderated by the automatic filter. Thanks! Sean _

Re: [Radiant] Admin tabs- External RSS and Event Calendars extensions

2007-08-30 Thread Sean Cribbs
ain. Sean Bryan Hackett wrote: > Sean Cribbs wrote: > >> Have you tried installing on your local machine? If you can, this would >> give us a better idea of what to look for. Otherwise, could you put >> your production log in a pastie? >> >> Sean >>

Re: [Radiant] New Radiant based site launched

2007-08-29 Thread Sean Cribbs
Dave, That rocks! Sean Dave Minor wrote: > and it's no small potato blog site. Check out the release info on > Rosetta Stone's new radiant powered site: > > http://blog.lathi.net/articles/2007/08/28/new-radiant-website > > Good job Radiant! > ___ >

Re: [Radiant] Updating a page using script/runner

2007-08-28 Thread Sean Cribbs
Saji, You might try using "create" instead of "build". In that case, it could look like this: parent = Page.find_by_url('/services/news') child = parent.children.create(:title => "Floods", :breadcrumb => "Floods", :slug => "floods") child.parts.create(:name => "body", :content => "This is a pag

Re: [Radiant] Plugin within an extension

2007-08-28 Thread Sean Cribbs
Dylan, You're on the right track with that. Radiant pages do not use ActionView. I would see if you can mix the CalendarHelper into your tag module instead of ActionView::Base and use it from inside a tag definition. Sean Dylan Nichols wrote: > Hi > > I've built a simple events extension tha

Re: [Radiant] Admin tabs- External RSS and Event Calendars extensions

2007-08-28 Thread Sean Cribbs
Have you tried installing on your local machine? If you can, this would give us a better idea of what to look for. Otherwise, could you put your production log in a pastie? Sean Bryan Ha wrote: > I have added the External RSS and Event Calendars extensions. Both > extensions add a tab to the

Re: [Radiant] Arbitrary sort order for children

2007-08-27 Thread Sean Cribbs
Ryan, You can do this with the reorder extension, but IIRC it is somewhat experimental. Sean Ryan Grow wrote: > Hi, > > I am developing a radiant powered web site for a class that I am going > to teach that initially has three levels of pages in the parent-child > hierarchy, the home page, less

Re: [Radiant] radiant on Dreamhost: page_attachments grouchy?

2007-08-25 Thread Sean Cribbs
David, Permissions might be one issue. You might also see what their policy is on HTTP file uploads, if they have a limit, etc. My other guess is that you might need to install rmagick or image_science or mini-magick in your own gem directory because page_attachments needs at least one of th

Re: [Radiant] Creating a custom filter

2007-08-24 Thread Sean Cribbs
That wholly depends on which approach you want to take... filter the whole part, just process a piece of it, or do it after the fact. If you want to filter the whole part, take a look at the built-in Markdown and Textile filters. They take a very simple approach, which is to take the rendered

Re: [Radiant] Markdown reference page has a typo...

2007-08-22 Thread Sean Cribbs
Thank you Travis. Can you put this in as a patch in the Trac? Sean Travis Bell wrote: > Hey guys, > > Just noticed on the Markdown reference page, it has the syntax for H1 > and H2's reversed. > > > Heading 1 > -- > > That will actually render an H2 tag, not an H1. LIke wise for th

Re: [Radiant] rake db:bootstrap migrates to v3 and then stops

2007-08-22 Thread Sean Cribbs
What database are you using? Sean Jimmy Soho wrote: >> Hard to tell much from that, can you run the rake task again with "-- >> trace" on it to get a full output? >> > > > See below. > > It doesn't seem to provide much more useful info.. the reason rake aborts is > because the column filter_

Re: [Radiant] A richer role model

2007-08-21 Thread Sean Cribbs
;] = true > end >end >@my_roles["#{possible_role.role_name.underscore}"] || admin? > end >end > end > > > On Aug 21, 2007, at 9:51 AM, Sean Cribbs wrote: > > >> Paul, >> >> It should be easy to add a new role

Re: [Radiant] A richer role model

2007-08-21 Thread Sean Cribbs
Paul, It should be easy to add a new role(s) for this if you have only role-specific permissions and nothing more granular than that. Just create an extension that modifies the User model (in the database and in the code), providing methods in the manner of "finance?" or "public_relations?" t

Re: [Radiant] ActiveScaffold and Radiant in same application

2007-08-20 Thread Sean Cribbs
Glad you got it working, sounds cool! What I would suggest to alleviate your conflicts with ApplicationController and ApplicationHelper is to extract your differences into modules that you can store in an extension and include into each of those classes at activation time. This will allow Ra

Re: [Radiant] Mailer Rake Task

2007-08-18 Thread Sean Cribbs
Please submit a patch to the Trac and we'll get it fixed up right away. Sean Andrew Bloom wrote: > I found a small bug in the rake task for the mailer extension. > > The email.js file is actually in public/javascripts, not just public. > Easy mistake and a simple fix. >

Re: [Radiant] Mailer Extension

2007-08-16 Thread Sean Cribbs
The 'mental' branch became trunk with 0.6.0. The correct URL is: http://dev.radiantcms.org/svn/radiant/trunk/extensions/mailer Sean Ben Minton wrote: > Hi All, > > I just tried to install the 'mailer' extension using the instructions > located at => > > http://wiki.radiantcms.org/Extensions >

Re: [Radiant] Navigation Bug?

2007-08-15 Thread Sean Cribbs
The navigation tag doesn't operate in the context of a given page, only with respect to the title and url given in the urls attribute. So essentially, you don't have access to the pages directly. Sean Andrew Bloom wrote: > I am currently working on a site with a rather convoluted navigation

Re: [Radiant] Current status of facets branch

2007-08-15 Thread Sean Cribbs
Damien McKenna wrote: > So the facets-lite wasn't for the pages view? I just found it by > searching trac for "facets". > > Facets-lite was only for the page _editing_ interface, not the main sitemap view. > What were the original goals of the project? How were you intending it > would work?

Re: [Radiant] Current status of facets branch

2007-08-15 Thread Sean Cribbs
Damien, > I see there's a "facets-lite" in the mental branch: > * how stable is it? > It's pretty stable, actually. That's mostly because it's trivial -- you can only add to the meta area and the area above the buttons. I don't see it persisting however, once we get more flexibility. > * cou

Re: [Radiant] Page attachments EACH

2007-08-14 Thread Sean Cribbs
I just fixed the bug with inside . Please feel free to run the unit tests to verify that it works. Sean Mailing wrote: > Did anyone manage to get the page attachments extension working to cycle > through using :each?? > ___ > Radiant mailing list >

Re: [Radiant] virtual pages?

2007-08-13 Thread Sean Cribbs
Virtual pages potentially respond to more than one URL. The quintessential cases are the FileNotFoundPage (when a page is not found, i.e. 404) and the ArchiveXXXPage (for dynamic year, month, day archives). They usually require a parent page to define when they will be used instead of a regul

Re: [Radiant] Create links automatically

2007-08-13 Thread Sean Cribbs
> Thanks for the reply, Sean. I'm sure that the second one can be > modeled directly on your (excelent) LinkRoll extension tutorial. The > concept is quite similar. As for the first one, umm, I need to look > up on filters again - since I've spent some time with extensions, > admittedly an

Re: [Radiant] Current status of facets branch

2007-08-13 Thread Sean Cribbs
Glenn, Facets is definitely "experimental". From time to time since I created it, people have asked when it will be merged back, but the only answer I can give is "when it's ready". The branch was mostly a proof-of-concept and is not ready for production. There are many things I'd like to r

Re: [Radiant] Create links automatically

2007-08-12 Thread Sean Cribbs
> 1. Automatically create links for URL. > I'd like to be able to type in http://example.org or [EMAIL PROTECTED] > and have a link created to it. If I use Textile, I need to do this as > "http://example.org":http://example.org - just wondering if there's a > tag I can use (else, I think I sho

Re: [Radiant] New in Jargon: User Language Preference

2007-08-10 Thread Sean Cribbs
ge it, but not using the Gibberish translations. Very > weird. Any ideas? > > On Aug 10, 2007, at 8:33 PM, Sean Cribbs wrote: > > >> http://dev.radiantcms.org/radiant/browser/branches/jargon/radiant/ >> lib/radiant/initializer.rb#L54 >> >> Tha

Re: [Radiant] New in Jargon: User Language Preference

2007-08-10 Thread Sean Cribbs
http://dev.radiantcms.org/radiant/browser/branches/jargon/radiant/lib/radiant/initializer.rb#L54 That should be what you're looking for. Sean Keith Bingman wrote: > Wow. Very nice. > > One thing, and I have been meaning to ask this since I started trying > to add Gibberish, where can we change

Re: [Radiant] The name 'admin' is reserved by Ruby on Rails

2007-08-09 Thread Sean Cribbs
I have yet to reproduce this error; like you say, there must be some difference between the two setups. Of course, it's been my opinion for a while that having the /admin namespace is not necessary in an extension since you can define the route prefix. To each his own. Sean Keith Bingman wro

Re: [Radiant] Page Attachments - live server won't upload images

2007-08-09 Thread Sean Cribbs
oes not telling you anything if something goes wrong. try after > require 'image_science' put > >>> ImageScience >>> > if you will see uninitialized constant ImageScience then gem requirement > failed for some reasons. > > On 8/9/07, Sean Cribbs <[

Re: [Radiant] Page Attachments - live server won't upload images

2007-08-08 Thread Sean Cribbs
Login to your account and try this: $ irb -rubygems >> require 'image_science' See if that produces an error. If it does, contact your administrator. Sean David Piehler wrote: > David Piehler wrote: > >> I just switched from Radiant 0.6.1 full-install to Radiant 0.6.2 on gem. >> Locally ev

Re: [Radiant] Deactivating Page_Attachments extension not working

2007-08-08 Thread Sean Cribbs
Deactivation is a feature that is very lacking in page_attachments. I apologize for this. Essentially, it does nothing right now, but reactivating does the initialization again! So you'll keep getting attachments sections added to the edit page. Sean David Piehler wrote: > Running 0.6.2 on g

Re: [Radiant] Search Extension

2007-08-08 Thread Sean Cribbs
Feel free to modify the form however you need to. The only requirement is that there be one field named "q", I believe, which contains the search query. You can add any submit buttons, image submits, etc, to your liking. Sean On 8/8/07, Sharon Clift <[EMAIL PROTECTED]> wrote: > Thanks Sean, > >

Re: [Radiant] Rendering radius inside preview extension

2007-08-06 Thread Sean Cribbs
o do > something very different in the trunk than it does in the facets branch. > Additionally, I'd rather not save the page (which is what that extension > appears to do). Is there a simple way to modify my code so that it will > import non-radiant radius tags? > > On 8

Re: [Radiant] Rendering radius inside preview extension

2007-08-06 Thread Sean Cribbs
Micah, Feel free to rip the controller code from the page_preview extension that I wrote for the facets branch. The code is here: http://dev.radiantcms.org/radiant/browser/branches/facets/extensions/page_preview/lib/preview_controller_extensions.rb This module is included into the admin/page c

Re: [Radiant] Site Map

2007-08-06 Thread Sean Cribbs
http://wiki.radiantcms.org/How_To_Make_A_Site_Map Sean Alexander Baranov wrote: > Hi guys, > > I got a need to display a site map of a radiant-driven website. > Just not to re-invent the wheel. May be someone has already written custom > tag like..: > > > > and it would generate html list, like

Re: [Radiant] Search Extension

2007-08-06 Thread Sean Cribbs
The context inside the tag is the found page, so just use regular tags that you might for any given page. Here's how I think we did it at KCKCC: Hope that helps! Sean Sharon Clift wrote: > Thanks Sean, > > I have created a search page which let me see the tags, however while > the search

Re: [Radiant] Working through an Extension

2007-08-04 Thread Sean Cribbs
> Basically, I have an after_save filter that gets called when you try to > save the page. All I need to figure out now is how to get the page ID > of the record that was just saved, and more importantly, the parameters > that were entered into the partial added to the new and edit page. > >

Re: [Radiant] Extensions migrations and import_export

2007-08-02 Thread Sean Cribbs
Giovanni, import_export was just one of those weekend proof-of-concept things; I'm surprised to see anyone using it seriously. Any patches you can contribute would be awesome. At some point we will need a robust import/export system for Radiant anyway, and it would be easiest just to fold it

Re: [Radiant] Page Attachments - live server won't upload images

2007-08-02 Thread Sean Cribbs
David, Make sure the public and tmp directories are writeable by the webserver or FCGI process; it may be unable to save the temporary file to resize it. Sean David Piehler wrote: > I just switched from Radiant 0.6.1 full-install to Radiant 0.6.2 on gem. > Locally everything worked fine, but on

Re: [Radiant] Search Extension

2007-08-01 Thread Sean Cribbs
quot; AND a "Search our blog" type search (or > search our press room, etc.). I would also love to know how to add > live search, as it is a powerful feature, but how to get the plugin > working with live search is a little beyond my current knowledge. > -

Re: [Radiant] Search Extension

2007-08-01 Thread Sean Cribbs
Sharon, You need to make a page of the type "Search" that will do the processing for you. When editing that page, you should be able to see information about the tags, IIRC. If there is no information there, let me know and I will go back and add documentation. Sean Sharon Clift wrote: > I

[Radiant] Page attachments update/bugfix

2007-07-31 Thread Sean Cribbs
Everyone, I have fixed the problem with the tag that you were all experiencing. One would think that having written at least a dozen iterators for various extensions that I would remember this small concept that I missed. My apologies. You may have seen a "#" in the output, but that was ju

Re: [Radiant] Shopify.info

2007-07-31 Thread Sean Cribbs
James, As always, awesome work! Sean James MacAulay wrote: > Hi all, > > We have a completely new brochure site for Shopify which I'd like to > shamelessly plug: > > http://shopify.info > > ...which is of course, like the old shopify.com, built with the > incomparable Radiant :) > > One nift

Re: [Radiant] Anyone got page_attachments + tinymce to work?

2007-07-30 Thread Sean Cribbs
can give me a pointer as to where to look in the page_attachment > extension for how it's using the "facets lite" I'll attempt to fix up > tiny_mce to play nicely. Seems the original owner has since switched to > mephisto and not sure he's still maintaining it. &g

Re: [Radiant] Anyone got page_attachments + tinymce to work?

2007-07-30 Thread Sean Cribbs
page_attachments does not override the edit.rhtml, it uses the built-in facilities (aka "facets lite") for inserting partials above the buttons. However you would be correct in pointing out that overriding edit.rhtml (probably what tiny_mce does) would break page_attachments. Sean Keymone wro

Re: [Radiant] Radiant: Page attachments each

2007-07-30 Thread Sean Cribbs
If it's the exact same error, then you didn't get the latest update. Notice that the terms in the ORDER BY clause are transposed; I fixed that in that in the latest revision. It should read "id asc". Sean Mailing wrote: > Just tried that but I get the same error? Any i

Re: [Radiant] Radiant: Page attachments each

2007-07-29 Thread Sean Cribbs
eas?? > > *Mysql::Error: You have an error in your SQL syntax; check the manual > that corresponds to your MySQL server version for the right syntax to > use near 'asc id' at line 1: SELECT * FROM page_attachments WHERE > (page_attachments.page_id = 8) ORDER BY asc id* &g

Re: [Radiant] Radiant: Page attachments each

2007-07-29 Thread Sean Cribbs
Keith, I quietly added that feature the other day. It is kind of untested. However, because of the assignment of tag.locals.attachment inside the loop, it should work properly, but only for the current page. It will not cascade to parent pages. Here's a snippet of how it should work: -

Re: [Radiant] Customize the admin UI

2007-07-26 Thread Sean Cribbs
You could also directly edit the CSS in the public/stylesheets directory to fit your needs. If you want to change the actual elements in the page, you might have to override parts of the templates. Sean James Thompson wrote: > I have an extension that I've developed for doing just this. I am

Re: [Radiant] Internationalization Support

2007-07-24 Thread Sean Cribbs
The jargon branch now supports language files loaded from the gem or vendor/radiant, extensions, and the local Radiant project. Many thanks to Chris Wanstrath for accepting my patch to Gibberish! http://dev.radiantcms.org/radiant/changeset/470 http://dev.radiantcms.org/radiant/changeset/471 To

Re: [Radiant] Internationalization Support

2007-07-23 Thread Sean Cribbs
Keymone wrote: > Hello! > > how do i freeze radiant application to jargon branch? > > rake radiant:freeze:edge BRANCH=jargon I'll be making some changes to the branch today, by the way. I got a patch to Gibberish accepted that obviates the need for the extension_languages extension. Sean __

<    1   2   3   4   5   6   7   8   9   >