Re: [Radiant] page_attachment extension problem

2008-02-12 Thread Aitor Garay-Romero
> > No, page_attachments just recently moved over to the Radiant > repository. It is still available from my personal repository in an > older version: > > http://svn.seancribbs.com/svn/rails/plugins/extensions/page_attachments/ > > Use that version with 0.6.4. > > Sean &

[Radiant] page_attachment extension problem

2008-02-12 Thread Aitor Garay-Romero
Hi there! @sean cribs: I'm getting a "template not found error" in the page attachment extension. I took a look to the last change to it: r59 | seancribbs | 2008-02-08 15:20:00 +0100 (Fri, 08 Feb 2008) | 1 line Chang

Re: [Radiant] Adding the trailing slash to a page url

2008-02-05 Thread Aitor Garay-Romero
For an Apache without Radiant you can use the DirectorySlash directive of mod_dir. With a Radiant/Rails app i don't know how this directive will behave but i guess that it will not work since incoming request are passed directly to Rails. Other alternatives that spring to mind are: - us

Re: [Radiant] Securing the Admin page

2007-12-21 Thread Aitor Garay-Romero
For hidding the /admin "route" in the webserver you have to make the web server rewrite the incoming URL: - for Apache, you use the mod_rewrite module: http://www.google.com/search?q=apache+mod_rewrite - for lighttpd, you use also it's own mod_rewrite module: http://trac.lighttpd.net/trac

Re: [Radiant] User Authentication

2007-12-21 Thread Aitor Garay-Romero
Currently there is no ACL support in Radiant. This has been proposed and discussed in this list, search the archives. I have been brainstorming about this lately and i have some ideas for working in a "security extension" in the future. I have done some UML diagrams and pen-on-paper mocks

Re: [Radiant] Installed, hangs forever.

2007-12-16 Thread Aitor Garay-Romero
No idea. Search Rails's mailing lists for similar symptoms, Radiant is a Rails app and this problem seems a Rails problem more than a Radiant problem. /AITOR On Dec 16, 2007 1:40 AM, Geoff W. <[EMAIL PROTECTED]> wrote: > Aitor Garay-Romero wrote: > > It could be a lo

Re: [Radiant] Installed, hangs forever.

2007-12-15 Thread Aitor Garay-Romero
It could be a lot of things. Take a look to the different logs, web server, Rails... /AITOR On Dec 15, 2007 12:20 AM, Geoff W. <[EMAIL PROTECTED]> wrote: > Hey guys. > > I got Radiant CMS installed, but when attempting to access it ( > www.geeklan.com/radiant/ ) it hangs forever. I neve

Re: [Radiant] [PREVIEW] Snapshot extension: serve Radiant sites statically

2007-12-14 Thread Aitor Garay-Romero
The repository is online at http://snapshot.rubyforge.org/svn/ . Note that this is a preview version. Let's see if i can release a proper initial version soon. /AITOR On *Wed Oct 24 19:11:52 GMT 2007*, Aitor Garay-Romero <[EMAIL PROTECTED]> wrote: > Hi!, > >

Re: [Radiant] wiki down

2007-12-14 Thread Aitor Garay-Romero
Maybe it's worth using one of those free web server monitoring services that notify you by e-mail if the server is down. /AITOR On Dec 14, 2007 3:55 PM, Sean Cribbs <[EMAIL PROTECTED]> wrote: > Thank you, I will restart it. > > Sean > > Aitor Garay-Romero wrote:

[Radiant] wiki down

2007-12-14 Thread Aitor Garay-Romero
Yesterday and today ? /AITOR ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] [ANN] BackDoor 0.4.0: Attribute expansion

2007-12-14 Thread Aitor Garay-Romero
OK, new 0.4.2 release solves the problem in development environment. Enjoy, /AITOR On Dec 12, 2007 9:53 PM, Aitor Garay-Romero <[EMAIL PROTECTED]> wrote: > > What a problematic release... > > There is a problem when running Radiant in "development&q

Re: [Radiant] Multiple radiant sites and tags

2007-12-13 Thread Aitor Garay-Romero
Maybe the recently updated Virtual Domain extension is useful to you: http://svn.devjavu.com/lexbrains/radiant_extensions/virtual_domain/tags/rel_1-2-2/ /AITOR On Dec 13, 2007 12:00 AM, Bobby Calderwood <[EMAIL PROTECTED]> wrote: > Hello, > > To all those who've contributed: Thanks for

Re: [Radiant] Radiant Best Practice

2007-12-13 Thread Aitor Garay-Romero
]> wrote: > Aitor Garay-Romero wrote: > > I like the idea of parametrized snippets. > > Here is how I have implemented this idea. > > > In the tag plugin: > >define_tag "snippet:pageattr" do |tag| >attr_to_get =

Re: [Radiant] [ANN] BackDoor 0.4.0: Attribute expansion

2007-12-12 Thread Aitor Garay-Romero
" and "test" environments... I will take a look to this in the following days, until then please use release 0.3.0 if you use "development" environment. Sorry for the inconvenience. /AITOR On Dec 12, 2007 4:00 PM, Aitor Garay-Romero <[EMAIL PROTECTED]> wrote: >

Re: [Radiant] [ANN] BackDoor 0.4.0: Attribute expansion

2007-12-12 Thread Aitor Garay-Romero
, Aitor Garay-Romero <[EMAIL PROTECTED]> wrote: > Hi there!, > >New feature: Attribute expansion. From the README: > > 8< > == Attribute expansion > > Back Door allows evaluating tag's attributes as Ruby code. If a tag's > attribute starts wit

[Radiant] [ANN] BackDoor 0.4.0: Attribute expansion

2007-12-12 Thread Aitor Garay-Romero
Hi there!, New feature: Attribute expansion. From the README: 8< == Attribute expansion Back Door allows evaluating tag's attributes as Ruby code. If a tag's attribute starts with the "#" symbol, the rest of the attribute is evaluated, and the attribute's value is replaced with the

Re: [Radiant] Issues while Installing backdoor

2007-12-07 Thread Aitor Garay-Romero
This is something that is not clear in the documentation wiki. So i updated the main extension wiki page to comment this ( http://wiki.radiantcms.org/Extensions). I added a "Note on extension directory naming" section at the end. /AITOR On Dec 7, 2007 2:00 PM, <[EMAIL PROTECTED]> wrote:

Re: [Radiant] (no subject)

2007-12-06 Thread Aitor Garay-Romero
As Sean said, the tags are defined in the gem. Modifying them there is utterly ugly. The way to go is to define an extension where you can override the standard tags or (better) define your own. You can use the backdoor extension to define new tags easily inside Radiant without resorting

Re: [Radiant] Getting Radiant rolling on a fresh Dapper install with Deprec

2007-12-06 Thread Aitor Garay-Romero
The important thing is that the Radiant (Rails) process must have write permissions to that directory. Both the chmod and chgrp do the job. For me seems that the chgrp you did is more clean. Security is a though topic, but in your case i wouldn't be worried too much, it's just the temp direc

Re: [Radiant] One more page launched on Radiant CMS! :)

2007-12-04 Thread Aitor Garay-Romero
Nice and simple design, congrats! You said that your non-tech customers edit the pages themselves. How are you managing the images? With an extension? /AITOR On Dec 4, 2007 8:44 AM, Tõnu Runnel <[EMAIL PROTECTED]> wrote: > I tried to leave all html code in the layout and snippets.

Re: [Radiant] How to Diff Between Two Snapshots

2007-12-03 Thread Aitor Garay-Romero
An easy solution for this is to have Radiant installed locally on the customer side. The customer updates the site locally, tests the changes and when she is happy triggers a script which makes the deployment of the new database, via rsync, subversion or whatever. So the "master" db is in the

Re: [Radiant] Getting Radiant rolling on a fresh Dapper install with Deprec

2007-12-03 Thread Aitor Garay-Romero
Seeing the error message "Permission denied - /var/www/apps/nomore/current/cache/index.data" seems that you have exactly that, an access permission problem (at least) to the Radiant cache directory. The easiest way to solve this is to try a "chmod a+w -R", on /var/www/apps/nomore/current/cac

Re: [Radiant] How to Integrate Radiant To an Rails Application

2007-11-30 Thread Aitor Garay-Romero
A page in the wiki for the topic radiant+rails would be golden... /AITOR On Nov 30, 2007 2:48 PM, Michael Nikitochkin <[EMAIL PROTECTED]> wrote: > Who know? Is exist the extension that I can modify the views of > controllers with Radiant CMS in admin pages. > > -- > Posted via http://www.

Re: [Radiant] Listing first and last children

2007-11-30 Thread Aitor Garay-Romero
Maybe using something like: ... ... ... In this case should return an empty list in the last case. /AITOR On Nov 23, 2007 1:20 PM, Andrew Neil <[EMAIL PROTECTED]> wrote: > Hi, > > On one of my sites, I'm using the following snippet: > > > > > >

Re: [Radiant] How to Integrate Radiant To an Rails Application

2007-11-30 Thread Aitor Garay-Romero
In this line, i also had success using an to link to another app. The nice thing is that it's possible to interact with the "remote app" inside that iframe without disturbing the radiant app. /AITOR On Nov 22, 2007 6:10 PM, Loren Johnson <[EMAIL PROTECTED]> wrote: > > I've recently also

Re: [Radiant] How create own TAG with dynamic content

2007-11-30 Thread Aitor Garay-Romero
You can not do that directly with standard Radiant, you need a Radiant <-> Rails integration extension. Search this list for radiant+rails+integration, there have been a few post about this topic lately. /AITOR On Nov 29, 2007 10:46 PM, Michael Nikitochkin <[EMAIL PROTECTED]> wrote: >

Re: [Radiant] Migrating Extensions

2007-11-20 Thread Aitor Garay-Romero
Execute "rake -T" on your app root to see all the available tasks. Radiant's rakefile is clever and catches the extension's rake tasks automagically. /AITOR On Nov 19, 2007 7:04 PM, Chris Parrish <[EMAIL PROTECTED]> wrote: > What is the radiant method for reverse migrations? > > I would

Re: [Radiant] radiant extension and rails method

2007-11-16 Thread Aitor Garay-Romero
han if I > do this in app/view/index.rhtml for example and I was wondering if > someone could explain me why because I am lost. > > I get this error when I'm calling the tag solr_facet_list > (): > You have a nil object when you didn't expect it! You might have expected >

Re: [Radiant] radiant extension and rails method

2007-11-16 Thread Aitor Garay-Romero
I had to do this i would find a way to refer to the active controller, in this case SiteController, and execute my "rails" methods on that object. Or even do some ugly meta-programming stuff so in your tags "self" refers to that controller object. There must be an instance or class variabl

Re: [Radiant] Performance

2007-11-14 Thread Aitor Garay-Romero
Your site (nice work!) looks mostly static, you can try the snapshot extension: http://lists.radiantcms.org/pipermail/radiant/2007-October/006823.html Still is a preview, but it should be usable. Hope to find a moment to release it soon... /AITOR On Nov 14, 2007 1:02 PM, Peter Ber

Re: [Radiant] Modified rss_reader

2007-11-12 Thread Aitor Garay-Romero
Nice work! I would be really nice if this update is merged back into the original rss_reader extension, or at least if a link is added to the 3rd party extensions wiki page. The list of Radiant extensions and usage is scattered all over the net, something that does not benefit anyone.

Re: [Radiant] Sitemap doesn't validate

2007-11-09 Thread Aitor Garay-Romero
Check the backdoor extension at http://backdoor.rubyforge.org/ . Also search this list for "backdoor" for discussions about what you comment, current security issues with backdoor, alternatives, etc... Regarding making Radiant "more programmable", my opinion is that the way to go is:

Re: [Radiant] Error when creating a new page

2007-11-08 Thread Aitor Garay-Romero
Although the problem you report is on SQLServer, that error message involving NULL filters remembers me of the infamous SQLite3 problem: http://wiki.radiantcms.org/FAQ As described in the FAQ, check your DB schema. /AITOR On Nov 8, 2007 3:03 PM, kohlbauer <[EMAIL PROTECTED]> wro

Re: [Radiant] Hiding Page Parts from "The Customer"

2007-11-08 Thread Aitor Garay-Romero
Right now there isn't such functionality. But you could be interested in http://wiki.radiantcms.org/How_To_Set_a_Top_Level_Page_for_User . /AITOR On Nov 7, 2007 7:03 AM, James White <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to evaluate how Radiant will fit with sites I develop for

Re: [Radiant] Radius tag and send_data method

2007-11-06 Thread Aitor Garay-Romero
;re done streaming > the file. > > You can offload sending the file to front-end server using X-Sendfile > headers. Google for your server's specific implementation of x-sendfile, > and here's the Rails plugin to enable it: > > http://john.guen.in/past/2007/4/17/send_file

Re: [Radiant] Radius tag and send_data method

2007-11-06 Thread Aitor Garay-Romero
My first impression is that this is not directly possible in Radiant. You could access the send_data() method of ActionController indirectly through an instance or class variable. The problem is that Radiant will try to render the page+layout and send it back to the user, so with the "extr

Re: [Radiant] Meta description from page part

2007-10-31 Thread Aitor Garay-Romero
I tried your example below and it works for me. Check: - that the page part exists - that you clear the cache before testing your changes /AITOR On 10/31/07, Andrew Neil <[EMAIL PROTECTED]> wrote: > > > > Although Radius's documentation (http://radius.rubyforge.org/) does > > not > > sa

Re: [Radiant] Meta description from page part

2007-10-30 Thread Aitor Garay-Romero
> I realise that it would not be correct to use the following construct: > You can actually use that construct, just be sure to close the tag. Although Radius's documentation (http://radius.rubyforge.org/) does not say it explicitly (AFAIK), the current Radius implementation allows this.

Re: [Radiant] Checking for other extensions and gems

2007-10-30 Thread Aitor Garay-Romero
Search this list, it has been discussed in the past. Fast solution: they load in "alphabetic order", so "00_extension" will load before "01_extension". /AITOR On 10/30/07, Chris Parrish <[EMAIL PROTECTED]> wrote: > > Aitor Garay-Romero wrot

Re: [Radiant] [PREVIEW] Snapshot extension: serve Radiant sitesstatically

2007-10-30 Thread Aitor Garay-Romero
Thanks Daniel ! /AITOR On 10/29/07, Daniel Sheppard <[EMAIL PROTECTED]> wrote: > > > I'm glad that the extension is useful. I take note of > > the virtual page > > problem you comment and will look at it before releasing the > > first official > > version of the extension. > > > >

Re: [Radiant] Checking for other extensions and gems

2007-10-30 Thread Aitor Garay-Romero
And be sure that your extension loads after shards /AITOR On 10/29/07, Sean Cribbs <[EMAIL PROTECTED]> wrote: > > Check for the existence of the Shards module: > > raise "The Shards extension is required and must be loaded first!" > unless defined?(Shards) > > Sean > > Chris Parrish w

Re: [Radiant] [PREVIEW] Snapshot extension: serve Radiant sites statically

2007-10-28 Thread Aitor Garay-Romero
rking on). I realize this > is a small nitpick, but it would be great to figure out how to do this. > > Other than that, really cool. I have a few simpler projects which > just don't warrant an installation of Radiant that would be greatly > served by this. > >

Re: [Radiant] Restricting user access to certain admin tabs...

2007-10-26 Thread Aitor Garay-Romero
Still there is no ACL (http://en.wikipedia.org/wiki/Access_control_list) support in Radiant. If the tabs are generated by a custom extension, they you may verify there that the logged in user has the rights to use it. /AITOR On 10/25/07, Travis Bell <[EMAIL PROTECTED]> wrote: > > He

Re: [Radiant] Debugging Radiant

2007-10-25 Thread Aitor Garay-Romero
Hi!, A fast way to output debug info is to just use "puts" in your Ruby code. The output will go to the console where you started the server from. Just put some markers in your output to distinguish it easily from all the output. You can also write to Rails log directly using the @log obj

Re: [Radiant] [PREVIEW] Snapshot extension: serve Radiant sites statically

2007-10-25 Thread Aitor Garay-Romero
The attachment is here: http://aitor.name/snapshot.tar.gz /AITOR On 10/24/07, Aitor Garay-Romero <[EMAIL PROTECTED]> wrote: > > Hi!, > > Find it attached to this message. > > The basic idea of the snapshot extension is to generate a local copy >

[Radiant] [PREVIEW] Snapshot extension: serve Radiant sites statically

2007-10-24 Thread Aitor Garay-Romero
Hi!, Find it attached to this message. The basic idea of the snapshot extension is to generate a local copy of all pages in Radiant's database. This allows to deploy a complete site as static files to the web server, where it can be served statically by the web server (Apache...) without

Re: [Radiant] Names of months in Archive Extension

2007-10-23 Thread Aitor Garay-Romero
You can try to overwrite Ruby's month constants with backdoor: Date.MONTHNAMES = [nil] + %w(January February March April May June July August September October November December) Date.ABBR_MONTHNAMES = [nil] + %w(Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec) May wor

Re: [Radiant] How To add Search to your Radiant site

2007-10-23 Thread Aitor Garay-Romero
Good job! /AITOR On 10/23/07, Andrew Neil <[EMAIL PROTECTED]> wrote: > > Hi folks, > > I've just written a how to for the search extension. Find it here: > > http://wiki.radiantcms.org/Using_the_Search_Extension > > Let me know if you have any trouble following it. > > Cheers, > > Drew >

Re: [Radiant] Creating own radius tags

2007-10-22 Thread Aitor Garay-Romero
Try following the tutorial: http://wiki.radiantcms.org/Creating_Radiant_Extensions /AITOR On 10/22/07, kranthi reddy <[EMAIL PROTECTED]> wrote: > > Hello.. > Can anyone please guide me the way to create my own radius tags. I created > a > module which has some tags defined in them and lin

Re: [Radiant] Help restarting smpl.se, application failure, Radiant, Site5

2007-10-19 Thread Aitor Garay-Romero
Fast response, i'm in a hurry: If the admin UI is working, start marking pages as "not published" until you find the page that is causing the problem. From there, try to isolate the snippet. Anyway, think in your last modifications to the site to help find the problem. All this assu

Re: [Radiant] New page can't be added anymore

2007-10-19 Thread Aitor Garay-Romero
Run a "rake --tasks" to see if the Rakefile is in shape and the "radiant:update" task is there. If the rake-tasks are not working i assume that you didn't run a "rake db:update" neither. /AITOR On 10/19/07, Clark Kent <[EMAIL PROTECTED]> wro

Re: [Radiant] Radiant Best Practice

2007-10-18 Thread Aitor Garay-Romero
a and that can be used as parametrized snippets, but it has the known security implications. /AITOR On 10/18/07, Chris Parrish <[EMAIL PROTECTED]> wrote: > > > Sorry for such a late response here. Just reading through posts I'd > missed > while away and came across this.

Re: [Radiant] New page can't be added anymore

2007-10-18 Thread Aitor Garay-Romero
Did you migrate the database from MYSQL to DB2? For testing, initialize new new database in DB2 by running "rake production db:bootstrap". Radiant should work, albeit without any data. If it works and you want your old data from MYSQL, then you must dump it from MYSQL and import it i

Re: [Radiant] Test

2007-10-18 Thread Aitor Garay-Romero
Yesterday i didn't get any message from the list. I have just received all of them at the same time. /AITOR On 10/17/07, John W. Long <[EMAIL PROTECTED]> wrote: > > This is a test post. Please reply if you are the first to get this. > > -- > John Long > http://wiseheartdesign.com >

Re: [Radiant] [ANN] BackDoor 0.3.0

2007-10-15 Thread Aitor Garay-Romero
; errors) but the extension doesn't show up and the new tags are > unavailable > > (I installed the files in vendor/extensions/back_door) > > cheers, > > Johan Bakker > > On Sat, 13 Oct 2007 15:25:48 +0200, "Aitor Garay-Romero" <[EMAIL PR

Re: [Radiant] Mailer Extension question

2007-10-14 Thread Aitor Garay-Romero
t;" > #result << input_tag_html( 'radio', options ) > #result << %Q| for="#{options[:id]}">#{tag_attr[:name]}| > end > end > end > > I've also tried putting it in a MailerAlternateRenderTags module > (

[Radiant] [ANN] BackDoor 0.3.0

2007-10-13 Thread Aitor Garay-Romero
Hi!, New release with useful new features. More info in http://backdoor.rubyforge.org/ . From the changelog: === 0.3.0 * Implemented a tag for both and tags. Now it's possible to do: This is the if part And this the

[Radiant] Radius: accessing raw tag body without expanding

2007-10-12 Thread Aitor Garay-Romero
Hi there!, Is there an easy way for a Radius tag to get the "raw" tag body without expanding the contained tags? It's not what i need, but it's the functionality to implement an imaginary tag: that returns "" instead of "...". /AITOR

Re: [Radiant] A common repository for extensions

2007-10-12 Thread Aitor Garay-Romero
@sean: nice simple application, looking forward to see it online. Definitively this is something Radiant needed since a long time ago. /AITOR On 10/12/07, Sean Cribbs <[EMAIL PROTECTED]> wrote: > > Oh I see what you mean. I fully intend for authors to be able to > register and have short

Re: [Radiant] Mailer Extension question

2007-10-12 Thread Aitor Garay-Romero
Do I understand > you correctly? Could it be that simple? > > (Sorry, c# .Net puts food on the table right now, so I've grown > accustomed to be skeptical of simple solutions, because there are none > in .Net, not that I've found, anyway). > > == > Will Green >

Re: [Radiant] Mailer Extension question

2007-10-12 Thread Aitor Garay-Romero
One of the main features of Ruby is that it's "open" in the sense that your code can modify any other loaded coded as desired. In your case, make an extension that loads after the mailer extension and patches the MailerPage class as desired. Other option is to patch your local mailer exte

Re: [Radiant] Copy/Move extension

2007-10-12 Thread Aitor Garay-Romero
This is the kind of things that must be addressed in the future, a way for Radiant extensions to tweak the admin UI without overwriting each other. Is this the objective of the "facets" branch (+ "shards" extension) ? /AITOR On 10/11/07, Dominic <[EMAIL PROTECTED]> wrote: > > If you

Re: [Radiant] conditional display of image

2007-10-12 Thread Aitor Garay-Romero
>The strange thing, it that I don't always get a "request" object, and I'm >wondering if there could be a better way to do that, the main point being "is >the page being displayed is the page I belong too". Sorry, i don't quite understand the question. The code you post, is in a page, sn

Re: [Radiant] Detecting Page Changes

2007-10-12 Thread Aitor Garay-Romero
> I'm trying to figure out a way to track whenever a given page's > rendered output may have changed. Just curious, what functionality do you want to achieve with this? /AITOR On 10/11/07, Chris Parrish <[EMAIL PROTECTED]> wrote: > > > I'm trying to figure out a way to track whenever

Re: [Radiant] A common repository for extensions

2007-10-11 Thread Aitor Garay-Romero
Regarding installation of extensions, why not base it in the standard gem system? A system must be devised to let Radiant interact with the gem system, but when that is solved we can take advantage of all the gem infrastructure that is already implemented. /AITOR On 10/11/07, Sean Crib

Re: [Radiant] Lighttpd Question

2007-10-09 Thread Aitor Garay-Romero
suggestions? I like Postgres > and might just keep using it but the simplicity of SQLite3 just makes me > weep for joy. :) Also, I am curious about the performance differences > between the two DBMSs. It seems like SQLite3 should perform better for > smaller sites (as lon

Re: [Radiant] Lighttpd Question

2007-10-09 Thread Aitor Garay-Romero
As Sean as pointed, rails apps are served by lighttpd through fcgi. All you need to do is setup lighttpd.conf correctly. These two links are useful: http://duncandavidson.com/archives/153 http://textsnippets.com/posts/show/70 /AITOR On 10/9/07, Richard Hurt <[EMAIL PROTECTED]

Re: [Radiant] Radiant and mongrel reloading.

2007-10-08 Thread Aitor Garay-Romero
For debugging, check the PIDs of the relevant processes before/after the restart to check that they actually restarted correctly. /AITOR On 10/8/07, Giovanni Intini <[EMAIL PROTECTED]> wrote: > > For the first time ever (for me :)) I set up a radiant site on a nginx > + mongrel setup (htt

Re: [Radiant] [ANN] Admin Tree Structure Extension

2007-10-05 Thread Aitor Garay-Romero
Nice extension, thanks! Please remember to update the third party extensions page in the wiki so people can find it easily. /AITOR On 10/5/07, Daniel Sheppard <[EMAIL PROTECTED]> wrote: > > The Admin Tree Structure Extension is available from: > > http://soxbox.no-ip.org/radiant/svn/extens

Re: [Radiant] how offer a list of PDF files?

2007-10-05 Thread Aitor Garay-Romero
With the backdoor extension (http://backdoor.rubyforge.org/) you can do something in the line of: <% Dir.glob( "newsletters/*.pdf") do |file| if file =~ /.../ %> I'd instead like some way to iterate through the file system via some > glob, something like > > > > >

Re: [Radiant] 500 Errors - Radiant on Apache/FastCGI overloading and dying

2007-10-03 Thread Aitor Garay-Romero
Did http://www.google.com/search?q=Premature+end+of+script+headers%3A+dispatch.fcgi&ie=utf-8&oe=utf-8help? /AITOR On 10/3/07, Ryan Heneise <[EMAIL PROTECTED]> wrote: > > Hi folks, > > I have a Radiant install running Apache/FastCGI on linux. FastCGI > keeps crashing when it tries to load

Re: [Radiant] Is Radiant right for me?

2007-10-03 Thread Aitor Garay-Romero
> But how do I make it so I can have a dynamic directory under the 'jobs' page Touching the Radiant routes, defined in the routes.rb file. In your case maybe what you need is a mixed Radiant<->Rails site (with the RadiantOnRails extension). /AITOR On 10/3/07, James Hargreaves <[

Re: [Radiant] Sqlite3 for deployment?

2007-10-03 Thread Aitor Garay-Romero
I'm using sqlite3 without problems. The only problem should be performance, MySQL, Postgre... are supposedly faster. Just be careful with the typical rails/sqlite3 gotcha: http://wiki.radiantcms.org/FAQ /AITOR On 10/3/07, Ryan Heneise <[EMAIL PROTECTED]> wrote: > > Has anyone used S

Re: [Radiant] Random 500 error

2007-10-03 Thread Aitor Garay-Romero
With proper SCM techniques you avoid such problems. I even use sqlite3 in development so i can version control the DB easily... /AITOR On 10/3/07, Mariano Viola <[EMAIL PROTECTED]> wrote: > > On 10/1/07, Aitor Garay-Romero <[EMAIL PROTECTED]> wrote: > >It

Re: [Radiant] Date published page attribute

2007-10-02 Thread Aitor Garay-Romero
> As I said to someone else this morning, you could just use my page_edit_dates > extension : > http://mat.cc/dev/index.cgi/page_edit_dates/ @All: please add your extensions to the wiki (http://wiki.radiantcms.org/Thirdparty_Extensions) so we all know what extensions are available when the nec

Re: [Radiant] Page Versioning

2007-10-01 Thread Aitor Garay-Romero
tp://svn.liverail.net/svn/plugins/railsdav/ > > Well, my curiosity is piqued. Hopefully I'll get some time to play > around with this. > > -Andrew > > On 9/30/07, Aitor Garay-Romero <[EMAIL PROTECTED]> wrote: > >I do like your idea. I have been thinking o

Re: [Radiant] Random 500 error

2007-10-01 Thread Aitor Garay-Romero
It could be that some pages are still using TinyMceFilter, so if you remove it the will fail. Try to just keep both installed until you are sure that you don't "use" the old filter. /AITOR On 10/1/07, Mariano Viola <[EMAIL PROTECTED]> wrote: > After a deepened analysis of rails product

Re: [Radiant] Random 500 error

2007-10-01 Thread Aitor Garay-Romero
A few questions that may help: When you say "server logs", do you refer to both Apache and Rails (production.log...)? What about the DB logs (MySQL, SQLServer...)? Does the 500 error come from Rails or from Apache? Can you connect to Radiant with script/console? C

Re: [Radiant] Login system

2007-09-30 Thread Aitor Garay-Romero
flabs.com/radiant/extensions/subscriber/ > > 2007/9/30, Aitor Garay-Romero <[EMAIL PROTECTED]>: > > For me this looks like the task for a webapp (Rails) instead of a > > CMS (Radiant). You will have to tweak Radiant a lot to get the extra > > functionally you n

Re: [Radiant] New Radiant sites

2007-09-30 Thread Aitor Garay-Romero
> www.grooveonline.co.uk I personally don't like that a site starts playing music without, at least, asking me. Otherwise, both sites look great. /AITOR On 9/27/07, Mailing <[EMAIL PROTECTED]> wrote: > Hi all, > > Just thought I'd announce two new Radiant sites to the list: > > www.gr

Re: [Radiant] Workflow suggestions request

2007-09-30 Thread Aitor Garay-Romero
This may help: http://lists.radiantcms.org/pipermail/radiant/2007-September/006505.html /AITOR On 9/26/07, Oli <[EMAIL PROTECTED]> wrote: > Hi All, > > I'm getting into Radiant (and loving it - props all), but am > wondering if anyone has some workflow suggestions for me. At the > mom

Re: [Radiant] Login system

2007-09-30 Thread Aitor Garay-Romero
For me this looks like the task for a webapp (Rails) instead of a CMS (Radiant). You will have to tweak Radiant a lot to get the extra functionally you need. /AITOR On 9/26/07, Artur Baldyga <[EMAIL PROTECTED]> wrote: > I want to organize some football bet competition. User can login t

Re: [Radiant] Member auth and caching

2007-09-30 Thread Aitor Garay-Romero
It should work. Just be careful not to customize the page with some specific login information, the cached version will be shared by all users. /AITOR On 9/25/07, Chris Dwan <[EMAIL PROTECTED]> wrote: > I'm working on a site that will have a membership area that will > require login. I'm

Re: [Radiant] Page Versioning

2007-09-30 Thread Aitor Garay-Romero
I do like your idea. I have been thinking on something similar in the past. My idea was more general, like writing a backend to sqlite3 so DB tables and rows are written directly to individual files, and organized in directories as you comment. This idea is too ambitious, and i don't think th

Re: [Radiant] Radiant Best Practice

2007-09-18 Thread Aitor Garay-Romero
I see the problem. It would be nice to allow parametrization of snippets, but right now that it's not possible. This behavior can be implemented with a custom extension though. /AITOR On 9/18/07, Andrea Otto <[EMAIL PROTECTED]> wrote: > Hi, > I'd like to know how can I use radiant at

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

2007-09-13 Thread Aitor Garay-Romero
12K articles, that's a mini wikipedia! Just one though. It depends on your requirements, but you don't need to go fully "dynamic". I mean, you can do everything in Radiant (adjusting the admin UI as you said) and then generate all the pages and store them to be served statically. Th

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

2007-09-11 Thread Aitor Garay-Romero
I have exactly the same problem with a site i'm working on. I'm thinking on tweaking config/routes.rb, but i don't know if this will work well with Radiant. Any experiences with this? /AITOR On 9/11/07, Chris Dwan <[EMAIL PROTECTED]> wrote: > > I have a site I'm working on with four ma

Re: [Radiant] Handling multiple languages

2007-09-11 Thread Aitor Garay-Romero
For this idea we also need "parts" for layouts and snippets, since they must be translated too. /AITOR On 9/10/07, Sylvestre Mergulhão <[EMAIL PROTECTED]> wrote: > > On 9/10/07, Aitor Garay-Romero <[EMAIL PROTECTED]> wrote: > > > - define different

Re: [Radiant] Handling multiple languages

2007-09-10 Thread Aitor Garay-Romero
The scheme described by Mohit below addresses the selection of the language, but we still need to store the translations. Given the simple tree structure of Radiant pages, i don't think that duplicating the pages in different languages is a good idea. A solution could be: - define

Re: [Radiant] Radiant for blogs

2007-09-09 Thread Aitor Garay-Romero
Thanks a lot! You did a great job adapting the hemingway theme to Radiant. /AITOR On 9/9/07, Guido Sohne <[EMAIL PROTECTED]> wrote: > > On 9/9/07, Aitor Garay-Romero <[EMAIL PROTECTED]> wrote: > > Any plan to release your templates publicly? ;-) > >

Re: [Radiant] Radiant for blogs

2007-09-09 Thread Aitor Garay-Romero
Any plan to release your templates publicly? ;-) /AITOR On 9/8/07, Guido Sohne <[EMAIL PROTECTED]> wrote: > > On 9/8/07, Guido Sohne <[EMAIL PROTECTED]> wrote: > > On 9/6/07, David Piehler <[EMAIL PROTECTED]> wrote: > > > Very classy and clean. How are you doing dated archives? By parsin

Re: [Radiant] Radiant and page attributes?

2007-09-08 Thread Aitor Garay-Romero
https://dev.eyebeam.org/svn/radiant-partatts/radiant/vendor/extensions/page_attributes/ But looks complex to install. Maybe try to simulate attributes with page parts? Just an "attributes" part with the attributes in the body (in YAML?). Then handle that data with an extension (or back door

Re: [Radiant] add content to a menu depending on the child/parent? page?

2007-09-08 Thread Aitor Garay-Romero
exactly as I need it. > Any hopes of getting this in the next version of radiant? > > Jeroen > > On 9/8/07, Aitor Garay-Romero <[EMAIL PROTECTED]> wrote: > >Given the following tag (just the inverse of the "unless_self" tag > > defined by Sean in a r

Re: [Radiant] add content to a menu depending on the child/parent? page?

2007-09-08 Thread Aitor Garay-Romero
Given the following tag (just the inverse of the "unless_self" tag defined by Sean in a recent thread): tag "if_self" do |tag| tag.expand if tag.globals.actual_page == tag.locals.page end Seems that it could be as easy as: ... /AITOR On 9/8/07, Jeroen Jans

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

2007-09-08 Thread Aitor Garay-Romero
the extension. The solution given by Sean is much cleaner. One thing i miss from Radiant is an easy way to make it "more programmable" without resorting to extensions or to ugly code inside / tags. Maybe it's time for a revamp of the back door extension... /AITOR

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

2007-09-07 Thread Aitor Garay-Romero
Back door extension to the rescue: <% page = tags.locals.page parent = page.parent siblings = parent.locals.page.children siblings.each do |sibling| if sibling != page %> <% end end %> I did not test the

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

2007-09-07 Thread Aitor Garay-Romero
Your code below is incorrect. Radius tags follow the same structural rules as standard XML (don't expect the tags in the 'matches' attribute to expand). Try with the tag. /AITOR On 9/7/07, Andrea Otto <[EMAIL PROTECTED]> wrote: > > In each children page of my project I need to list a

Re: [Radiant] (no subject)

2007-09-06 Thread Aitor Garay-Romero
Not really. There is a "language redirect" extension, but to use it you must duplicate all the pages for the different languages. It could be useful to you though. I think that for Radiant a good solution would be to define the content in different languages in different parts of a page.

Re: [Radiant] Radiant for blogs

2007-09-06 Thread Aitor Garay-Romero
Very interesting, thanks. /AITOR On 9/6/07, Guido Sohne <[EMAIL PROTECTED]> wrote: > > On 9/4/07, Aitor Garay-Romero <[EMAIL PROTECTED]> wrote: > > I would like to know your experiences with Radiant for a blog. I > have > > taken a look to the blog

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

2007-09-05 Thread Aitor Garay-Romero
I suppose that having the Javascript in a different snippet and including it in the original snippet won't work since the textile filter will be applied to all the complete snippet output. I'm right? /AITOR On 9/5/07, Jonathan Métillon <[EMAIL PROTECTED]> wrote: > > > > > > Let me correct

  1   2   >