[Radiant] GitHub

2008-04-16 Thread Steven Southard

Does any on have any invites left?  Sean -- great job with the podcast.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] GitHub

2008-04-16 Thread Steven Southard

Nice.
On Apr 16, 2008, at 4:12 PM, Marty Haught wrote:


Github is now open so no invites needed.

Cheers,
Marty

On Wed, Apr 16, 2008 at 3:10 PM, Steven Southard
[EMAIL PROTECTED] wrote:
Does any on have any invites left?  Sean -- great job with the  
podcast.

___
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] gallery extension

2008-05-27 Thread Steven Southard
I am, great job of moving it to git.  Very easy to get and install.  I  
thought maybe there are some requirements like imagemagick and  
rmagick.  I don't have those gems installed so if they're needed it  
makes sense, I guess.  If they are needed seems like it would be a  
good idea to add that to the readme file.



On May 27, 2008, at 2:46 AM, Andrea Franz wrote:


On Mon, May 26, 2008 at 10:16 PM, Steven Southard
[EMAIL PROTECTED] wrote:
I installed .6.7 and then I tried to use the gallery extension with  
some
difficulties.  It all seemed to install properly but uploaded  
images aren't
added to the gallery.  The images are uploaded, It's just that my  
gallery
says 0 files and of course there's nothing in the gallery.  Anyone  
else have

this problem?


It's strange, are you using the latest version of the gallery?

--
Andrea Franz
http://gravityblast.com - http://nimboo.net
___
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] gallery extension

2008-05-27 Thread Steven Southard
Shared accelerator.  Seems like the BSD servers were loaded with  
almost every gem out there.  Not sure why but the new servers are more  
bring your own.



On May 27, 2008, at 11:35 AM, Keith Bingman wrote:

Is Spring a BSD Server or a shared accelerator? Don't take my word  
about mini_magick, it worked when I was still on a BSD server.


On May 27, 2008, at 6:30 PM, Steven Southard wrote:

That's sad news about mini_magick not working at Joyent even if you  
freeze it in.  I guess the available gems depends on what server  
you're on.  I'm on Spring and here is the list of gems:


*** LOCAL GEMS ***

actionmailer (2.0.2)
actionpack (2.0.2)
activerecord (2.0.2)
activeresource (2.0.2)
activesupport (2.0.2)
BlueCloth (1.0.0)
capistrano (2.2.0)
cgi_multipart_eof_fix (2.5.0)
daemons (1.0.10)
extensions (0.6.0)
fast_xs (0.6)
fastthread (1.0.1)
ferret (0.11.6)
filesystem (0.1.0)
gem_plugin (0.2.3)
gruff (0.3.1)
highline (1.4.0)
hoe (1.5.1)
hpricot (0.6)
log4r (1.0.5)
mime-types (1.15)
mongrel (1.1.4)
mongrel_cluster (1.0.5)
needle (1.3.0)
needle-extras (1.0.0)
net-sftp (1.1.1)
net-ssh (1.1.2)
postgres (0.7.9.2008.01.28)
rails (2.0.2)
rake (0.8.1)
RedCloth (3.0.4)
ruby-json (1.1.2)
ruby-openid (2.0.4)
ruby-yadis (0.3.4)
rubyforge (0.4.5)
rubygems-update (1.0.1)
syntax (1.0.0)
tzinfo (0.3.8)



On May 27, 2008, at 11:19 AM, Keith Bingman wrote:


Are you sure Joyent doesn't have RMagick?

I have a couple of Radiant sites there using both my own  
extensions and Sean's page_attachments with RMagick. Mini_magick  
does not work there, even if you freeze the gem.


I just discovered Paperclip, http://www.thoughtbot.com/projects/paperclip 
. It resizes images without RMagick or Mini_magick, just using the  
image_magick library itself. I have a prototype extension based on  
it, though it is not a full fledged gallery like Andrea's.

_
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


Re: [Radiant] Re: Re: [Radiant-Dev] [ANN] Styles 'n Scripts Extension

2008-05-27 Thread Steven Southard
I just tried out your extension.  Nice idea.  I've always liked how  
the css file was exposed under pages but I really hadn't thought of it  
having it's own section either.  Also, I've always wondered where to  
put my js files.  I usually just tucked them in the javascript folder  
and referenced them. This gives them a proper place.   I mostly only  
use one stylesheet per website so it seems a bit overkill.  Not to be  
stingy with my tabs, but I think I'd like it better if the css and js  
pages were both under one tab.   I'm looking forward to seeing what  
becomes of this extension.


Thanks,

Steven



On May 27, 2008, at 1:28 PM, Chris Parrish wrote:


nurilized wrote:
is there any way to call js/css files from anywhere of the page/ 
layout?

suppose, i use one template and many subpages?
but i use different/extra css/js files on subpages (and also  
common), for

example i will use accordion script on a subpage and putting this on
template or on header snippet is nonsense
so i am looking for a way to call these files from inside page/layout

I just released version 0.3 of this extension and you will now find  
tags to do just this. For instance:


r:stylesheet name=my_stylesheet /

produces:

your stylesheet content

Or, if you want to be more fancy, try:

r:stylesheet name=my_stylesheet as=inline /

and get:

style type=text/css
!--
your stylesheet content
--
/style

The same works with the r:javascript tag.

-Chris
___
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] Re: Re: [Radiant-Dev] [ANN] Styles 'n Scripts Extension

2008-05-27 Thread Steven Southard
I must admit that assets that don't happen to include images  is a  
bit long.  I kind of like text assets.  That kind of opens it up to  
include other types of files that people may want to put there  
like .xml or maybe even a .as file.  One thing that would be nice  
about putting them together is that you could then make use of a file  
type combo box.  That would fill out the page a bit and give a person  
a little more to do.  Also those lovely icons would have a chance to  
help you sort out your file types.


-Steven

On May 27, 2008, at 8:50 PM, Chris Parrish wrote:

Thanks for the feedback Steven.  I'm really interested in making  
this a usable extension for all.


I always used pages for my js and css files too and, like you, never  
had more than a handful of each -- it wasn't much of a bother to  
do.  So, when John first mentioned the idea to me I really only saw  
one or two valid reasons for such an extension (for instance, I  
found it difficult to explain to users why they had to create a  
blank layout for a stylesheet just to set the content-type).


Now that I've been working on it, I see *many* good reasons to go  
this route (my current favorite is the server and browser caching  
benefits -- I *love* the idea of not having to expire and reserve  
all stylesheets and javascripts every 5 minutes).


As to the multiple tabs, yeah, I'm with you.  Originally I think  
John envisioned something like an Assets tab where CSS, JS and  
image files could all reside but Radiant hasn't settled on an image  
asset approach just yet.  And without images, what do you call the  
tab -- Text Assets?  CSS  JS?  Assets-That-Don't-Happen-To-Include- 
Images?  Actually, my original mock-up for this extension had one  
tab (called Files) but I still kind of choked on that vague name.


Anyway, for now, John just suggested keeping two tabs and waiting to  
see how things progressed.  In the interest of minimizing tab space,  
I did choose to name them CSS and JS instead of Stylesheets and  
Javascripts.  Plus, your standard-level users never see the tabs  
anyway so it looks clean to them.


I certainly welcome any ideas/suggestions here. Its a fairly  
straightforward design but nothing's set in stone.


-Chris


Steven Southard wrote:
I just tried out your extension.  Nice idea.  I've always liked how  
the css file was exposed under pages but I really hadn't thought of  
it having it's own section either.  Also, I've always wondered  
where to put my js files.  I usually just tucked them in the  
javascript folder and referenced them. This gives them a proper  
place.   I mostly only use one stylesheet per website so it seems a  
bit overkill.  Not to be stingy with my tabs, but I think I'd like  
it better if the css and js pages were both under one tab.   I'm  
looking forward to seeing what becomes of this extension.


Thanks,

Steven



On May 27, 2008, at 1:28 PM, Chris Parrish wrote:


nurilized wrote:
is there any way to call js/css files from anywhere of the page/ 
layout?

suppose, i use one template and many subpages?
but i use different/extra css/js files on subpages (and also  
common), for
example i will use accordion script on a subpage and putting this  
on

template or on header snippet is nonsense
so i am looking for a way to call these files from inside page/ 
layout


I just released version 0.3 of this extension and you will now  
find tags to do just this. For instance:


r:stylesheet name=my_stylesheet /

produces:

your stylesheet content

Or, if you want to be more fancy, try:

r:stylesheet name=my_stylesheet as=inline /

and get:

style type=text/css
!--
your stylesheet content
--
/style

The same works with the r:javascript tag.

-Chris
___
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] ajax call for save and continue editing and style changes

2008-05-27 Thread Steven Southard
I've been using this interface a lot lately and one thing that would  
make it much better for me is not having the page refresh when I hit  
save and continue editing.  This is especially true when I'm editing  
a long CSS file, I hate to image how much time I wasted looking for  
the place I was just editing.  A couple of other default style changes  
I think would help are to make the text area height about 600px also a  
bit skinnier and over to the right so I can grab the side easier and  
get to the save changes button.  Having to scroll down the page like  
that to get to the save button is kind of a pain as well.  I think the  
save button would be more useable if it were in that blank space to  
the right above the text area.


Regards,

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


[Radiant] admin page titles

2008-05-27 Thread Steven Southard
I've also noticed that all the admin pages have the same title so when  
I'm working on multiple pages in tabs I can never tell which is  
which.  If the admin pages were titled what they were it would make it  
easier to keep track of them.


Regards,

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


[Radiant] Styles 'n Scripts Extension

2008-05-29 Thread Steven Southard
Has anyone else noticed their styles being kicked over to the right  
every time they save.  This is crappin' my style of stylin'.  A few  
saves and man it's off the page.


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


Re: [Radiant] gallery and attachment extension

2008-06-02 Thread Steven Southard


On Jun 1, 2008, at 5:15 PM, Andrea Franz wrote:

The one feature I haven't gotten to work right on the gallery  
extension is

reordering the individual images.


If fixed that bug in the latest version. Try to pull it from github
and try again.







 Thanks it works great now.



Big thumbs up for booth of these extensions.  They both are nicely  
done and
serve slightly different roles.  I like how gallery is more or less  
all
together in one place. It's draw back is that it doesn't have as  
many useful

tags.


Let me know what tags you need. If they are usefull we could add them.

I think I could use something like:


r:gallery:item:url name=file.jpg /

r:gallery:item:image name=file.jpg /

Again, the extension is really great.  Thank you.


Regards,

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


Re: [Radiant] gallery extension

2008-06-03 Thread Steven Southard
When I got the newest gallery extension update I couldn't get  
mini_magick to work with it.  The pictures moved and stayed were I put  
them but I wasn't able to upload and new images.  Also the thumbs  
weren't the right size either.


I could but the old gallery extension back in and I could upload  
images fine but again the images wouldn't stay put.


I changed the processor in gallery.yml.default to mini_magick ( I  
didn't have a gallery.yml like in the old gallery extension)


Any sugestions?







On May 27, 2008, at 11:47 AM, Steven Southard wrote:


This worked like a charm.  Thank you.





After running the radiant:extensions:gallery:install task, you can
edit the gallery.yml file
(/vendor/extensions/gallery/config/gallery.yml), and set mini_magick
as processor.

--
Andrea Franz
http://gravityblast.com - http://nimboo.net
___
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] gallery extension

2008-06-03 Thread Steven Southard
A guys got to keep on his toes.  Okay, I had that file and changing it  
made it work perfectly. Thank you for your fast reply.


-Steven

On Jun 3, 2008, at 6:37 PM, Andrea Franz wrote:




In the new version i put the galery.yml file in RAILS_ROOT/config/ 
extensions/gallery/gallery.yml.

Have you got it ?

-andrea


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


[Radiant] sidebar page part = brilliant

2008-06-19 Thread Steven Southard
I've made about 5 websites with radiant so far and I guess most of  
them I just started with a simple blog or empty.  Today I started with  
the more filled in version and discovered how this sidebar page part  
is being used.  It's brilliant!  Really. I've been using snippets to  
attempt the same thing but their not nearly as flexible.  I'm forever  
learning new things about Radiant with each new website I make with  
it.  Thanks for all your thoughtful work guys.  I love using this  
system.


Steven

http://www.stevensouthard.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] Help with Radiant Gallery

2008-06-30 Thread Steven Southard
This happened too me when I used the gallery.  The problem for me was  
that I didn't have the RMagick installed on my server.  Might check  
that.


--Steven

Steven Southard
http://www.stevensouthard.com

On Jun 30, 2008, at 12:15 PM, Alfredo Perez wrote:


Hi

I was wondering if there is anybody who can
point me to the right direction.

I havent been able to upload pictures to my
server where radiant gallery is installed.

There are instructions on how to import files by creating an import  
folder.


My question is:

Where in the server should I create this folder?

Thanks in advance

Alfredo

___
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] Mailer attachment support

2008-06-30 Thread Steven Southard
So I was noticing the reworking of the mailer extension and I was  
wondering what the issue is with attachment support.


--steven



http://www.stevensouthard.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 CMS Sprint weekend

2008-08-28 Thread Steven Southard
I'm not planning to travel there but I'd like to work on some design  
elements. Let me know what you have on your list as far as designing  
and marking up goes.


Steven

http://www.stevensouthard.com


On Aug 28, 2008, at 12:29 PM, Sean Cribbs wrote:


I'm excited to announce the Radiant CMS Sprint Weekend.

What:
 A day to weekend-long hackfest to help finish some features for the  
0.7 release of Radiant CMS.  The official goals are -- refactoring  
the admin controllers toward REST, implementing a new UI, adding  
blogging features, improving the extension registry, and writing  
more documentation.


When:
 Saturday, October 25, 2008, 8:00AM-6:00PM (official hours at the  
venue -- unofficially all weekend)


Where:
 Carrboro Creative Co-working
 205 Lloyd St, Suite 101
 Carrboro, NC 27510 USA
 map: http://rubyurl.com/imUx
 url: http://carrborocoworking.com

Who:
 Members of the Radiant dev team and community - hopefully you!


THIS IS NOT A CONFERENCE! The focus is on hacking out a lot of code/ 
design/documentation in a short amount of time.  We encourage anyone  
who can contribute their code, web design, or writing skills to  
attend.  If you'll be coding, we expect a workable knowledge of  
Rails, RSpec, and Git -- bonus points if you've worked on Radiant  
before, built extensions, or have experience with RESTful controller  
design and web-services.  If you'll be doing design, we expect a  
workable knowledge of HTML, CSS, JavaScript, and image manipulation  
-- bonus points if you know Haml, Sass, Prototype, Scriptaculous,  
and LowPro.  If you want to do documentation, we expect you to be  
able to write clearly and use the Radiant wiki -- bonus points if  
you write clean HTML.


All work and no play makes a dull Rubyist, so rest assured that  
we'll have some free-time to relax, see the Raleigh-Durham-Chapel  
Hill sights, eat, drink, and be merry.


If you plan to attend, please fill out this form so we know you're  
coming:  http://rubyurl.com/tAl2


If you will be traveling to North Carolina from out-of-state or need  
assistance making travel plans, please feel free to contact me  
privately.


On behalf of John Long and the rest of the dev team, I sincerely  
hope you can make it!


Cheers,

Sean Cribbs
Lead Developer, Radiant CMS

P.S. If you are a business or individual interested in sponsoring  
some food, drink or swag for the attendees, please contact me  
privately.


P.P.S. My apologies to those who expressed interest in attending in  
the Northeast USA and those from outside the USA - since the scope  
of this weekend is small, it was easiest to host it close to home.   
Watch the mailing lists for information about a more formal  
conference-like gathering soon.

___
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] E-commerce extension?

2008-09-06 Thread Steven Southard


On Sep 6, 2008, at 3:28 PM, Joe Van Dyk wrote:

On Sat, Sep 6, 2008 at 1:22 PM, Joe Van Dyk [EMAIL PROTECTED]  
wrote:
On Sat, Sep 6, 2008 at 1:17 PM, Joe Van Dyk [EMAIL PROTECTED]  
wrote:

On Sat, Sep 6, 2008 at 1:01 PM, Steven Southard
[EMAIL PROTECTED] wrote:



There a e-commerce / shoppiong cart extension out there that  
doesn't suck?


If not, I'm pondering porting over the shopping cart used at  
Tanga.com

over to Radiant.

Joe




How are you going to do that?  Also why not use Substuct?


Could use substruct, but seems like it would be handy to have it  
built

into radiant.

Perhaps migrate the substruct code into an extension.


Is substruct probably the best existing shopping cart for rails out  
there?


I found http://github.com/schof/spree/tree/master, which doesn't seem
to suck as much as substruct.


I like substuct.  I'd really like to understand how to make substruct  
work as an extension.   I've heard people talk about doing it but I  
haven't seen it done.  Working side by side would be okay too.   
Substuct is nicer to work with then most carts out there.  One thing  
about it is: substuct comes with its own content management system.   
If you like working with radiant its hard to give it up to work with a  
more primitive shopping cart CMS like this one.  Another thing is:  
there's a lot going on in substuct or any other cart solution.  Where  
is all that stuff going to go in radiant?   Spree looks okay I doubt I  
would use it.  It's small things like like the tables that would stop  
me.  Also it sound like they don't have paypal worked out yet.  I like  
paypal so that could be a problem.


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


Re: [Radiant] Mailer Extension

2008-09-17 Thread Steven Southard

Did you have any luck getting file attachment to work on mailer?


Steven



On Sep 17, 2008, at 2:37 AM, Andrea Franz wrote:

I've just insalled the mailer extension with the latest version of  
radiant and it works.

Do you have any problem?

--
Andrea Franz

On 17/set/08, at 09:26, Bill Barnard [EMAIL PROTECTED]  
wrote:



Has anyone gotten ntalbott's mailer extension
(http://github.com/ntalbott/radiant-mailer-extension/tree/master)
working with a recent version of Radiant? I tried it out, but the  
Readme

seems like it's missing some information.

The 0.6.7 tagged version at
http://svn.radiantcms.org/radiant/tags/rel_0-6-7/extensions/mailer is
pretty easy to get working using the docs in the wiki and some info  
from
the mailing list. I'd like to stick with the development / release  
trunk

if possible though.

Thanks for any help.

Bill
--
Bill Barnard
http://barnard-engineering.com/

___
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] ? about using database_form on every page

2008-09-18 Thread Steven Southard

That did work.  Thanks.

Steven



On Sep 18, 2008, at 3:30 PM, john wrote:


On 2008/09/18, at 13:59, Steven Southard wrote:

I'm doing that on my site and the only problems I have is that  
mailer seems to mess page attachments up. You can just change the  
page type to normal and page attachment works, upload an image,  
then change it back.


You can actually fix this in your environment.rb also with something  
like


config.extensions = [ :page_attachments, :all ]


___
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-18 Thread Steven Southard
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


On Sep 18, 2008, at 9:51 AM, Sean Cribbs wrote:


On your marks, get set... GO!

http://radiantcms.org/blog/archives/2008/09/18/announcing-the-radiant-template-contest/

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


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


Re: [Radiant] Can Radiant be really easy to use for non-technical content editors?

2008-11-18 Thread Steven Southard
I think maybe you just need to take another approach with her.  Seems  
sometimes web development is more psychology then programming.  Does  
she just put her hand over her ears when you say Markdown or Textile?   
I've had a client like that!  She just wants to make headers,  
paragraphs, and upload pictures right?  Keep working with her, tell  
here to take a few breaths, and keeping reminding her that the filters  
are there to keep the technical stuff out of her way.


My clients don't seem to mess with the snippets, tags, or css classes  
that much.  They just use the filters and maybe one tag and some  
classes that they copy and past from where ever else it was used on  
the site.  It takes a bit for them to get the hang of it but if they  
can see the simple patterns they'll be able to add their content.



Steven



On Nov 18, 2008, at 11:44 AM, Casper Fabricius wrote:


Hi everyone,

I've used Radiant for more than 10 web sites during the past 1,5  
years, and I really like it. Definitely the best CMS for Rails.


However, I have a client whose content editor is very frustrated  
with the system. She can only just tolerate using Markup, and she  
refuses to write any kind of HTML - Radius tags falls into this  
category from her point of view. According to her, a proper CMS  
would hide all this technical stuff and provide custom forms for  
all types of content.


I know what the core team might answer: Radiant CMS was not built  
for this woman. It was built for small sites and content editors  
with a bit of technical insight. But Radiant is still the most user- 
friendly CMS that exists for Rails, and I don't really feel like  
coding PHP just get a more advanced UI, which will suck anyway.


So my question is: How do the rest of you handle this? How do you  
hide away technical stuff such as snippets, tags and css classes?  
Do you:
- Use any of the WYSIWYG filters? (I've done this a few times, it  
has its own problems)

- Build very specific custom layouts for all variants for pages?
- Use a generic templating interface such as radiant-templates- 
extension to wrap everything up?
- Write custom extensions to wrap all kinds of elements nicely in  
forms? (such as newsletters, spots, list of various items, etc.)


Can Radiant be palatable for content editors such as my client, or  
is it simply the wrong choice in this case?


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

___
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] Can Radiant be really easy to use for non-technical content editors?

2008-11-18 Thread Steven Southard
That's actually something I'd use.  I really like that idea.  It's  
kind of there with the filters and available tags but I really like  
the idea of a customizable scratch pad.  I'd use it all the time.


Steven


On Nov 18, 2008, at 12:42 PM, Adam van den Hoven wrote:


You just hit on an interesting idea for an extension.

Frequently, people are going to reuse the same bits over and over.  
Instead of making them go find it, what if we put a scratchpad on  
the right hand side of the parts (which will consume some space from  
the parts but that should be OK the visibility is important). This  
will give them a place to retrieve commonly used bits and then copy  
and paste them back into their content. Give it an easy way to save  
new scratches without leaving the page (key to making it useful).  
Provide a separate UI to tweak the scratch (edit, give it a title  
and a description) and we can bootstrap a bunch of scratches which  
will ease their entry into the world of markup


Adam


On 18-Nov-08, at 10:33 AM, Steven Southard wrote:

I think maybe you just need to take another approach with her.   
Seems sometimes web development is more psychology then  
programming.  Does she just put her hand over her ears when you say  
Markdown or Textile?  I've had a client like that!  She just wants  
to make headers, paragraphs, and upload pictures right?  Keep  
working with her, tell here to take a few breaths, and keeping  
reminding her that the filters are there to keep the technical  
stuff out of her way.


My clients don't seem to mess with the snippets, tags, or css  
classes that much.  They just use the filters and maybe one tag and  
some classes that they copy and past from where ever else it was  
used on the site.  It takes a bit for them to get the hang of it  
but if they can see the simple patterns they'll be able to add  
their content.



Steven



On Nov 18, 2008, at 11:44 AM, Casper Fabricius wrote:


Hi everyone,

I've used Radiant for more than 10 web sites during the past 1,5  
years, and I really like it. Definitely the best CMS for Rails.


However, I have a client whose content editor is very frustrated  
with the system. She can only just tolerate using Markup, and she  
refuses to write any kind of HTML - Radius tags falls into this  
category from her point of view. According to her, a proper CMS  
would hide all this technical stuff and provide custom forms for  
all types of content.


I know what the core team might answer: Radiant CMS was not built  
for this woman. It was built for small sites and content editors  
with a bit of technical insight. But Radiant is still the most  
user-friendly CMS that exists for Rails, and I don't really feel  
like coding PHP just get a more advanced UI, which will suck  
anyway.


So my question is: How do the rest of you handle this? How do you  
hide away technical stuff such as snippets, tags and css  
classes? Do you:
- Use any of the WYSIWYG filters? (I've done this a few times, it  
has its own problems)

- Build very specific custom layouts for all variants for pages?
- Use a generic templating interface such as radiant-templates- 
extension to wrap everything up?
- Write custom extensions to wrap all kinds of elements nicely  
in forms? (such as newsletters, spots, list of various items, etc.)


Can Radiant be palatable for content editors such as my client, or  
is it simply the wrong choice in this case?


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

___
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] If you love radiant but need ecommerce what's the best solution

2008-11-26 Thread Steven Southard
Radiant is such a nice platform to develop on that it really pains me  
to choose another CMS for an upcoming website.  It's mainly a brochure  
site but they also sell about 50 products.  They currently have an  
outdated CMS and a yahoo shopping cart.  They want to move forward  
with an integrated approach.  I've been trying out Substruct which has  
both of these features.  The Cart is great but the CMS just fall short  
of what I've gotten accustom to.  Mainly, there's no control of the  
layout or CSS from the back-end.  It might be possible to fix that but  
I'm not sure how much work it would be.  I've also looked at Spree.   
It looks okay for a cart but doesn't seem to have any other CMS type  
functions.  Maybe it would work well side by side with Radiant or as  
sub domain but I don't see any way it could be integrated.


What are some other approach people have taken to give this type of  
client what they need?


Steven

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


[Radiant] tags extension

2009-01-19 Thread Steven Southard

I tried installing Jomz's tags extension using:

git clone git://github.com/jomz/radiant-tags-extension.git vendor/ 
extensions/tag

rake production radiant:extensions:tags:install

and it seemed to install fine except I get:

`tag_field' default partial not found!  on any page

I was wondering if I should change the tag_field.html.erb file name,  
maybe?


Am I missing something else?



Steven

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


Re: [Radiant] tags extension

2009-01-19 Thread Steven Southard
Yeah, actually i think my copy and past left the s off but it's  
actually located there with the s.  Don't think that is the  
problem.  Any other ideas?




On Jan 19, 2009, at 5:04 PM, Jeroen Janssen wrote:


Hi,

I think the extension needs to be installed in the
vendor/extensions/tags directory if I understand correctly.

Best regards,

Jeroen Janssen

On Mon, Jan 19, 2009 at 11:03 PM, Steven Southard
ste...@stevensouthard.com wrote:

I tried installing Jomz's tags extension using:

git clone git://github.com/jomz/radiant-tags-extension.git
vendor/extensions/tag
rake production radiant:extensions:tags:install

and it seemed to install fine except I get:

`tag_field' default partial not found!  on any page

I was wondering if I should change the tag_field.html.erb file  
name, maybe?


Am I missing something else?



Steven

___
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] paperclipped

2009-01-22 Thread Steven Southard
I was wondering if anyone is using paperclipped with 0.7.0rc2.  It  
seems to be stalling out on uploading an asset.  This could easily be  
something unrelated to 0.7.0rc2.  If anyone knows anything about  
what's going on I'd greatly appreciate the help.


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


[Radiant] paperclipped

2009-01-26 Thread Steven Southard
I'm using paperclipped with .7rc2 and on my mac's server is runs  
smooth as butter.  I pushed it up to my server (Joyent) and I can't  
get the delete asset to work right.  When I hit delete I get an  
Application error.  Three refreshes and the image is gone and  
everything is fine.  So in the log it says:


[paperclip] Deleting files for asset
[paperclip] - /users/home/.public/assets/32/cowboy.gif
Errno::EEXIST (File exists - /users/home/..public/assets/32):

and throws up 500.html

If I look at the files one of the images have been deleted

I could hit back and then try to delete it again and another will be  
deleted until they are all gone and the app will continue like  
everything is fine.


Any ideas why paperclipped isn't deleting all four images like it  
should?


Thanks,

Steven





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


Re: [Radiant] paperclipped

2009-01-26 Thread Steven Southard
I really don't think it is a problem with the new release because it  
works perfectly on my mac's server.  I saw the change that was made  
and tried making that change too but it didn't help with my problem.   
Maybe something went wrong when I installed it.  There is a note in in  
the readme file about installing Settings before running the  
paperclipped migration.  By the way, that note could be more helpful  
if it came before you give the paperclipped migration instructions.   
In my case, I had already run paperclipped migrations. For good  
measure I  ran the paperclipped migrations again after I had installed  
settings.


Should I just start over or is this fixable?  Everything seems to work  
well except deleting files.  I'm just not sure if I caused this  
problem by migrating twice or maybe I'm missing something.





On Jan 26, 2009, at 4:11 PM, Keith Bingman wrote:

I have not had time to check it with the new release, but there is a  
branch for it on github.There was a thread a few days ago. I will  
try to get in patched soon.


Keith

On Jan 26, 2009, at 10:48 PM, Steven Southard wrote:

I'm using paperclipped with .7rc2 and on my mac's server is runs  
smooth as butter.  I pushed it up to my server (Joyent) and I can't  
get the delete asset to work right.  When I hit delete I get an  
Application error.  Three refreshes and the image is gone and  
everything is fine.  So in the log it says:


[paperclip] Deleting files for asset
[paperclip] - /users/home/.public/assets/32/cowboy.gif
Errno::EEXIST (File exists - /users/home/..public/assets/32):

and throws up 500.html

If I look at the files one of the images have been deleted

I could hit back and then try to delete it again and another will  
be deleted until they are all gone and the app will continue like  
everything is fine.


Any ideas why paperclipped isn't deleting all four images like it  
should?


Thanks,

Steven





___
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] paperclipped

2009-01-28 Thread Steven Southard
I really like this extension.  I can see a lot of good in it that my  
clients would like but not being able to delete files is a problem.   
It works great on my Mac but then when I upload it to Joyent's Solaris  
servers it just doesn't delete all the files.  I don't really  
understand what the problem is.  It's something to do with the folder  
or files existing maybe when they shouldn't be.  It seems to be  
related more to the environment and paperclip then the extension itself.


The problem is I get an application error and in the logs it says:

Errno::EEXIST (File exists - /users/home//web/public/assets/7):
/usr/local/lib/ruby/1.8/fileutils.rb:264:in `rmdir'
/usr/local/lib/ruby/1.8/fileutils.rb:264:in `rmdir'
/usr/local/lib/ruby/1.8/fileutils.rb:263:in `each'
/usr/local/lib/ruby/1.8/fileutils.rb:263:in `rmdir'
/vendor/extensions/paperclipped/vendor/plugins/paperclip/lib/ 
paperclip/storage.rb:62:in `flush_deletes'
/vendor/extensions/paperclipped/vendor/plugins/paperclip/lib/ 
paperclip/storage.rb:52:in `each'
/vendor/extensions/paperclipped/vendor/plugins/paperclip/lib/ 
paperclip/storage.rb:52:in `flush_deletes'
/vendor/extensions/paperclipped/vendor/plugins/paperclip/lib/ 
paperclip.rb:301:in `send'
/vendor/extensions/paperclipped/vendor/plugins/paperclip/lib/ 
paperclip.rb:301:in `destroy_attached_files'


I wish I understood this better or knew how to work around it.  On my  
mac it seems to delete all the files and the folder without issue.  On  
Joyent it deletes one file and causes an application error.  If I  
refresh 4 times it will delete all the files and continue on but  
without deleting the folder.


I'm using the most recent release of paperclipped and I've tried it  
with 0.6.9 and .7rc2 but it doesn't work.  I can't believe I'm the  
only experiencing this problem or at least that will experience it.


It's a good extension and to those out there that are able to use it  
I'm envious.  I hope someone is able to fix this someday and I'll try  
it again.


By the way, is there a clean way to remove the paperclipped extension?

Steven


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


Re: [Radiant] paperclipped

2009-01-28 Thread Steven Southard
Thank you for looking into this. I tried both yours and Sean quick fix  
and neither helped.


here is the full stack

Parameters: {action=remove,  
authenticity_token=b3c11c1f1191103da344cae2345c5beb9a7654d,  
id=11, controller=assets}

[paperclip] Paperclip attachment asset on Asset initialized.
[paperclip] Deleting attachments.
[paperclip] Queueing the existing files for asset for deletion.
[paperclip] Deleting files for asset
[paperclip] - /users/home/./web/public/assets/11/testimage.jpg


Errno::EEXIST (File exists - /users/home//web/public/assets/11):
/usr/local/lib/ruby/1.8/fileutils.rb:264:in `rmdir'
/usr/local/lib/ruby/1.8/fileutils.rb:264:in `rmdir'
/usr/local/lib/ruby/1.8/fileutils.rb:263:in `each'
/usr/local/lib/ruby/1.8/fileutils.rb:263:in `rmdir'
/vendor/extensions/paperclipped/vendor/plugins/paperclip/lib/ 
paperclip/storage.rb:62:in `flush_deletes'
/vendor/extensions/paperclipped/vendor/plugins/paperclip/lib/ 
paperclip/storage.rb:52:in `each'
/vendor/extensions/paperclipped/vendor/plugins/paperclip/lib/ 
paperclip/storage.rb:52:in `flush_deletes'
/vendor/extensions/paperclipped/vendor/plugins/paperclip/lib/ 
paperclip.rb:301:in `send'
/vendor/extensions/paperclipped/vendor/plugins/paperclip/lib/ 
paperclip.rb:301:in `destroy_attached_files'
/vendor/extensions/paperclipped/vendor/plugins/paperclip/lib/ 
paperclip.rb:286:in `each_attachment'
/vendor/extensions/paperclipped/vendor/plugins/paperclip/lib/ 
paperclip.rb:285:in `each'
/vendor/extensions/paperclipped/vendor/plugins/paperclip/lib/ 
paperclip.rb:285:in `each_attachment'
/vendor/extensions/paperclipped/vendor/plugins/paperclip/lib/ 
paperclip.rb:299:in `destroy_attached_files'
/vendor/rails/activerecord/lib/../../activesupport/lib/ 
active_support/callbacks.rb:173:in `send'
/vendor/rails/activerecord/lib/../../activesupport/lib/ 
active_support/callbacks.rb:173:in `evaluate_method'
/vendor/rails/activerecord/lib/../../activesupport/lib/ 
active_support/callbacks.rb:161:in `call'
/vendor/rails/activerecord/lib/../../activesupport/lib/ 
active_support/callbacks.rb:93:in `run'
/vendor/rails/activerecord/lib/../../activesupport/lib/ 
active_support/callbacks.rb:92:in `each'
/vendor/rails/activerecord/lib/../../activesupport/lib/ 
active_support/callbacks.rb:92:in `send'
/vendor/rails/activerecord/lib/../../activesupport/lib/ 
active_support/callbacks.rb:92:in `run'
/vendor/rails/activerecord/lib/../../activesupport/lib/ 
active_support/callbacks.rb:272:in `run_callbacks'
/vendor/rails/activerecord/lib/active_record/callbacks.rb:298:in  
`callback'
/vendor/rails/activerecord/lib/active_record/callbacks.rb:288:in  
`destroy_without_transactions'
/vendor/rails/activerecord/lib/active_record/transactions.rb: 
102:in `destroy'
/vendor/rails/activerecord/lib/active_record/connection_adapters/ 
abstract/database_statements.rb:66:in `transaction'
/vendor/rails/activerecord/lib/active_record/transactions.rb: 
79:in `transaction'
/vendor/rails/activerecord/lib/active_record/transactions.rb: 
98:in `transaction'
/vendor/rails/activerecord/lib/active_record/transactions.rb: 
102:in `destroy'
/vendor/extensions/paperclipped/app/controllers/ 
assets_controller.rb:110:in `remove'
/vendor/rails/actionpack/lib/action_controller/base.rb:1166:in  
`send'
/vendor/rails/actionpack/lib/action_controller/base.rb:1166:in  
`perform_action_without_filters'
/vendor/rails/actionpack/lib/action_controller/filters.rb:579:in  
`call_filters'
/vendor/rails/actionpack/lib/action_controller/filters.rb:572:in  
`perform_action_without_benchmark'
/vendor/rails/actionpack/lib/action_controller/benchmarking.rb: 
68:in `perform_action_without_rescue'

/usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
/vendor/rails/actionpack/lib/action_controller/benchmarking.rb: 
68:in `perform_action_without_rescue'
/vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in  
`perform_action_without_caching'
/vendor/rails/actionpack/lib/action_controller/caching/ 
sql_cache.rb:13:in `perform_action'
/vendor/rails/activerecord/lib/active_record/connection_adapters/ 
abstract/query_cache.rb:33:in `cache'
/vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in  
`cache'
/vendor/rails/actionpack/lib/action_controller/caching/ 
sql_cache.rb:12:in `perform_action'
/vendor/rails/actionpack/lib/action_controller/base.rb:529:in  
`send'
/vendor/rails/actionpack/lib/action_controller/base.rb:529:in  
`process_without_filters'
/vendor/rails/actionpack/lib/action_controller/filters.rb:568:in  
`process_without_session_management_support'
/vendor/rails/actionpack/lib/action_controller/ 
session_management.rb:130:in `sass_old_process'

/vendor/plugins/haml/lib/sass/plugin/rails.rb:19:in `process'
/vendor/rails/actionpack/lib/action_controller/base.rb:389:in  
`process'

Re: [Radiant] Archive Extension

2009-01-29 Thread Steven Southard
I using the archive extension and on the homepage I'm doing something  
like:


r:find url=/articles/
r:children:each limit=5 order=desc
br /
div class=dater:date format=%a, %b %d, %Y for=published_at / 
/div

div class=entry
  h1r:link //h1
hr class=soft /
  div class=entrybody
  r:content /
  r:if_content part=extendedr:link anchor=extendedimg src=/ 
images/arrow.gif alt=arrow / Continue to Story/r:link/ 
r:if_content


span class=commementnumberr:comments:count //span  
Comments so far

  /div
/div
hr /
/r:children:each
/r:find

Which looks really good on my homepage but then when I click the link  
I loose the date, title and any of my divs so the style is all wrong.   
I want the style to pretty much match the home page so how can I go  
about setting up the link.  I'd prefer not to add my style to the  
actual article to keep it simple and clean.  How do you setup the  
linked page to match the homepage?


Steven
 
___

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


Re: [Radiant] Archive Extension

2009-01-30 Thread Steven Southard
Seems like the best way to deal with this is to make another layout  
for articles.  Again, Radiant's flexibility makes exactly what I saw  
possible.  This solution is just perfect because comments and a  
slightly different layout is needed for the full article anyway.



Steven



On Jan 30, 2009, at 12:02 AM, Steven Southard wrote:

I using the archive extension and on the homepage I'm doing  
something like:


r:find url=/articles/
r:children:each limit=5 order=desc
br /
div class=dater:date format=%a, %b %d, %Y for=published_at / 
/div

div class=entry
 h1r:link //h1
hr class=soft /
 div class=entrybody
 r:content /
 r:if_content part=extendedr:link anchor=extendedimg src=/ 
images/arrow.gif alt=arrow / Continue to Story/r:link/ 
r:if_content


   span class=commementnumberr:comments:count //span  
Comments so far

 /div
/div
hr /
/r:children:each
/r:find

Which looks really good on my homepage but then when I click the  
link I loose the date, title and any of my divs so the style is all  
wrong.  I want the style to pretty much match the home page so how  
can I go about setting up the link.  I'd prefer not to add my style  
to the actual article to keep it simple and clean.  How do you setup  
the linked page to match the homepage?


Steven
___
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] Archive Extension

2009-01-30 Thread Steven Southard
I almost used a snippet but the problem is for my design I would need  
an opening and closing snippet and then it would be hard to workout  
because I'm also using an extended page part.  Even if I could work it  
out those snippets would have to go on every page which would be more  
to ask of my client.  Overall, I think I overuse snippets and underuse  
layouts anyway.  For achieving super-clean pages, I think, layouts are  
way better and easier to use.  Thanks for the idea and also for making  
this extension that makes using radiant as a blog really possible.


Steven





On Jan 30, 2009, at 11:46 AM, Sean Cribbs wrote:

What I like to do is write a snippet for this use-case that I can  
reuse wherever appropriate.  Then my articles look the same on all  
listing pages.


Sean

Steven Southard wrote:
Seems like the best way to deal with this is to make another layout  
for articles.  Again, Radiant's flexibility makes exactly what I  
saw possible.  This solution is just perfect because comments and a  
slightly different layout is needed for the full article anyway.



Steven



On Jan 30, 2009, at 12:02 AM, Steven Southard wrote:

I using the archive extension and on the homepage I'm doing  
something like:


r:find url=/articles/
r:children:each limit=5 order=desc
br /
div class=dater:date format=%a, %b %d, %Y  
for=published_at //div

div class=entry
h1r:link //h1
hr class=soft /
div class=entrybody
r:content /
r:if_content part=extendedr:link anchor=extendedimg src=/ 
images/arrow.gif alt=arrow / Continue to Story/r:link/ 
r:if_content


  span class=commementnumberr:comments:count //span  
Comments so far

/div
/div
hr /
/r:children:each
/r:find

Which looks really good on my homepage but then when I click the  
link I loose the date, title and any of my divs so the style is  
all wrong.  I want the style to pretty much match the home page so  
how can I go about setting up the link.  I'd prefer not to add my  
style to the actual article to keep it simple and clean.  How do  
you setup the linked page to match the homepage?


Steven
___
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] Basecamp

2009-01-30 Thread Steven Southard

Wow, Basecamp's admin sure looks a lot like Radiant.  http://www.basecamphq.com/


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


Re: [Radiant] Basecamp

2009-01-30 Thread Steven Southard
Thanks for directing me to this again.  It's been awhile since I've  
seen it.  What does this mean, create a ticket on the dev site and  
attach your patch?  Is it like making a fork or is there also a dev  
site somewhere else?


Steven

On Jan 30, 2009, at 12:41 PM, Sean Cribbs wrote:

Purely coincidence.  The tab metaphor is pretty powerful and  
ubiquitous.  Have you seen http://github.com/radiant/radiant- 
prototype ?


Sean

Steven Southard wrote:

Wow, Basecamp's admin sure looks a lot like Radiant.  http://www.basecamphq.com/


Steven
___
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] comments extension error / application error

2009-01-30 Thread Steven Southard
Once a page has comments there is a link in the admin of that page to  
view comments and if I click on it I get an application error.  This  
is what the production log says:



 Parameters: {action=index, page_id=5, controller=admin/ 
comments}
Cookie set: session_token=a7c8382524930cc092981330cf62fc75f8a68582;  
path=/; expires=Sat, 14 Feb 2009 00:43:07 GMT

Rendering template within layouts/application
Rendering admin/comments/index


ActionView::TemplateError (undefined method `page_edit_url' for  
#ActionView::Base:0x93fe360) on line #1 of admin/comments/index.rhtml:
1: h1%= @page.nil? ? #{params[:status].titleize if  
params[:status]} Comments : #...@page.comments_count}  
#{pluralize(@page.comments_count, Comment)} on  
#{link_to(@page.title, page_edit_url(@page.id))} %/h1

2:
3: p class=comment-nav
4:   View:

vendor/extensions/comments/app/views/admin/comments/index.rhtml: 
1:in  
` 
_run_erb_47vendor47extensions47comments47app47views47admin47comments47index46rhtml 
'

vendor/rails/actionpack/lib/action_view/base.rb:342:in `send'
vendor/rails/actionpack/lib/action_view/base.rb:342:in `execute'
vendor/rails/actionpack/lib/action_view/template_handlers/ 
compilable.rb:29:in `send'
vendor/rails/actionpack/lib/action_view/template_handlers/ 
compilable.rb:29:in `render'

vendor/rails/actionpack/lib/action_view/template.rb:35:in `render'
vendor/rails/actionpack/lib/action_view/template.rb:22:in  
`render_template'
vendor/rails/actionpack/lib/action_view/base.rb:248:in  
`render_file'



What do I do about this undefined method 'page_edit_url'?

Thanks for any help,

Steven


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


Re: [Radiant] comments extension error / application error

2009-01-30 Thread Steven Southard

Thank you Jim.  I bet you're right.


Steven



On Jan 30, 2009, at 8:07 PM, Jim Gay wrote:

Comments may not have been updated for Radiant 0.7 (which did not  
preserve named routes from earlier versions)
I believe it should be edit_admin_page_url now, assuming you are on  
edge Radiant.


On Jan 30, 2009, at 8:06 PM, Steven Southard wrote:

Once a page has comments there is a link in the admin of that page  
to view comments and if I click on it I get an application error.   
This is what the production log says:



Parameters: {action=index, page_id=5,  
controller=admin/comments}
Cookie set: session_token=a7c8382524930cc092981330cf62fc75f8a68582;  
path=/; expires=Sat, 14 Feb 2009 00:43:07 GMT

Rendering template within layouts/application
Rendering admin/comments/index


ActionView::TemplateError (undefined method `page_edit_url' for  
#ActionView::Base:0x93fe360) on line #1 of admin/comments/ 
index.rhtml:
1: h1%= @page.nil? ? #{params[:status].titleize if  
params[:status]} Comments : #...@page.comments_count}  
#{pluralize(@page.comments_count, Comment)} on  
#{link_to(@page.title, page_edit_url(@page.id))} %/h1

2:
3: p class=comment-nav
4:   View:

  vendor/extensions/comments/app/views/admin/comments/index.rhtml: 
1:in  
` 
_run_erb_47vendor47extensions47comments47app47views47admin47comments47index46rhtml 
'

  vendor/rails/actionpack/lib/action_view/base.rb:342:in `send'
  vendor/rails/actionpack/lib/action_view/base.rb:342:in `execute'
  vendor/rails/actionpack/lib/action_view/template_handlers/ 
compilable.rb:29:in `send'
  vendor/rails/actionpack/lib/action_view/template_handlers/ 
compilable.rb:29:in `render'

  vendor/rails/actionpack/lib/action_view/template.rb:35:in `render'
  vendor/rails/actionpack/lib/action_view/template.rb:22:in  
`render_template'
  vendor/rails/actionpack/lib/action_view/base.rb:248:in  
`render_file'



What do I do about this undefined method 'page_edit_url'?

Thanks for any help,

Steven

___
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] paperclipped

2009-01-31 Thread Steven Southard

I've resolved the problem or at least it works okay now.

My code looked like this:

def flush_deletes #:nodoc:
logger.info([paperclip] Deleting files for #{name})
@queued_for_delete.each do |path|
  begin
logger.info([paperclip] - #{path})
FileUtils.rm(path) if File.exist?(path)
  rescue Errno::ENOENT = e
# ignore file-not-found, let everything else pass
  end
  begin
while(true)
  path = File.dirname(path)
  FileUtils.rmdir(path)
end
  rescue Errno::ENOTEMPTY, Errno::ENOENT, Errno::EINVAL,  
Errno::ENOTDIR

# Stop trying to remove parent directories
  end
end
@queued_for_delete = []
  end

When I compared it to Oldham's code I noticed that mine had this extra:

 begin
while(true)
  path = File.dirname(path)
  FileUtils.rmdir(path)
end
  rescue Errno::ENOTEMPTY, Errno::ENOENT, Errno::EINVAL,  
Errno::ENOTDIR

# Stop trying to remove parent directories
  end

Once I removed it the extension worked without error.

Thanks for your help.


Steven






On Jan 28, 2009, at 1:03 PM, C. R. Oldham wrote:



On Jan 28, 2009, at 11:49 AM, Sean Cribbs wrote:


Sounds like paperclip should use FileUtils.rm_rf instead of rm_dir.


It doesn't, at least if it is the same as the one I have installed.   
Here's the code:


 def flush_deletes #:nodoc:
   logger.info([paperclip] Deleting files for #{name})
   @queued_for_delete.each do |path|
 begin
   logger.info([paperclip] - #{path})
   FileUtils.rm(path) if File.exist?(path)
 rescue Errno::ENOENT = e
   # ignore file-not-found, let everything else pass
 end
   end
   @queued_for_delete = []
 end
   end

File.exist? returns true for files and directories.  But unless I  
have an old version of paperclipped that doesn't call FileUtils.rm,  
the Ruby docs say specifically that FileUtils.rm does not remove  
directories.  And to be really safe, it should use  
FileUtils.remove_entry_secure.


Steven, you might try a quick patch and change FileUtils.rm to  
FileUtils.remove_entry_secure (or FileUtils.rm_rf like Sean suggests  
if you are not terribly worried about security) in vendor/extensions/ 
paperclipped/vendor/plugins/paperclip/lib/paperclip/storage.rb


--cro

___
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] dropdown for archives by month

2009-02-02 Thread Steven Southard
I'm trying to make a dropdown list for archives to sort them out by  
month.  I was wondering if anyone has already done this and maybe  
wouldn't mind sharing the code they used.


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


Re: [Radiant] dropdown for archives by month

2009-02-02 Thread Steven Southard

Oh thanks.  That is a good start!


On Feb 2, 2009, at 1:21 PM, Sean Cribbs wrote:


r:children:each:header should do most of what you need.

Sean

Steven Southard wrote:
I'm trying to make a dropdown list for archives to sort them out by  
month.  I was wondering if anyone has already done this and maybe  
wouldn't mind sharing the code they used.


Steven
___
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] dropdown for archives by month

2009-02-02 Thread Steven Southard
Is there a way to show all the archives of any month without actually  
making a page for it.  I want to link from my dropdown to all the  
articles of a selected month.



On Feb 2, 2009, at 1:21 PM, Sean Cribbs wrote:


r:children:each:header should do most of what you need.

Sean

Steven Southard wrote:
I'm trying to make a dropdown list for archives to sort them out by  
month.  I was wondering if anyone has already done this and maybe  
wouldn't mind sharing the code they used.


Steven
___
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] dropdown for archives by month

2009-02-03 Thread Steven Southard
Thanks Sean and Mohit.  I used Sean's method and it worked out real  
nice.


Steven


On Feb 3, 2009, at 1:32 AM, Mohit Sindhwani wrote:

Could you create an Archive Month Index page and then use  
r:find ... archive page urland render the body of that archive  
page using r:content /into a snippet which is used for creating  
the dropdown?


Cheers,
Mohit.
2/3/2009 | 3:32 PM.


Sean Cribbs wrote:
No, you'll have to create an Archive Month Index page underneath  
your Archive page.


Sean

Steven Southard wrote:
Is there a way to show all the archives of any month without  
actually making a page for it.  I want to link from my dropdown to  
all the articles of a selected month.



On Feb 2, 2009, at 1:21 PM, Sean Cribbs wrote:


r:children:each:header should do most of what you need.

Sean

Steven Southard wrote:
I'm trying to make a dropdown list for archives to sort them out  
by month.  I was wondering if anyone has already done this and  
maybe wouldn't mind sharing the code they used.


Steven
___
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 mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Counting Articles

2009-02-03 Thread Steven Southard
It seems like that should work but it doesn't.  First, best I can  
tell, the archive month index doesn't have a url.  Second even if I  
try to exclude another article's url it doesn't change the count.




On Feb 3, 2009, at 4:34 PM, john muhl wrote:


might try excluding it by url

r:find url=/articlesr:unless_url matches=/articles/archive
r:children:count /
/r:unless_url
/r:find


On Tue, Feb 3, 2009 at 3:03 PM, Steven Southard
ste...@stevensouthard.comwrote:

I was using  r:find url=/articlesr:children:count //r:find  
to keep
track of the number of articles published.  Now I've added an  
archive month
index so my count is off by one.  How do I subtract one or exclude  
the month

index?

Steven
___
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] Counting Articles

2009-02-03 Thread Steven Southard
I was using  r:find url=/articlesr:children:count //r:find to  
keep track of the number of articles published.  Now I've added an  
archive month index so my count is off by one.  How do I subtract one  
or exclude the month index?


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


Re: [Radiant] Counting Articles

2009-02-04 Thread Steven Southard
My version 7rc2 doesn't seem to have this option either.  Adding  
virtual=false has no effect.



Replacing children with Drew's

tag 'children' do |tag|
tag.locals.filter_attributes = tag.attr
tag.locals.options = children_find_options(tag)
tag.locals.children = tag.locals.page.children
tag.locals.children_filtered =  
tag.locals.page.children.find(:all, tag.locals.options.clone)

tag.expand
  end

and

r:children virtual=falser:count//r:children

I end up with undefined local variable or method `tag' for  
#



For my use it would be best if count had the option to exclude virtual  
pages and only include published pages.  I think Drew's method would  
do that.  But there must be more to it then just changing out that  
code and restarting Mongrel.


Steven






On Feb 4, 2009, at 3:21 AM, Andrew Neil wrote:

On Wed, Feb 4, 2009 at 5:07 AM, Sean Cribbs seancri...@gmail.com  
wrote:


r:children:count / should use the default find options for page  
children,
which is to exclude virtual pages.  Just to be sure, add  
virtual=false and

see if you get a different result.



Are you sure? Looking at the code for the r:children:count tag[1], it
doesn't appear that its behaviour is modified by passing any  
attributes.


In my fork of Radiant[2], I have modified the r:children tag so that  
it
accepts the same options as r:children:each/first/last. I overlooked  
the
r:children:count tag, so it still has this bug. However, by breaking  
up the

r:children:count tag as follows:

   r:children virtual=falser:count//r:children

using my version of the r:children tag, this should exclude virtual  
pages,

whereas (I think) the current Radiant would include virtual pages.

Cheers,
Drew

[1]:
http://github.com/radiant/radiant/blob/a9f7925f1ecec9e797db191b3f903b153400ba2c/app/models/standard_tags.rb#L51-53

[2]:
http://github.com/nelstrom/radiant/blob/b096e6f7b054d212725013b41b7c22663e84b843/app/models/standard_tags.rb#L69-75




Sean


Steven Southard wrote:

It seems like that should work but it doesn't.  First, best I can  
tell,
the archive month index doesn't have a url.  Second even if I try  
to exclude

another article's url it doesn't change the count.



On Feb 3, 2009, at 4:34 PM, john muhl wrote:

might try excluding it by url


r:find url=/articlesr:unless_url matches=/articles/archive
r:children:count /
/r:unless_url
/r:find


On Tue, Feb 3, 2009 at 3:03 PM, Steven Southard
ste...@stevensouthard.comwrote:

I was using  r:find url=/articlesr:children:count // 
r:find to

keep
track of the number of articles published.  Now I've added an  
archive

month
index so my count is off by one.  How do I subtract one or  
exclude the

month
index?

Steven
___
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 mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Counting Articles

2009-02-04 Thread Steven Southard
Okay that works great.  It totally cut out the archive month index and  
the draft articles. Thanks for the extra instructions they were helpful.





On Feb 4, 2009, at 5:30 PM, Andrew Neil wrote:


Steven,


Replacing children with Drew's

tag 'children' do |tag|
  tag.locals.filter_attributes = tag.attr
  tag.locals.options = children_find_options(tag)
  tag.locals.children = tag.locals.page.children
  tag.locals.children_filtered =  
tag.locals.page.children.find(:all, tag.locals.options.clone)

  tag.expand
end


Sorry, I should have explained that that was not the only  
modification to the standard_tags file. The method  
filter_attributes is a private method, defined near the bottom of  
the file. (And some of the other children tags have been altered too).


I've just updated my branch[1] to fix the bug in the  
r:children:count tag[2]. Specs are there too, and it seems to work  
fine.


If you want to use this, I suggest you just copy the whole  
standard_tags.rb from my branch into your copy of Radiant.


Cheers,
Drew

[1]: 
http://github.com/nelstrom/radiant/commit/037afe6c162a38a547ff49655e73e4a61c0a8fc2
[2]: 
http://github.com/nelstrom/radiant/blob/037afe6c162a38a547ff49655e73e4a61c0a8fc2/app/models/standard_tags.rb#L80-85





and

r:children virtual=falser:count//r:children

I end up with undefined local variable or method `tag'  
for #



For my use it would be best if count had the option to exclude  
virtual pages and only include published pages.  I think Drew's  
method would do that.  But there must be more to it then just  
changing out that code and restarting Mongrel.


Steven






On Feb 4, 2009, at 3:21 AM, Andrew Neil wrote:

On Wed, Feb 4, 2009 at 5:07 AM, Sean Cribbs seancri...@gmail.com  
wrote:


r:children:count / should use the default find options for page  
children,
which is to exclude virtual pages.  Just to be sure, add  
virtual=false and

see if you get a different result.



Are you sure? Looking at the code for the r:children:count tag[1],  
it
doesn't appear that its behaviour is modified by passing any  
attributes.


In my fork of Radiant[2], I have modified the r:children tag so  
that it
accepts the same options as r:children:each/first/last. I  
overlooked the
r:children:count tag, so it still has this bug. However, by  
breaking up the

r:children:count tag as follows:

 r:children virtual=falser:count//r:children

using my version of the r:children tag, this should exclude  
virtual pages,

whereas (I think) the current Radiant would include virtual pages.

Cheers,
Drew

[1]:
http://github.com/radiant/radiant/blob/a9f7925f1ecec9e797db191b3f903b153400ba2c/app/models/standard_tags.rb#L51-53

[2]:
http://github.com/nelstrom/radiant/blob/b096e6f7b054d212725013b41b7c22663e84b843/app/models/standard_tags.rb#L69-75




Sean


Steven Southard wrote:

It seems like that should work but it doesn't.  First, best I  
can tell,
the archive month index doesn't have a url.  Second even if I  
try to exclude

another article's url it doesn't change the count.



On Feb 3, 2009, at 4:34 PM, john muhl wrote:

might try excluding it by url


r:find url=/articlesr:unless_url matches=/articles/ 
archive

r:children:count /
/r:unless_url
/r:find


On Tue, Feb 3, 2009 at 3:03 PM, Steven Southard
ste...@stevensouthard.comwrote:

I was using  r:find url=/articlesr:children:count // 
r:find to

keep
track of the number of articles published.  Now I've added an  
archive

month
index so my count is off by one.  How do I subtract one or  
exclude the

month
index?

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

Re: [Radiant] Counting Articles

2009-02-04 Thread Steven Southard
Actually replacing the whole file worked great for the counting but  
not so good for the articles.  I get undefined method `merge' for  
nil:NilClass on the month index page.



On Feb 5, 2009, at 12:21 AM, Steven Southard wrote:

Okay that works great.  It totally cut out the archive month index  
and the draft articles. Thanks for the extra instructions they were  
helpful.





On Feb 4, 2009, at 5:30 PM, Andrew Neil wrote:


Steven,


Replacing children with Drew's

tag 'children' do |tag|
 tag.locals.filter_attributes = tag.attr
 tag.locals.options = children_find_options(tag)
 tag.locals.children = tag.locals.page.children
 tag.locals.children_filtered =  
tag.locals.page.children.find(:all, tag.locals.options.clone)

 tag.expand
end


Sorry, I should have explained that that was not the only  
modification to the standard_tags file. The method  
filter_attributes is a private method, defined near the bottom of  
the file. (And some of the other children tags have been altered  
too).


I've just updated my branch[1] to fix the bug in the  
r:children:count tag[2]. Specs are there too, and it seems to work  
fine.


If you want to use this, I suggest you just copy the whole  
standard_tags.rb from my branch into your copy of Radiant.


Cheers,
Drew

[1]: 
http://github.com/nelstrom/radiant/commit/037afe6c162a38a547ff49655e73e4a61c0a8fc2
[2]: 
http://github.com/nelstrom/radiant/blob/037afe6c162a38a547ff49655e73e4a61c0a8fc2/app/models/standard_tags.rb#L80-85





and

r:children virtual=falser:count//r:children

I end up with undefined local variable or method `tag'  
for #



For my use it would be best if count had the option to exclude  
virtual pages and only include published pages.  I think Drew's  
method would do that.  But there must be more to it then just  
changing out that code and restarting Mongrel.


Steven






On Feb 4, 2009, at 3:21 AM, Andrew Neil wrote:

On Wed, Feb 4, 2009 at 5:07 AM, Sean Cribbs  
seancri...@gmail.com wrote:


r:children:count / should use the default find options for  
page children,
which is to exclude virtual pages.  Just to be sure, add  
virtual=false and

see if you get a different result.



Are you sure? Looking at the code for the r:children:count  
tag[1], it
doesn't appear that its behaviour is modified by passing any  
attributes.


In my fork of Radiant[2], I have modified the r:children tag so  
that it
accepts the same options as r:children:each/first/last. I  
overlooked the
r:children:count tag, so it still has this bug. However, by  
breaking up the

r:children:count tag as follows:

r:children virtual=falser:count//r:children

using my version of the r:children tag, this should exclude  
virtual pages,

whereas (I think) the current Radiant would include virtual pages.

Cheers,
Drew

[1]:
http://github.com/radiant/radiant/blob/a9f7925f1ecec9e797db191b3f903b153400ba2c/app/models/standard_tags.rb#L51-53

[2]:
http://github.com/nelstrom/radiant/blob/b096e6f7b054d212725013b41b7c22663e84b843/app/models/standard_tags.rb#L69-75




Sean


Steven Southard wrote:

It seems like that should work but it doesn't.  First, best I  
can tell,
the archive month index doesn't have a url.  Second even if I  
try to exclude

another article's url it doesn't change the count.



On Feb 3, 2009, at 4:34 PM, john muhl wrote:

might try excluding it by url


r:find url=/articlesr:unless_url matches=/articles/ 
archive

r:children:count /
/r:unless_url
/r:find


On Tue, Feb 3, 2009 at 3:03 PM, Steven Southard
ste...@stevensouthard.comwrote:

I was using  r:find url=/articlesr:children:count // 
r:find to

keep
track of the number of articles published.  Now I've added an  
archive

month
index so my count is off by one.  How do I subtract one or  
exclude the

month
index?

Steven
___
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 mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org

[Radiant] tags extension - dropdown

2009-02-09 Thread Steven Southard

Is there any way to break tags up so It can be made into a dropdown?


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


Re: [Radiant] tags extension - dropdown

2009-02-09 Thread Steven Southard
Really? It looks like it would make a nice dropdown of something, yet  
I don't see how that accesses tags at all.




On Feb 9, 2009, at 7:01 PM, N. Turnage wrote:


Steven Southard wrote:

Is there any way to break tags up so It can be made into a dropdown?


I imagine it would be something like this:

r:find url=/something/
select
r:children:each
option value=r:slug /r:title //option
/r:children:each
/select
/r:find



// Nate
___
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] tags extension - dropdown

2009-02-09 Thread Steven Southard
While trying to express what it was I was really after, I came up with  
this and it works fine for what I wanted. Thank you for you assistance.


select
r:all_tags:eachoption value=/tags/?tag=r:name /r:name // 
option/r:all_tags:each

/select

//Steven

On Feb 9, 2009, at 7:17 PM, N. Turnage wrote:


Steven Southard wrote:
Really? It looks like it would make a nice dropdown of something,  
yet I don't see how that accesses tags at all.



r:find url=/something/

This tells radiant to look in the something tree.

select
r:children:each

This sets up a for each loop.

option value=r:slug /r:title //option
This inserts the value of the slug (think something-child-one) as  
the value of the select option with the title (think Something  
Child One) as the visible option.

/r:children:each
/select
/r:find

These of course close those tags.

What exactly are you trying to do with a dropdown list?


// Nate

___
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] tags extension

2009-02-09 Thread Steven Southard
r:all_tags:each  seems to list tags even if they're not currently  
being used.  Is there any way to list only tags that are being used?   
Or is there any way to manage tag or at least remove unused tags?


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


Re: [Radiant] tags extension

2009-02-10 Thread Steven Southard

I'm looking at radius_tags.rb

tag all_tags:each do |tag|
order = tag.attr['order'] || 'name'
limit = tag.attr['limit'] || '5'
result = []
case order
when 'name'
  all_tags = MetaTag.find(:all, :limit = limit)
else
  all_tags = MetaTag.cloud(:limit = limit)
end
all_tags.each do |t|
  tag.locals.meta_tag = t
  result  tag.expand
end
result
  end


And for my use it would be better if it had a conditional statement  
eliminating any tags not used in any of the pages. Does anyone have  
quick idea how to get at that?


Steven





On Feb 9, 2009, at 8:53 PM, Steven Southard wrote:

r:all_tags:each  seems to list tags even if they're not currently  
being used.  Is there any way to list only tags that are being  
used?  Or is there any way to manage tag or at least remove unused  
tags?


//Steven
___
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] comments

2009-02-12 Thread Steven Southard
I tried to change versions of the extensions comments and I had a few  
problems. Just replacing the comments files in vendor/extensions and  
running  rake radiant:extensions:comments:update and rake  
radiant:extensions:comments:migrate kind of left me somewhere between  
the two versions.


Any suggestions to clean this up?

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


Re: [Radiant] comments

2009-02-12 Thread Steven Southard

Okay I found this was answered a month back.  Thanks anyway.

Steven


On Feb 12, 2009, at 2:27 PM, Steven Southard wrote:

I tried to change versions of the extensions comments and I had a  
few problems. Just replacing the comments files in vendor/extensions  
and running  rake radiant:extensions:comments:update and rake  
radiant:extensions:comments:migrate kind of left me somewhere  
between the two versions.


Any suggestions to clean this up?

Steven
___
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] uninitialized constant CommentTags::Locale

2009-02-12 Thread Steven Southard
When I got the new version of comments working I got this error:  
uninitialized constant CommentTags::Locale.   Has anyone else seen  
this or know what causes it?


Steven



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


Re: [Radiant] uninitialized constant CommentTags::Locale

2009-02-12 Thread Steven Southard
Problem solved.  I had used download here http://github.com/jomz/radiant-comments/tree/master 
  and got a version that was six months old.  I used git clone and  
got the current version.



On Feb 12, 2009, at 6:02 PM, Steven Southard wrote:

When I got the new version of comments working I got this error:  
uninitialized constant CommentTags::Locale.   Has anyone else seen  
this or know what causes it?


Steven



___
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] Comments order asc or desc

2009-02-15 Thread Steven Southard
Has anyone added the option to comments:each for order?  I've got  
comments working great so I thought they would also do a fine job of  
testimonials but the order needs to be reversed.  Ordering comments by  
index or date would be very useful.  Can anyone think of a way to do  
this with the available tags or does that option need to be added to  
comment_tags.rb?


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


[Radiant] Comments -- order asc or desc

2009-02-16 Thread Steven Southard
Has anyone added the option to comments:each for order?  I've got  
comments working great so I thought they would also do a fine job of  
testimonials but the order needs to be reversed.  Ordering comments by  
index or date would be very useful.  Can anyone think of a way to do  
this with the available tags or does that option need to be added to  
comment_tags.rb?


Steven


Sorry to repost apparently the first post may have been poorly listed.

 
___

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


[Radiant] database_mailer

2009-02-19 Thread Steven Southard

Just found this extension tried to try it out.  On the install I got
this far:

** Execute radiant:extensions:database_mailer:migrate
== 1 CreateFormDatas: migrating
===
-- create_table(:form_datas)
   - 0.0210s
-- add_index(:form_datas, :url)
   - 0.0084s
== 1 CreateFormDatas: migrated (0.0298s)
==

== 2 AddDataColumns: migrating

rake aborted!
no such file to load -- spreadsheet
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'


Not sure it this is a problem with the extension or the change to 0.7
or maybe something I'm missing.  Anyone else tried this extension?

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


Re: [Radiant] database_mailer

2009-02-19 Thread Steven Southard
Oh that was very helpful.  I didn't know about that gem.  After adding  
spreadsheet and then ruby-ole I tried to install it again.  I got to  
this:


-- add_column(:form_datas, :message, :text)
   - 0.0087s
-- add_index(:form_datas, :message)
rake aborted!
Mysql::Error: BLOB/TEXT column 'message' used in key specification  
without a key length: CREATE  INDEX `index_form_datas_on_message` ON  
`form_datas` (`message`)



Any help on this one?





On Feb 19, 2009, at 8:10 PM, Mohit Sindhwani wrote:


Steven Southard wrote:

Just found this extension tried to try it out.  On the install I got
this far:

** Execute radiant:extensions:database_mailer:migrate
== 1 CreateFormDatas: migrating
===
-- create_table(:form_datas)
  - 0.0210s
-- add_index(:form_datas, :url)
  - 0.0084s
== 1 CreateFormDatas: migrated (0.0298s)
==

== 2 AddDataColumns: migrating

rake aborted!
no such file to load -- spreadsheet
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'

sounds like you need the spreadsheet gem to be installed on your  
system?


Cheers,
Mohit.
2/20/2009 | 10:10 AM.

___
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] database_mailer

2009-02-19 Thread Steven Southard
I re-ran the migration and it seemed to work okay.  Thanks for your  
help.



Steven



On Feb 19, 2009, at 10:02 PM, Steven Southard wrote:

Oh that was very helpful.  I didn't know about that gem.  After  
adding spreadsheet and then ruby-ole I tried to install it again.  I  
got to this:


-- add_column(:form_datas, :message, :text)
  - 0.0087s
-- add_index(:form_datas, :message)
rake aborted!
Mysql::Error: BLOB/TEXT column 'message' used in key specification  
without a key length: CREATE  INDEX `index_form_datas_on_message` ON  
`form_datas` (`message`)



Any help on this one?





On Feb 19, 2009, at 8:10 PM, Mohit Sindhwani wrote:


Steven Southard wrote:

Just found this extension tried to try it out.  On the install I got
this far:

** Execute radiant:extensions:database_mailer:migrate
== 1 CreateFormDatas: migrating
===
-- create_table(:form_datas)
 - 0.0210s
-- add_index(:form_datas, :url)
 - 0.0084s
== 1 CreateFormDatas: migrated (0.0298s)
==

== 2 AddDataColumns: migrating

rake aborted!
no such file to load -- spreadsheet
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'

sounds like you need the spreadsheet gem to be installed on your  
system?


Cheers,
Mohit.
2/20/2009 | 10:10 AM.

___
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] Radiant-Comments

2009-02-23 Thread Steven Southard

If you have comments/app/view/admin/page change it to pages.



Steven



On Feb 23, 2009, at 10:18 PM, Elle Meredith wrote:


Hi again,

I followed suggestions on http://wiki.radiantcms.org/Using_Radiant_as_a_Blog 
.

I installed the radiant comments extension -- then ran:
rake production radiant:extensions:comments:migrate

When I start the server and go to /admin/pages I get errors at the  
top saying:

`index_head_view_comments' default partial not found!

Looking at vendor/extensions/comments/app/views/admin/page I can  
find the partial _index_head_view_comments.rhtml


So, I'm not sure what the problem is. Would anyone have any  
suggestions?


Thanks,
Elle

___
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] Comments Extension

2009-03-01 Thread Steven Southard
What did happen when you submitted the comment?  Did you get an error?  
Typical, it will show your comment and say that it's awaiting  
approval.  In the comments tab in the admin you can then see and  
approve the comment.  In your case it's a little unclear what you did  
or what results you got.




On Mar 2, 2009, at 12:09 AM, Bryce Klimoski wrote:


I'm new to Radiant andlike what I see however I'm struggling with
getting the comments extension working.  First things first here are
some version info.

Radian 0.7.1
Comments Extenstion URL - git://github.com/artofmission/radiant- 
comments.git

fastercsv 1.4.0
mislav-will_paginate 2.3.7

Getting all that installed was a piece of cake, however I ran into the
following problem(s).

1. When on the Pages tab of the Admin tool I got an error indicating
it could not find some partials.  Further investigation lead me to
realizing I had to rename the directory
vendor/extensions/comments/app/views/admin/page to
vendor/extensions/comments/app/views/admin/pages.  After that no more
problems in the admin tool.

2. My next problem is where I'm stuck.  I enable comments on a test
page, filled out the form, and then clicked on save.  Which came up
with a 404 error for /comments.  So I created that page and repeated
my test.  Page came up fine, however the comment did not save in the
database.  What am I missing here?  Is there a tag I need to add the
/comments page for it to save them?

Thanks,
Bryce
___
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] Speed of Radiant on Dreamhost: Follow up

2009-03-03 Thread Steven Southard
I've had good luck with Joyent.  I've found there servers snappy.   
It's also cheap enough and I haven't had any problems running rails  
apps there.


-- Steven




On Mar 3, 2009, at 6:43 PM, MtnBiker wrote:



Dreamhost responded that they had had problems, but thought they'd  
fixed

them.

50 seconds to load my site. And I had to refile my support request.  
I didn't

see any reply or follow-up.

Time to move on.  I'll be looking at recommendations for a good Rail  
host.

This will be for a very low hits personal sites.
--
View this message in context: 
http://www.nabble.com/Speed-of-Radiant-on-Dreamhost-tp6729p22321355.html
Sent from the Radiant - User (New) mailing list archive at Nabble.com.

___
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] routing and comments

2009-03-09 Thread Steven Southard


On Mar 9, 2009, at 8:24 AM, Sean Cribbs wrote:

Comments are displayed on individual pages but I wanted to check if  
there is a way to display recent comments in general (not just the  
comments that belong to that page)?



This sounds pretty useful.  When you figure it out please post back  
how you did it.  Also it seems a lot like how comments are handled in  
the admin section. 
 
___

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


Re: [Radiant] r:author / + Avatar

2009-03-11 Thread Steven Southard

That looks like exactly what I needed.  Thanks.


On Mar 11, 2009, at 1:03 PM, Sean Cribbs wrote:

Crib from saturnflyer's blog extension - I added gravatar tags to  
that, it's pretty simple.  Based on the blade mockups, we'll likely  
have gravatar support built-in to a later version.


Sean

Steven Southard wrote:
Is there a good way to include an image with the author?  I like  
the author tag and I was just thinking it would be nice to also  
have a small avatar included as well.  Sounds easy enough but I  
can't think of a good way to get it done.



Steven


___
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] Mixing Rails and Radiant

2009-04-02 Thread Steven Southard
It's a pretty common rub.  If you use your talented group of rails  
developers to make extensions for Radiant it will be great to see them  
on github.  Good luck with your projects.



Steven





On Apr 2, 2009, at 10:57 AM, Tony Davis wrote:


I believe this is the post that Sean was referring to:


http://lists.radiantcms.org/pipermail/radiant/2009-March/012583.html


Unfortunately it does not help me out too much. In all my rails  
projects, I
need to have a CMS component. Having Radiant (which I really like  
and use

standalone) as a drop in component for any rails app would be killer.


I have a number of experienced rails developers who work with me and  
I would

be happy for our group to be part of a project to implement this.


On Thu, Apr 2, 2009 at 1:34 AM, Shakthi Kannan  
shakthim...@gmail.comwrote:



Hi,

--- On Tue, Mar 31, 2009 at 3:11 AM, Sean Cribbs seancri...@gmail.com 


wrote:
| Yes, I answered that question a few weeks ago.  You can search the
mailing
| list archives at http://radiantcms.org/mailing-list/ .  If you  
don't

find
| the answer, please search http://groups.google.com/group/radiantcms-dev 
.

\--

Could you please provide the exact URL post? I was unable to find  
the same.


Thanks!

SK

--
Shakthi Kannan
http://www.shakthimaan.com
___
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] copying gems

2009-04-03 Thread Steven Southard

I did some copying and pasting of gems and now I get this warning:

config.gem: Unpacked gem fastercsv-1.2.3 in vendor/gems has no  
specification file. Run 'rake gems:refresh_specs' to fix this.


I try running rake production gems:refresh_specs but it does nothing.

Maybe there is just another file I can manually copy over but not sure  
which it is.


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


[Radiant] tags extension

2009-04-06 Thread Steven Southard

Has anyone else installed Radiant 7.1 and the tags and seen:

NoMethodError in Admin/pages#edit

Showing vendor/extensions/tags/app/views/admin/pages/ 
_tag_field.html.erb where line #3 raised:


undefined method `quoted_table_name' for false:FalseClass

Extracted source (around line #3):

1: tr
2:   td class=labellabel for=page_tagsTags/label/td
3:   td class=fieldinput class=textbox id=page_tags  
name=page[meta_tags] size=160 type=text value=%=  
@page.tag_list % //td

4: /tr

Trace of template inclusion: app/views/admin/pages/_fields.html.haml,  
app/views/admin/pages/edit.html.haml

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


Re: [Radiant] Volunteers Needed! Radiant Wiki Migration

2009-04-07 Thread Steven Southard
The images look like they can stay were they are for now.  Is a txt  
file named with the page title containing the page content okay?  I  
don't see the author and date info, do we need that?  If it's okay  
I'll make a file for any page that has content under http://wiki.radiantcms.org/all/list 
.


Steven





On Apr 7, 2009, at 12:47 PM, Vassilis Rizopoulos wrote:


John W. Long wrote:

On Apr 7, 2009, at 1:21 PM, Steven Southard wrote:
I'm happy to help.  I'll do the first part or the second.  It only  
looks like about 50 pages.  Let me know which you want from me.


Awesome Steven. Why don't you start on the first part.

I took a quick look at the site and there's a couple of this that  
might help expedite the situation:


The root of the wiki is the 'Documentation' page. I guess orphan  
pages will be handled by the GitHub wiki so you can safely ignore  
those.
But there are a few pages that can be ignored from the beginning  
(like the Welcome to Junebug page). Actually this should be easy,  
the welcome page has no edit link.
Some pages (like admin and dbPrueba - spanish speaking devs I  
see :) ) don't have any content. You might want to filter them out  
as well.
I think the trickiest part will be the images and how to map the  
links from one site to the other (see simple_password page).
Some pages are marked as obsolete in the title. I don't know if you  
might want to do some cleanup on that as well.
Now, what  we did when moving the ruby-lang content was dump the old  
content as a Hash (i.e. {:title,:date,:author,:content} ) with yaml  
and then pump it back into radiant. That should make a nice simple  
handover format for the second stage.
Hmmm, I won't deprive you of the pleasure in doing this Steven,  
although my hands have started itching already :)

Cheers,
V.-

--
http://www.braveworld.net/riva

___
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] tags extension

2009-04-07 Thread Steven Southard
I've done this twice now on two different servers.  If I use git clone  
to build my radiant project and try to start it up with the tags  
extension it has this problem.  If I use the radiant gem to build my  
project it seems to work fine.  The problem is solved for me but I  
can't help and wonder what the problem is.  Using git clone to build  
the radiant project seems like a great way to build it.  Did I over  
look something?  Did I do something wrong?  Are the files somehow  
different?


Steven






On Apr 6, 2009, at 2:58 PM, Steven Southard wrote:


Has anyone else installed Radiant 7.1 and the tags and seen:

NoMethodError in Admin/pages#edit

Showing vendor/extensions/tags/app/views/admin/pages/ 
_tag_field.html.erb where line #3 raised:


undefined method `quoted_table_name' for false:FalseClass

Extracted source (around line #3):

1: tr
2:   td class=labellabel for=page_tagsTags/label/td
3:   td class=fieldinput class=textbox id=page_tags  
name=page[meta_tags] size=160 type=text value=%=  
@page.tag_list % //td

4: /tr

Trace of template inclusion: app/views/admin/pages/ 
_fields.html.haml, app/views/admin/pages/edit.html.haml

___
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] Volunteers Needed! Radiant Wiki Migration

2009-04-07 Thread Steven Southard

Here are the files for part 1:

http://stevensouthard.com/radiantwiki.zip


On Apr 7, 2009, at 2:24 PM, John W. Long wrote:


On Apr 7, 2009, at 2:24 PM, Steven Southard wrote:

The images look like they can stay were they are for now.


Agreed. I believe they are all hosted on other servers.

Is a txt file named with the page title containing the page content  
okay?  I don't see the author and date info, do we need that?  If  
it's okay I'll make a file for any page that has content under http://wiki.radiantcms.org/all/list 
.


I think that'd be fine for now. Maybe look through the generated  
pages before moving on to step 2 and remove any that are bogus.


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


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


Re: [Radiant] cross-linked page associations

2009-04-14 Thread Steven Southard
Maybe r:tags_list / with a slight change in radius_tags.rb would  
link straight to the pages but putting it on different parts of the  
page is a little more complicated.  I hear you on the consistent  
spelling and syntax.  My browser will actually suggest names I've used  
before but still I relate to the issue.  I look forward to hearing  
your solutions.


Steven




On Apr 13, 2009, at 6:38 PM, Erik Ostrom wrote:

Hm, I hadn't thought about that.  I can see how tags might get me  
partway
there: tag all organic coffees with organic, all honey-pulped  
coffees with
honey-pulped, etc.  Some gaps I think I'd have to fill (I haven't  
used the

tags extension, so I could be wrong):

  - A way to separate tags into categories.  Hermosa Reserva is a
  shade-grown, single-estate, relationship coffee; it's processed  
by washing
  the beans; and it's characterized by the bourbon varietal. Tags  
will let me
  say it's bourbon relationship shade-grown single-estate washed -  
but these

  tags are about different aspects of the coffee, and we want them on
  different parts of the page.  Something like r:tags  
group=processing/,

  maybe.
  - Tags as content in their own right. We have a page that explains  
what

  washed coffee is.  To make coffees tagged as washed link to it
  automatically, I think I'd need to do something like

r:tags:each group=processing
r:find url=/processing/r:tag:slug/
r:link /
/r:find
/r:tags:each

... which can't be done in Radius.  Or, I suppose, manually do 'if  
washed
then link to washed', etc., but that kind of defeats the purpose.   
Maybe I'm

too much of a programmer.

  - A way to select tags from a list.  If it were me building the  
site, I'd
  be happy to type in tags all day long; but my client would be the  
first to
  tell you, we don't want the functioning of the site to depend on  
him typing

  things in with consistent spelling and syntax.

... all of which could be solved by building my extension on top of  
the tags
extension.  But I think all these missing features indicate a  
mismatch:
Tagging is really about unstructured, or at least loosely  
structured, data;
what I'm looking for is a way to create structured data from the  
content

side.  Interesting.

Glad you enjoyed the site.  I'm not responsible for the design and  
writing -
I'm the make-it-work guy - but yeah, one of the goals was to make it  
not
look like it was built on a template we got somewhere.  (And it  
wasn't.)


Thanks for the ideas
--Erik

On Sat, Apr 11, 2009 at 1:50 PM, Steven Southard
ste...@stevensouthard.comwrote:

Have you looked at tags? I think a clever use of tags might get you  
where
you are wanting to go. By the way, very interesting website.  Not  
sure I
understand its navigation very well but who cares about that.  I  
like the
writing, the art, and that it doesn't look like a template.  Good  
work, I

think I'm gonna have start some coffee now.


Steven



On Apr 11, 2009, at 2:46 PM, Erik Ostrom wrote:

I've noticed a lot of my custom coding with Radiant is about defining

relationships between pages that cut across the tree structure.  For
example, on http://barefootcoffee.com/, a coffee has one or more
varietals.

From a coffee page, you can go to any of its varietals, and from  
the


varietal page, to other coffees that have the same varietal.  When  
they

add
or remove a coffee from the site, the associated varietal pages are
updated
automatically.

Likewise, each coffee has several marks (organic, fair trade,  
etc.), and
one processing method.  To implement these, I've created a bunch  
of page

types that don't have anything to them besides a class name and an
association, and some admin page fragments that the customer uses  
to say

which coffees have which varietals, etc.

I've been thinking about creating a generic extension to manage  
these
associations.  Roughly speaking, customers could define their own  
page

types
from the admin UI, and which page types can be associated with  
each other.

(I don't know yet whether I'd actually try to generate distinct page
classes
and ActiveRecord associations, or just a new page attribute and  
one big

join
table.)  And the extension would automatically generate select  
boxes as

needed for the page admin UI.

Does this sound like a good idea to anyone else?  Or a bad one?   
(Is there

a
simpler way that I've been missing?)  And before I get started...  
has

anyone
implemented it already?

--Erik Ostrom
e...@echographia.com
___
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: [Radiant] WymEditor on Radiant

2009-04-14 Thread Steven Southard

I just installed this extension on 7.1.  It works fine.

Then I'm looking at it in use and I can't understand why this is a  
helpful extension.  Is this extension meant to make something easier  
to write? Like perfectly structured xhtml? Maybe it's just me, I think  
humanly written xhtml is more beautiful and meaningful.


This kind of separation from the words in the code is kind of odd to  
me.  Seeing and reading the code connects a user to the meaning in the  
words.  I prefer the style of the textile or markdown filters.


I think textile is really fun and clever to read and write.  It's  a  
graceful start into code and integrates nicely with radiant tags and  
html.


If I was wanting to add some helpful buttons with attractive icons  
like you see in nice editors,  I'd install textile_editor.  It's much  
more helpful and it's a great assistant because it shows you what it  
writes and then you can edit it if it isn't exactly what you meant.


For adding images textile_editor doesn't even need to connect up with  
paperclipped because paperclipped works great on its own. If you  
happen to be using attachments the add image button works really well.


If you want to see what you have written looks like; well, what I do  
is just look at it in the browser.  On some sites, it's important to  
work in discreetly so when that is the case I'll work it out locally  
then copy and past the changes.  You could also make a dev page  
somewhere not connected to the rest of the site and work it out there.


I'm glad to have you with us Alexis.  I hope your site goes well.


Steven




On Apr 14, 2009, at 12:31 PM, Michael Kessler wrote:


Alexis,

I have the radiant-wym-editor-filter-extension working on several  
sites. What version of Radiant are you using? Did you notice that  
there is a branch pre_0.7 for Radiant versions prior 0.7, while the  
master branch is for the latest Radiant 0.7.x.?


The extension doesn't need any db migration, but the images and  
javascript files have to be copied to the Radiant projects public  
folder with the rake task radiant:extensions:wym_editor_filter:install


After that the Wym editor filter should be available...

Michael


On 14 Apr 2009, at 7:05 PM, Alexis Masters wrote:

Hello! I am enjoying getting to know Radiant, and have been  
searching and reading the archives as well as reading the digests  
when they arrive. Thank you all for all you have done to make this  
CMS so functional.


I came upon a wonderful XML editor that apparently has been used  
successfully on Radiant, but I am having trouble getting it to  
work, and my tech support folks have not been able to install it  
either. We managed to get the Wymeditor filter installed correctly  
but the editor itself never showed up in the admin edit pages.


Does anyone have this running on their Radiant sites, and if so,  
can you kindly share any tips you might have about installing it--- 
or better yet, may I hire you to install it for me?

~ Alexis
=
Alexis Masters, author
http://www.alexismasters.com
510 234-0027



___
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] WymEditor on Radiant

2009-04-14 Thread Steven Southard

Did you miss:

rake radiant:extensions:wym_editor_filter:install




On Apr 14, 2009, at 2:36 PM, Bjorn Michelsen wrote:

Excerpts from Alexis Masters's message of ti. april 14 19:05:19  
+0200 2009:



I came upon a wonderful XML editor that apparently has been used
successfully on Radiant, but I am having trouble getting it to work,
and my tech support folks have not been able to install it either. We
managed to get the Wymeditor filter installed correctly but the  
editor

itself never showed up in the admin edit pages.


Here's what I did:

Create a radiant (0.7.1) project with sqlite3 (since it's just for
testing locally)

   radiant -d sqlite3 mysite

Change into the radiant project directory

   cd mysite

Run the database bootstrap rake task

   rake production db:bootstrap

Grab the Wymeditor filter

   git clone git://github.com/netzpirat/radiant-wym-editor-filter- 
extension.git vendor/extensions/wym_editor_filter


Then run the rake command to update files in the site/public folder

   rake radiant:extensions:wym_editor_filter:update

Start the server

   script/server -e production

Head over to the admin area, and log in

   http://localhost:3000/admin

Create a new page, and select the WymEditor next to the filter drop- 
down

menu

   http://www.bjornmichelsen.com/radiant_wymeditor_filter.png
--
Mvh.
Bjørn Michelsen
MOB: +47 934 55 474
___
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] page attachments

2009-04-16 Thread Steven Southard

Why doesn't page attachments show up in snippets?


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


[Radiant] filters on layouts

2009-04-16 Thread Steven Southard

Why aren't filters available on layouts?


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


Re: [Radiant] page attachments

2009-04-16 Thread Steven Southard

inherited from parent pages

Yeah that makes perfect sense and I'm glad I understand it now.

That's useful information.  Anyone using textile editor?  It's pretty  
cool but I was thinking the add image could use a little souping up.   
It'd be nice if when you selected attachments it'd show all the  
attachments that it inherits.  Does that sound useful to anyone else?   
I keep going back and forth in which is better attachments or  
paperclipped they both are very useable and surprisingly different.




Steven


On Apr 16, 2009, at 5:40 PM, Andrew Neil wrote:


Steven,

Attachments can be inherited from parent pages. So if you attach an  
image to your Home page, then it will be available to all pages,  
layouts and snippets.


Page attachments is a bit fussy: when you ask for a file that  
doesn't belong to the current page (or its ancestors) it raises an  
exception. It could be dangerous if you were to call r:attachment  
name=image.jpg/ in a snippet or layout. If that snippet/layout  
was called from a page which didn't have image.jpg attached, and  
nor did any of its ancestors, then an exception would be raised, and  
the page would not render. However, if you attached a image.jpg  
file to the home page, then it would be available to every page in  
the site, and the problem above would be avoided.


Of course, you could attach an image.jpg file to any section. Then  
that section, and all its ancestors would use that file instead of  
the one attached to the home page.


Does that make sense? The inheritance mechanism means that you can  
treat page attachments in a similar fashion to page parts. When you  
look at it that way, it should no longer seem necessary to be able  
to attach files to snippets and layouts.


Cheers,
Drew


On 16 Apr 2009, at 21:50, Steven Southard wrote:

You mean because the name is page attachments?  I think it'd be  
convenient to locate attachments in snippets too.  Snippets need  
images just as much at pages.  If a snippet had images maybe pages  
wouldn't need quite as many.  I guess, next your going to tell me  
layouts don't need attachments either.  Sure would be convenient.


Steven


On Apr 16, 2009, at 1:45 PM, Mohit Sindhwani wrote:


Steven Southard wrote:

Why doesn't page attachments show up in snippets?


Because it attaches to a Page?

Cheers,
Mohit.
4/17/2009 | 2:45 AM.

___
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] Comment pending twice

2009-04-27 Thread Steven Southard
Thanks Jim.  I don't think that is it.  I've looked through the  
snippets and the layout that is calling them very carefully .  Not  
sure if I understand r:content_html / or r:if_selected so I can't  
fully say for sure.  Surely something is being called twice when it  
has a comment pending, but from where?  By the way, the comments other  
then the pending one are singular as is the form.


This could be because I first installed an older version that didn't  
work and then I reinstalled the newest version that is working great  
other then the two pending comments.



Steven

On Apr 27, 2009, at 1:34 PM, Jim Gay wrote:



On Apr 27, 2009, at 12:17 PM, Steven Southard wrote:

After making a comment I see the thank you message twice along  
with the comment, date and author.  Once it is approved I only see  
it once.  Anyone have an idea where to look to get this sorted out.


Is it possible you're including some snippet twice?

Andrew Neil created a nice rake task to look into the usage of  
snippets and layouts:


http://www.nabble.com/Rake-census:layouts-td19942682.html
http://pastie.org/375967


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


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


Re: [Radiant] My first (very small) Radiant extension for keyboard shortcuts

2009-05-24 Thread Steven Southard

That works great.  Thank you.

Steven

On May 24, 2009, at 11:14 PM, Steven Southard wrote:

I've been think that Radiant needed this too.  I'm going to try it  
out right away.



Steven




On May 24, 2009, at 11:15 AM, Joel Oliveira wrote:


Everyone -
Thought I would share with the list something I whipped up over the  
last

couple of days to scratch an itch I had while using Radiant.

While doing a lot of editing in the various textareas across the  
admin I

found myself getting a little annoyed from tabbing, or scrolling and
mouse-clicking the save or save  continue buttons.  When you're so  
used to
hitting Ctrl-s so regularly, the workflow inside of Radiant makes  
it more

apparent.

So I put together my first extension to try and remedy this,  
kb_shortcuts -

http://github.com/jayroh/radiant-kb_shortcuts-extension

Right now there are only 4 shortcuts - Save (ctrl+shift+s), Save and
Continue (ctrl+shift+c), view filters (ctrl+shift+f)
and view available tags (ctrl+shift+t)

Take a look and let me know if there's anything that could/should  
be added.



Thanks!

- Joel
___
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] My first (very small) Radiant extension for keyboard shortcuts

2009-05-24 Thread Steven Southard
Sorry to go on like this.  On pages it works great.  On other pages  
like snippets and layouts it doesn't seem to do much.


Steven


On May 24, 2009, at 11:30 PM, Steven Southard wrote:


That works great.  Thank you.

Steven

On May 24, 2009, at 11:14 PM, Steven Southard wrote:

I've been think that Radiant needed this too.  I'm going to try it  
out right away.



Steven




On May 24, 2009, at 11:15 AM, Joel Oliveira wrote:


Everyone -
Thought I would share with the list something I whipped up over  
the last

couple of days to scratch an itch I had while using Radiant.

While doing a lot of editing in the various textareas across the  
admin I

found myself getting a little annoyed from tabbing, or scrolling and
mouse-clicking the save or save  continue buttons.  When you're  
so used to
hitting Ctrl-s so regularly, the workflow inside of Radiant  
makes it more

apparent.

So I put together my first extension to try and remedy this,  
kb_shortcuts -

http://github.com/jayroh/radiant-kb_shortcuts-extension

Right now there are only 4 shortcuts - Save (ctrl+shift+s), Save and
Continue (ctrl+shift+c), view filters (ctrl+shift+f)
and view available tags (ctrl+shift+t)

Take a look and let me know if there's anything that could/should  
be added.



Thanks!

- Joel
___
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] Paperclipped extension and new pages

2009-05-29 Thread Steven Southard
I think it's just the way it works.  If the page doesn't exist yet it  
could be problematic to associate an asset with it.  Save and  
continue and assets are fully functional.



Steven



On May 29, 2009, at 7:08 PM, David Cato wrote:


The paperclipped extension works great when editing an existing page,
but it's inactive on new pages. The Show Assets Bucket link doesn't
appear on a new page, only an existing page. This happens with both
Radiant 0.7.1 with paperclipped/master and Radiant 0.8RC1 with
paperclipped/0.8.0.

I even set up a clean Radiant installation with paperclipped as the  
only

extension and it still isn't accessible on new pages, so the problem
isn't related to conflicts with other extensions.

Is paperclipped supposed to be accessible on new pages? I didn't see
anything in the documentation to indicate that it isn't, but I might
have overlooked something.

--
David Cato
o...@crunchyfrog.net

___
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] Tag syntax (conditional tags)

2009-05-30 Thread Steven Southard
I was looking at the aggregation extension and thinking someone should  
add this patch, maybe me, and I found this fork which sounds like it  
should work:


http://github.com/turingmachine/radiant-aggregation-extension/commit/66f7e5205eeb0620ce12e8911d24891c176a159f

When I tried it out r:unless_last  still didn't work.

childrens as tag.locals.children:
Expose childrens to tag.locals in aggregate:children:each in
order to access them with the conditional tags extension.

Sounds like it should do just what I need, so what am I missing?  Does  
this work with a different type of conditional tags and  
r:unless_last isn't included?


Adding patches to other peoples extensions is murky territory for me  
so any guidance would be greatly appreciated.


Steven




On Apr 21, 2009, at 1:25 PM, Sean Cribbs wrote:

It probably won't because r:aggregate has its own version of  
r:children:each.  A patch to bring it in line would be greatly  
appreciated.


Sean

Steven Southard wrote:

Will this tag work with under aggregate?

r:aggregate r:children:each r:unless_last 

I noticed it worked great under children but when I tried it under  
aggergate, not so good.  Is there something I would have to change  
about aggregate to make it work like that?


Steven





On Apr 21, 2009, at 10:15 AM, Sean Cribbs wrote:

Rick DeNatale added that at our January hack night, and it debuted  
in 0.7.0.


Sean

Jim Gay wrote:
There is an Available Tags reference on every page edit screen  
where you can search for unless_last


I don't recall this being added recently, but I've got it in a  
local 0.7.1 site.


On Apr 21, 2009, at 10:29 AM, nicolas couturier wrote:


I used this syntax:
r:parent
ul class=sousmenu2 id=r:slug/
 r:children:each
   r:unless_last 
li
  r:link r:if_self class=current /r:if_self /
/li
   /r:unless_last
   r:if_last 
 li  style=padding-bottom:0;
 r:link r:if_self class=current /r:if_self /
   /li
   /r:if_last 
 /r:children:each
/ul
/r:parent

a bit spread out to try to understand.
And got this :

undefined tag `unless_last'

*i'm working wih version 0.6.9 (gem).
Is there a typo or this tag is undefined.
Thx for any help,
Nicolas.

*



2009/4/20 nicolas couturier n.coutur...@gmail.com


Thx that did the trick.
have a good day, Nicolas.

2009/4/20 Jim Gay j...@saturnflyer.com



On Apr 20, 2009, at 3:15 PM, nicolas couturier wrote:

Hi,

got this error message :
* end tag not found for start tag `'*

using version 0.6.9 (gem).
The problem seems at first to be in this snippet :

r:if_url matches=^/$ /
ul id=nav
 r:children:each/
   li class=r:slug/ id=
 r:link/r:title//r:link
 ul class=r:slug/
   r:children:each/



You made that one self closing. The previous line should be
r:children:each (no slash)

 r:link/r:title//r:link

   /r:children:each
 /ul
   /li
 /r:children:each
/ul
/r:if_url



Also, you can just do r:link /. It uses the title as the  
default text.




Is there something i've done wrong ?
Thx for any help.

Nicolas.
___
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 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] redirecting-fnf-page-extension

2009-06-02 Thread Steven Southard
This seems like a very useful extension but the instructions on how to  
use it are sparse.  The fnf page type shows up and it seems to take  
over for any page not found but what do I do with it more than that.


My goal would be to throw a 301 error for moved pages and redirect to  
the new location.  Does anyone have any hints on how to get the most  
out of this extension?



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


[Radiant] unique id

2009-06-03 Thread Steven Southard
Is there a tag to access an unique id for a user?  I'm kind of hoping  
for a string of numbers I can send to an external shopping cart to  
identify this session or user.



Steven


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


[Radiant] shopping-trike or simple product manager

2009-06-04 Thread Steven Southard
These extensions seem to be related and both fail in the same way.   
Click on products and I get: 500 Internal Server Error.  Is this a  
problem with the extension not being updated to run on 7.1 or am I  
missing something about the install process?  They both seem really  
cool and I'd really like to try them out.  Does anyone have any tips  
on how to get these extensions up and going? Thanks in advance,



Steven


/!\ FAILSAFE /!\  Thu Jun 04 09:29:30 -0500 2009
  Status: 500 Internal Server Error
  wrong argument type nil (expected Module)
/usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/ 
actionpack/lib/action_controller/base.rb:1130:in `extend'
/usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/ 
actionpack/lib/action_controller/base.rb:1130:in  
`initialize_template_class'
/usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/ 
actionpack/lib/action_controller/base.rb:522:in  
`process_without_filters'
/usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/ 
actionpack/lib/action_controller/filters.rb:568:in  
`process_without_session_management_support'
/usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/ 
actionpack/lib/action_controller/session_management.rb:130:in  
`sass_old_process'
/usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/plugins/ 
haml/lib/sass/plugin/rails.rb:19:in `process'
/usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/ 
actionpack/lib/action_controller/base.rb:389:in `process'
/usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/ 
actionpack/lib/action_controller/dispatcher.rb:149:in `handle_request'
/usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/ 
actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch'
/usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/ 
actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize'
/usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/ 
actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch'
/usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/ 
actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
 
___

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


[Radiant] relaunching a new site for myself on radiant

2009-06-10 Thread Steven Southard
All of the new work on Radiant making blogging a snap has inspired me  
to rebuild my website.


http://www.stevensouthard.com

The add on extensions I used are:

Aggregation
Blog
Blog Tags (not currently in use but I'm thinking about what to do with  
it)

Comments
Copy Move
Drag Order
Edit Publish Date
Kb Shortcuts
Mailer
Paperclipped
Ray
Redcloth 4 (not sure if I noticed much difference)
Settings
Styles 'n Scripts
Tags (also not in use but I think I'll take advantage of its  
possibilities)

Vapor


Thank you to everyone that has done so much work on Radiant and made  
all of these very useful extensions.  I hope you like what I've been  
able to do based on your great efforts.


Special thanks to Sean Cribbs, Mohit Sindhwani, Jim Gay for helping me  
by answering questions on the mailing list.  Also I couldn't even  
begin to thank all the people who helped me by asking their own  
questions and getting answers or leaving key bits of information in  
the github Radiant wiki.


I really appreciate being part of the Radiant community.  I could go  
on for days on how much I like Radiant and why it is the best system  
on the web for making websites.  I hope you enjoy my site and find  
reason to come back.  Please leave comments if there is something that  
interests you.


All my best,

Steven



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


[Radiant] Back Door conditionals iffy?

2009-06-12 Thread Steven Southard
Not sure if this a problem with browsers in general or Back Door but  
the following code only works maybe 80% of the time.  It always give  
an answer and never gives both. It will sometimes say, is IE on  
other browsers and sometime say not IE on an ie browser.  Using if  
and else has the same results.  Any suggestions?


r:if cond=request.env['HTTP_USER_AGENT'] =~ /MSIE/
is IE
/r:if

r:unless cond=request.env['HTTP_USER_AGENT'] =~ /MSIE/
not IE
/r:unless



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


Re: [Radiant] Back Door conditionals iffy?

2009-06-13 Thread Steven Southard
I was noticing further that when a page was reading as IE it would be  
IE no mater what browser I tried and if it wasn't reading like IE then  
the same was true.  Could this have to do with Radiant's cache system?



On Jun 12, 2009, at 7:19 PM, Steven Southard wrote:

Not sure if this a problem with browsers in general or Back Door but  
the following code only works maybe 80% of the time.  It always give  
an answer and never gives both. It will sometimes say, is IE on  
other browsers and sometime say not IE on an ie browser.  Using if  
and else has the same results.  Any suggestions?


r:if cond=request.env['HTTP_USER_AGENT'] =~ /MSIE/
is IE
/r:if

r:unless cond=request.env['HTTP_USER_AGENT'] =~ /MSIE/
not IE
/r:unless



Steven
___
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] Back Door conditionals iffy?

2009-06-13 Thread Steven Southard
Sure seem to be, which makes me wonder how this example shown at http://backdoor.rubyforge.org/ 
 could ever be reliable.

r:if cond=request.env[ 'HTTP_USER_AGENT'] =~ /MSIE/
!-- Internet Explorer needs some ugly hacks to render PNG images  
with transparency --
div id=logo  
style=filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src= 
\'/images/logo.png\',sizingMethod=\'scale\');/div

r:else
  !-- the rest of browsers just make it rigth --
  img src=/images/logo.png id=logo alt=Logo/
/r:else
  /r:if
On Jun 12, 2009, at 7:19 PM, Steven Southard wrote:

Not sure if this a problem with browsers in general or Back Door but  
the following code only works maybe 80% of the time.  It always give  
an answer and never gives both. It will sometimes say, is IE on  
other browsers and sometime say not IE on an ie browser.  Using if  
and else has the same results.  Any suggestions?


r:if cond=request.env['HTTP_USER_AGENT'] =~ /MSIE/
is IE
/r:if

r:unless cond=request.env['HTTP_USER_AGENT'] =~ /MSIE/
not IE
/r:unless



Steven
___
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] Back Door conditionals iffy?

2009-06-13 Thread Steven Southard
Of course, that is much better.  I sure like the idea of Back Door  
but giving up caching seems a high cost.



On Jun 13, 2009, at 5:05 AM, Jim Gay wrote:

It would appear that caching is not a good idea with that  
extension. I think you would be better served using Microsoft's  
conditional comments.



Jim

On Jun 13, 2009, at 2:26, Steven Southard  
ste...@stevensouthard.com wrote:


Sure seem to be, which makes me wonder how this example shown at  
http://backdoor.rubyforge.org/ could ever be reliable.

r:if cond=request.env[ 'HTTP_USER_AGENT'] =~ /MSIE/
   !-- Internet Explorer needs some ugly hacks to render PNG  
images with transparency --
   div id=logo  
style=filter:progid:DXImageTransform.Microsoft.AlphaImageLoader 
(src=\'/images/logo.png\',sizingMethod=\'scale\');/div

   r:else
 !-- the rest of browsers just make it rigth --
 img src=/images/logo.png id=logo alt=Logo/
   /r:else
 /r:if
On Jun 12, 2009, at 7:19 PM, Steven Southard wrote:

Not sure if this a problem with browsers in general or Back Door  
but the following code only works maybe 80% of the time.  It  
always give an answer and never gives both. It will sometimes  
say, is IE on other browsers and sometime say not IE on an ie  
browser.  Using if and else has the same results.  Any suggestions?


r:if cond=request.env['HTTP_USER_AGENT'] =~ /MSIE/
is IE
/r:if

r:unless cond=request.env['HTTP_USER_AGENT'] =~ /MSIE/
not IE
/r:unless



Steven
___
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] SEO question

2009-06-23 Thread Steven Southard


On Jun 23, 2009, at 11:08 AM, Haselwanter Edmund wrote:



On 23.06.2009, at 17:51, Arthur Gunn wrote:

I already use this tags. But on a recent project it came to my  
mind, that as a starting point, it would be great if default  
values could be calculated from the content of the page. This  
would enhance the out-of-box SEO experience :-)


Search engines themselves are designed to find the most significant  
words in a page. Writing out the keywords yourself you can have an  
insight that a computer can't, but it's hard to imagine an  
automatic feature that could outperform google in their field of  
expertise.


if that would be true: why bother with meta tags?

I made the experience that google loves meta keywords and meta  
description


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




Filling out keywords and descriptions is a pain but if you want your  
content to index properly there seems to be no better way.  I like  
your idea of collecting the first bit of the content from the body for  
the description.  It would need to skip over tags of course but in  
general I think it might help a little. 
 
___

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


Re: [Radiant] Where to keep images and etc?

2009-07-11 Thread Steven Southard

Hello Mamed,

You could use that folder if you want.  Other choices are to use  
paperclipped or page attachments and upload the files with those  
extensions. You might also find the SnS  extension helpful.


Steven





On Jul 11, 2009, at 3:50 PM, Mamed Mamedov wrote:


Hi everybody!

Does anybody knows where I must keep my images and other files,  
which will

be linked on the page?
For example, logo.gif?

I found the folder RADIANT_ROOT/public/images/. Can I use this  
folder?


Thank you!

Regards,
Mamed Mamedov
___
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] Where to keep images and etc?

2009-07-11 Thread Steven Southard
I've gone to using paperclipped for all my image files.  I really  
find it useful.  Good luck with your projects.



Steven




On Jul 11, 2009, at 4:08 PM, Mamed Mamedov wrote:


Hello, Steven!

Thank you!
I am using sns extension now for css and js. But I still making my  
decision

about where to keep my image files ;)

Regards,
Mamed Mamedov

Jack Benny http://www.brainyquote.com/quotes/authors/j/ 
jack_benny.html  -
I don't deserve this award, but I have arthritis and I don't  
deserve that

either.

On Sun, Jul 12, 2009 at 2:05 AM, Steven Southard
ste...@stevensouthard.comwrote:


Hello Mamed,

You could use that folder if you want.  Other choices are to use
paperclipped or page attachments and upload the files with those  
extensions.

You might also find the SnS  extension helpful.

Steven






On Jul 11, 2009, at 3:50 PM, Mamed Mamedov wrote:

 Hi everybody!


Does anybody knows where I must keep my images and other files,  
which will

be linked on the page?
For example, logo.gif?

I found the folder RADIANT_ROOT/public/images/. Can I use this  
folder?


Thank you!

Regards,
Mamed Mamedov
___
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] Extension Registry

2009-07-27 Thread Steven Southard
I was just looking through available extensions at http://ext.radiantcms.org/ 
.  Is it ordered by the order it was registered?  I think there could  
be a more helpful order.


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


[Radiant] extensions working and not in 0.8

2009-07-28 Thread Steven Southard
Are we keeping a list of extensions that have been updated to 0.8?   
Seems like it'd be a handy reference.


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


[Radiant] events-calender extension

2009-08-03 Thread Steven Southard

Hello,

This is a pretty useful extension.   Is there any way with the events  
tag to list all the forth coming events?  Some nice improvements to  
the UI would be for the start time and end time to be remembered,  
filters options to be added to the description, and for the  
description to be broken into a short calender description and an  
extended descriptions.  Thank you for making it.  It is very easy to  
use.


Best regards,


Steven


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


[Radiant] if parent matches=

2009-08-11 Thread Steven Southard
I'm aggregating articles and page events on the home page and I'd like  
them to include different attributes such as event date and time if  
it's an event.  Is there some way to separate aggregated items by  
their parents?


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


  1   2   >