Topic: What is the differnce between a theme and a template? (Read 1420 times)
I wish I was an Oscar winner
Posts: 95
636 credits Members referred : 0
« Reply #20 on: Dec 09, 2011, 08:15:55 am »
you do not understand the different, because it does not exist)))))
Cyberpunk Wannabe
Posts: 36
220 credits Members referred : 0
« Reply #21 on: Dec 19, 2011, 11:47:53 am »
Thanks to all friends for this information like me many other people get confused between them and templates.
Spy Agent
Gender:
Posts: 112
692 credits Members referred : 0
« Reply #22 on: Dec 27, 2011, 08:43:35 am »
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.
Cyberpunk Wannabe
Posts: 41
298 credits Members referred : 0
« Reply #23 on: Mar 23, 2012, 06:13:39 pm »
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.
Nikolas' Servant's Servant
Posts: 29
252 credits Members referred : 0
« Reply #24 on: Mar 26, 2012, 02:44:03 pm »
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
I love Pokemon
Gender:
Posts: 13
88 credits Members referred : 0
« Reply #25 on: Apr 02, 2012, 06:22:24 am »
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.
Spy Agent
Gender:
Posts: 110
726 credits Members referred : 0
« Reply #26 on: Apr 28, 2012, 10:49:52 pm »
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.
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=12436