Sorry, I wasn't clear about my problem.

I have changed CFG_WEBSTYLE_TEMPLATE_SKIN = mytheme and created
webstyle_templates_mytheme.py which worked very well but now i need to
change websearch_templates.py so i created websearch_templates_mytheme.py
but that didn't work.

I was thinking if there is way to work with themes on other templates files
as well or we have to edit core (websearch_templates.py) file.


Thank you for your help

Diwaker

On Wed, Aug 10, 2011 at 7:18 PM, Peter J. Halliday <[email protected]>wrote:

> I could be misunderstanding your question, but if you are asking how to
> theme some of the _templates files, then you can continue.  If that wasn't
> your  question I'm sorry for misunderstanding, and you can ignore me.
>
> CFG_WEBSTYLE_TEMPLATE_SKIN is what controls the skinning.  Say you are
> going to write a SesameStreet style.  Set the link in your local config:
>
> CFG_WEBSTYLE_TEMPLATE_SKIN = SesameStreet
>
> Then you can rename webstyle_templates.py as
> webstyle_templates_SesameStreet.py
>
> ------------------------------------------
> Peter Halliday
> Cornell University Library IT
> Repositories Group
> [email protected]
> (Phone:) 607-255-1790
> (Cell:) 607-329-6905
>
>
>
>
>
>
> On Aug 10, 2011, at 5:52 AM, Diwaker Ghimire wrote:
>
> > Hello,
> >
> > I have created separate template file for webstyle_templates which have a
> setting in config file but there is no setting for other template files such
> as websearch, websession and so. The problem is i created separate template
> file for websearch_templates file using same theme name as
> webstyle_templates but it is not working.
> >
> > Is there is any possibility that i can use separate template file for all
> _templates or i have to hack into core files.
> >
> >
> > Diwaker
>
>

Reply via email to