FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Switching Default Template and Style

 
Post new topic   Reply to topic    PyLucid - CMS - Forum Forum Index -> general
View previous topic :: View next topic  
Author Message
smartcat99s



Joined: 16 Mar 2008
Posts: 3
Location: USA

PostPosted: Mon 17 Mar, 2008 19:07    Post subject: Switching Default Template and Style Reply with quote

Is there a way to easily switch the default template and style globally?

I created a new template and style and tested it on a pair of pages, but I'd like to be able to switch all pages to using that template (without going into each and every page individually).

I'm currently using v0.8 release, but I can switch to the SVN version if it's only there.
Back to top
View user's profile Send private message
jens
Administrator


Joined: 12 Oct 2005
Posts: 972
Location: duisburg, germany

PostPosted: Mon 17 Mar, 2008 20:49    Post subject: Reply with quote

No, there exist no function to do that.

But you can easy switch this by hand: CopyPaste the template and style content in the django admin panel.

Note: If you create a new page, style and template are inherited from the parent page.
_________________

http://www.jensdiemer.de | http://www.htfx.de | http://www.python-forum.de
Back to top
View user's profile Send private message
smartcat99s



Joined: 16 Mar 2008
Posts: 3
Location: USA

PostPosted: Tue 18 Mar, 2008 06:13    Post subject: Reply with quote

Thanks -- I just ended up hopping into a mySql query browser and issuing a command to force all the pages to use the new style.

BTW -- awesome work Wink
Back to top
View user's profile Send private message
jens
Administrator


Joined: 12 Oct 2005
Posts: 972
Location: duisburg, germany

PostPosted: Tue 18 Mar, 2008 07:41    Post subject: Reply with quote

I filed a ticket for this: http://trac.pylucid.net/ticket/175
_________________

http://www.jensdiemer.de | http://www.htfx.de | http://www.python-forum.de
Back to top
View user's profile Send private message
jens
Administrator


Joined: 12 Oct 2005
Posts: 972
Location: duisburg, germany

PostPosted: Wed 11 Feb, 2009 17:40    Post subject: Reply with quote

Since http://trac.pylucid.net/changeset/1821 there exist a way for temporally switch the template/stylesheet for all pages. This is good, if you wand to create and test a new design.

You find a new point "Template/Style switcher" under "sub menu" / "edit look"


ToDo: Write docu about this ( http://trac.pylucid.net/ticket/245 )
_________________

http://www.jensdiemer.de | http://www.htfx.de | http://www.python-forum.de
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PyLucid - CMS - Forum Forum Index -> general All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

<< back to PyLucid CMS Homepage



Powered by phpBB © 2001, 2005 phpBB Group