[Radiant] Performing Radius tag evaluation as HTML attribute value?

2008-08-29 Thread Tony Spataro
Hello all,

Sorry if this is a newbie-ish question; I've checked the FAQ and skimmed the
source a bit, and haven't found any obvious solution.

I'm in a position where I want to evaluate a Radius tag and insert the
resulting text into the value of an HTML attribute. My use case involves the
page_attachments extension, and I'm trying to do something like this:

 Click here


Which is to say, I want the title of the link to be the attachment author's
name. However, this is not well-formed XML, and anyhow the Radius parser
doesn't seem to parse into attribute values.

Is there a canonical way to do what I want? I'm aware that I could simply
tweak page_attachments_tags to do things my way, but that feels like
cheating to me...

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


Re: [Radiant] TinyMCE ? FCKeditor ? .... what's UP ???

2008-08-29 Thread Casper Fabricius
I use tinyMCE for all my Radiant websites. I use the version available  
at http://radiant-tinymce-extension.googlecode.com/svn/trunk/tinymce_filter/ 
 .


I use my owb version of tiny_mce_settings.js, modified to work with  
newer versions of Radiant and the Page attachements extension  
(override /public/javascripts/extensions/tiny_mce/tiny_mce_settings.js):

http://pastie.org/262374

The reason tinyMCE (and perhaps other filters) are not working well  
with newer versions of radiant, is that the id's of central page  
elements has changed, i.e. 'part[0][filter_id]' now has the more  
correct id of 'part_0_filter_id'.


Cheers,
Casper


On 28/08/2008, at 20:59, John and Catherine Allen wrote:


Bartee, Mohit,

In the last few days I tried the extensions for WymEditor, FCKeditor  
and TinyMCE, and I couldn't get any of them to work properly.


I did post a question about my problem with FCKeditor - Sean tried  
to help but as I am running my Radiant site from a subdomain,
he said that I'd have to edit the extension to correct the path to  
the Javascripts. I tried to do this but I haven't succeeded (yet).


The WymEditor extension almost worked - and it looks very promising  
- but there was something wrong with the pop-up windows for editing  
hyperlinks.


The TinyMCE extension - which is quite old - didn't work at all.

In conclusion, I'd say that getting any of these WYSIWYG editors to  
work may be a non-trivial task.


John



Mohit Sindhwani wrote:

Bartee Lamar wrote:

I am new.

Getting my 1st application running on my machine. Going pretty well.

So I at WYSIWYG !!!

So what is the state of TinyMCE and/or FCKeditor in Radiant??



Hi Bartee

I haven't used either, but I've heard good things about WymEditor  
also.  There's an extension for that also.  Either way, whichever  
one you pick, I hope that you'll document your experience onto the  
Summer Reboot project?


[1] Extensions: http://wiki.radiantcms.org/Thirdparty_Extensions/
[2] WymEditor: http://www.gorilla-webdesign.be/artikel/48-WYM+on+Radiant
[3] Summer Reboot: http://wiki.radiantcms.org/Summer_Reboot

Cheers
Mohit.

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


--
John and Catherine Allen
Bofferdange, Luxembourg
[EMAIL PROTECTED]
http://allenlux.dyndns.org

___
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] Performing Radius tag evaluation as HTML attribute value?

2008-08-29 Thread Casper Fabricius

Hi Tony,

I run into this issue all the time, and I asked the question on the  
list myself a while ago.


The answer is that Radius cannot parse "tags-within-tags". Not even  
when the outer tag is a standard HTML tag, and not a Radius tag. I  
usually end up writing custom tags in cases like this, but perhaps  
someone has a more efficient solution?


Cheers,
Casper


On 29/08/2008, at 10:44, Tony Spataro wrote:


Hello all,

Sorry if this is a newbie-ish question; I've checked the FAQ and  
skimmed the

source a bit, and haven't found any obvious solution.

I'm in a position where I want to evaluate a Radius tag and insert the
resulting text into the value of an HTML attribute. My use case  
involves the

page_attachments extension, and I'm trying to do something like this:

 Click here


Which is to say, I want the title of the link to be the attachment  
author's
name. However, this is not well-formed XML, and anyhow the Radius  
parser

doesn't seem to parse into attribute values.

Is there a canonical way to do what I want? I'm aware that I could  
simply

tweak page_attachments_tags to do things my way, but that feels like
cheating to me...

Cheers,
  -Tony
___
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] Performing Radius tag evaluation as HTML attribute value?

2008-08-29 Thread Andrew Neil
I wrote up this very issue just yesterday for the Summer Reboot. It is the
final section on this page here:

http://wiki.radiantcms.org/Using_the_built-in_tags

The answer is that Radius cannot parse "tags-within-tags". Not even when the
> outer tag is a standard HTML tag, and not a Radius tag.


Actually, I think you can do the following (contrived example, I know!):



As Tony pointed out, this is invalid XML. But Radiant would parse the
 tag, replacing it with a string, so that in the output page, the
illegal portion of XML would be gone.

Please do correct me if I am wrong. I haven't had time to test this
particular example since I wrote the article, but I am fairly sure that I
have used Radius tags within the attributes of HTML tags without a problem.

Drew



> I usually end up writing custom tags in cases like this, but perhaps
> someone has a more efficient solution?
>
> Cheers,
> Casper
>
>
>
> On 29/08/2008, at 10:44, Tony Spataro wrote:
>
>  Hello all,
>>
>> Sorry if this is a newbie-ish question; I've checked the FAQ and skimmed
>> the
>> source a bit, and haven't found any obvious solution.
>>
>> I'm in a position where I want to evaluate a Radius tag and insert the
>> resulting text into the value of an HTML attribute. My use case involves
>> the
>> page_attachments extension, and I'm trying to do something like this:
>>
>>  Click here
>> 
>>
>> Which is to say, I want the title of the link to be the attachment
>> author's
>> name. However, this is not well-formed XML, and anyhow the Radius parser
>> doesn't seem to parse into attribute values.
>>
>> Is there a canonical way to do what I want? I'm aware that I could simply
>> tweak page_attachments_tags to do things my way, but that feels like
>> cheating to me...
>>
>> Cheers,
>>  -Tony
>> ___
>> 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] Performing Radius tag evaluation as HTML attribute value?

2008-08-29 Thread Hamish Rickerby
I can confirm that this does work - I do exactly the same thing within a
snippet with some a custom extension I've created.

Visit
's website

H.

On 29/8/2008, "Andrew Neil" <[EMAIL PROTECTED]> wrote:

>I wrote up this very issue just yesterday for the Summer Reboot. It is the
>final section on this page here:
>
>http://wiki.radiantcms.org/Using_the_built-in_tags
>
>The answer is that Radius cannot parse "tags-within-tags". Not even when the
>> outer tag is a standard HTML tag, and not a Radius tag.
>
>
>Actually, I think you can do the following (contrived example, I know!):
>
>
>
>As Tony pointed out, this is invalid XML. But Radiant would parse the
> tag, replacing it with a string, so that in the output page, the
>illegal portion of XML would be gone.
>
>Please do correct me if I am wrong. I haven't had time to test this
>particular example since I wrote the article, but I am fairly sure that I
>have used Radius tags within the attributes of HTML tags without a problem.
>
>Drew
>
>
>
>> I usually end up writing custom tags in cases like this, but perhaps
>> someone has a more efficient solution?
>>
>> Cheers,
>> Casper
>>
>>
>>
>> On 29/08/2008, at 10:44, Tony Spataro wrote:
>>
>>  Hello all,
>>>
>>> Sorry if this is a newbie-ish question; I've checked the FAQ and skimmed
>>> the
>>> source a bit, and haven't found any obvious solution.
>>>
>>> I'm in a position where I want to evaluate a Radius tag and insert the
>>> resulting text into the value of an HTML attribute. My use case involves
>>> the
>>> page_attachments extension, and I'm trying to do something like this:
>>>
>>>  Click here
>>> 
>>>
>>> Which is to say, I want the title of the link to be the attachment
>>> author's
>>> name. However, this is not well-formed XML, and anyhow the Radius parser
>>> doesn't seem to parse into attribute values.
>>>
>>> Is there a canonical way to do what I want? I'm aware that I could simply
>>> tweak page_attachments_tags to do things my way, but that feels like
>>> cheating to me...
>>>
>>> Cheers,
>>>  -Tony
>>> ___
>>> Radiant mailing list
>>> Post:   Radiant@radiantcms.org
>>> Search: http://radiantcms.org/mailing-list/search/
>>> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>>>
>>
>> ___
>> Radiant mailing list
>> Post:   Radiant@radiantcms.org
>> Search: http://radiantcms.org/mailing-list/search/
>> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>>
>___
>Radiant mailing list
>Post:   Radiant@radiantcms.org
>Search: http://radiantcms.org/mailing-list/search/
>Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Re: TinyMCE ? FCKeditor ? .... what's UP ???

2008-08-29 Thread Bartee Lamar
Casper,

Thanks for excellent post.

I was leaning towards TinyMCE since my experience with FCK has been 
difficult at best.

I will grab your setting and give it a try this weekend.

...bartee...

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


Re: [Radiant] 0.6.9 sass_filter Extension

2008-08-29 Thread Sean Cribbs
Haml has been included in Radiant since 0.6.7.  We need to remove it 
from the sass_filter extension.


Sean

Chuck Barr wrote:

In order to use the sass_filter extension with 0.6.9 master I had to add
this file:
.../vendor/plugins/haml/lib/haml/util.rb

(http://dev.radiantcms.org/browser/trunk/extensions/vendor/plugins/haml/lib/haml/util.rb?rev=705)

I got the extension from here:
http://github.com/radiant/radiant-sass-filter-extension/tree/master

I'm not sure the best practice way to add this directly or I'd've done
it myself from a fork.

fyi

cvk_b
  


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


[Radiant] Re: Re: Re: How to use session in tags?

2008-08-29 Thread Vincent Pérès
Hello,

I overrided the process_page as you advised me, and tried to recover the 
current_user by tag.locals.page.

Finally I get the follwing error :

Error : 'tag : wrong number of arguments (0 to 1)'

Here :

module MembersTags
  include Radiant::Taggable

  current_user = tag.locals.page.current_front_user

  tag "current_user", :for => current_user

  tag "if_current_user" do |tag|
if current_user
  tag.expand
end
  end

  tag "unless_current_user" do |tag|
unless current_user
  tag.expand
end
  end

end

Can you explain me what is missing?

Thank you very much !
Vincent
-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Packt publishing CMS awards

2008-08-29 Thread Mitch Pirtle

Hi folks,

Was wondering why Radiant wasn't among the five finalists for non-PHP  
CMS category, and thought maybe nobody but me was nominating it.  
Here's the link, would love some help ;-)


http://www.packtpub.com/article/2008-open-source-cms-award-finalists-announced

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


[Radiant] How can I return a list of attachments, skipping the first?

2008-08-29 Thread [EMAIL PROTECTED]
The title says it all. Is there a way to use  while
skipping the first result? I have a logo and a number of PDFs attached
to a page and I just want to list the PDFs. Is that possible with the
page_attachments plugin as it is? If so how?


Thanks,
~Nate

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


[Radiant] Re: How can I return a list of attachments, skipping the first?

2008-08-29 Thread Arik Jones
[EMAIL PROTECTED] wrote:
> The title says it all. Is there a way to use  while
> skipping the first result? I have a logo and a number of PDFs attached
> to a page and I just want to list the PDFs. Is that possible with the
> page_attachments plugin as it is? If so how?
> 
> 
> Thanks,
> ~Nate

An offset option may be built in. But if it isn't, it's not hard to add.
-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Re: How can I return a list of attachments, skipping the first?

2008-08-29 Thread Arik Jones
By the way, are you using paperclipped or page attachments?
-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Re: How can I return a list of attachments, skipping the first?

2008-08-29 Thread [EMAIL PROTECTED]
On Fri, 2008-08-29 at 20:40 +0200, Arik Jones wrote:
> By the way, are you using paperclipped or page attachments?

Page Attachments. I plan on trying out paperclipped on a future project,
but on this one I stuck with what I knew (mostly).


~Nate

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


[Radiant] Re: Re: How can I return a list of attachments, skipping the first?

2008-08-29 Thread Arik Jones
[EMAIL PROTECTED] wrote:
> On Fri, 2008-08-29 at 20:40 +0200, Arik Jones wrote:
>> By the way, are you using paperclipped or page attachments?
> 
> Page Attachments. I plan on trying out paperclipped on a future project,
> but on this one I stuck with what I knew (mostly).
> 
> 
> ~Nate

Paperclipped is wy easier and a little more flexible. You can access 
all attachments from anywhere using the radiant tags. Where as in Page 
Attachments, you normally have to re-upload or remember what page a 
certain asset is attached to. The interface is much cleaner as well.
-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Re: Summer Reboot - Documentation Update

2008-08-29 Thread David Piehler
Mohit -- Thanks for taking the lead on this project. You've done a great 
job, as has everyone who has contributed so far.

I finally had the chance to sit down and start my end of the 
documentation. Here's my first page: 
http://wiki.radiantcms.org/Simple_RSS_Feeds

If you have any comments on my writing style, let me know if there is 
anything I can improve. I hope to post a few more pages this weekend.

Since there are still a bunch of holes in the documentation list, I 
think we should extend this project another month. Do you agree?

- Dave


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


Re: [Radiant] Re: Re: How can I return a list of attachments, skipping the first?

2008-08-29 Thread [EMAIL PROTECTED]
On Fri, 2008-08-29 at 20:51 +0200, Arik Jones wrote:
> Paperclipped is wy easier and a little more flexible. You can access 
> all attachments from anywhere using the radiant tags. Where as in Page 
> Attachments, you normally have to re-upload or remember what page a 
> certain asset is attached to. The interface is much cleaner as well.

Now you tell me. Thanks. So just as a for-instance, how would you return
the documents attached to a page while skipping the first one?


~Nate

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


[Radiant] Re: Re: How can I return a list of attachments, skipping the first?

2008-08-29 Thread David Piehler
Arik Jones wrote:
> Paperclipped is wy easier and a little more flexible. You can access 
> all attachments from anywhere using the radiant tags. Where as in Page 
> Attachments, you normally have to re-upload or remember what page a 
> certain asset is attached to. The interface is much cleaner as well.

Can Paperclipped work without Image Magick installed? PageAttachments 
does, and simply skips all the thumbnail creation stuff.

- Dave


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


Re: [Radiant] Re: Re: How can I return a list of attachments, skipping the first?

2008-08-29 Thread [EMAIL PROTECTED]
On Fri, 2008-08-29 at 20:51 +0200, Arik Jones wrote:
> Paperclipped is wy easier and a little more flexible.


Can it exist along with page_attachments in the same project? That way I
can move things over gradually instead of redoing the entire attachment
scheme at the 10th hour (not quite 11th hour yet).

This coming up with a better-idea-than-what-you-just-implemented has got
to stop. How can I pause in internets so that I can catch up?



~Nate

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


[Radiant] Re: Re: Re: How can I return a list of attachments, skipping the first?

2008-08-29 Thread Arik Jones
[EMAIL PROTECTED] wrote:
> On Fri, 2008-08-29 at 20:51 +0200, Arik Jones wrote:
>> Paperclipped is wy easier and a little more flexible.
> 
> 
> Can it exist along with page_attachments in the same project? That way I
> can move things over gradually instead of redoing the entire attachment
> scheme at the 10th hour (not quite 11th hour yet).
> 
> This coming up with a better-idea-than-what-you-just-implemented has got
> to stop. How can I pause in internets so that I can catch up?
> 
> 
> 
> ~Nate

It's not really our fault that you didn't properly test all your 
options. I'm just revealing what I've discovered in my own experiences. 
Sure, the timing blows. But hey, it's just code.
-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Re: Re: How can I return a list of attachments, skipping the first?

2008-08-29 Thread Christopher Dwan
It looks to me like Paperclipped has it's own version of Image Magick,  
so you don't have to install it. (please, someone correct me if I'm  
wrong) It's been a while, but I think I didn't bother installing Image  
Magick on my machine because of the headache, and here is Paperclipped  
creating thumbnails for me somehow...


Now, disabling thumbnail creation for the sake of saving resources.. I  
have my doubts about how easy that would be to do..


-C
PS: I just tried Paperclipped today. Wholly awesome Batman! Why wasn't  
it listed on the wiki? I was amazed and slightly ticked that it was  
such a secret... (I made sure to add it to the wiki)



On 29-Aug-08, at 11:59 AM, David Piehler wrote:


Arik Jones wrote:
Paperclipped is wy easier and a little more flexible. You can  
access
all attachments from anywhere using the radiant tags. Where as in  
Page

Attachments, you normally have to re-upload or remember what page a
certain asset is attached to. The interface is much cleaner as well.


Can Paperclipped work without Image Magick installed? PageAttachments
does, and simply skips all the thumbnail creation stuff.

- Dave


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


___
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: Re: How can I return a list of attachments, skipping the first?

2008-08-29 Thread Christopher Dwan



It's not really our fault that you didn't properly test all your
options. I'm just revealing what I've discovered in my own  
experiences.

Sure, the timing blows. But hey, it's just code.


hmmm I'm pretty sure the original comment from Nate was intended to be  
humorous in nature...


On the serious side though, I'm trying to think up a solution that  
will help with sorting through the extensions out there. For a new  
person coming to Radiant, there doesn't seem to be a good way to  
figure out what extensions to pick, how hard they are to install, what  
incompatibilities there are etc. without trying everything out  and  
digging around in the mailing list archives.  Once upon a time it was  
easy to know all the available extensions and keep on top of things,  
it's getting to the point where it's no longer easy and soon will be  
nigh impossible.


-C

On 29-Aug-08, at 12:11 PM, Arik Jones wrote:


[EMAIL PROTECTED] wrote:

On Fri, 2008-08-29 at 20:51 +0200, Arik Jones wrote:

Paperclipped is wy easier and a little more flexible.



Can it exist along with page_attachments in the same project? That  
way I
can move things over gradually instead of redoing the entire  
attachment

scheme at the 10th hour (not quite 11th hour yet).

This coming up with a better-idea-than-what-you-just-implemented  
has got

to stop. How can I pause in internets so that I can catch up?



~Nate



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


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


[Radiant] Re: Re: Re: Re: How can I return a list of attachments, skipping the first?

2008-08-29 Thread Arik Jones
Now I see why there are emoticons. lol.
-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Re: Summer Reboot - Documentation Update

2008-08-29 Thread Mohit Sindhwani

Hi David

David Piehler wrote:
Mohit -- Thanks for taking the lead on this project. You've done a great 
job, as has everyone who has contributed so far.
  


Thanks for the kind words - I'm just trying to contribute in the area 
that I can :)
I'm also happy that the community has taken this up - I guess when one 
is charged with writing only as much as they can, it really does work!


I finally had the chance to sit down and start my end of the 
documentation. Here's my first page: 
http://wiki.radiantcms.org/Simple_RSS_Feeds
  


Thanks for the article David.  This is one that I should have written 
(as you notice that I asked the question that you linked to under 'more 
info' - I had promised to write it up!)


Anyway, I took a quick look at it and there are 3 comments at this stage:
1. It's quite well written and most of the material is there.
2. I would like to add a couple of screen shots - I'm working on a new 
site for playing with some of the documentation ideas that have come in, 
so that might allow me to create the screenshots for it.  So, I'll do 
that in the next couple of days.
3. I think there was a mention once about using the aggregation 
extension.  It would be good to just mention that.


I shall take a closer look at it tomorrow - it's 3:30AM here in 
Singapore - and I'm working on inserting Radiant pages by using a 
script... I'm close to it but want to get it done before I sleep (but no 
later than another 15 min)


Oh, and we need to link to this one from the Summer Reboot page - there's a

If you have any comments on my writing style, let me know if there is 
anything I can improve. I hope to post a few more pages this weekend.
  
Nope!  No comments - it's great and thanks in advance for the material 
that's coming.


Since there are still a bunch of holes in the documentation list, I 
think we should extend this project another month. Do you agree?


- Dave
  
I was thinking of a 2 to 4 week extension on the project life.  We 
should do it since contributions are going up right now and it would be 
a shame to lose the momentum.  If we're targeting end of September now, 
I guess we should look at the Table of Contents to see if something more 
is needed.


Cheers,
Mohit.
8/30/2008 | 3:26 AM.



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


[Radiant] Re: 0.6.9 sass_filter Extension

2008-08-29 Thread Chuck Barr
Sean Cribbs wrote:
> Haml has been included in Radiant since 0.6.7.  We need to remove it
> from the sass_filter extension.
> 
> Sean

I realize there's potential confusion for the new user but sass_filter 
should come stock like textile or markdown. It may generate interest in 
sass.






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


[Radiant] Re: Re: Summer Reboot - Documentation Update

2008-08-29 Thread David Piehler
Mohit Sindhwani wrote:
> 3. I think there was a mention once about using the aggregation
> extension.  It would be good to just mention that.
> 
> Oh, and we need to link to this one from the Summer Reboot page

Thanks for the feedback Mohit. I've linked my article on the main Summer 
Reboot page and will look into the aggregation extension soon and grab 
some links. Feel free to add any screenshots you want -- I don't have a 
dummy site setup yet, but I should do that this weekend when I write my 
other articles.

- Dave

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


Re: [Radiant] Re: 0.6.9 sass_filter Extension

2008-08-29 Thread Sean Cribbs

Chuck,

I like that idea... a patch/pull-request would be appreciated!

Sean

Chuck Barr wrote:

Sean Cribbs wrote:
  

Haml has been included in Radiant since 0.6.7.  We need to remove it
from the sass_filter extension.

Sean



I realize there's potential confusion for the new user but sass_filter 
should come stock like textile or markdown. It may generate interest in 
sass.







  


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


[Radiant] Sorting through the piles of Radiant extensions: solution needed!!

2008-08-29 Thread Christopher Dwan

*There is a Need: Sorting the piles of extensions*

We need a better way to sort through the piles of extensions that are  
cropping up. The wiki isn't cutting it and announcements on the  
mailing list don't quite cut it..


*Background: Paperclipped - the relatively unknown and seriously  
awesome extension *


I read a mail in the mailing list mentioning Paperclipped.  I remember  
seeing something about it a while back but it never stuck in my brain.  
So I decided to go check it out. What I found is a page_attachments  
replacement that is waaay waay better. However, it wasn't in the list  
of extensions on the wiki, which I check regularly to see what's new.  
This is monumental info that's not out there!! Tufts of hair almost  
flew from my head!


*A Dream Was Born: radiantextensions.com *

So, I decided right there that I was going to register the domain  
radiantextensions.com and write a little app for listing extensions by  
useful information like when it was created, when it was last updated,  
what versions of Radiant it works in and even maybe include a user  
rating system. Paperclipped would get 5 stars for me.  Heck, even  
listing extensions by category and having search features would be  
awesome.


*A Dream Died (almost)*

Well, radiantextensions.com is taken.. so my dream almost ended. I say  
'almost' because I can always toss out the idea to the mailing list  
and, despite the odds that no one will read this, perhaps something  
else will come of it.


-Chris

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


[Radiant] Re: Re: Re: Re: How can I return a list of attachments, skipping the first?

2008-08-29 Thread Arik Jones
Christopher Dwan wrote:
> On the serious side though, I'm trying to think up a solution that
> will help with sorting through the extensions out there. For a new
> person coming to Radiant, there doesn't seem to be a good way to
> figure out what extensions to pick, how hard they are to install, what
> incompatibilities there are etc. without trying everything out  and
> digging around in the mailing list archives.  Once upon a time it was
> easy to know all the available extensions and keep on top of things,
> it's getting to the point where it's no longer easy and soon will be
> nigh impossible.
> 
> -C

I talked a little bit about this some time ago. ExpressionEngine has 3rd 
party extensions/plugins which are usually free and then there are the 
"approved" extensions which are usually extensions built by the EE 
development team and or a few select non-core developers. It's basically 
just a "Recommended" list of extensions.

Would Radiant benefit from something like this?
-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Sorting through the piles of Radiant extensions: solution needed!!

2008-08-29 Thread Marty Haught
Hi Chris,

I believe there's already something in the works for this exact sort
of thing.  I'm not sure of its status but I bet we'll hear shortly. :)
 I think it's almost always better to ping the list first as it would
have sucked if you did register the domain, spent hours whipping it up
only to find another solution that was near to completion but hadn't
been officially launched.

Cheers,
Marty

On Fri, Aug 29, 2008 at 1:40 PM, Christopher Dwan <[EMAIL PROTECTED]> wrote:
> *There is a Need: Sorting the piles of extensions*
>
> We need a better way to sort through the piles of extensions that are
> cropping up. The wiki isn't cutting it and announcements on the mailing list
> don't quite cut it..
>
> *Background: Paperclipped - the relatively unknown and seriously awesome
> extension *
>
> I read a mail in the mailing list mentioning Paperclipped.  I remember
> seeing something about it a while back but it never stuck in my brain. So I
> decided to go check it out. What I found is a page_attachments replacement
> that is waaay waay better. However, it wasn't in the list of extensions on
> the wiki, which I check regularly to see what's new. This is monumental info
> that's not out there!! Tufts of hair almost flew from my head!
>
> *A Dream Was Born: radiantextensions.com *
>
> So, I decided right there that I was going to register the domain
> radiantextensions.com and write a little app for listing extensions by
> useful information like when it was created, when it was last updated, what
> versions of Radiant it works in and even maybe include a user rating system.
> Paperclipped would get 5 stars for me.  Heck, even listing extensions by
> category and having search features would be awesome.
>
> *A Dream Died (almost)*
>
> Well, radiantextensions.com is taken.. so my dream almost ended. I say
> 'almost' because I can always toss out the idea to the mailing list and,
> despite the odds that no one will read this, perhaps something else will
> come of it.
>
> -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] Sorting through the piles of Radiant extensions: solution needed!!

2008-08-29 Thread Sean Cribbs
Actually, it's things like this that should be added to 
ext.radiantcms.org -- the project is available at 
http://github.com/radiant/radiant-extension-registry.  Things like 
ratings, categories, comments, etc, would really round out the site.  My 
only requirement is that it remains compatible with the command-line 
scripts, which should be easy as long as the XML format isn't modified.


Sean

Marty Haught wrote:

Hi Chris,

I believe there's already something in the works for this exact sort
of thing.  I'm not sure of its status but I bet we'll hear shortly. :)
 I think it's almost always better to ping the list first as it would
have sucked if you did register the domain, spent hours whipping it up
only to find another solution that was near to completion but hadn't
been officially launched.

Cheers,
Marty

On Fri, Aug 29, 2008 at 1:40 PM, Christopher Dwan <[EMAIL PROTECTED]> wrote:
  

*There is a Need: Sorting the piles of extensions*

We need a better way to sort through the piles of extensions that are
cropping up. The wiki isn't cutting it and announcements on the mailing list
don't quite cut it..

*Background: Paperclipped - the relatively unknown and seriously awesome
extension *

I read a mail in the mailing list mentioning Paperclipped.  I remember
seeing something about it a while back but it never stuck in my brain. So I
decided to go check it out. What I found is a page_attachments replacement
that is waaay waay better. However, it wasn't in the list of extensions on
the wiki, which I check regularly to see what's new. This is monumental info
that's not out there!! Tufts of hair almost flew from my head!

*A Dream Was Born: radiantextensions.com *

So, I decided right there that I was going to register the domain
radiantextensions.com and write a little app for listing extensions by
useful information like when it was created, when it was last updated, what
versions of Radiant it works in and even maybe include a user rating system.
Paperclipped would get 5 stars for me.  Heck, even listing extensions by
category and having search features would be awesome.

*A Dream Died (almost)*

Well, radiantextensions.com is taken.. so my dream almost ended. I say
'almost' because I can always toss out the idea to the mailing list and,
despite the odds that no one will read this, perhaps something else will
come of it.

-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


Re: [Radiant] Sorting through the piles of Radiant extensions: solution needed!!

2008-08-29 Thread Christopher Dwan


On 29-Aug-08, at 12:45 PM, Marty Haught wrote:


Hi Chris,

I believe there's already something in the works for this exact sort
of thing.  I'm not sure of its status but I bet we'll hear shortly. :)
I think it's almost always better to ping the list first as it would
have sucked if you did register the domain, spent hours whipping it up
only to find another solution that was near to completion but hadn't
been officially launched.

Cheers,
Marty


I totally agree, but then the story would be lacking in dramatic  
flair... ;)


Really, hair _almost_ flew!  It was so close, I think the thought  
maybe even crossed my mind, maybe.


-C

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


[Radiant] Writing extensions - where to put plugins?

2008-08-29 Thread Christopher Dwan


The extension I'm working on requires restful_authentication and I've  
currently got it in /vendor/plugins. I'd rather include the whole  
thing in my extension.


Is there any kind of 'etiquette' associated with that?

Can I just dump it into /vendor/extensions/my_extension/vendor/plugins  
and away we go? (I noticed that the Paperclipped extension puts it in  
that location)


-C

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


Re: [Radiant] Sorting through the piles of Radiant extensions: solution needed!!

2008-08-29 Thread Mohit Sindhwani

Christopher Dwan wrote:

*There is a Need: Sorting the piles of extensions*

We need a better way to sort through the piles of extensions that are 
cropping up. The wiki isn't cutting it and announcements on the 
mailing list don't quite cut it..

*snip*


*A Dream Died (almost)*

Well, radiantextensions.com is taken.. so my dream almost ended. I say 
'almost' because I can always toss out the idea to the mailing list 
and, despite the odds that no one will read this, perhaps something 
else will come of it.


-Chris 


How about an email address to which an extension writer can send an 
email when they announce an extension?  The email can be checked by a 
process once a day or something and populate a Radiant CMS site that 
lists all the extensions and their announcement notices... it doesn't 
have to be completely automated, but as long as it meets some 
guidelines, it can post to the site - or create the final page but a 
human needs to log in and mark the page as Published.  (We'll have to 
think of something to defeat spam bots posting Viagra as a Radiant 
Extension - I can see how that might work!)


Cheers,
Mohit.
8/30/2008 | 4:20 AM.

___
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: 0.6.9 sass_filter Extension

2008-08-29 Thread Andrew Neil


On 29 Aug 2008, at 20:35, Chuck Barr wrote:


Sean Cribbs wrote:

Haml has been included in Radiant since 0.6.7.  We need to remove it
from the sass_filter extension.

Sean


I realize there's potential confusion for the new user but sass_filter
should come stock like textile or markdown.


+1

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


[Radiant] selecting current page in menu

2008-08-29 Thread Bartee Lamar
I have this as my menu.

I need to identify which is the current page so I can set the
class="here"

How can I do that ?


   Home
  Shop
  Projects
  Gallery
  About Me
  Contact
Us

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


Re: [Radiant] selecting current page in menu

2008-08-29 Thread Sean Cribbs
The typical way is to use .  This snippet should do what 
you like:




 />
 class="here">




Unfortunately, it won't let you add the "last" class, but you could add 
that with JavaScript pretty easily.  If you're using Prototype:


document.observe("dom:loaded", function(){ 
$$('li:last-child').invoke('addClassName', 'last'); });


Your other option is to use a bunch of  tags, one on each 
link, to see whether you should add the "here" class.


Cheers,

Sean


Bartee Lamar wrote:

I have this as my menu.

I need to identify which is the current page so I can set the
class="here"

How can I do that ?


   Home
  Shop
  Projects
  Gallery
  About Me
  Contact
Us

  


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


[Radiant] BIG problems after removing page_attachments

2008-08-29 Thread [EMAIL PROTECTED]
OK, guys. I gave in to the hype about paperclipped, about how it will
make my whites whiter and make my food taste better and all that jazz.
Weeel, I need to get rid of page_attachments first, so I did, and
now my site won't start back up.

The process:

1) ssh into server and migrate page_attachments to VERSION=0
2) delete local copy from project
3) svn commit the the changes
4) cap deploy
5) remove the page_attachments entry in the production db (was id=1)
6) problems started

When I went back to my old pages in the web browser and refreshed them,
I got a very long lasting beach ball and the error "Application error
Rails application failed to start properly" shows up.

This is where it gets good: I tried to go to my production.log to get a
clue what was happening, but for some reason I told svn to ignore the
whole log folder when I started the project. Now I have no production
log to go to and my app won't start. I'll set that issue to the side for
a minute. I'll have to figure out how to coax svn to start using the log
directory again another time.

What I really need to know is, did I uninstall the page_attachments
extension improperly? Is there something that the extension added or
changed installed during the installation procedure that might be
keeping my app from working now that it no longer exists?

Any would certainly be appreciated.


~Nate

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