Forum Support

Shape 5
March 28, 2024, 09:11:26 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Category title <h2> encompasses attachments extension  (Read 233 times)
bgrattan
Jr. Member
**
Offline Offline

Posts: 6



« on: 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>
Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #1 on: 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
Logged

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.