It looks like you're new here. If you want to get involved, click one of these buttons!
</head>
<!--[if lt IE 7 ]><body class="ie6 <?php echo fuel_var('body_class', ''); ?>"><![endif]-->
<!--[if IE 7 ]><body class="ie7 <?php echo fuel_var('body_class', ''); ?>"><![endif]-->
<!--[if IE 8 ]><body class="ie8 <?php echo fuel_var('body_class', ''); ?>"><![endif]-->
<!--[if IE 9 ]><body class="ie9 <?php echo fuel_var('body_class', ''); ?>"><![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--><body class="<?php echo fuel_var('body_class', ''); ?>"><!--<![endif]-->
<div id="container">
<header>
</head>
<!--[if lt IE 7 ]><body
<body
as seen after the conditional statement above so everything is then commented out including the html code for the page until I get to another IE conditional statement which appears before the javascript for the inline editing. So the only thing that shows on the page now is the inline editing buttons because everything out is commented out due to the inline editing messing up the IE conditional statements attached to the body classes.<body class="<?php echo fuel_var('body_class', ''); ?>">
everything works perfectly but I would prefer to not have to do this.
Comments
<!--[if lt IE 7 ]><body class="ie6 home "> <span class="__fuel_marker__" data-href="http://localhost/dcuengsoc/fuel/pages/inline_edit/" data-rel="page_title" title="Page Title" data-module="pages"></span> <span class="__fuel_marker__" data-href="http://localhost/dcuengsoc/fuel/pages/inline_edit/" data-rel="meta_keywords" title="Meta Keywords" data-module="pages"></span> <span class="__fuel_marker__" data-href="http://localhost/dcuengsoc/fuel/pages/inline_edit/" data-rel="meta_description" title="Meta Description" data-module="pages"></span> <span class="__fuel_marker__" data-href="http://localhost/dcuengsoc/fuel/pages/inline_edit/" data-rel="body_class" title="Body Class" data-module="pages"></span><![endif]--> <!--[if IE 7 ]><span class="__fuel_marker__" data-href="http://localhost/dcuengsoc/fuel/pages/inline_edit/" data-rel="body_class" title="Body Class" data-module="pages"></span><body class="ie7 home "><![endif]--> <!--[if IE 8 ]><span class="__fuel_marker__" data-href="http://localhost/dcuengsoc/fuel/pages/inline_edit/" data-rel="body_class" title="Body Class" data-module="pages"></span><body class="ie8 home "><![endif]--> <!--[if IE 9 ]><span class="__fuel_marker__" data-href="http://localhost/dcuengsoc/fuel/pages/inline_edit/" data-rel="body_class" title="Body Class" data-module="pages"></span><body class="ie9 home "><![endif]--> <!--[if (gt IE 9)|!(IE)]><!--><span class="__fuel_marker__" data-href="http://localhost/dcuengsoc/fuel/pages/inline_edit/" data-rel="body_class" title="Body Class" data-module="pages"></span><body class="home "><!--<![endif]--> <div id="container">
<?php echo fuel_var('body', ''); ?>
everything works fine.Then in the CMS I create a page at this location and it asks me to load in the view file for it so I do that and the files contents get loaded in the body textarea. I then refresh the page and am met with loads of errors and the page not rendering correctly. First off Fuel is adding a
<!--__FUEL_MARKER__1-->
to everywhere that seems to be editable, I'm guessing because the page is not being rendered fully by fuel and being stopped halfway through.I see two errors formatted by fuel correctly they are
"Message: Undefined variable: CI
Filename: fuel/Loader.php(298) : eval()'d code"
and
"Message: Trying to get property of non-object
Filename: fuel/Loader.php(298) : eval()'d code"
I then see another error from xdebug which is followed by a call stack and the very last call in this is to eval() which contains a big portion of the remaining code for my page with php not parsed.
I'm aware this problem could be something wrong I did and could be entirely unrelated to the previous.
The inline editing code is now being rendered correctly and everything seems to be working on that end for the moment but I do still have a problem.
The parser or fuel seems to be converting " and ' to htmlentities for pages in the CMS which means class names are showing up as
<div class="box">
instead of<div class="box">
. Do you know how I can fix this so they are rendered as " or ' instead of their entity counterpart?