[Radiant] Issue with FBML/namespaced tags and Radius

2010-03-01 Thread Toby Hede
I am experiencing issues when using FBML inside my content.

When I supply a tags like the following to my template:

fb:profile-pic uid=loggedinuser size=square/fb:profile-pic
Radiant gets confused, incorrectly parsing the close tag and outputting:

fb:profile-pic uid=loggedinuser size=square /fb:profile-pic
... which in turn breaks the FBML parsing engine.

I am not using the fb prefix for Radius, so there is no clash, and
indeed, I can get many of the tags to work by using the self-closing
format:

fb:profile-pic uid=loggedinuser size=square/
Self-closing is fine in many cases, but being able to provide content
for a tag means that there is content visible while the Facebook
connect engine loads.

Is there a workaround for this issue?
Ideas on how to fix?
___
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org


Re: [Radiant] Tags for Last edited?

2010-03-01 Thread Mohit Sindhwani
On 1/3/2010 6:53 PM, Christian Aust wrote:
 Hi all,

 are there any radius tags that would allow me to build a last edited 
 snippet, that will display n pages ordered desc by their changed_at 
 attribute, regardless of their url?

 It's no big deal, if there's none yet, I'd build one. Like,r:any limit=4 
 by=updated_at order=desc.../r:any



r:date seems to cover it.   From the pop-up documentation of the 
available tags:

r:date /
Renders the date based on the current page (by default when it was 
published or created). The format attribute uses the same formating 
codes used by the Ruby strftime function. By default it's set to %A, %B 
%d, %Y. The for attribute selects which date to render. Valid options 
are published_at, created_at, updated_at, and now. now will render the 
current date/time, regardless of the page.

Usage:
r:date [format=%A, %B %d, %Y] [for=published_at]/

|
Cheers,
Mohit.
2/3/2010 | 8:25 AM.

|


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


[Radiant] Help................

2010-03-01 Thread neel iyer
i was trying to the flash gallery extension in radiant 0.8.1. it got
installed correctly , n i got the new tab in admin panel too .but the
problem is tht when i try to create a new gallery, n attach a new swf file,
its showing an error ...


 Errno::EACCES in Admin/galleriesController#create

Permission denied - C:/DOCUME~1/KRISHN~1/LOCALS~1/Temp/stream.2700.0 or
C:/website/public/galleries/containers/1/original/gallery.swf


RAILS_ROOT: C:/website
Application Trace | Framework Trace | Full Trace

Request

Parameters:

{commit=Create,
 authenticity_token=zB5nugz3ZaTnx2Df/IN6A7ybHvZRK9uzREa3NwoAXug=,
 gallery={title=new,
 swf=#File:C:/DOCUME~1/KRISHN~1/LOCALS~1/Temp/RackMultipart.2700.0,
 description=pictures}}


Show session dump

---

Response

Headers:

{Content-Type=,
 Cache-Control=no-cache}


help me got guys

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


Re: [Radiant] Tags for Last edited?

2010-03-01 Thread John Long
If you only need to deal with the children of a page you can do what
you want with the children:each tag. There is no way to do this for
pages on the whole site. That would be a useful extension though.

--
John Long
http://wiseheartdesign.com
http://recursivecreative.com

On Mon, Mar 1, 2010 at 5:53 AM, Christian Aust
christian.a...@software-consultant.net wrote:
 Hi all,

 are there any radius tags that would allow me to build a last edited 
 snippet, that will display n pages ordered desc by their changed_at 
 attribute, regardless of their url?

 It's no big deal, if there's none yet, I'd build one. Like, r:any limit=4 
 by=updated_at order=desc.../r:any

 Regards,

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

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


Re: [Radiant] Issue with FBML/namespaced tags and Radius

2010-03-01 Thread John Long
This isn't actually the place to post support questions on Radius
(unless of course your questions are Radiant specific). The proper
place Radius questions is the issue tracker on GitHub:

http://github.com/jlong/radius/issues

If you post it there Bryce Kerley may be able to help you with it. He
recently rewrote the parser for Radius but there have been a couple of
nagging issues. Out of curiosity does it work with Radius 0.5.1?

--
John Long
http://wiseheartdesign.com
http://recursivecreative.com

On Mon, Mar 1, 2010 at 4:58 PM, Toby Hede tobyh...@info-architects.net wrote:
 I am experiencing issues when using FBML inside my content.

 When I supply a tags like the following to my template:

 fb:profile-pic uid=loggedinuser size=square/fb:profile-pic
 Radiant gets confused, incorrectly parsing the close tag and outputting:

 fb:profile-pic uid=loggedinuser size=square /fb:profile-pic
 ... which in turn breaks the FBML parsing engine.

 I am not using the fb prefix for Radius, so there is no clash, and
 indeed, I can get many of the tags to work by using the self-closing
 format:

 fb:profile-pic uid=loggedinuser size=square/
 Self-closing is fine in many cases, but being able to provide content
 for a tag means that there is content visible while the Facebook
 connect engine loads.

 Is there a workaround for this issue?
 Ideas on how to fix?
 ___
 Radiant mailing list
 Post: Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
 Radiant: http://radiantcms.org
 Extensions: http://ext.radiantcms.org

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


Re: [Radiant] Tags for Last edited?

2010-03-01 Thread Mohit Sindhwani
On 2/3/2010 2:17 PM, John Long wrote:
 If you only need to deal with the children of a page you can do what
 you want with the children:each tag. There is no way to do this for
 pages on the whole site. That would be a useful extension though.



Great!  I just realized that I answered the wrong question because I 
read the question the way I wanted to :)
Sorry about that reply!

 are there any radius tags that would allow me to build a last edited 
 snippet, that will display n pages ordered desc by their changed_at 
 attribute, regardless of their url?
 It's no big deal, if there's none yet, I'd build one. Like,r:any limit=4 
 by=updated_at order=desc.../r:any


Here's what I use in the sidebar of my site for the most recent 
articles.  It uses aggregate to combine the sections of interest and 
uses the published_at date for items with status=published.

r:aggregate urls=/en/articles; /en/news
r:children:each by=published_at order=desc status=published 
limit=5
r:unless_content part=no_menulibr:link / [r:date format=%b 
%d, %Y for=published_at /]/b/r:unless_content/r:children:each
/r:aggregate
/ul

I think what you want to do could be replicated from the aggregate or 
directly as a new tag.  It would be good to add it to aggregate as 
urls=radiant::fullsite as a special indicator that it should not 
actually aggregate, but use the full table.

Sorry for the wrong answer earlier.  I really read it as meaning 'can I 
print the last edited date for a page'

Best Regards,
Mohit.
2/3/2010 | 2:28 PM.

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