Re: [Radiant] Extension page_attachments no reaction after click

2009-11-19 Thread Ivan Yatskevich
John, thank you for pointing out the solution. I would like to correct 
some little typos (there is no radiant-0.8.1 branch and vendor/extension 
directory)

So to make page_attachments extension work with radiant 0.8.1 and avoid 
Event.addBehavior is not a function error you need to:

cd /path/to/radiant|
|git clone 
git://github.com/radiant/radiant-page-attachments-extension.git 
vendor/extensions/page_attachments

cd vendor/extensions/page_attachments
git checkout origin/radiant-0.8.0
cd ../../..

rake radiant:extensions:page_attachments:migrate|
rake radiant:extensions:page_attachments:update|
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Recursion error: already rendering the part

2009-11-19 Thread Dmitry Belitsky
Hey guys,
take a look at http://pastie.org/706339
i get error:

StandardTags::TagError in SiteController#show_page
Recursion error: already rendering the `amazon_link' part.

Can you help me fix it?

Thanks!


--
With optimism,
Dmitry Belitsky
http://belitsky.info




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


[Radiant] tags

2009-11-19 Thread Steven Southard
Can tags only be one word?  Is there a special character to connect  
words to make phases?


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] Recursion error: already rendering the part

2009-11-19 Thread john muhl
there is nothing wrong with that snippet. so maybe you have already
entered the amazon_link part before you call the snippet; maybe in
another snippet or a layout.

On Thu, Nov 19, 2009 at 2:35 PM, Dmitry Belitsky
dmitry.belit...@gmail.com wrote:
 Hey guys,
 take a look at http://pastie.org/706339
 i get error:

 StandardTags::TagError in SiteController#show_page
 Recursion error: already rendering the `amazon_link' part.

 Can you help me fix it?

 Thanks!


 --
 With optimism,
 Dmitry Belitsky
 http://belitsky.info




 ___
 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] Recursion error: already rendering the part

2009-11-19 Thread Dmitry Belitsky
Thanks for reply,
but i can't find any mention of this part in other places.
Only here.
If i used this snipped on home page - it works,
if i used it in other page:

Recordings - here i want to show list of children, which have parts  
which i define in Stereotype:
- Rec1
- Rec2
- Rec3

If i remove one of r:content part='amazon_link' / - this page works,
if i left both - i get this:
 Recursion error: already rendering the `amazon_link' part.

Any suggestions?
Thanks.

P.S. I used Paperclipped and Stereotype plugins if this matters.


On Nov 19, 2009, at 10:43 PM, john muhl wrote:

 there is nothing wrong with that snippet. so maybe you have already
 entered the amazon_link part before you call the snippet; maybe in
 another snippet or a layout.

 On Thu, Nov 19, 2009 at 2:35 PM, Dmitry Belitsky
 dmitry.belit...@gmail.com wrote:
 Hey guys,
 take a look at http://pastie.org/706339
 i get error:

 StandardTags::TagError in SiteController#show_page
 Recursion error: already rendering the `amazon_link' part.

 Can you help me fix it?


--
With optimism,
Dmitry Belitsky
http://belitsky.info




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


Re: [Radiant] Recursion error: already rendering the part

2009-11-19 Thread john muhl
are you by any chance running radiant 0.9rc1 (or a recent master
branch)? on a fresh 0.8.1 the snippet works as expected; on master i
see the behavior you describe. the test case can be narrowed to:

r:children:each
r:content part=a/
r:content part=a/
/r:children:each

On Thu, Nov 19, 2009 at 3:15 PM, Dmitry Belitsky
dmitry.belit...@gmail.com wrote:
 Thanks for reply,
 but i can't find any mention of this part in other places.
 Only here.
 If i used this snipped on home page - it works,
 if i used it in other page:

 Recordings - here i want to show list of children, which have parts
 which i define in Stereotype:
 - Rec1
 - Rec2
 - Rec3

 If i remove one of r:content part='amazon_link' / - this page works,
 if i left both - i get this:
 Recursion error: already rendering the `amazon_link' part.

 Any suggestions?
 Thanks.

 P.S. I used Paperclipped and Stereotype plugins if this matters.


 On Nov 19, 2009, at 10:43 PM, john muhl wrote:

 there is nothing wrong with that snippet. so maybe you have already
 entered the amazon_link part before you call the snippet; maybe in
 another snippet or a layout.

 On Thu, Nov 19, 2009 at 2:35 PM, Dmitry Belitsky
 dmitry.belit...@gmail.com wrote:
 Hey guys,
 take a look at http://pastie.org/706339
 i get error:

 StandardTags::TagError in SiteController#show_page
 Recursion error: already rendering the `amazon_link' part.

 Can you help me fix it?


 --
 With optimism,
 Dmitry Belitsky
 http://belitsky.info




 ___
 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] Navigation Menu Sub-levels

2009-11-19 Thread Mauricio Dulce
Hello, I'm finishing a web mounted radiant, but I need to generate a  
two-level navigation, and searched and not found such information and  
I am using this reference to create the menu.

r:navigation urls=[Title: url | Title: url | ...]
   r:normala href=r:url /r:title //a/ 
r:normal
   r:herestrongr:title //strong/r:here
   r:selectedstronga href=r:url /r:title / 
 /a/strong/r:selected
   r:between | /r:between
 /r:navigation
The idea is that this will render me this menu


 div id=menup class=menuh
   ul
 lia href=#Item 1/a/li
 lia href=#Item 2/a/li
 lia href=#Item 3/a
   ul
 lia href=#Sub Item 2.1/a/li
 lia href=#Sub Item 2.2/a/li
 lia href=#Sub Item 2.3/a/li
 lia href=#Sub Item 2.4/a/li
   /ul
 /li
 lia href=#Item 4/a/li
 lia href=#Item 5/a
   ul
 lia href=#Sub Item 5.1/a/li
 lia href=#Folder 5.2/a
   ul
 lia href=#Sub Item 5.1.1/a/li
 lia href=#Sub Item 5.1.2/a/li
 lia href=#Folder 5.1.3/a
   ul
 lia href=#Sub Item 5.1.3.1/a
   ul
 lia href=#Sub Item 5.1.3.1.1/a/li
   /ul
 /li
 lia href=#Sub Item 5.1.3.2/a/li
 lia href=#Sub Item 5.1.3.3/a/li
 lia href=#Sub Item 3.1.3.4/a/li
 lia href=#Sub Item 3.1.3.5/a/li
   /ul
 /li
 lia href=#Sub Item 5.1.4/a/li
   /ul
 /li
   /ul
 /li
 lia href=#Item 6/a/li
   /ul
  
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Navigation Menu Sub-levels

2009-11-19 Thread Anton Aylward
Mauricio Dulce said the following on 11/19/2009 07:05 PM:
 Hello, I'm finishing a web mounted radiant, but I need to generate a  
 two-level navigation, and searched and not found such information and  
 I am using this reference to create the menu.
 

 The idea is that this will render me this menu

No it won't.

r:navigation / produces a single menu.
It may or may not have anything to do with the hierarchy of pages.
You could write

r:navigation urls=
Main:  /skipjack |
About: /para1/nicetomeetyou/section1 |
Buying: /shop/selling |
Selling: /trade/buying |
Goodbye: http://www.google.com


The point I'm making here is that r:navigation / is completely
arbitrary.  It need not follow the hierarchy.

*IF* - and its a big if - you want a menu that follows you page
hierarchy, AND you want something like suckerfish menus, then

a) see my post on this last week

b) from the 'root'(which may not be / )

div id=menup class=menuh
r:if_children
ul
r:children:each 
  lir:link /
   r:if_children
  ul
  r:children:each 
lir:link / /li
  /r:children:each
  /ul
  /li
/r:children:each
/ul
/r:if_children
/div

This will dynamically generate the two level menu.

But please see my post about menus from last week


-- 
There are still places where people think that the function of the media
is to supply information -- Donn Rottenburg
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant