Random stuff about serendipity. Discussion, Questions, Paraphernalia.
-
govnocoder
- Posts: 1
- Joined: Mon Aug 12, 2019 1:31 pm
Post
by govnocoder » Mon Aug 12, 2019 1:36 pm
Hello everyone, I have some questions about serendipity functionality and modifications.
I actually want to use serendipity as a blog engine for my websites blog, so the question is - is it possible to add custom header, footer and use my custom css styles and js along with serendipity.
Thank you very much

-
thh
- Regular
- Posts: 418
- Joined: Thu Oct 26, 2006 2:38 pm
- Location: Stuttgart, Germany
-
Contact:
Post
by thh » Mon Aug 12, 2019 11:49 pm
govnocoder wrote: ↑Mon Aug 12, 2019 1:36 pm
I actually want to use serendipity as a blog engine for my websites blog, so the question is - is it possible to add custom header, footer and use my custom css styles and js along with serendipity.
That should be possible. You can create your own theme or adapt an existing theme to change the look and feel of s9y to your website, or you can even use the "embed" configuration directive, see
https://docs.s9y.org/docs/users/getting ... dding.html.
-
Robison
- Posts: 1
- Joined: Fri Nov 17, 2017 10:19 am
Post
by Robison » Sat Sep 07, 2019 8:23 pm
Are there any limitations when you're adapting an existing theme like that?
-
yellowled
- Regular
- Posts: 7111
- Joined: Fri Jan 13, 2006 11:46 am
- Location: Eutin, Germany
-
Contact:
Post
by yellowled » Sat Sep 07, 2019 8:45 pm
That's kind of hard to answer without knowing what you intend to do.
I'll assume you have an existing site with existing markup (HTML), CSS and maybe some JavaScript, and you would like to use that with s9y while keeping your current site's look. So you would have to "port" your current markup to s9y templates, add your CSS and JavaScript and start adding content.
If you know all those technologies and are willing to dig into Smarty templates (which is basically HTML with some programming code, nothing too fancy), you should be able to do that fairly quickly. You'll have to find out what to change where (i.e. in which tpl file), but there's documentation for that. Of course, you can always ask here.
YL