Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2023-02-20 16:28:41

lindabb
Member
Registered: 2023-02-17
Posts: 132

theme vs style vs template

Hello,
I couldn’t get clear understanding about theme, style and template
Can someone please explain those ?
also is there an easy way like step by step to create those ?
I like to use Bootstrap but I lost where to start,
there many things like forms, pages, styles, , themes so on.
will be nice to have clear idea where to start.

Thank you

Offline

#2 2023-02-20 17:01:34

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,413
Website GitHub

Re: theme vs style vs template

Try dipping your toe in the de facto guide to themes.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#3 2023-02-22 13:39:16

lindabb
Member
Registered: 2023-02-17
Posts: 132

Re: theme vs style vs template

Thank you Bloke,
easier than what I thought LOL.
basically theme is collection of CSS (styles).
theme assigned to section, then to the page. each page within same website can have different theme or style!
Thanks again

Offline

#4 2023-02-22 14:15:25

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,413
Website GitHub

Re: theme vs style vs template

Yes, perfectly summed up.

A theme is just a convenient container for a bundle of pages, forms and styles. And you can mix and match pages, forms and styles from any theme in any section on your site. So you can choose to ‘skin’ your site consistently throughout, or to pick a different look for one or more sections. Very handy for making iterative upgrades to your site by trying things out first.

Incidentally, when trying things out, note that Textpattern has the concept of live/dev split lanes so you can test changes to themes/pages/forms/styles on your site in the developer lane (only visible to you and other logged-in users) and ‘push’ them to the live website when done. See: The end of the web development staging server.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB