[Radiant] pluralize in Radiant

2008-09-19 Thread Andrew Kaspick
Hi,

I was wondering why pluralize has been overridden in ApplicationHelper
to not show the number as it does normally in Rails?

Seems like such a change should have just been given a new method name
due to difference.  I just got caught up on this while using it in an
extension of my own.

Andrew
-- 
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] Summer Reboot

2008-09-19 Thread Casper Fabricius
Well, I'm not. Feel free to write it, just make sure it doesn't  
overlap too much with other Creating an extension articles. Perhaps  
you could restructure things a bit, I'm not sure the current division  
and order is optimal.


Med venlig hilsen / Best regards,
Casper Fabricius
http://casperfabricius.com

On 18/09/2008, at 21:55, Andrew Gehring wrote:


Is anyone doing any work on Creating an extension II

I'll happily beta your work :-)

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


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


Re: [Radiant] Summer Reboot

2008-09-19 Thread Andrew Neil
On Fri, Sep 19, 2008 at 10:59 AM, Casper Fabricius
[EMAIL PROTECTED]wrote:

 Well, I'm not. Feel free to write it, just make sure it doesn't overlap too
 much with other Creating an extension articles. Perhaps you could
 restructure things a bit,



 I'm not sure the current division and order is optimal.


Me too. I think it would be better to give descriptive titles, rather than
Creating and extension 1/2/3.etc.
E.g. Creating an extension 1 has the url:
http://wiki.radiantcms.org/Creating_an_extension_I
Baking the number into the URL makes it non-trivial to reorder them. I think
that to change the URL, you have to create a new document, and then you
loose the editing history from the old document.

Anyway, that sort of rearrangement can probably wait until the Summer Reboot
documentation is nearer completion.

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


Re: [Radiant] Summer Reboot

2008-09-19 Thread Andrew Gehring
I would be happy to write it, if I felt like I could. However, I don't
have enough knowledge in this area to write a comprehensive document,
and was hoping somebody was /has...

Andrew

On Fri, Sep 19, 2008 at 4:24 AM, Andrew Neil
[EMAIL PROTECTED] wrote:
 On Fri, Sep 19, 2008 at 10:59 AM, Casper Fabricius
 [EMAIL PROTECTED]wrote:

 Well, I'm not. Feel free to write it, just make sure it doesn't overlap too
 much with other Creating an extension articles. Perhaps you could
 restructure things a bit,



 I'm not sure the current division and order is optimal.


 Me too. I think it would be better to give descriptive titles, rather than
 Creating and extension 1/2/3.etc.
 E.g. Creating an extension 1 has the url:
 http://wiki.radiantcms.org/Creating_an_extension_I
 Baking the number into the URL makes it non-trivial to reorder them. I think
 that to change the URL, you have to create a new document, and then you
 loose the editing history from the old document.

 Anyway, that sort of rearrangement can probably wait until the Summer Reboot
 documentation is nearer completion.

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

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


Re: [Radiant] Summer Reboot

2008-09-19 Thread Mohit Sindhwani

HI Casper,

Casper Fabricius wrote:
Well, I'm not. Feel free to write it, just make sure it doesn't 
overlap too much with other Creating an extension articles. Perhaps 
you could restructure things a bit, I'm not sure the current division 
and order is optimal.


I structured the first version of the table of contents.. and the 
extensions chapter was really created in that manner with the numbers, 
et al simply because I felt that there were a number of things that 
extensions could do - and there were a few things that would be useful 
for people to know how to do.


With that as the starting point, based on my knowledge (and what I had 
read on the mailing list), I created that structure.  Of course, you 
(and others) are more knowledgeable in this area, so please update it as 
you see fit. :)


Cheers
Mohit.


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


Re: [Radiant] Summer Reboot

2008-09-19 Thread Mohit Sindhwani

Andrew Neil wrote:

Me too. I think it would be better to give descriptive titles, rather than
Creating and extension 1/2/3.etc.
E.g. Creating an extension 1 has the url:
http://wiki.radiantcms.org/Creating_an_extension_I
  


You're right!  There are descriptive titles, but only in the top-level 
Table of Contents on the main Summer Reboot page.


Unfortunately, that's a really long title and I think it was chosen to 
just use the first part of it as the URL.   But, it can be reordered 
later in the process.



Baking the number into the URL makes it non-trivial to reorder them. I think
that to change the URL, you have to create a new document, and then you
loose the editing history from the old document.

Anyway, that sort of rearrangement can probably wait until the Summer Reboot
documentation is nearer completion.
  


Yes, that would be the right time.

Cheers,
Mohit.
9/19/2008 | 10:27 PM.

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


Re: [Radiant] Summer Reboot

2008-09-19 Thread Mohit Sindhwani

I meant to add this list:

3. Writing your Own Extension

* Creating an extension I – Adding tags (and some useful tags) [AW]
* Creating an extension II – Adding a tab in Admin UI (and what is shards?)
* Creating an extension III – Modifying the Page UI from an extension [CF]
* Creating an extension IV – Extending and overriding Radiant behavior [CF]
* Creating an extension V – Creating a custom page type [CF]
* Creating an extension VI – Skinning controllers with front-end layouts 
(share_layouts) [SC]

* Global Tags

Cheers,
Mohit.
9/19/2008 | 10:28 PM.


Mohit Sindhwani wrote:

Andrew Neil wrote:
Me too. I think it would be better to give descriptive titles, rather 
than

Creating and extension 1/2/3.etc.
E.g. Creating an extension 1 has the url:
http://wiki.radiantcms.org/Creating_an_extension_I


You're right! There are descriptive titles, but only in the top-level 
Table of Contents on the main Summer Reboot page.


Unfortunately, that's a really long title and I think it was chosen to 
just use the first part of it as the URL. But, it can be reordered 
later in the process.


Baking the number into the URL makes it non-trivial to reorder them. 
I think

that to change the URL, you have to create a new document, and then you
loose the editing history from the old document.

Anyway, that sort of rearrangement can probably wait until the Summer 
Reboot

documentation is nearer completion.


Yes, that would be the right time.

Cheers,
Mohit.
9/19/2008 | 10:27 PM.

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



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


Re: [Radiant] Summer Reboot

2008-09-19 Thread Mohit Sindhwani

Andrew Gehring wrote:

I would be happy to write it, if I felt like I could. However, I don't
have enough knowledge in this area to write a comprehensive document,
and was hoping somebody was /has...
  


Not sure if this helps, but what I had copied out towards the start of 
that article was collected by looking at the source code for the Radiant 
Settings extension that adds a tab in the Admin area.


There are 2 things that you can refer to:
[1] The original tutorial about creating a blog roll - 
http://wiki.radiantcms.org/Creating_Radiant_Extensions

From this one, you can see the main things you need to -
There are two remaining steps in order to get our LinkController to 
show up in the admin interface. First, we need to setup the routes 
definitions for the controller and second we need to add the 
associated tab to the admin interface.


To do this, open up the main extension file again 
(“vendor/extensions/link_roll/link_roll_extension.rb”). Change the 
define_routes block so that it looks like this ...


[2] Look at the source for some extension that creates a tab in the 
admin area. Some of the stuff below is from the settings Extension URL: 
http://githib.com/Squeegy/radiant-settings;


I'm sorry for lifting and pasting this code from the 
settings_extension.rb file in the vendor/extensions/settingds directory:


#this creates routes so that your controller in the admin space is 
connected in!

define_routes do |map|
map.namespace 'admin' do |admin|
admin.resources :settings
end
end

#This is the main thing that adds a tab to the admin area when your 
extension is activated/ started

def activate
Radiant::Config.extend ConfigFindAllAsTree
admin.tabs.add Settings, /admin/settings, :after = Layouts #, 
:visibility = [:developer]


Page.class_eval {
include SettingsTags
}
end

#To undo the effect, just remove it when deactivated.
def deactivate
admin.tabs.remove Settings
end


Hopefully, this helps you get started. However, I do not know how to do 
some of the fancy things that Shards lets you do - like modify only a 
part of the UI or something. I don't know (yet) how copy/move adds icons 
to each row of the page list - I guess I could look at the source, just 
haven't yet.


Cheers
Mohit.


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


Re: [Radiant] Summer Reboot

2008-09-19 Thread Jim Gay
Hopefully, this helps you get started. However, I do not know how to  
do some of the fancy things that Shards lets you do - like modify  
only a part of the UI or something. I don't know (yet) how copy/move  
adds icons to each row of the page list - I guess I could look at  
the source, just haven't yet.


I've been meaning to try to take time to write some of that one myself.

Help has a plethora of information about this, both in the  
documentation it adds to the interface, and in the extension code  
itself.


Just install Help via script/extension install help, with ray:help  
if you have Ray installed, or by cloning git://github.com/saturnflyer/ 
radiant-help-extension.git into vendor/extensions/help


Fire up Radiant and go to:
/admin/role_help/developer
where you'll find a quick description of how to edit Radiant regions,  
and go to

/admin/extension_help/help/developer
where you can view the HELP_developer.rdoc

In /admin/role_help/developer you'll also see a list in the right-hand  
column of all installed main regions available to edit or alter.
These extensions change (there may be more of them) depending on the  
page that you are on. To see an example, compare the list of Help  
regions on /admin/role_help/developer to /admin/role_help/admin

I'll be adding more info to it about that.

I even commented the code for creating editable regions in the Radiant  
interface. Take a look at the help_extension.rb

http://github.com/saturnflyer/radiant-help-extension/tree/master/help_extension.rb

You can also find more help information with script/extension install  
help_inline which will install Help Inline which actually injects  
information into the interface. I'm still working on that one to make  
it even more helpful, but it should really facilitate new users. Help  
Inline does not depend on Help, but it will have additional features  
if you have both installed.


And lastly, I'm going to be pulling details off of the wiki for  
help_use_cases which aims to add more details to the descriptions of  
the installed tags (to which any extension could also add). Help Use  
Cases *does* depend on Help.


Jim Gay
http://www.saturnflyer.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] [ANN] Radiant Template Contest

2008-09-19 Thread Adam van den Hoven
Maybe we need to run a T-Shirt Design contest first/simultaneously.  
The winner could get a copy of the winning theme... printed on a T- 
Shirt.


:)

Adam
On 18-Sep-08, at 9:03 PM, Sean Cribbs wrote:


Steven Southard wrote:
I'd love to win the contest and have my design included in upcoming  
releases and this isn't going to stop me from entering in any way,  
but that t-shirt could use some work.  I'd probably wear like it is  
because I'm crazy about Radiant; so whatever, forget that I said  
anything.


Steven


That was a VERY rough sketch that I did in about 10 minutes.  Any  
constructive criticisms you have would be appreciated.


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


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


Re: [Radiant] [ANN] Radiant Template Contest

2008-09-19 Thread Sean Cribbs
Maybe we need something clever, along the lines of the fork you github 
shirts.  Maybe:


r:publishing:simplified /

Sean

Steven Southard wrote:
Well, what Radiant user wouldn't what a killer tee so they could let  
their mates know what's up?


Steven


On Sep 19, 2008, at 11:04 AM, Adam van den Hoven wrote:

Maybe we need to run a T-Shirt Design contest first/simultaneously. 
The winner could get a copy of the winning theme... printed on a 
T-Shirt.


:)

Adam
On 18-Sep-08, at 9:03 PM, Sean Cribbs wrote:


Steven Southard wrote:
I'd love to win the contest and have my design included in upcoming 
releases and this isn't going to stop me from entering in any way, 
but that t-shirt could use some work.  I'd probably wear like it is 
because I'm crazy about Radiant; so whatever, forget that I said 
anything.


Steven


That was a VERY rough sketch that I did in about 10 minutes.  Any 
constructive criticisms you have would be appreciated.


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


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


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



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


Re: [Radiant] [ANN] Radiant Template Contest

2008-09-19 Thread Jim Gay

Sweet Harmonious Biscuits!

On Sep 19, 2008, at 12:31 PM, Sean Cribbs wrote:

Maybe we need something clever, along the lines of the fork you  
github shirts.  Maybe:


r:publishing:simplified /

Sean

Steven Southard wrote:
Well, what Radiant user wouldn't what a killer tee so they could  
let  their mates know what's up?


Steven


On Sep 19, 2008, at 11:04 AM, Adam van den Hoven wrote:

Maybe we need to run a T-Shirt Design contest first/ 
simultaneously. The winner could get a copy of the winning  
theme... printed on a T-Shirt.


:)

Adam
On 18-Sep-08, at 9:03 PM, Sean Cribbs wrote:


Steven Southard wrote:
I'd love to win the contest and have my design included in  
upcoming releases and this isn't going to stop me from entering  
in any way, but that t-shirt could use some work.  I'd probably  
wear like it is because I'm crazy about Radiant; so whatever,  
forget that I said anything.


Steven


That was a VERY rough sketch that I did in about 10 minutes.  Any  
constructive criticisms you have would be appreciated.


Sean

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


Re: [Radiant] [ANN] Radiant Template Contest

2008-09-19 Thread Sean Cribbs
NICE.  Re: Steven -- there's an original vector format, but I couldn't 
find any program that could open it, so I re-traced it into an SVG file 
-- http://github.com/radiant/radiant-artwork


Sean

Jim Gay wrote:

Sweet Harmonious Biscuits!

On Sep 19, 2008, at 12:31 PM, Sean Cribbs wrote:

Maybe we need something clever, along the lines of the fork you 
github shirts.  Maybe:


r:publishing:simplified /

Sean

Steven Southard wrote:
Well, what Radiant user wouldn't what a killer tee so they could 
let  their mates know what's up?


Steven


On Sep 19, 2008, at 11:04 AM, Adam van den Hoven wrote:

Maybe we need to run a T-Shirt Design contest first/simultaneously. 
The winner could get a copy of the winning theme... printed on a 
T-Shirt.


:)

Adam
On 18-Sep-08, at 9:03 PM, Sean Cribbs wrote:


Steven Southard wrote:
I'd love to win the contest and have my design included in 
upcoming releases and this isn't going to stop me from entering 
in any way, but that t-shirt could use some work.  I'd probably 
wear like it is because I'm crazy about Radiant; so whatever, 
forget that I said anything.


Steven


That was a VERY rough sketch that I did in about 10 minutes.  Any 
constructive criticisms you have would be appreciated.


Sean

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



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


Re: [Radiant] [ANN] Radiant Template Contest

2008-09-19 Thread Steven Southard

Has anyone made a vector version of the Radiant logo?


On Sep 19, 2008, at 11:31 AM, Sean Cribbs wrote:

Maybe we need something clever, along the lines of the fork you  
github shirts.  Maybe:


r:publishing:simplified /

Sean

Steven Southard wrote:
Well, what Radiant user wouldn't what a killer tee so they could  
let  their mates know what's up?


Steven


On Sep 19, 2008, at 11:04 AM, Adam van den Hoven wrote:

Maybe we need to run a T-Shirt Design contest first/ 
simultaneously. The winner could get a copy of the winning  
theme... printed on a T-Shirt.


:)

Adam
On 18-Sep-08, at 9:03 PM, Sean Cribbs wrote:


Steven Southard wrote:
I'd love to win the contest and have my design included in  
upcoming releases and this isn't going to stop me from entering  
in any way, but that t-shirt could use some work.  I'd probably  
wear like it is because I'm crazy about Radiant; so whatever,  
forget that I said anything.


Steven


That was a VERY rough sketch that I did in about 10 minutes.  Any  
constructive criticisms you have would be appreciated.


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


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


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



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


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


[Radiant] Re: nil.debug on page update?

2008-09-19 Thread Alan
Okay, in case this comes up again, it appears that MySQL was the 
Problem. I replaced every component of the deployment server starting 
with apache-nginx then mongrel-thin, and finally mysql - sqlite. I 
had some problems with the mysql installation on my Slicehost account, 
but all seems smooth on sqlite.


And can I mention how incredibly awesome Nginx and Thin are?


Alan Peabody wrote:

I have a continuing issue on a particular radiant installation.

I can create, edit, update, and delete layouts, snippets, stylesheets 
and javascripts (SNS). I can also create and delete pages. However I 
can not update pages! I
have posted before on this issue and received helpful feedback, but 
nothing has worked (yet!).  The .htaccess file is gone.


This installation works perfectly on a single mongrel server running 
on the production box. However when deployed either by mod_rails or a 
mongrel cluster behind apache the update page stops working.


I have now at least produced an error that may shed some light on the 
situation. Any suggestions?



 NoMethodError in Admin/pageController#edit

You have a nil object when you didn't expect it!
The error occurred while evaluating nil.debug



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


Re: [Radiant] Radiant Blog setups

2008-09-19 Thread Steven Southard

Sean,



+-- Weblog (aggregates Tech, Music, Philosophy)



What does the code look like that you used to actually aggregate these  
three archives together?



Steven


On Sep 15, 2008, at 8:23 AM, Sean Cribbs wrote:


Mohit,

Yes, the primary features for the blogging release are already  
mostly developed by people who aren't members of the dev team - web  
2.0-style tags, comments on every page, etc.  I suspect what we'll  
do is fork those extensions into the 'radiant' account on github and  
have our hackers contribute back to them.  John and I planned all of  
those features to be extensions anyway.


If you guys want more detail about my setup, I'm willing to share  
the Radius code as well.


Sean

Mohit Sindhwani wrote:

Sean Cribbs wrote:

Marty,

My blog uses aggregation (so I can have multiple categories  
easily) and page_attachments.  I've been hearing good things about  
the comments extension lately, I may give it a try again soon.   
Mine is structured roughly like this:


Home
+-- Tech (Archive, with a month-archive child)
+-- Music (Archive, with a month-archive child)
+-- Philosophy (Archive, with a month-archive child)
+-- Weblog (aggregates Tech, Music, Philosophy)
+-- Atom feed (aggregates like Weblog)

Sean
Actually, I'm tempted to go your way also.  I've got a blog set up  
with Mephisto, but I'm just not familiar enough with Mephisto.  On  
the other hand, I don't yet know how to use virtual pages and how  
to use the archive functionality yet (haven't needed it) - I'm  
hoping that someone will write a bit about these in the Summer  
Reboot.
But, this thread is timely.  There is a need for adding some more  
about using Radiant for blogging to the Summer Reboot  
documentation.  By the way, Sean, what new features are planned for  
blogging support in Radiant?  If I remember correctly, that's one  
of the items on the list for the hack fest?


Cheers,
Mohit.
9/15/2008 | 12:42 PM.

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



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


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


[Radiant] Re: [ANN] Radiant Template Contest

2008-09-19 Thread David Piehler
Sean Cribbs wrote:
 http://radiantcms.org/blog/archives/2008/09/18/announcing-the-radiant-template-contest/

What about the idea of setting up naming conventions to standardize 
page, snippet, and HTML section names? Is this something that will be 
standardized afterwards across the winning templates?

- Dave

-- 
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