Sublime directory Surf the web anonymous Pagerank Monitor


What is the differnce between a theme and a template?

summerwilkins
Tue 7 June 2011, 11:21 pm GMT +0200
There is a misconception on my part every time I encounter these. Can you help me figure out their differences

wanderer89
Thu 9 June 2011, 09:23 am GMT +0200
I think this is not important, how a design product called. The main thing is it  functionallity.

eswari
Thu 9 June 2011, 12:16 pm GMT +0200
 Templates:  are used to display the content of our site.
Themes:   are the collections of templates,images and the things which are used to create the entire page..
Is this correct?

summerwilkins
Thu 9 June 2011, 05:41 pm GMT +0200
I think this is not important, how a design product called. The main thing is it  functionallity.
But isn't it that functionality is also incorporated with the design?

wanderer89
Tue 14 June 2011, 09:13 am GMT +0200
As you  remeber we talk about theme and template, not just about design

noelagnote
Tue 14 June 2011, 06:23 pm GMT +0200


Theme refers to a set of files which control the HTML generation/presentation. For each request the drupal and modules create the data as a data structure (associative array or object). The theme layer takes this data and creates HTML. It also has css files to control styling.

Template in the context of a theme are files with the html code, with placeholders for actual data. in the case of php templates the placeholders are php variables. Template files contain the html generated for a particular piece of content like node, block etc.

summerwilkins
Tue 14 June 2011, 06:37 pm GMT +0200
Can you use both in doing a website? Like putting a template and using a theme on it?

timpane
Wed 29 June 2011, 06:14 pm GMT +0200
Template in the context of a topic are documents with the html cipher, with placeholders for genuine data. in the case of php templates the placeholders are php variables

summerwilkins
Wed 29 June 2011, 08:11 pm GMT +0200
Thanks for all the answers. It helped a lot.

lfm1012
Tue 5 July 2011, 08:29 am GMT +0200
Thank you for noelagnote

website design
Mon 29 August 2011, 04:19 am GMT +0200
i agree with that answer thanks

edesigner
Fri 2 September 2011, 10:01 am GMT +0200
Hello Dear Friend,

I think a theme is made up of a collection of template files are all template files which when combined with your CSS, JS and images produces a theme. In addition a themes can be inherited. A theme can be created with just CSS and no additional template files by inheriting from an existing theme, in which case the template files from the parent theme are used. Another way to look at it is a theme is what you see and the template files are responsible for generating the markup.



I hope this makes it a little bit clearer.

Good Luck.......!

charlesangl1
Tue 13 September 2011, 10:35 am GMT +0200
Thanks for all the answers. It helped a lot.

Charlesangl1

dlitedrive
Sun 18 September 2011, 09:38 am GMT +0200
A "theme" is a fully developed look for a functioning system. It's usually very involved (code wise) and made for a specific purpose. A template is simpler, and can be more easily adapted to various purposes. It's usually just CSS and XHTML (and images)

john321
Tue 4 October 2011, 10:51 am GMT +0200
I had a feeling you were going to reply that way. Thank you.

shanmarsh2
Thu 6 October 2011, 09:26 am GMT +0200
 a "theme" is just a special type of plugin that bundles together any number of templates (to control how a given piece of data gets rendered to HTML), CSS, JS files, images, and so on.

So, there is a single "template" for your oveevral page markup, a single "template" for how a sidebar block is rendered as HTML, and so on. All of them, bundled together and named, are referred to as a theme.

southkoala
Sat 8 October 2011, 01:51 pm GMT +0200
themes are a "group" of settings that you use. it can be changed from time to time depending on the user's preference. templates on the other hand are used like ready made designs - not as easily changeable as themes are.

hostnametoip
Thu 24 November 2011, 01:14 pm GMT +0100
can you explain that in more simple words.

wanderer89
Wed 30 November 2011, 08:28 am GMT +0100
really now I think the template and theme are the same things, just synomyms))

sophia911
Thu 8 December 2011, 09:40 am GMT +0100
Great ....
I do not understand it at all ....

wanderer89
Fri 9 December 2011, 08:15 am GMT +0100
you do not understand the different, because it does not exist)))))

alacia
Mon 19 December 2011, 11:47 am GMT +0100
Thanks to all friends for this information like me many other people get confused between them and templates.

palmgeo
Tue 27 December 2011, 08:43 am GMT +0100
Theme refers to a set of files which control the HTML generation/presentation. For each request the drupal and modules create the data as a data structure (associative array or object). The theme layer takes this data and creates HTML. It also has css files to control styling.

Template in the context of a theme are files with the html code, with placeholders for actual data. in the case of php templates the placeholders are php variables. Template files contain the html generated for a particular piece of content like node, block etc.

kerry
Fri 23 March 2012, 06:13 pm GMT +0100
I like to share more about theme and template that

Theme refers to a set of files that control the HTML presentation. For each request the drupal and modules create the data as a data structure(associative array or object). The theme layer takes this data and creates HTML. It also has css files to control styling.

Template in the context of a theme are files with the html code, with placeholders for actual data. in the case of php templates the placeholders are php variables. Template files contain the html generated for a particular piece of content like node, block etc.

johnalbert234
Mon 26 March 2012, 02:44 pm GMT +0200
Theme = lots of files in a folder - for example; page.tpl.php, node.tpl.php, block.tpl.php, style.css, template.php
Template = one file, for example; page.tpl.php

A theme is therefore many files that work together and a template is just one of the files .
If you want to learn more about these things you can contact us at :39555 Orchard Hill Place,
Suite 461, Novi, Michigan-48375

rosiebrown0
Mon 2 April 2012, 06:22 am GMT +0200
Templates are files that help you design interesting, compelling, and professional-looking documents. They contain content and design elements that you can use as a starting point when creating a document.

To give your document a designer-quality look ? a look with coordinating colors and fonts ? you'll want to apply a theme. You can use and share themes among the Office for Mac applications that support themes, such as Word, Excel, and PowerPoint.

deccanbazaar
Sat 28 April 2012, 10:49 pm GMT +0200
The term theme is used whan there is a CMS already built and you change the design by adding a files in the template folder and set it from teh admin panel the exact way what you do with Wordpress themes.

But Template is refered when you create the entire website in a design which is in HTML and static.

Archive for SMF v1.00 by N.P. Valid XHTML 1.0 Transitional