1. bdhirsch
  2. Free Templates / Extensions
  3. Monday, 23 April 2012
  4.  Subscribe via email
On lines 96-97 of the index.php in the Oxygen template for V2.5 there appears to be an unmatched <div>. Would you mind checking this out? I believe it's throwing off the generated code.

<div id="body_bg">
<div id="wrapper">
Accepted Answer Pending Moderation
0
Votes
Undo
Hi bdhirsch

I'm not entirely sure what you mean by 'unmatched'.. could you elaborate for us?

Ciarán
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Unmatched...as in, not the same number of </div> as there are <div>. There's an extra <div>
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
All divs should be closed within the template. Would you have a URL to your site?

Be careful when text is copied and pasted from another document (MS Word, web browser) into your articles which can bring with it spurious code including unwanted div tags. Often best to paste the text into a simple text editor like Notepad and then copying from that into your editor to remove any formatting.

Ciarán
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en-gb" lang="en-gb" >
<head>
<base href="http://www.samplewebsite.com/careers"; />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="keywords" content="painting drywall cleaning home improvement renovation construction" />
<meta name="author" content="Super User" />
<meta name="description" content="Where things happen" />
<meta name="generator" content="Joomla! - Open Source Content Management" />
<title>Sample Website - Careers</title>
<script src="/media/system/js/mootools-core.js" type="text/javascript"></script>
<script src="/media/system/js/core.js" type="text/javascript"></script>
<script src="/media/system/js/caption.js" type="text/javascript"></script>
<script src="/media/system/js/mootools-more.js" type="text/javascript"></script>
<script type="text/javascript">
window.addEvent('load', function() {
new JCaption('img.caption');
});
window.addEvent('domready', function() {
$$('.hasTip').each(function(el) {
var title = el.get('title');
if (title) {
var parts = title.split('::', 2);
el.store('tip:title', parts[0]);
el.store('tip:text', parts[1]);
}
});
var JTooltips = new Tips($$('.hasTip'), { maxTitleChars: 50, fixed: false});
});
</script>

<link rel="stylesheet" href="/templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="/templates/j51_oxygen/css/template.css" type="text/css" />
<link rel="stylesheet" href="/templates/j51_oxygen/css/sidepanel.css" type="text/css" />
<link rel="stylesheet" href="/templates/j51_oxygen/css/style2.css" type="text/css" />

<script type="text/javascript" src="/templates/j51_oxygen/js/dropdown.js" charset="utf-8"></script>
<script type="text/javascript" >
window.addEvent('domready', function() {
var myMenu = new MenuMatic();
});
</script>

<style type="text/css">
#sidecol {width: 190px }
#content80 {width: 675px }

#content80 {float:right; padding-right:25px; padding-left:0px;}
#sidecol {float:left; padding:0 0px 0 25px;}

#body_bg {background-attachment: scroll !important;}
</style>

</head>

<!--[if IE 7]>
<link rel="stylesheet" href="/templates/j51_oxygen/css/ie7.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
window.addEvent('domready', function(){
var menu_li_els = document.getElementById('hornav').firstChild.childNodes;
for(var i=0;i<menu_li_els.length; i++) {
menu_li_els[i].insertBefore(document.createElement('div'), menu_li_els[i].lastChild);
}
});
</script>
<![endif]-->

<!--[if IE 6]>
<script type="text/javascript" src="/templates/j51_oxygen/js/fix-png-ie6.js"></script>
<script type="text/javascript" >
DD_belatedPNG.fix('.png, img.png, #header, #base_bg');
</script>
<script type="text/javascript">
window.addEvent('domready', function(){
var menu_li_els = document.getElementById('hornav').firstChild.childNodes;
for(var i=0;i<menu_li_els.length; i++) {
menu_li_els[i].insertBefore(document.createElement('div'), menu_li_els[i].lastChild);
}
});
</script>
<link rel="stylesheet" href="/templates/j51_oxygen/css/ie6.css" rel="stylesheet" type="text/css" />
<script src="/templates/j51_oxygen/js/ie6/warning.js"></script><script>window.onload=function(){e("/templates/j51_oxygen/js/ie6/";)}</script>
<![endif]-->



<body>

<div id="body_bg">
<div id="wrapper">

<div id="header">
<div class="logo_container">
<h1 class="logo"> <a href="/index.php" title=""><span>
</span></a> </h1>
</div>
</div>

<div id="top">
<div id="hornav">

<ul class="menu">
<li class="item-101"><a href="/" >Home</a></li><li class="item-124 deeper parent"><a href="/interior" >Interior</a><ul><li class="item-132"><a href="/interior/painting" >Painting</a></li><li class="item-131"><a href="/interior/cleaning" >Cleaning</a></li></ul></li><li class="item-125"><a href="/exterior" >Exterior</a></li><li class="item-126"><a href="/lawn" >Lawn</a></li><li class="item-120 deeper parent"><a href="/gallery" >Gallery</a><ul><li class="item-122"><a href="/gallery/suburban-exterior-repair-job" >Repair project</a></li><li class="item-123"><a href="/gallery/renovation-project" >Renovation project</a></li><li class="item-127"><a href="/gallery/walmart-project" >Walmart project</a></li><li class="item-128"><a href="/gallery/basement-makeover" >Basement Makeover</a></li></ul></li><li class="item-130"><a href="/about-sample-website" >About</a></li><li class="item-133 current active"><a href="/careers" >Careers</a></li><li class="item-118"><a href="/contact-us" >Contact Us</a></li></ul>

</div>
</div>

<div id="content_wrapper">
<div class="content_wrapper">


<!-- Modules USER 7,8,9,10,11,12-->
<!--End Modules USER 7,8,9,10,11,12-->




<div id="content100">

<div class="inside">

<!--Modules USER 1,2,3-->
<!--End Modules USER 1,2,3-->
<div class="spacer"></div>
<div class="maincontent">

<div class="message">

<div id="system-message-container">
</div>
</div>


<div class="item-page">



<div class="content_header">

<h2>

Join our team! </h2>



<div class="header_icons">

<ul class="actions">



<li class="edit-icon">

<span class="hasTip" title="Edit Article :: Published<br />Sunday, 22 April 2012<br />Written by Super User"><a href="/careers?task=article.edit&a_id=12&return=aHR0cDovL3d3dy5pbmR5aG9tZWRldGFpbGVycy5jb20vY2FyZWVycw==" ><img src="/media/system/images/edit.png" alt="Edit" /></a></span> </li>

</ul>

</div>







</div>



<div class="content_info">





</div>

<div class="content">



<p>Please download and fill out this <a href="/images/PDFs/employmentapp.pdf" title="Employment Application" target="_blank">Employment Application</a>.</p>

</div>

</div>
</div>
<div class="both"><!-- --></div>
<div class="spacer"></div>
<!-- Modules USER 4,5,6-->
<!--End Modules USER 4,5,6-->

</div>
</div>
<div class="both"><!-- --></div>
<!-- Modules USER 7,8,9,10,11,12-->
<!--End Modules USER 13,14,15,16,17,18-->

<div id="base"></div>
<div id="base"></div>

</div>
</div>
<div id="base_bg"></div>
</div>
<div id="base_wrapper">

<div id="base"></div>
</div>


<!-- Footer Copyright - Do Not Remove -->
<div id="copyright">
<center><a href="http://www.joomla51.com";><strong>Joomla Templates</strong></a> by Joomla51.com</center>
<center>Sponsored by <a href="http://www.themeglobe.com";><strong>ThemeGlobe</strong></a></center>
</div>
<!--end of Footer Copyright -->



</body>
</html>
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Just to be sure I hadn't introduced anything funky, I re-downloaded your template and opened the index.php file (unmodified) in Adobe Dreamweaver. The editor reported an unmatched <div> and highlighted it in pink. The issue is causing the entire body of my articles to be treated as a link back to the home page, when in reality, just the logo at the top of the page should behave this way. Basically all of the links within my articles are being masked by the overall link to the homepage caused by the unmatched div.
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
Its difficult to say for sure what may be causing the issue without a URL to your site and the problem appears to be unique.

On a side note we are just in the process of putting our Oxygen template under the new framework similar to that of our more recent releases (http://www.joomla51.com/joomla-templates/j51-avenue) which will give it loads more features. We hope to have this ready over the next few hours. I'll drop a post here once the template is up. The updated version will most likely resolve the issue.

Ciarán
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 6
Accepted Answer Pending Moderation
0
Votes
Undo
On the contrary, the problem appears to be within your default index.php file as downloaded from your site per my previous message and is not unique to my site. All you need to do to find the problem is open your index.php in any good HTML editor and it will report the missing </div>.
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 7
Accepted Answer Pending Moderation
0
Votes
Undo
That being said I will definitely update to your most recent template in hopes of resolving the issue and adding new features. Thanks!
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 8
Accepted Answer Pending Moderation
0
Votes
Undo
Hi bdhirsch

This template has been updated. Ensure to uninstall both the original template and slideshow module before installing.

http://www.joomla51.com/templates/j51-oxygen

Ciarán
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 9
Accepted Answer Pending Moderation
0
Votes
Undo
The new template fixed the issue and looks fantastic. Great work!!
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 10
Accepted Answer Pending Moderation
0
Votes
Undo
:) Glad to hear it bdhirsch and thank you for the update.

Ciarán
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 11
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok