Em Monday 03 March 2008 08:15:45 Navrang escreveu:
> I have experience with TG application.
> But i dont know how to replace static contents specific to custom
> theme.
> and how to replace custom templates.

As I said, just add a set of files or replace the files you have with new 
ones.  It is hard to help further since YOU know the application and YOU know 
how you have designed it to work with this style change.

I have done this with a project on a client of mine that had the same software 
running for three companies.  Each company had a different color-scheme.

I wrote three CSS files and then with a cookie I chose the right one to be 
used.  As soon as the company they were working with was changed, so was the 
cookie and all the color scheme for the application.

A simple "if" on the template did that for me.  I just loaded the CSS I wanted 
to use for that specific company.

For an unknonw number of stylesheets, I'd adopt a different approach and 
create directories with stylesheets and images that they use, as it is common 
to find out there for other projects.

But, again, if you don't try for yourself you won't see how to do that and you 
won't be able to test what you have designed.


-- 
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to