[Radiant] Radiant in a subdirectory

2006-09-19 Thread Mislav Marohnić
I have Radiant installed in a subdirectory, not the site root. I have set AbstractRequest.relative_url_root accordingly, which makes admin section work. Surprisingly, links generated by Radius tags on the site itself start from root ("/") and don't get relative_url_root prepended to them... is havi

Re: [Radiant] Default CSS Layout quirk

2006-09-20 Thread Mislav Marohnić
On 9/20/06, Bryan <[EMAIL PROTECTED]> wrote: I found an article that suggests fixing the problem by forcing the vert.scroll bar in the css style sheet.  It does the trick, but I am notreally satisfied with it.That is what the CSS gurus do with centered layouts - they force the scrollbar. No need fo

Re: [Radiant] Problem setting up Radiant

2006-09-20 Thread Mislav Marohnić
John,There really wasn't a need to spawn a separate thread about this. I'm having the same issue (as you've already read) and I'm working on it to fix. The behavior suggested is rough and the code isn't tested, it's just a proposed solution. I'm going to post updates when I reach a solution solid e

Re: [Radiant] How to add css styles to a website?

2006-09-21 Thread Mislav Marohnić
On 9/20/06, John W. Long <[EMAIL PROTECTED]> wrote: Giovanni Intini wrote:> Create a layout with content type text/css and paste your css code there.It's probably better to create a layout with a content type of"text/css" and put just the tag in the layout. Then create a page, assign the layout, a

Re: [Radiant] How to add css styles to a website?

2006-09-22 Thread Mislav Marohnić
On 9/21/06, Jim Gay <[EMAIL PROTECTED]> wrote: One of the main benefits of using CSS in general is that its cached locally in the user's browser. On the first visit there is some overhead, but subsequently (if its is acting properly) the browser shouldn't request a new stylesheet if it has one of t

Re: [Radiant] How to add css styles to a website?

2006-09-22 Thread Mislav Marohnić
On 9/22/06, John W. Long <[EMAIL PROTECTED]> wrote: I'd appreciate a patch that addressed these issues.Deal! I kinda fell in love with Radiant in the past few days (evaluating it) so it will be a pleasure.Be patient, because I'm still studying hard for college. A week from now and I'll get to it.

Re: [Radiant] How to add css styles to a website?

2006-09-25 Thread Mislav Marohnić
On 9/25/06, Steven Noels <[EMAIL PROTECTED]> wrote: ... we should have some sort of fifth statusoption: draft/review/published/hidden/hiddenfromnav. What's themeaning of the current 'hidden', BTW?I agree we should have a status of "special" or something like that for stylesheets and content that wo

Re: [Radiant] How to add css styles to a website?

2006-09-25 Thread Mislav Marohnić
On 9/25/06, Giovanni Intini <[EMAIL PROTECTED]> wrote: I know that something like that would save a hack, but I'm starting to think that page parts should be naturally used to describe attributes of the page.Funny. I always thought that page parts should be naturally used to hold parts of the page

Re: [Radiant] New Howto; How to use the Dev mode.

2006-09-29 Thread Mislav Marohnić
I've learned this accidentally from the code just a few days ago. It's nice someone took time to wikify this, thanks!On 9/29/06, Giovanni Intini < [EMAIL PROTECTED]> wrote:I created a first (small) draft of this howto on the wiki, you can find it here: http://dev.radiantcms.org/radiant/wiki/HowToD

Re: [Radiant] Set-Cookie: appearing on page

2006-09-29 Thread Mislav Marohnić
Yeah it might be a weird Ajax thing. You can inspect xmlhttprequests easily, though: just install Firebug for Firefox, open it up (F12) when you enter the admin and go to "options" (last option, check it). When you click on the "plus"-es now you can see the requests in console. Inspect the server r

Re: [Radiant] Set-Cookie: appearing on page

2006-09-29 Thread Mislav Marohnić
On 9/29/06, Mislav Marohnić <[EMAIL PROTECTED]> wrote: Your problem doesn't seem to me like a client-side problem because you can insert response headers into the page by an accident.Sorry. Here I meant to say "you CAN'T insert response headers into th

Re: [Radiant] Set-Cookie: appearing on page

2006-09-30 Thread Mislav Marohnić
On 9/29/06, John Tsombakos <[EMAIL PROTECTED]> wrote: So for some reason, half of the headers are not being interpreted as headers.That's what I thought. What kind of Apache setup do you have?It doesn't look like it originates from Apache... those are the headers set by the application ___

Re: [Radiant] Set-Cookie: appearing on page

2006-10-01 Thread Mislav Marohnić
On 9/30/06, John Tsombakos <[EMAIL PROTECTED]> wrote: It's Apache 2.0.55, standard setup with Ubuntu Linux.Yeah, but that's now complete info. You power Rails with mod_ruby, cgi, fastcgi, proxying to mongrel? ___ Radiant mailing list Post: Radiant@lists

Re: [Radiant] Set-Cookie: appearing on page

2006-10-02 Thread Mislav Marohnić
Bizzare. I don't know how to help you. It might be anything from Apache module quirk to something terribly wrong in Rails internals. Try searching for your problem on Google, blogs and Rails mailing lists. Try to debug those specific views, also. Check the way Radiant adds response headers and then

Re: [Radiant] No entries in log files

2006-10-03 Thread Mislav Marohnić
Check the log levels for the production mode. The current level may be :warn-MOn 10/3/06, John Tsombakos < [EMAIL PROTECTED]> wrote:Ok, this is odd.I had switched Radiant to use production mode, and now I'm not seeing any access entries written to any log file - either Apache's log in/var/log/apach

Re: [Radiant] No entries in log files

2006-10-03 Thread Mislav Marohnić
Apache always logs - it really doesn't care (know) what production mode you are running your Rails app in.On 10/3/06, John Tsombakos < [EMAIL PROTECTED]> wrote:On 10/3/06, Mislav Marohnić < [EMAIL PROTECTED]> wrote:> Check the log levels for the production mode. The curren

Re: [Radiant] Interest in a WYSIWYG plugin

2006-10-06 Thread Mislav Marohnić
WYSIWYG is a call for trouble. Less (Markdown, Textile) is more. Encourage people to think about content visually and you get instant mess. By using HTML or plaintext markup, content editors are forced (in a good way) to think about content semantically and to leave the styling, font sizes, image p

Re: [Radiant] Interest in a WYSIWYG plugin

2006-10-06 Thread Mislav Marohnić
On 10/6/06, Justin Grammens <[EMAIL PROTECTED]> wrote: I think textile is awesomebut for the non-technical person they really need aWYSIWYG editor.No, for the non-technical person they really need to become more technical. This isn't 1999 when websites were toys - today we care something about sema

Re: [Radiant] Dynamic Attributes in a Snippet Tag?

2006-10-27 Thread Mislav Marohnić
On 10/27/06, Sean Cribbs <[EMAIL PROTECTED]> wrote: Still, I don't see what that accomplishes.Giving snippets context? ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.ra

Re: [Radiant] Deactivate page cache for development?

2006-12-30 Thread Mislav Marohnić
On 12/30/06, Andreas Semt <[EMAIL PROTECTED]> wrote: After deactivation of the caching mechanism i clicked the 'Clear page cache' button ... oh my! Only the files '.htaccess' and 'index.yml' are still in the 'public' directory under the radiant root dir. *All* other files - inclusive the 'images

Re: [Radiant] POLL: Upgrading Unpacked Radiant Applications

2007-01-16 Thread Mislav Marohnić
source / no / Would I mind?? Are you kidding? :) ___ 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] Mailer extension

2007-01-16 Thread Mislav Marohnić
Nice! We'll try it out. Are you going to do the same with event calendar and LDAP stuff you mentioned? On 1/16/07, Sean Cribbs <[EMAIL PROTECTED]> wrote: I've teased you long enough! The Mailer extension has been added to the Radiant repository. __

Re: [Radiant] JS-free view ? (newcomer)

2007-01-23 Thread Mislav Marohnić
On 1/23/07, Sean Cribbs <[EMAIL PROTECTED]> wrote: Luckily JS is only required in the admin interface, so you might be able to enable JS just for that domain/url in your browser. He cannot. It is a text browser not supporting JS ___ Radiant mailing

Re: [Radiant] Defining a category for articles

2007-02-19 Thread Mislav Marohnić
On 2/19/07, Ruby Admirer <[EMAIL PROTECTED]> wrote: But I tried to install mephisto without success (I use sqlite3 as the DB). Radiant works and I like it and I prefer not to change. You'd be better off with Mephisto in this case. Content management in Radiant is plain hierarchical (tree - b

Re: [Radiant] Defining a category for articles

2007-02-19 Thread Mislav Marohnić
On 2/19/07, Ruby Admirer <[EMAIL PROTECTED]> wrote: I'm just discovering Radiant and I'm a bit lost with behaviour, plugin and extension. I understand that behaviour will be deprecated with the 0.6 release. But what is the difference and relationship between an extension and a plugin ? Errm

Re: [Radiant] Slug hierarchy?

2007-03-06 Thread Mislav Marohnić
On 3/6/07, Martin Olsson <[EMAIL PROTECTED]> wrote: Home (/) - about (/about) - animals (/animals) - about (/animals/about) - plants (/plants) - plants (/plants/about) This is what Radiant is all about. When I try to add a child to "animals" and give it the slug "about" I get a 404 w

Re: [Radiant] Slug hierarchy?

2007-03-06 Thread Mislav Marohnić
On 3/6/07, Martin Olsson <[EMAIL PROTECTED]> wrote: I figured it out and kind of solved it. The problem was that the "/ animals" page was an Archive, which meant that the slug became "2007/3/6/about" - which is fine. Why is it an Archive? "animals/about" was much nicer! Archive usually make

Re: [Radiant] Simple blog too complex: what does this code do?

2007-03-08 Thread Mislav Marohnić
On 3/8/07, Martin Olsson <[EMAIL PROTECTED]> wrote: There is one piece of code in the "Normal" layout that I don't quite understand: Posted by on It's simple really - you read it out like English :) If the current URL starts with "/articles//MM/DD" (generic blog format), print out "Po

Re: [Radiant] new user questions

2007-03-08 Thread Mislav Marohnić
On 3/8/07, Raphael Bauduin <[EMAIL PROTECTED]> wrote: - an applicaiton created with the radiant command doesn't apparently contain the radiant code. Is there a way to freeze it to the gems used like for rails applications? I'm using the SVN checkout. It is self-contained. - a related questi

Re: [Radiant] Simple blog too complex: what does this code do?

2007-03-08 Thread Mislav Marohnić
I do to make it work with a "multi-blog" site? I need > >>> something that matches /blog//MM/DD, /blog//MM/DD, /car/ > >>> / MM/DD, and I don't really want to have to change it or add > >>> to it every time I add a new "project blog&

Re: [Radiant] vim plugin

2007-03-09 Thread Mislav Marohnić
Why is it using titles? Why not slugs? ___ 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: radiant.vim v0.0.2

2007-03-11 Thread Mislav Marohnić
On 3/11/07, Raphael Bauduin <[EMAIL PROTECTED]> wrote: The home page having a slug of /, it must be accessed with the title. Hm. Why not: radiant/pages/ -> gets Home :split radiant/pages/articles -> gets "articles" child under Home ___ Radiant mail

Re: [Radiant] View helpers in extensions

2007-03-15 Thread Mislav Marohnić
On 3/15/07, John W. Long <[EMAIL PROTECTED]> wrote: Could you investigate a little more and let us know what we need to do? "app/helpers" are added to default load paths on app init: http://dev.rubyonrails.org/browser/trunk/railties/lib/initializer.rb?rev=6293#L551 http://dev.rubyonrails.org/

Re: [Radiant] Radiant as a news a bit more improved

2007-03-26 Thread Mislav Marohnić
On 3/26/07, Sylvestre Mergulhão <[EMAIL PROTECTED]> wrote: My news have a field for the source(where i found it) and a field for an url to the source. You can do what many people do with Radiant in such cases: use page parts. Simply create a new page part named "source" and put relevant inf

Re: [Radiant] newspaper

2007-03-26 Thread Mislav Marohnić
On 3/26/07, Alexy Khrabrov <[EMAIL PROTECTED]> wrote: So far most sites I've seen are like WordPress -- a single boring column of a single guy. That is because far most sites are blogs, not because their CMS is limited. With Radiant, your layout can be as complex as you make it. You can have

Re: [Radiant] newspaper

2007-03-26 Thread Mislav Marohnić
On 3/26/07, Alexy Khrabrov <[EMAIL PROTECTED]> wrote: Not to start any flames, but to compare -- also came across Mephisto, which uses Liquid for templates. Is Mephisto suitable for a newspaper too, and how does it compare with Radiant? Content in Radiant is tree-based - all your pages are

Re: [Radiant] Configuration of Radiant Mental with MySql & Litespeed ver 3.0

2007-03-31 Thread Mislav Marohnić
On 3/31/07, Walter Lee Davis <[EMAIL PROTECTED]> wrote: rake production db:bootstrap Thanks, Walter - I never knew you could write it that way. I always used RAILS_ENV to specify the environment :-/ ___ Radiant mailing list Post: Radiant@lists.ra

Re: [Radiant] Latest Checkout of Mental Fails on Redcloth: Error 403

2007-04-02 Thread Mislav Marohnić
On 4/2/07, Benjamin Minton <[EMAIL PROTECTED]> wrote: 403 Forbidden ( http://code.whytheluckystiff.net) The whole repository is forbidden ATM. I'm sure _why will fix it soon ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http:

Re: [Radiant] Spam

2007-04-13 Thread Mislav Marohnić
On 4/13/07, Gabriel Lamounier <[EMAIL PROTECTED]> wrote: Is there any way of stopping the recent spams? Spammers are already crying! Read the recent announcement on this ML. ___ Radiant mailing list Post: [EMAIL PROTECTED] Search: http://radiantc

Re: [Radiant] Suggestion Textile rendering

2007-04-18 Thread Mislav Marohnić
On 4/19/07, Daniel Sheppard <[EMAIL PROTECTED]> wrote: Preformatted is different to line-broken in that preformatted text will not wrap (though perhaps a white-space css rule can change that without losing the line-breaking?) See: http://users.tkk.fi/~tkarvine/pre-wrap-css3-mozilla-opera-ie.

Re: [Radiant] Optimistic Locking

2007-04-19 Thread Mislav Marohnić
On 4/19/07, Jim Gay <[EMAIL PROTECTED]> wrote: My worry is that person1 could spend time editing some particular text, and while they are doing that, person2 goes in and fixes a typo. After hitting save person1 sees the error, but all her work is lost. Without diffs and/or merges, someone al

Re: [Radiant] About "couldn't find HOME environment" problem

2007-04-27 Thread Mislav Marohnić
On 4/27/07, keita <[EMAIL PROTECTED]> wrote: 3. It is radiant issue that Radiant's dispatcher loads rails/railties/lib/rails_generator.rb, and other rails applications' dispatchers don't load rails_generator.rb. 4. I believe dispatchers don't need to generate any code and must not. I must ag

Re: [Radiant] Simple question about images

2007-04-27 Thread Mislav Marohnić
On 4/28/07, Oliver Coningham <[EMAIL PROTECTED]> wrote: Where do I upload the images that I wish to use on my Radiant site? At the moment they are all stored in a folder called images. You upload them to your-radiant-instance/public/images/ On Linux, you can use scp on the command line: s

Re: [Radiant] Saving changes without publishing

2007-04-28 Thread Mislav Marohnić
On 4/29/07, Jason Garber <[EMAIL PROTECTED]> wrote: That is, if you're making big changes to a page and want to save those changes, but aren't ready to show the world yet, how do you handle that? I use my preferred text editor and the filesystem. It doesn't happen often, though ... When I mak

Re: [Radiant] Saving changes without publishing

2007-04-29 Thread Mislav Marohnić
On 4/29/07, Chris Parrish <[EMAIL PROTECTED]> wrote: > acts_as_draftable? Never knew of it. Me neither. Apparently there is an acts_as_versioned by the same author and both look pretty cool. That must be Rick Olson. The latter plugin is well-known. Even better, anyone interested in crafti

Re: [Radiant] Ajax responses

2007-05-04 Thread Mislav Marohnić
On 5/4/07, Benjamin Curtis <[EMAIL PROTECTED]> wrote: I'm doing a custom page, and I'd like to respond to some Ajax requests in my custom process method. I haven't been able to find an example of this yet, and I'm wondering if anyone who has done it would like to volunteer a snippet of code as

Re: [Radiant] Error when testing extensions

2007-05-05 Thread Mislav Marohnić
On 5/5/07, Andrew O'Brien <[EMAIL PROTECTED]> wrote: > > uninitialized constant > ActionController::Assertions::ResponseAssertions (NameError) Radiant - by having its own initializer - somehow messes with Dependencies and its ability to do autoloading ninja magic. I discovered this when I realize

Re: [Radiant] 404 error messages

2007-05-08 Thread Mislav Marohnić
> # For better performance replace the dispatcher with the fastcgi one > # > # Example: > RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] > RewriteEngine On Locate this block. The RewriteRule here isn't supposed to be active. Comment it out like the lines before: # RewriteRule ^(.*)$ dispatch.fcgi [QSA

Re: [Radiant] Page Attachments

2007-05-09 Thread Mislav Marohnić
On 5/9/07, Sean Cribbs <[EMAIL PROTECTED]> wrote: > > Updated! Sweet! * Now uses attachment_fu instead of acts_as_attachment. Interesting. I couldn't make attachment_fu work with Radiant (there were issues with resolving its internal dependencies). * Uses svn:externals to get the latest attac

Re: [Radiant] Page Attachments

2007-05-09 Thread Mislav Marohnić
On 5/9/07, Sean Cribbs <[EMAIL PROTECTED]> wrote: > > Are you saying the extension doesn't work for you? I haven't tried it > in instance mode yet. No, the plugin didn't work for me out of the box. I wanted to use has_attachment on some models in my extension. Dependencies code was unable to re

Re: [Radiant] [ANN] Fuzzy Bears Example Extension

2007-05-22 Thread Mislav Marohnić
On 5/22/07, John W. Long <[EMAIL PROTECTED]> wrote: > > > I typically create this example when I demo the extension system to > others. It demonstrates creating a custom controller and model, and also > how to expose that model to a page through custom tags. Is the functionality going to become c

Re: [Radiant] site shows directory listing instead of radiant

2007-06-07 Thread Mislav Marohnić
On 6/7/07, John Muhl <[EMAIL PROTECTED]> wrote: > > I having a bit of trouble with radiant not starting, or something, > and thus when browse my site I get a folder listing of /public/ > instead of the site it's self. What server are you using? If Apache + FCGI: is your .htaccess in order? __

Re: [Radiant] events calendar extension

2007-06-08 Thread Mislav Marohnić
On 6/8/07, John Furfey <[EMAIL PROTECTED]> wrote: > > Hello, > > I remember reading on this list that someone was working on an events > calendar extension. That was Sean Cribbs. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http

Re: [Radiant] SEO in Radiant

2007-06-10 Thread Mislav Marohnić
On 6/8/07, Colin Nederkoorn <[EMAIL PROTECTED]> wrote: > > Can anyone recommend > articles / resources relevant to a radiant powered site that I could > read to learn how to optimize my site? No, they can not. Radiant is just a backend, and what you do with the HTML of your site is totally indepe

Re: [Radiant] SEO in Radiant

2007-06-10 Thread Mislav Marohnić
On 6/11/07, dave4c03 <[EMAIL PROTECTED]> wrote: > > I am not certain about this but I think that from a SEO perspective, it > would be better if the URL namespace was flat. > > A flat URL namespace means the navigation structure is not part of the > page > name. This means a page could participate

Re: [Radiant] sqlite3 & NULL == chaos ?

2007-06-11 Thread Mislav Marohnić
On 6/11/07, Aitor Garay-Romero <[EMAIL PROTECTED]> wrote: > > After some debugging i found that in my sqlite3 database, fields > of type "string" have a weird default value in the schema, and not a > default NULL value. This is for all tables. Read this first: http://weblog.rubyonrails.com/

Re: [Radiant] Relative Linking in Radiant

2007-06-12 Thread Mislav Marohnić
On 6/12/07, Chris Parrish <[EMAIL PROTECTED]> wrote: > > > However, if in page A I have a relative link: , the target > page depends on the address used. In the first case, I will be directed > to http://root/b because the browser thinks I'm in the root/ folder. In > the second case, I'm sent to

Re: [Radiant] SEO in Radiant

2007-06-12 Thread Mislav Marohnić
I agree with everything Chris said just now. Stop worrying and simply use Radiant. Use hierarchies, nested menus, deep URLs and good, usable navigation patterns. Make your visitors happy. While doing that, simply code towards good SEO practices on the way. Spiders won't mind how you organized your

Re: [Radiant] Relative Linking in Radiant

2007-06-12 Thread Mislav Marohnić
On 6/12/07, Oliver Baltzer <[EMAIL PROTECTED]> wrote: > > > I agree and support the idea of generally redirecting URLs without a > trailing slash to URLs with trailing slash. I know it is easily done > with every Web server in front of Radiant, but I think this should be > part of Radiant. I don'

Re: [Radiant] Rendering parts from different pages.

2007-06-13 Thread Mislav Marohnić
Haha... Sean and John are in perfect sync! ___ 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] New Documentation Wiki

2007-06-22 Thread Mislav Marohnić
On 6/22/07, Oliver Baltzer <[EMAIL PROTECTED]> wrote: > > Also, by browsing the new Junebug Wiki I noticed that it > is significantly slower than the Trac Wiki. For me, it is very fast. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Searc