[Radiant] how do I regex the output of a tag?

2008-04-29 Thread Oli Studholme
Hi All, I want to manipulate the contents of r:url / using regex. I'm wanting to do something like MovableType's regex modifier for variables[1]: In MT-ese what I want to do is: mt:var tag=pagepermalink regex_replace=/^(.+)\/ja\/(.*)/,$1/en/$2 / To change eg:

Re: [Radiant] Suggestions on where to set the locale

2008-05-02 Thread Oli Studholme
Hi All, On Apr 2, 2008, at 1:45 AM, Mohit Sindhwani wrote: Radiant::Config[local.timezone] = Pacific Time (US Canada) I've been finding lots of little gems in the mailing list. Like what should have been obvious... A better place than the console for setting configuration data is,

[Radiant] tag documentation feedback

2008-05-02 Thread Oli Studholme
Hi All, Hopefully this is the right place. * small typo in available tags documentation for r:find /: “ Inside this tag all page related tags refer to the page” - “all page-related” (missing hyphen) * it would be nice to have an example regexp in the available tags documentation r:if_url

[Radiant] .htaccess mod_rewrite woes

2008-07-15 Thread Oli Studholme
Hi All, I just can’t seem to get redirects going in Radiant’s .htaccess. Can someone enlighten me? In the default .htaccess file after RewriteEngine On (shich should be after the Options at the top btw) I tried these vavriants RewriteRule from.html to.html RewriteRule from.html

Re: [Radiant] Developing Radiant site

2008-07-15 Thread Oli Studholme
Hi Joe, I’ve basically been doing what you say, a text file for each template and copy/paste into the admin interface (or small tweaks there then cp back). I’m using sqlite as my database so since it’s text I just added the whole db file to SVN (along with my text files and everything

Re: [Radiant] Developing Radiant site

2008-07-17 Thread Oli Studholme
Hi Joe, I’ve basically been doing what you say, a text file for each template and copy/paste into the admin interface (or small tweaks there then cp back). I’m using sqlite as my database so since it’s text I just added the whole db file to SVN (along with my text files and everything

Re: [Radiant] Summer Reboot Update

2008-07-17 Thread Oli Studholme
Hi All, Sorry for being late to the party. I originally posted to the list on May 2nd about documentation (“tag documentation feedback”), mentioning among other things a tag reference. This would have one page per tag, be in a wiki, and hopefully auto-import the current “available tags”

[Radiant] setting the default text filter

2008-07-22 Thread Oli Studholme
Hi All, I came across a couple of mentions in the archives of people asking how to set a default filter for articles, but no “here’s how” answers. Did anyone manage to do this, either via extension or config/enironment.rb? thanks in advance! peace - oli

[Radiant] potential bug in radiant:update on github edge

2008-07-23 Thread Oli Studholme
Hi All, Summary: freezing a current project to github edge then doing 'rake radiant:update' generates a config/environment.rb that contains the uninterpreted :secret code - apparently this would be a bug in radiant:update. This also happens with freezing a fresh 0.6.7 to github edge, but

[Radiant] re: WYMeditor breaking on popup windows

2008-07-23 Thread Oli Studholme
Hi All, First, thanks for making the WymEditor extension for Radiant Benny! I find fckeditor and tinymce a massive pain, both to de-crapify and in the code they produce, so this was welcome. I’m doing some testing before showing a site to a client, and I’ve got a problem in that on any

[Radiant] r:aggregation and monthly archives

2008-08-01 Thread Oli Studholme
Hi All, I’ve got three archives that I’m aggregating on a parent page using r:aggregation. I want to make an aggregate monthly archive of all child posts for the sidebar. On the archive pages I can list articles and add per-month headers which link to a monthly archive. On the parent

[Radiant] Japanese and i18n in Radiant

2008-08-01 Thread Oli Studholme
Hi All, [sorry if this ends up being a double-post] I’ve been having lots of fun with making a bilingual site in Radiant. Here are some current problems that I hope someone can suggest fixes for: # Pages in Shift-JIS charset Most Japanese cellphones require Shift-JIS for mobile sites, but

Re: [Radiant] Japanese and i18n in Radiant

2008-08-03 Thread Oli Studholme
Hey Casper, On Aug 3, 2008, at 3:19 AM, Casper Fabricius wrote: I'm eager to hear if you have found a fitting extension for handling multiple languages. I'm considering using Loren Johnson's language switch (http://github.com/lorenjohnson/radiant-language-switch/tree/master ), but maybe

Re: [Radiant] re: WYMeditor breaking on popup windows

2008-08-12 Thread Oli Studholme
Hey Jason, On Aug 12, 2008, at 2:48 PM, jsmorris wrote: Drag and drop what file icon and what link? Do you mean the link that shows up in the Attachments area? I tried that, and it doesn't seem to work. Is there something you need to do to get that to work? This is the icon and link that