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. Lee Tempest
  2. Sherlock Holmes
  3. General Discussion
  4. Wednesday, 14 January 2015
  5.  Subscribe via email
HELP,
I'm using the T3 Blank framework to build a site. I want to modify the position of the title and image elements on a blog layout. I copied the com_content files into my template HTML folder and modified the files, but it did not work. When I then inspected the page, it was not using the com-content files in the first place as the HTML output was not the same. My page is structured as so:

<article>


<header class="article-header clearfix">
<h2 class="article-title" itemprop="name">
Star Sailors live and online <meta itemprop="url" content="http://proactive.under-development.info/5-star-sailors-live-and-online">
</h2>

</header>
<!-- Aside -->
<!-- //Aside -->

<section class="article-intro clearfix" itemprop="articleBody">


<div class="pull-left item-image"> <img src="/images/news/starsailors1.jpg" alt="" itemprop="thumbnailUrl"> </div>

<p>The inaugural Star Sailors League Finals regatta in Nassau, Bahamas, brought together the world's top sailors for the first time since the London 2012 Olympics.</p>
</section>

<!-- footer -->
<!-- //footer -->


<section class="readmore">
<a class="btn btn-default" href="/5-star-sailors-live-and-online" itemprop="url">
<span>
Read more... </span>
</a>
</section>

</article>


After some extensive searching it appears this is being generated from a file within the pugins/system/t3/base etc etc

Why is the file located here and will my amends be overwritten when updated?

Lee
Comment
There are no comments made yet.
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Lee Tempest,

Which files you copied from and where you put the files to? From my experience, If I want to override a default Joomla layout (for example, I want to override the blog layout), I will do as following:

- Open the default joomla blog layout files: components\com_content\views\category\tmpl, you would see the: blog.php, blog.xml. blog_item.php, etc. You don't need to copy all the files, just copy the file you want to override

- Now, go to: templates\t3_bs3_blank\html\category then paste the files to. Open the files then customize your way and we're done.

P/S: in your case study, if you want to change the position of image and title, there are following cases:
- If it's in detail page, using the blog_item.php file (when you open the file, you would see the code to call article elements, move the code to the position in the layout you want)
- If it's in list page, using the blog.php file and do the same with the detail page.

Hope it helps you and let me know if you have any trouble.

Gardner.
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.