<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://documentation.jomsocial.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://documentation.jomsocial.com/index.php?action=history&amp;feed=atom&amp;title=Creating_New_Template</id>
		<title>Creating New Template - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://documentation.jomsocial.com/index.php?action=history&amp;feed=atom&amp;title=Creating_New_Template"/>
		<link rel="alternate" type="text/html" href="http://documentation.jomsocial.com/index.php?title=Creating_New_Template&amp;action=history"/>
		<updated>2026-06-04T16:57:17Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.1</generator>

	<entry>
		<id>http://documentation.jomsocial.com/index.php?title=Creating_New_Template&amp;diff=3405&amp;oldid=prev</id>
		<title>Sinisakrisan at 11:14, 17 March 2015</title>
		<link rel="alternate" type="text/html" href="http://documentation.jomsocial.com/index.php?title=Creating_New_Template&amp;diff=3405&amp;oldid=prev"/>
				<updated>2015-03-17T11:14:27Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 11:14, 17 March 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{alert-deprecated}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{alert-deprecated}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{alert|'''If you use JomSocial 4 and higher, please [[Template Developer Kit|click here]]'''|alert-info}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{alert|&amp;lt;center&amp;gt;'''This article is oriented to developers and will describe the best practices we endorse in creating completely new template for JomSocial. As such, we will assume that reader understand all the terms used in this article, and are familiar with creating Joomla or JomSocial templates, have good knowledge of PHP, CSS and HTML, and overall, is skilled designer'''&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{alert|&amp;lt;center&amp;gt;'''This article is oriented to developers and will describe the best practices we endorse in creating completely new template for JomSocial. As such, we will assume that reader understand all the terms used in this article, and are familiar with creating Joomla or JomSocial templates, have good knowledge of PHP, CSS and HTML, and overall, is skilled designer'''&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sinisakrisan</name></author>	</entry>

	<entry>
		<id>http://documentation.jomsocial.com/index.php?title=Creating_New_Template&amp;diff=3404&amp;oldid=prev</id>
		<title>Sinisakrisan at 11:13, 17 March 2015</title>
		<link rel="alternate" type="text/html" href="http://documentation.jomsocial.com/index.php?title=Creating_New_Template&amp;diff=3404&amp;oldid=prev"/>
				<updated>2015-03-17T11:13:02Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 11:13, 17 March 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{alert-&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;obsolete&lt;/del&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{alert-&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;deprecated&lt;/ins&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{alert|&amp;lt;center&amp;gt;'''This article is oriented to developers and will describe the best practices we endorse in creating completely new template for JomSocial. As such, we will assume that reader understand all the terms used in this article, and are familiar with creating Joomla or JomSocial templates, have good knowledge of PHP, CSS and HTML, and overall, is skilled designer'''&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{alert|&amp;lt;center&amp;gt;'''This article is oriented to developers and will describe the best practices we endorse in creating completely new template for JomSocial. As such, we will assume that reader understand all the terms used in this article, and are familiar with creating Joomla or JomSocial templates, have good knowledge of PHP, CSS and HTML, and overall, is skilled designer'''&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sinisakrisan</name></author>	</entry>

	<entry>
		<id>http://documentation.jomsocial.com/index.php?title=Creating_New_Template&amp;diff=3403&amp;oldid=prev</id>
		<title>Sinisakrisan at 11:12, 17 March 2015</title>
		<link rel="alternate" type="text/html" href="http://documentation.jomsocial.com/index.php?title=Creating_New_Template&amp;diff=3403&amp;oldid=prev"/>
				<updated>2015-03-17T11:12:37Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 11:12, 17 March 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{alert-obsolete}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{alert|&amp;lt;center&amp;gt;'''This article is oriented to developers and will describe the best practices we endorse in creating completely new template for JomSocial. As such, we will assume that reader understand all the terms used in this article, and are familiar with creating Joomla or JomSocial templates, have good knowledge of PHP, CSS and HTML, and overall, is skilled designer'''&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{alert|&amp;lt;center&amp;gt;'''This article is oriented to developers and will describe the best practices we endorse in creating completely new template for JomSocial. As such, we will assume that reader understand all the terms used in this article, and are familiar with creating Joomla or JomSocial templates, have good knowledge of PHP, CSS and HTML, and overall, is skilled designer'''&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you don't find yourself within this group, please, [[Customizing Template|click here]]&amp;lt;/center&amp;gt;|alert}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you don't find yourself within this group, please, [[Customizing Template|click here]]&amp;lt;/center&amp;gt;|alert}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sinisakrisan</name></author>	</entry>

	<entry>
		<id>http://documentation.jomsocial.com/index.php?title=Creating_New_Template&amp;diff=2665&amp;oldid=prev</id>
		<title>Sinisakrisan: Created page with &quot;{{alert|&lt;center&gt;'''This article is oriented to developers and will describe the best practices we endorse in creating completely new template for JomSocial. As such, we will a...&quot;</title>
		<link rel="alternate" type="text/html" href="http://documentation.jomsocial.com/index.php?title=Creating_New_Template&amp;diff=2665&amp;oldid=prev"/>
				<updated>2013-08-27T13:49:48Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{alert|&amp;lt;center&amp;gt;&amp;#039;&amp;#039;&amp;#039;This article is oriented to developers and will describe the best practices we endorse in creating completely new template for JomSocial. As such, we will a...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{alert|&amp;lt;center&amp;gt;'''This article is oriented to developers and will describe the best practices we endorse in creating completely new template for JomSocial. As such, we will assume that reader understand all the terms used in this article, and are familiar with creating Joomla or JomSocial templates, have good knowledge of PHP, CSS and HTML, and overall, is skilled designer'''&amp;lt;br/&amp;gt;&lt;br /&gt;
If you don't find yourself within this group, please, [[Customizing Template|click here]]&amp;lt;/center&amp;gt;|alert}}&lt;br /&gt;
==Overview==&lt;br /&gt;
Creating the brand new template for JomSocial is not always an easy task to do. there are many ways to do it, starting from [[Customizing Template|Joomla Overrides]], through creating your own template folder, or eventually ending up with modifying it through Joomla Template CSS. &amp;lt;br/&amp;gt;&lt;br /&gt;
All of these methods have its up and downs, and you are really free to use any of them, however, we always advise you to endorse the practice explained bellow.&lt;br /&gt;
&lt;br /&gt;
==Your Own JomSocial Template==&lt;br /&gt;
As our JomSocial default template will go through continuous revisions and additions as new features are being added, we highly suggest that you follow our recommended practice below while creating your own JomSocial template. This will help you to reduce the amount of work required to maintain and update your template whenever a new version is released.&lt;br /&gt;
&lt;br /&gt;
===Preparing The Ground===&lt;br /&gt;
While overrides will work, and to some extend are actually preferred method to use when you need to override a tiny bit of component, when making a major overhaul, we advise you to create your own JomSocial template.&amp;lt;br/&amp;gt;&lt;br /&gt;
All JomSocial templates reside under the folder '''JOOMLA/components/com_community/templates'''. &amp;lt;br/&amp;gt;&lt;br /&gt;
Each template needs to have this minimal file and folder structure::&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;html4strict&amp;quot;&amp;gt;&lt;br /&gt;
templateName (folder)&lt;br /&gt;
|__css (folder)&lt;br /&gt;
|  |_ style.css&lt;br /&gt;
|&lt;br /&gt;
|__images (folder)&lt;br /&gt;
|&lt;br /&gt;
|_ templateDetails.xml&lt;br /&gt;
|_ templateFiles.php&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* '''css/style.css''' this file will be your template main style file. You can start with empty file and only add those classes that you're actually going to override&lt;br /&gt;
* '''images''' folder will contain all of the images that you want to override&lt;br /&gt;
* '''templateDetails.xml''' file is the settings file for your JomSocial template. This is where you can, for example, add new options for your template.&lt;br /&gt;
* '''templateFiles.php''' are all files that youre going to override.&lt;br /&gt;
&lt;br /&gt;
===How JomSocial Template Files are Loaded===&lt;br /&gt;
When a template file is requested, JomSocial will first look for the template file in the current template folder (the template that is currently being used). If the template file does not exist in the current template folder, it will look for it in the default template folder. For example, if you are using currently using your own template and the file &amp;quot;frontpage.index.php&amp;quot; is being requested, then&lt;br /&gt;
&lt;br /&gt;
# JomSocial will first look this file at the following path: '''JOOMLA/components/com_community/templates/youretemplate/frontpage.index.php'''&lt;br /&gt;
# If the file does not exist, JomSocial will load from default template at the following path: '''JOOMLA/components/com_community/templates/default/frontpage.index.php'''&lt;br /&gt;
&lt;br /&gt;
A little common sense will imply that you don't have to copy entire default JomSocial template to your own. This is the mistake many template providers have made multiple times.&lt;br /&gt;
{{alert|You can only modify those template files where you want actual change to occur. If you don't plan to change some area at all, you won't need its respective template file in your template '''at all'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Keep your template as minimal as possible by including only the templates files that you want to customize.|alert-success}}&lt;br /&gt;
&lt;br /&gt;
===Progress===&lt;br /&gt;
'''Create template folder.'''&amp;lt;br/&amp;gt;&lt;br /&gt;
# Create a folder in '''JOOMLA/components/com_community/template''' with the template name as your folder name.&lt;br /&gt;
'''Create CSS folder and empty style.css file.'''&amp;lt;br/&amp;gt;&lt;br /&gt;
# Within your template folder, create a new subfolder called &amp;quot;css&amp;quot; and create a blank &amp;quot;style.css&amp;quot; file.&lt;br /&gt;
# Import the default template's style.css file. Open &amp;quot;style.css&amp;quot; file in your favourite text editor, and insert the following code to the first line on your style.css file:&lt;br /&gt;
::&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
@import url(&amp;quot;../../default/css/style.css&amp;quot;);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Start adding modifications'''&lt;br /&gt;
# Depending on the customization that you require, copy the necessary template files from default template to your template folder.&lt;br /&gt;
# You can now start editing the files to your own liking.&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
* [[Customizing Template]]&lt;br /&gt;
* [[Built-in Module Positions]]&lt;/div&gt;</summary>
		<author><name>Sinisakrisan</name></author>	</entry>

	</feed>