T3 Community Discussion & Support

Let's build the best free Joomla template framework, together!
  1. David
  2. General Discussion
  3. Friday, 13 February 2015
  4.  Subscribe via email
Joomla 3.3.6
T3 Bs3 Blank 2.1.7
T3 Framework 2.4.3

All of my article titles are H1 and I would like them to be H2. I was going to create a template layout override of "item_title.php" by copying the one from "plugins > system > t3 > base-bs3 > html > layouts > joomla > content" into the appropriate local folder in my template.

Before I did this I had a look at this "item_title.php" file and there is a bit of PHP which seems to control the title tag:
<?php echo $title_tag; ?>


This implies that I can change the title tag somewhere in my Joomla settings. My question is, where can I change the title tag for my articles?

Thank you
Comment
There are no comments made yet.
Accepted Answer
Accepted Answer Pending Moderation
0
Votes
Undo
I figured this out. In the template override for article there is the line:
<?php echo JLayoutHelper::render('joomla.content.item_title', array('item' => $this->item, 'params' => $params, 'title-tag'=>'h1')); ?>

I just changed this to:
<?php echo JLayoutHelper::render('joomla.content.item_title', array('item' => $this->item, 'params' => $params, 'title-tag'=>'h2')); ?>

:)
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
Great work David ;)
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 1
  • Page :
  • 1


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