Re: [Radiant] Issue with page updating since 0.6.4

2007-11-23 Thread Andrew Klein
I don't appear to have those, no. Update to trunk, you're meaning via svn?

Thanks again!
BT

Thomas Bell wrote:
 Do you have a cache.data and a cache.yml in your radiant install.
 I did and I had to upgrade to the trunk. Everything works smoothly now.
 --Tom

 On Nov 23, 2007 6:38 AM, Andrew Klein [EMAIL PROTECTED] wrote:

   
 Sorry about the delay in responding; Life's been kicking me in the butt.

 When I click clear cache, it clears everything in the cache directory,
 but even with the cache directory gone, even if I force-refresh, I get
 the same page back again and won't update for a few minutes. The files
 do rebuild themselves. I'm not sure what the apparent issue is at all; I
 didn't have this issue before. One thought that did cross my mind was
 what if the caching headers aren't being written correctly for some
 reason anymore? (IE:- what the browser sees) This issue only appeared in
 0.6.4, so I'm not sure where it did come from, but it is a reasonable
 issue I would say.

 Thanks!
 BT
 (PS I'll try to be a little more responsive)

 Daniel Sheppard wrote:
 
 I think I can agree with this.  It has almost become second nature to
 change the home page to reset the cache.  I have noticed this with
 changing snippets (which should clear cache - I had asked
 this earlier)
 and then clearing the cache.  No go!  It doesn't update the home page.

 
 Well the code is fairly straightforward. The only thing that I can
 think of that might interrupt it would be file permissions in the
 cache dir.

 When you click clear cache, is there anything left in your cache
   
 directory?
 
 What about if you run (as the same user your server runs as):

 ruby script/console
 ResponseCache.instance.clear

 What if you run that again as a different user?

 Dan

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


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

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

   

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


Re: [Radiant] Issue with page updating since 0.6.4

2007-11-23 Thread Thomas Bell
Yep.

Daniel wrote:
You can update to the trunk with

rake radiant:freeze:edge

Once it is fixed in the stable build, you can run:

rake radiant:unfreeze

To go back to using the gem.
--Tom

On Nov 23, 2007 6:08 PM, Andrew Klein [EMAIL PROTECTED] wrote:

 I don't appear to have those, no. Update to trunk, you're meaning via svn?

 Thanks again!
 BT

 Thomas Bell wrote:
  Do you have a cache.data and a cache.yml in your radiant install.
  I did and I had to upgrade to the trunk. Everything works smoothly now.
  --Tom
 
  On Nov 23, 2007 6:38 AM, Andrew Klein [EMAIL PROTECTED]
 wrote:
 
 
  Sorry about the delay in responding; Life's been kicking me in the
 butt.
 
  When I click clear cache, it clears everything in the cache directory,
  but even with the cache directory gone, even if I force-refresh, I get
  the same page back again and won't update for a few minutes. The files
  do rebuild themselves. I'm not sure what the apparent issue is at all;
 I
  didn't have this issue before. One thought that did cross my mind was
  what if the caching headers aren't being written correctly for some
  reason anymore? (IE:- what the browser sees) This issue only appeared
 in
  0.6.4, so I'm not sure where it did come from, but it is a reasonable
  issue I would say.
 
  Thanks!
  BT
  (PS I'll try to be a little more responsive)
 
  Daniel Sheppard wrote:
 
  I think I can agree with this.  It has almost become second nature to
  change the home page to reset the cache.  I have noticed this with
  changing snippets (which should clear cache - I had asked
  this earlier)
  and then clearing the cache.  No go!  It doesn't update the home
 page.
 
 
  Well the code is fairly straightforward. The only thing that I can
  think of that might interrupt it would be file permissions in the
  cache dir.
 
  When you click clear cache, is there anything left in your cache
 
  directory?
 
  What about if you run (as the same user your server runs as):
 
  ruby script/console
  ResponseCache.instance.clear
 
  What if you run that again as a different user?
 
  Dan
 
  ___
  Radiant mailing list
  Post:   Radiant@lists.radiantcms.org
  Search: http://radiantcms.org/mailing-list/search/
  Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
 
 
 
  ___
  Radiant mailing list
  Post:   Radiant@lists.radiantcms.org
  Search: http://radiantcms.org/mailing-list/search/
  Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
 
 
  ___
  Radiant mailing list
  Post:   Radiant@lists.radiantcms.org
  Search: http://radiantcms.org/mailing-list/search/
  Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
 
 

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

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


Re: [Radiant] Issue with page updating since 0.6.4

2007-11-23 Thread Andrew Klein
Sorry about the delay in responding; Life's been kicking me in the butt.

When I click clear cache, it clears everything in the cache directory, 
but even with the cache directory gone, even if I force-refresh, I get 
the same page back again and won't update for a few minutes. The files 
do rebuild themselves. I'm not sure what the apparent issue is at all; I 
didn't have this issue before. One thought that did cross my mind was 
what if the caching headers aren't being written correctly for some 
reason anymore? (IE:- what the browser sees) This issue only appeared in 
0.6.4, so I'm not sure where it did come from, but it is a reasonable 
issue I would say.

Thanks!
BT
(PS I'll try to be a little more responsive)

Daniel Sheppard wrote:
 I think I can agree with this.  It has almost become second nature to 
 change the home page to reset the cache.  I have noticed this with 
 changing snippets (which should clear cache - I had asked 
 this earlier) 
 and then clearing the cache.  No go!  It doesn't update the home page.
 

 Well the code is fairly straightforward. The only thing that I can
 think of that might interrupt it would be file permissions in the 
 cache dir. 

 When you click clear cache, is there anything left in your cache directory?

 What about if you run (as the same user your server runs as):

 ruby script/console
 ResponseCache.instance.clear

 What if you run that again as a different user?

 Dan

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

   

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


[Radiant] mini_radiant + filters

2007-11-23 Thread arpit jain

Hi All..
I am using the mini_radiant plugin, but the text filters i.e. textile, 
smartypants and markdown are not coming.
Does anybody have any idea?
   
   I am using engines plugin in place of plugins+ pack(as after using 
plugins_plus i was not able even to start the
   server at localhost.). Also whenever i submit any of the form to create 
snippet/user/layout etc, it deletes my
   plugin_assets that are present in the public_directory of my main 
application.
   I figured out that a clear cache function is called which was deleting 
my plugin_assets.
   But if i removed this function it works fine, except at the pages view 
where we need to clear cache explicitly.
   Any suggestions as to what to do?

   Also i need to know where and how we can create the templates?

Thanks
Arpit


   
   

_
Post free property ads on Yello Classifieds now! www.yello.in
http://ss1.richmedia.in/recurl.asp?pid=221
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Listing first and last children

2007-11-23 Thread Andrew Neil
Hi,

On one of my sites, I'm using the following snippet:

r:children

   r:first order=desc
 div class=entry firstentry
   r:snippet name=entry/
 /div
   /r:first

   r:each order=desc limit=3 offset=1
 div class=entry
   r:snippet name=entry/
 /div
   /r:each

   r:last order=desc limit=5
 div class=entry lastentry
   r:snippet name=entry/
 /div
   /r:last

/r:children

The idea is that it should list the 5 most recent entries (child  
pages), wrapping each in a div.entry, except adding  
class=firstentry or lastentry to the first and last. I need these  
extra handles for the sake of CSS styling, which differs on first/ 
last from middle entries.

The snippet above works fine, except when I have less than 5 child  
pages. In that case, the final entry is listed twice. This won't be a  
problem in the future, when the site grows, but it is an irritation  
at this early stage where some of the pages calling this snippet have  
less than 5 pages. I wonder if anyone can suggest an improvement?

Thanks,

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


Re: [Radiant] Using a dynamic sub-navigation...

2007-11-23 Thread Travis Bell
Hey guys,

I've been using the navigation tag extension for a while now ( http:// 
svn.artofmission.com/svn/plugins/radiant/extensions/ 
navigation_tags/ ) but upon trying to use it on a new, 0.6.4 gem  
install w/ SQLite3, the r:if_self tag just doesn't want to seem to  
work.

r:find url=/projects/current-urban/kensington
r:children:each order=desc
lir:if_selfclass=selected/r:if_selfr:link //li
/r:children:each
/r:find

In this scenario, I get the list of children, but not a one ever gets  
the class=selected appended to it.

Nobody would happen to know if I am either doing something wrong, OR,  
another way to achieve what I need it to do here?

Thanks in advance,

--
Travis Bell
Not sent from my iPhone.





On 23-Aug-07, at 6:15 PM, Ryan Heneise wrote:

 Travis,

 r:nav / will automatically attach the class current to the li
 tag of the current page in the hierarchy:
 li class=currenta href=/a_page/a_sub_page/A Sub Page/a/li

 Or, you could use r:if_self / like this:

 r:children:each
lir:if_self class=current/r:if_selfr:link //li
 /r:children:each
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Issue with page updating since 0.6.4

2007-11-23 Thread Thomas Bell
Do you have a cache.data and a cache.yml in your radiant install.
I did and I had to upgrade to the trunk. Everything works smoothly now.
--Tom

On Nov 23, 2007 6:38 AM, Andrew Klein [EMAIL PROTECTED] wrote:

 Sorry about the delay in responding; Life's been kicking me in the butt.

 When I click clear cache, it clears everything in the cache directory,
 but even with the cache directory gone, even if I force-refresh, I get
 the same page back again and won't update for a few minutes. The files
 do rebuild themselves. I'm not sure what the apparent issue is at all; I
 didn't have this issue before. One thought that did cross my mind was
 what if the caching headers aren't being written correctly for some
 reason anymore? (IE:- what the browser sees) This issue only appeared in
 0.6.4, so I'm not sure where it did come from, but it is a reasonable
 issue I would say.

 Thanks!
 BT
 (PS I'll try to be a little more responsive)

 Daniel Sheppard wrote:
  I think I can agree with this.  It has almost become second nature to
  change the home page to reset the cache.  I have noticed this with
  changing snippets (which should clear cache - I had asked
  this earlier)
  and then clearing the cache.  No go!  It doesn't update the home page.
 
 
  Well the code is fairly straightforward. The only thing that I can
  think of that might interrupt it would be file permissions in the
  cache dir.
 
  When you click clear cache, is there anything left in your cache
 directory?
 
  What about if you run (as the same user your server runs as):
 
  ruby script/console
  ResponseCache.instance.clear
 
  What if you run that again as a different user?
 
  Dan
 
  ___
  Radiant mailing list
  Post:   Radiant@lists.radiantcms.org
  Search: http://radiantcms.org/mailing-list/search/
  Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
 
 

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

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