We moved to new unified forum!

Please post all new support queries in our New Forum.

T3 Community Discussion & Support

Let's build the best free Joomla template framework, together!
  1. Jon Buckner
  2. General Discussion
  3. Monday, 04 August 2014
  4.  Subscribe via email
Hi all

Any tips and advice for creating new template:

I am using t3_bs3_blank
I am trying to rename it,
However, the language files do not seem to like it and I end up with the T3_TPL_DESC_1, T3_TPL_DESC_2, T3_TPL_DESC_3, T3_TPL_DESC_4
instead of the language override.

I have changed all references from t3_bs3_blank to my template name but no joy.

Thanks for any help
Attachments (1)
Comment
There are no comments made yet.
Accepted Answer
Accepted Answer Pending Moderation
0
Votes
Undo
Hi there

@Gardner Luna: Sorry, but your statement is wrong. In the "templateInfo.php" file nothing needs to be changed. The "Language Section" in the "templateDetails.xml" file have no effect in this case.
Do not believe it? Then remove the Language Section and look at "Template Information" in the Joomla backend. Nothing will change.

@Jon Buckner: To solve the problem, do as follows.

Open the folder your_template_folder/language/en-GB and rename the language files:

en-GB.tpl_t3_bs3_blank.ini >> en-GB.tpl_your_template_folder.ini
en-GB.tpl_t3_bs3_blank.sys.ini >> en-GB.tpl_your_template_folder.sys.ini


It is important that the part "your_template_folder" of the filename and the directory name of the template is the same. That's all.


This Information you can find in the FAQ "Create new T3 Template" (Step 2).
http://t3-framework.org/documentation/bs3-faqs#create-template


Notice: This response is based on practical experience with Joomla! 3.3.3, T3 BS3 Blank Template 2.1.6 and T3 Framework plugin 2.3.2.


Best Regards
Michael
References
  1. http://t3-framework.org/documentation/bs3-faqs#create-template
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # Permalink
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Igor

In one the template files (from memory I think templateDetails.xml), is some 'update' code...
Do a search in the template files for <update> and you will see it... then delete it ;)

If I'm wrong, my name is Tony
If I'mright, my name is Jon
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
I have a question about creating a new template. Creating a template, the template updates continue with updates of t3 framework?
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hi
Thanks for assisting

I am pretty sure I did both of those measures...

I tried 2 different ways:
1)
Change template name
Change templateDetails.xml so that all references to template (including language files) are changed accordingly from old name to new name

2)
Changed only template name
Kept templateDetails.xml 's language file reference unchanged, and made sure the language files were in my_template/language

Both ways had same effect

I know I must be doing something wrong...

It seems that some of the language overrides are found and some are not found.... (that started my confusion over which language files were for which part of site)

If you think it's me being a donut let me know, I don't want to waste anyones time if I'm doing something stupid....
if you think there is more going on than me just being a donut let me know :)
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 3
Accepted Answer Pending Moderation
-1
Votes
Undo
Hi Jon,

You can define the language in the templateInfo.php.

<div class="span4 col-md-4">
<div class="tpl-preview">
<img src="/<?php echo T3_TEMPLATE_URL ?>/template_preview.png" alt="Template Preview"/>
</div>
</div>
<div class="span8 col-md-8">
<div class="t3-admin-overview-header">
<h2>
<?php echo JText::_('T3_TPL_DESC_1') ?>
<small><?php echo JText::_('T3_TPL_DESC_2') ?></small>
</h2>
<p><?php echo JText::_('T3_TPL_DESC_3') ?></p>
</div>
<div class="t3-admin-overview-body">
<h4><?php echo JText::_('T3_TPL_DESC_4') ?></h4>
<ul class="t3-admin-overview-features">
<li><?php echo JText::_('T3_TPL_DESC_5') ?></li>
<li><?php echo JText::_('T3_TPL_DESC_6') ?></li>
<li><?php echo JText::_('T3_TPL_DESC_7') ?></li>
<li><?php echo JText::_('T3_TPL_DESC_8') ?></li>
</ul>
</div>
</div>


In the templateDetails.xml, please make sure you define the language files for template:

<languages folder="language">
<language tag="en-GB">en-GB/en-GB.tpl_t3_bs3_blank.ini</language>
<language tag="en-GB">en-GB/en-GB.tpl_t3_bs3_blank.sys.ini</language>
</languages>


Change it with your template language files.

Gardner.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 4
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.