Themes
New Theme error message

I'm trying to create a new theme and was following the documentation. However I noticed that in my install I don't have a so called blue theme but rather a default theme, vintage, 2k18 and ignis. So since I wish to hopefully edit some of the HTML as well, I copied the default theme and renamed it. I then went into the admin panel was happy to to see the new theme here (even though it is just a copy of the default folder - theme). But once I activate this new theme I get a few errors

Warning: require....theme.php. I noticed that the default folder doesn't have a theme.php but rather an ITheme.php. Also a Fatal Error : require.... CODOF/Smarty/Layout.php on line 22

From the admin when I put back the original theme, everything works. Not sure what I'm missing. What is the difference between the theme.php and the ITheme.php files

Thank you

I'm trying to create a new theme and was following the documentation. However I noticed that in my install I don't have a so called blue theme but rather a default theme, vintage, 2k18 and ignis. So since I wish to hopefully edit some of the HTML as well, I copied the default theme and renamed it. I then went into the admin panel was happy to to see the new theme here (even though it is just a copy of the default folder - theme). But once I activate this new theme I get a few errors Warning: require....theme.php. I noticed that the default folder doesn't have a theme.php but rather an ITheme.php. Also a Fatal Error : require.... CODOF/Smarty/Layout.php on line 22 From the admin when I put back the original theme, everything works. Not sure what I'm missing. What is the difference between the theme.php and the ITheme.php files Thank you

I believe 2k18 is the default theme. Try to rename ITheme with theme. See how that goes.

I believe 2k18 is the default theme. Try to rename ITheme with theme. See how that goes.

My page http://russianmichigan.ml/MadRomas

Hi,

Please do not copy the default folder. As @pupsik said, 2k18 acts like the default theme. The default folder acts like a skeleton. You should copy 2k18 into a new folder and then copy-paste any template files from default folder to your new theme.

Also, you don't need to copy all files because codoforum will automatically fall back to the default folder if a template file is not available in your theme.

For example, have a look at the vintage theme where it has modified few of the template files available in the default folder

The documentation has become old, we will fix that.

Hi, Please do not copy the default folder. As @pupsik said, 2k18 acts like the default theme. The default folder acts like a skeleton. You should copy 2k18 into a new folder and then copy-paste any template files from default folder to your new theme. Also, you don't need to copy all files because codoforum will automatically fall back to the default folder if a template file is not available in your theme. For example, have a look at the vintage theme where it has modified few of the template files available in the default folder The documentation has become old, we will fix that.
Necessity is the mother of all inventions!
edited Aug 1 at 6:40 pm

Basically just copy 2k18 on ur computer, rename it "your_theme" place it next to 2k18, activate it in admin panel, and modify it how you like. If for some reason you make mistake, you can restore a file you edited from the backup of 2k18. Make sure you replace preview picture, so you dont make mistake.

Basically just copy 2k18 on ur computer, rename it "your_theme" place it next to 2k18, activate it in admin panel, and modify it how you like. If for some reason you make mistake, you can restore a file you edited from the backup of 2k18. Make sure you replace preview picture, so you dont make mistake.

My page http://russianmichigan.ml/MadRomas

Thank you to everyone. I now understand. One thing I wanted to ask the admin is that if I design a dark theme that I feel may be useful to others in this community, is that something I can send to you or is it something that I can share with users on the forum? Of course it's not for seeking revenue but helping the community grow with other themes

Thanks

Thank you to everyone. I now understand. One thing I wanted to ask the admin is that if I design a dark theme that I feel may be useful to others in this community, is that something I can send to you or is it something that I can share with users on the forum? Of course it's not for seeking revenue but helping the community grow with other themes Thanks
edited Aug 3 at 7:04 pm

@wetsfield

You can create a new theme and then share it here at the forums under the "Themes Category" as I did with my "Codarko Theme".

Here as a example: https://codologic.com/forum/index.php?u=/topic/12380/dark-theme-for-codoforum

It would also be good if you create a GitHub repository for it and then share the link to it here at the community. Its always nice if the plugin and themes number increases - thx mate smile

In the future the Codologic team will also create some kind of a marketplace for themes and plugins. They even started working on it but it needs further refinement.

Kind regards, Andy smile

P.S.: If You want to ask the admin or developers about something you have to mention them like @admin

@wetsfield You can create a new theme and then share it here at the forums under the "Themes Category" as I did with my "Codarko Theme". Here as a example: https://codologic.com/forum/index.php?u=/topic/12380/dark-theme-for-codoforum It would also be good if you create a GitHub repository for it and then share the link to it here at the community. Its always nice if the plugin and themes number increases - thx mate :) In the future the Codologic team will also create some kind of a marketplace for themes and plugins. They even started working on it but it needs further refinement. Kind regards, Andy ;) P.S.: If You want to ask the admin or developers about something you have to mention them like **@admin**

🚽 planing my next project 🪔

Check my GitHub Repos: https://github.com/WebCrew

My CrazyMates Account: https://crazymates.de/Crazymate

edited Aug 3 at 7:19 pm

@WebCrew

Thank you Andy. It was actually downloading your theme which enabled me to figure how the files should be edited and organized. So thank you for that. Additionally your theme is stunning.

Thank you

@WebCrew Thank you Andy. It was actually downloading your theme which enabled me to figure how the files should be edited and organized. So thank you for that. Additionally your theme is stunning. Thank you

@wetsfield thanks man smile

I'm already curious what kind of theme you will conjure up for Codoforum. smile It will surely be better than my bumbling attempt - I only do it as a hobby.

Kind regards, Andy smile

@wetsfield thanks man :) I'm already curious what kind of theme you will conjure up for Codoforum. ;) It will surely be better than my bumbling attempt - I only do it as a hobby. Kind regards, Andy :)

🚽 planing my next project 🪔

Check my GitHub Repos: https://github.com/WebCrew

My CrazyMates Account: https://crazymates.de/Crazymate

49
7
4
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft