FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » changing the templates
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
icon5.gif  changing the templates [message #14389] Thu, 13 November 2003 15:00 Go to next message
bobmurphy is currently offline  bobmurphy   Ireland
Messages: 166
Registered: November 2003
Location: ireland
Karma: 0
Senior Member
the manual mentions about exiting templates ...
Quote:

generally intended for quick changes and/or fixes, if you intend to do a complete layout redesign
we recommend changing the templates (*.tmpl files inside the tmpl directory for each theme)
... i have created a new template and used that template in a new theme i have created; however i cant find a tmpl directory - the directories inside the "theme" directory are the directories corresponding to the names of the themes and templates i created alright but they only contain .php files and one .css file each

i did find .tmpl files in thm/default/tmpl and thm/pathinfo/tmpl however i wanted to edit the templates which i have just created, not the default, which i assume this is - ( not sure what pathinfo means though)

bob
Re: changing the templates [message #14400 is a reply to message #14389] Thu, 13 November 2003 15:20 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You can create a completely new template set via the theme manager and then create themes based on that new template set. The files you should edit are inside thm/[template set name]/tmpl and have .tmpl extension.

FUDforum Core Developer
Re: changing the templates [message #14407 is a reply to message #14389] Thu, 13 November 2003 16:43 Go to previous messageGo to next message
bobmurphy is currently offline  bobmurphy   Ireland
Messages: 166
Registered: November 2003
Location: ireland
Karma: 0
Senior Member
Quote:

The files you should edit are inside thm/[template set name]/tmpl and have .tmpl extension.


i have created 3 or 4 new templates using the theme manager; however the directory listing for the thm directory is:

default (dir)
path_info (dir)
.htaccess


there are no template set directories in there
Re: changing the templates [message #14408 is a reply to message #14407] Thu, 13 November 2003 16:54 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You create a new theme, not a new template set.
To create a template set use "Create New Template Set" control.


FUDforum Core Developer
Re: changing the templates [message #14409 is a reply to message #14408] Thu, 13 November 2003 17:22 Go to previous messageGo to next message
bobmurphy is currently offline  bobmurphy   Ireland
Messages: 166
Registered: November 2003
Location: ireland
Karma: 0
Senior Member
right well i had done that anyway -- but i did it again just to be sure - so now i have several new templates and themes but the directory still shows no extra folders reflecting this
Re: changing the templates [message #14424 is a reply to message #14409] Thu, 13 November 2003 21:40 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Are you looking @ the "theme" or "thm" directory?

FUDforum Core Developer
Re: changing the templates [message #14426 is a reply to message #14424] Thu, 13 November 2003 21:48 Go to previous messageGo to next message
bobmurphy is currently offline  bobmurphy   Ireland
Messages: 166
Registered: November 2003
Location: ireland
Karma: 0
Senior Member
the thm directory


however the themes seem to be working corrrectly even though these directories are not present


btw in the THEME directory there are directories for each of the templates and themes i've set up - i know this as i've named the the templates and templates newtheme newtemplate etc
Re: changing the templates [message #14472 is a reply to message #14400] Fri, 14 November 2003 20:32 Go to previous messageGo to next message
bobmurphy is currently offline  bobmurphy   Ireland
Messages: 166
Registered: November 2003
Location: ireland
Karma: 0
Senior Member
Ilia wrote on Thu, 13 November 2003 15:20

You can create a completely new template set via the theme manager and then create themes based on that new template set. The files you should edit are inside thm/[template set name]/tmpl and have .tmpl extension.



i was looking for these inside the main directory that i installed the forum in ... i didn't realise you meant inside of FUDforum
Confused
icon5.gif  Re: changing the templates [message #14487 is a reply to message #14472] Sat, 15 November 2003 21:15 Go to previous messageGo to next message
bobmurphy is currently offline  bobmurphy   Ireland
Messages: 166
Registered: November 2003
Location: ireland
Karma: 0
Senior Member
ok , minor problem --- i had created lots of test templates and themes while i was trying to sort out this problem - when i got it fixed, i used the theme manager to detlete the themes i didn't want, but the directories are still on the website, and i'd like to get them removed - can i do this automaticaly or would i have to remove them manualy, and is this even possible without screwing things up - i dont just want to go deleting directories .....

also there seems to be no way to delete templates at all, or am i missing something ???

so could you please tell me the best way to get rid of unused templates and themes from the website.
Re: changing the templates [message #14511 is a reply to message #14487] Sun, 16 November 2003 18:40 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
When you remove the theme, the theme's files are removed. However, the template set always remains. If you want to remove it, unlock the forum's files and remove the template set directory (it'll be with the same name as template set) from the thm/ directory.

FUDforum Core Developer
icon5.gif  Re: changing the templates [message #14514 is a reply to message #14511] Mon, 17 November 2003 00:22 Go to previous messageGo to next message
bobmurphy is currently offline  bobmurphy   Ireland
Messages: 166
Registered: November 2003
Location: ireland
Karma: 0
Senior Member
what about the directories and files that are contained within the directory in which i installed the forum? .... in the "theme" directory - i have 5 sub-directories, one is named default and 4 others are named the sames as 4 templates i had created - yet only one of those is an actual template as ive deleted the others - can i just delete these directories ?( except for default and the one i want to keep )

thanks
Re: changing the templates [message #14529 is a reply to message #14514] Mon, 17 November 2003 15:30 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Yes, you can delete those...

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: where are the messages stored
Next Topic: cookie and timeout question
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Nov 25 19:19:54 GMT 2024

Total time taken to generate the page: 0.02661 seconds