Re: [Tiki-devel] Creating custom theme

Gary Cunningham-Lee <gary_c-39LOpZwlz1/[email protected]> Fri, 30 May 2025 20:44:31 +0900
Newsgroups gmane.comp.cms.tiki.devel
Message-ID <[email protected]>
Hi,

Copying the CSS file to the css directory shouldn't be necessary. Just 
to be sure, is your mytheme.scss in mytheme/scss/ or in mytheme/css? In 
the new build system, this file should be in the mytheme/css directory.

I see now that the themes.tiki.org page shows that the custom theme has 
a templates directory, but I think this might not be correct. Custom 
template files should be in _custom/shared/templates. I don't think 
theme-specific template files are supported.

-- Gary

On 5/30/2025 6:54 PM, Karsten Wemheuer via TikiWiki-devel wrote:
> Hi,
> I want to create a custom theme in the new directory structure for a
> tiki 27 installation.
>
> I created the structure unter _custom as described on
> https://themes.tiki.org/Making+or+Updating+a+Theme+for+Tiki+27+and+Newer+Versions
>
> I created a sccs-file an the npm run watch compiled it to the directory
> public/generated/_custom/shared/themes/mytheme/scss/mytheme.css
>
> On the Look&Feel page the new theme doesn't show up. I have to manually
> copy the created css file to _custom/shared/themes/mytheme/css. Is this
> the correct way to work?
>
> Another question regards the layout files like layout_view.tpl. Where
> should I place this file?
>
> Thanks in advance!
>
> Best regards
>
> Karsten
>
>
>
> _______________________________________________
> TikiWiki-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel