[Radiant] Re: Conditional Tags

2009-03-06 Thread Elle Meredith


On 05/03/2009, at 3:31 PM, Elle Meredith wrote:

1. In my Normal layout I use the page title as h1 element (sometimes  
as a link, sometimes as just a heading).
However, I wish _not_ to have a h1 title on the home page only. I am  
not sure how to achieve this.


snipped

Furthermore, using the above, when I go to archives, I get all the  
posts' titles but not a general %Y Archives heading.


Simple is always the best solution. Not sure if anyone is interested  
but defining

r:unless_url matches=^/$h1r:title //h1/r:unless_url
does all I want and while using just one layout :)

No title on home page, titles as h1 on every other page (as well as  
archive pages)
While blog entries appear as links on archives pages (which is defined  
in the archives page)


Now, why was I trying to complicate things? :)

Elle


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


[Radiant] Log error with Gallery

2009-03-06 Thread MtnBiker

Processing SiteController#show_page (for 96.229.227.87 at 2009-03-06
17:48:47) [GET]
  Parameters: {action=show_page, url=[assets, closelabel.gif],
controller=site}
Cookie set: session_token=5b3121382345e6c4fa87706ede7a1fa349ae310e; path=/;
expires=Sat, 21 Mar 2009 01:48:47 GMT
Completed in 562ms (DB: 40) | 404 Not Found
[http://knobby.keeptherubbersidedown.com/assets/closelabel.gif]


Processing SiteController#show_page (for 96.229.227.87 at 2009-03-06
17:48:47) [GET]
  Parameters: {action=show_page, url=[assets, loading.gif],
controller=site}
Cookie set: session_token=5b3121382345e6c4fa87706ede7a1fa349ae310e; path=/;
expires=Sat, 21 Mar 2009 01:48:47 GMT
Completed in 662ms (DB: 36) | 404 Not Found
[http://knobby.keeptherubbersidedown.com/assets/loading.gif]

==

AFAIK these two gif's are associated with Gallery and in particular lightbox
which Gallery uses. But they are buried here:
/vendor/extensions/gallery/public/images/extensions/gallery/lightbox/closelabel.gif

The page I'm loading to create these log items isn't a gallery page. Any
ideas what might be amiss?

BTW, I looked at the log because my site is loading slowly at Dreamhost (see
separate recent post) and thought I'd see if I could find anything. My
problem is on the initial loading of the site after it hasn't been accessed
for a while, and the two log events show up more than once during the
initial loading and once on reload. So a slight change this is part of my
problem.

I've put the offending gif's in a folder named assets and will see if the
site speeds up. Will have to wait a few hours to test.
-- 
View this message in context: 
http://www.nabble.com/Log-error-with-Gallery-tp22383765p22383765.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


Re: [Radiant] Log error with Gallery

2009-03-06 Thread Anton Aylward
MtnBiker said the following on 03/06/2009 09:25 PM:

 AFAIK these two gif's are associated with Gallery and in particular lightbox
 which Gallery uses. But they are buried here:
 /vendor/extensions/gallery/public/images/extensions/gallery/lightbox/closelabel.gif

Ah, if that's the ONLY place they are then I suspect you have not fully
installed the gallery.  The rake for it should have copied that to
/public/images/extensions/gallery/lightbox/closelabel.gif

No, don't copy it by hand!  Do the complete job and use the proper
method.  Use
rake radiant:extensions:gallery:update

-- 
The trouble with troubleshooting is that trouble shoots back.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant