Themes

Discussions on custom themes or improvements for existing themes

41
3
TonyEditor posted Dec 4 '20 at 11:40 am

Hi


Does some one know how ik can fix that i can see the page title on the page.tpl


{*
/*
* @CODOLICENSE
*/
*}
{* Smarty *}
{extends file='layout.tpl'}

{block name=body}

<style type="text/css">

.codo_page_content {

margin-top: -20px;
background: white;
border-radius: 5px;
padding: 15px;

}

.container {
width: 100%;

}


</style>

<div class="container">

{"block_custom_page_before"|load_block}

<div class="codo_page_content">

{"block_custom_page_start"|load_block}

{$contents}

{$page_title} <???? --- doesnt work or {$title}

{"block_custom_page_end"|load_block}


</div>

{"block_custom_page_after"|load_block}

</div>
{/block}

if i look in the database it is calling title and if i see in the page.php the insert is page_title


can some help me?


178
3
ALCHEM; posted Sep 18 '20 at 4:13 pm

Since CodoForum 5 is here I've started working on a new theme.
Probably I'll update Velux too.


Here's a "sneak peak", if you have suggestions, i'll be glad to hear them.
This is just a concept, major changes will come.



Regards,
ALCHEM;


recent by ALCHEM;  ·  Sep 21 '20 at 12:26 pm
149
2
WebCrew posted Sep 18 '20 at 6:33 am

Hi Community smile


Today I was sorting out older projects from me and I found a very early try of a Codoforum theme I did some years ago. I updated it to work with latest Codoforum version 5.0.2+

It is a black & white (kind a like) theme with a bit more contrast as the default one - thats why I named the theme "Contrast". Other then that it is nothing special.


You can download the theme at my GitHub repository. It would be awesome if you leave a star rating for me - thx mates!


5f64462ca8065



I will further update the theme.


Kind regards, Andy smile


recent by WebCrew  ·  Sep 19 '20 at 12:42 pm
87
7
westfield posted Aug 1 '20 at 4:42 am

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

recent by WebCrew  ·  Aug 6 '20 at 9:14 pm
594
20

Hello,

So...i've just started using codoforum, wich is a very nice and smooth forum platform, congrats to the developer/s.
I've been editing the default theme to try and create a gaming one, with a slider and other nice features. Here's a preview hope you like it and give some opinions and sugestions.

The template is still in the works, this week should be available on github, i'll update this topic.

Kind regards,
ALCHEM;.

PS: Sorry for my bad english smile

recent by ALCHEM;  ·  Jul 7 '20 at 7:04 pm
6
35
4
Actions
Hide topic messages
Enable infinite scrolling
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft