Shape 5

Joomla Templates => Corporate Response - Club => : bgrattan February 12, 2014, 08:52:24 AM



: Category title <h2> encompasses attachments extension
: bgrattan February 12, 2014, 08:52:24 AM
I hope some one has an easy fix....I have been using the Attachments by Johnathan Cameron extension for years without issue. When attempting to use it in the CR template, when attaching files to a category and showing the category title, the <h2> tag does not close after the title of the category. This obviously enlarges the content of the attachments which is not the desired affect. Anyone have this issue or can point me to the actual code that outputs the category title? I have included the source in question.

<div class="content-category">
                     <h2>
            Attachments<div class="attachmentsContainer">

<div class="attachmentsList" id="attachmentsList_com_content_category_136">
<table>
<caption>Attachments:</caption>
<thead>
<tr><th class="at_filename">File</th><th class="at_description">Description</th><th class="at_file_size">File size</th><th class="at_created_date">Created</th><th class="at_mod_date">Last modified</th></tr>
</thead>
<tbody>
<tr class="odd"><td class="at_filename"><a class="at_icon" href="/attachments/category/136/Capture.PNG" title="Download this file (Capture.PNG)"><img src="/media/com_attachments/images/file_icons/image.gif" alt="Download this file (Capture.PNG)" />[/url]<a class="at_url" href="/attachments/category/136/Capture.PNG" title="Download this file (Capture.PNG)">Capture.PNG[/url]</td><td class="at_description">&nbsp;</td><td class="at_file_size">38 kB</td><td class="at_created_date">2014-02-11 09:47</td><td class="at_mod_date">2014-02-11 09:47</td></tr>
</tbody></table>
</div>

</div>         </h2>


: Re: Category title <h2> encompasses attachments extension
: mikenicoll February 12, 2014, 11:44:03 PM
Hello,

I am not sure what would cause that but it looks like the H2 tag is being appended by the Extension directly in the wrong area of the source as you mentioned. A Template doesn't control the source output or anything like this it just stylizes the front end so it looks like the issue is either with Joomla itself or the Extension you are using. It might also be happening on other Templates as well but they may not have specific h2 { styling.

I would suggest contacting the Extension developer directly regarding this issue.

-Mike