oFCKeditor.ReplaceTextarea() ; var oFCKeditor = new FCKeditor( 'categoryShortDescription' ) ; oFCKeditor.Width = '100%' ; oFCKeditor.Height = '300' ; oFCKeditor.BasePath = sBasePath ; oFCKeditor.ReplaceTextarea() ; } </script> <?php $id = $this->uri->segment(3); $category = Category::getCategoryById($id); $categories = ORM::factory('category')->find_all(); $products = Category::getProductsByCategory($id); ?> <form action="<?php echo url::base() . $this->uri->segment(1) . '/' . $this->uri->segment(2) . '/' . $id; ?> " method="POST" enctype="multipart/form-data" id="form" > <div id="mainContent" > <div class="box"> <div class="left"></div> <div class="right"></div> <div class="heading"><h2 id="heading">Category</h2> <span id="buttons"> <input type="submit" name="save" value="Save" class="css-button">