Re: [Radiant] Localization

2008-12-19 Thread Haselwanter Edmund

Hi,

On 19.12.2008, at 08:46, Istvan Hoka wrote:
The extension is in use in production on two sites so far: http://www.atp-exodus.ro 
, (Romanian, English, German) and http://euro5.ro (Romanian and  
English).


The version on github is slightly outdated but I will push my local  
changes asap if anyone is interested.


That would be great :-)

cu edi

--
DI Edmund Haselwanter, edm...@haselwanter.com, http://edmund.haselwanter.com/



___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Re: E-Commerce, Anyone?

2008-12-19 Thread Benedikt Eickhoff
Todd Mcgregor wrote:
 I need to build a site with shopping cart functionality and I was hoping
 to develop the site with Radiant. Has anyone built an e-commerce site
 with Radiant? Any ideas, tips or tricks you'd like to share?
 
 Thanks.

You may want to have a look at http://railskits.com/ ...
-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] PageAttachments migration looking for Admin::PagesController

2008-12-19 Thread Tim Gossett
It appears that I'm to blame for rage_attachments only supporting change to
the new codebase.

Because this is going to affect a whole lot of extensions, I think it'd be a
good idea for us to figure out if and how an extension might support Radiant
versions both before and after 0.7.0-RC1. I can think of two methods...


In the extension (I'm not even sure if this would work):

if defined? Admin::PagesController
  klass = Admin::PagesController
else
  klass = Admin::PageController
end

klass.send :include, PageAttachmentsInterface


Or, Radiant could add legacy support with

class Admin::PageController  Admin::PagesController
end


It seems like the latter would be favored by extension developers, but I
don't know if there's any drawback to PageController inheriting
PagesController. Thoughts, anyone?

--
Tim
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Re: Restrict Access to Tabs in Admin UI

2008-12-19 Thread Todd Mcgregor
Todd Mcgregor wrote:
 Is there any way to restrict access to the tabs that are displayed in
 the admin UI? For example, I installed the paperclipped extension, which
 adds the Assets tab, and I'd like to restrict that tab to a handful of
 users, or better yet to a group set up using the page group permissions
 extension.
 
 Thanks.

I looked at a few extensions I installed and there is an easy way to 
restrict a tab to the admin role. Here's how the page_group_permissions 
extension does it:

admin.tabs.add Groups, /admin/groups, :after = Layouts, 
:visibility = [:admin]

This code goes in the activate method of the extension. I'd still like 
to know how to restrict access by group.
-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] PageAttachments migration looking for Admin::PagesController

2008-12-19 Thread Tim Gossett
It looks like this works:

(Admin::PagesController ? Admin::PagesController :
Admin::PageController).send :include, PageAttachmentsInterface

Simple enough, right?

--
Tim
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Radius tags in Textile

2008-12-19 Thread Jordan Isip
Is there a way to disable radius line-breaks when using Textile?  Since I have 
a few nested radius tags, it is outputting a bunch of br / tags.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Extension Migrations Rollback

2008-12-19 Thread Rick Mendes
I am working on a new project using Radiant 0.6.9. I float in and out
of Rails projects that do and do not use Radiant. I may have been
spoiled by coming off of a Rails 2.1 project without Radiant where I
had the db:rollback task at my disposal.

I am doing all of my development on this project in an extension. The
only migration task I seem to have available is the
radiant:extensions:myext:migrate task. I know that takes a VERSION
argument. However, Radiant seems confused as to whether it wants to
use old style serial migrations or new style timestamp migrations. No
matter what VERSION I pass this task, rake never finds a match,
including 0. It skips my migration on 0 because it can't match the
string timestamp to the int in extension_meta.

Can anyone tell me how to rollback my latest extension migration with
Radiant 0.6.9?

Thanks.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant