Re: [Radiant] New wiki article: removing scaffolding from the Link Roll

2008-10-05 Thread Andrew Neil


On 3 Oct 2008, at 00:17, John W. Long wrote:



On Oct 2, 2008, at 6:52 PM, Andrew Neil wrote:
I've written a new article for the wiki, which follows on from the  
original Creating Radiant Extensions[1] tutorial. It demonstrates  
how to remove the scaffolding from your extension, and style it so  
that it looks more like it belongs in Radiant. Find it here:


http://wiki.radiantcms.org/Radiant_extensions_without_a_scaffold

I would be very pleased if anyone could follow it though, and let  
me know if everything makes sense. It is a wiki, so do please fix  
any typos or factual errors.


I was originally planning to merge this directly into the Creating  
Radiant Extensions article. When I first read that article, it  
recommended using scaffold :link in the LinksController, but since  
Radiant moved onto Rails 2 this method hasn't worked. There is a  
section now in the article called Hacking a Scaffolded Controller  
and Views, which I hadn't seen before. I considered deleting that  
section, and replacing it with the article above, but I wondered if  
it made the article just too long.


Great stuff here Andrew. Why don't you merge this with the original  
tutorial (delete the Hacking section), but make your article a Part  
2 on a separate page. That way it will complete the original  
tutorial.


Thanks John. I've split the original article in two, as you suggested:

http://wiki.radiantcms.org/Creating_Radiant_Extensions
http://wiki.radiantcms.org/Creating_Radiant_Extensions_B

I put the controller, view and route stuff into the first part of the  
article, pushed the Creating custom tags stuff into the second part,  
and finished off with the CSS and images to make the admin area look  
more like part of Radiant. I've removed Bill's section on hacking a  
scaffold.


I still need to update the screenshots, but I'll get round to that  
later.


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


[Radiant] New wiki article: removing scaffolding from the Link Roll

2008-10-02 Thread Andrew Neil
I've written a new article for the wiki, which follows on from the  
original Creating Radiant Extensions[1] tutorial. It demonstrates  
how to remove the scaffolding from your extension, and style it so  
that it looks more like it belongs in Radiant. Find it here:


http://wiki.radiantcms.org/Radiant_extensions_without_a_scaffold

I would be very pleased if anyone could follow it though, and let me  
know if everything makes sense. It is a wiki, so do please fix any  
typos or factual errors.


I was originally planning to merge this directly into the Creating  
Radiant Extensions article. When I first read that article, it  
recommended using scaffold :link in the LinksController, but since  
Radiant moved onto Rails 2 this method hasn't worked. There is a  
section now in the article called Hacking a Scaffolded Controller and  
Views, which I hadn't seen before. I considered deleting that  
section, and replacing it with the article above, but I wondered if it  
made the article just too long.


Any thoughts?

Drew

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


Re: [Radiant] New wiki article: removing scaffolding from the Link Roll

2008-10-02 Thread John W. Long


On Oct 2, 2008, at 6:52 PM, Andrew Neil wrote:
I've written a new article for the wiki, which follows on from the  
original Creating Radiant Extensions[1] tutorial. It demonstrates  
how to remove the scaffolding from your extension, and style it so  
that it looks more like it belongs in Radiant. Find it here:


http://wiki.radiantcms.org/Radiant_extensions_without_a_scaffold

I would be very pleased if anyone could follow it though, and let me  
know if everything makes sense. It is a wiki, so do please fix any  
typos or factual errors.


I was originally planning to merge this directly into the Creating  
Radiant Extensions article. When I first read that article, it  
recommended using scaffold :link in the LinksController, but since  
Radiant moved onto Rails 2 this method hasn't worked. There is a  
section now in the article called Hacking a Scaffolded Controller  
and Views, which I hadn't seen before. I considered deleting that  
section, and replacing it with the article above, but I wondered if  
it made the article just too long.


Great stuff here Andrew. Why don't you merge this with the original  
tutorial (delete the Hacking section), but make your article a Part  
2 on a separate page. That way it will complete the original tutorial.


Excellent work on this, BTW.

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