Em Terça 25 Abril 2006 13:51, Dana_at_BBN escreveu:
> Not sure whether this is more a CherryPy, KID, or Turbogears question,
> but here goes, and please forgive me should this be a mis-post.
> My question is: "how do I correctly incorporate existing javascript
> libs into TurboGears.?"

Hi Dana.

Instead of creating your own folder, place them in <project>/static/javascript 
and use it from there, by saying that they are at "/static/javascript" in 
your script tag.

If you want you can create your folder but you'll have to add it to the static 
filter in your app.cfg (sorry, I don't remember the name of the file for TG 
0.8). 

> Is this just a case of RTFM closer, or well known Turbogears culture
> lore (or NOT so well-know)?

It certainly is at the docs, though it might not be explicit or have a neon 
sign saying "put your images here, your CSS there and your javascript 
there" ;-)  This shouldn't be hard to add, though.  If reading the docs more 
carefully you still believe that this is a flaw in our docs, please open a 
ticket for it at http://trac.turbogears.org/

> Thanks for any help.
> <micro-flame-bait>Turbogears rocks! It's is like a mag-lev version of
> RoR</micro-flame-bait>

Oh yeah!  We kick ass! ;-)  Ops... ;-)

-- 
Jorge Godoy      <[EMAIL PROTECTED]>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to