Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: russ - helmikuu 01, 2005, 07:37:55 AP

Otsikko: Themes and Mods
Kirjoitti: russ - helmikuu 01, 2005, 07:37:55 AP
I have installed many MODS easily and they work fine with the "default" template. I was wondering, if i wanted to switch templates, how to make these mods work with other templates. For example "users online today" mod which lists all the users who have logged on, on a particular day works with the "detault" template but not with any others...

Any help would be greatfully received.
Otsikko: Re: Themes and Mods
Kirjoitti: Pause - helmikuu 01, 2005, 08:23:21 AP
Lainaus käyttäjältä: russ - helmikuu 01, 2005, 07:37:55 AP
I have installed many MODS easily and they work fine with the "default" template. I was wondering, if i wanted to switch templates, how to make these mods work with other templates. For example "users online today" mod which lists all the users who have logged on, on a particular day works with the "detault" template but not with any others...

Any help would be greatfully received.
Just look in the .mod file that comes with it, and in the .template.php files, that's what you'd edit in the other themes.
Otsikko: Re: Themes and Mods
Kirjoitti: RC-Drift.com - helmikuu 01, 2005, 10:14:02 AP
What exactly needs editing?

...If for example I want to use the Midland theme
Otsikko: Re: Themes and Mods
Kirjoitti: russ - helmikuu 01, 2005, 11:00:06 AP
IVe tried doing what you suggested but i get errors like "cant find template "main"" ... ive followed the files exactly by replacing or adding the various lines where necessary....