Hola amigos, estoy sufriendo con la integracion de el famoso TinyMCE <.< a una scrpit ( Noah's Classifieds ) segun tutoriales solo basta con agregar en la cabezera el include y la funcion, osea esto :
Código HTML:
Ver original<script type="text/javascript" src="www.mundohuacho.com/themes/classic/javascripts/tiny_mce.js" ></script > <script type="text/javascript" > tinyMCE.init({
mode : "textareas",
theme : "advanced" //(n.b. no trailing comma, this will be critical as you experiment later)
});
Y literalmente todos los textarea que salgan en el formulario deberia transformalo a WYSIWYG , pero alli esta el problema <.< que agregan esas lineas no sale <.< .
proporcionando datos in situ esta es mi script :
Código PHP:
<?php defined('_NOAH') or die('Restricted access'); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="<?php echo $this->language ?>" dir="<?php echo $this->langDir ?>">
<head>
<script type="text/javascript" src="www.mundohuacho.com/themes/classic/javascripts/tiny_mce.js" ></script >
<script type="text/javascript" >
tinyMCE.init({
mode : "textareas",
theme : "advanced" //(n.b. no trailing comma, this will be critical as you experiment later)
});
</script >
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
<title><?php echo $this->titlePrefix ?><?php if( $this->title ) echo ' - '.$this->title; ?></title>
<meta name='description' content='<?php echo $this->description ?>'>
<meta name='keywords' content='<?php echo $this->keywords ?>'>
<base href='<?php echo $this->baseUrl ?>'>
<link rel='StyleSheet' href='<?php echo $this->cssDir ?>/layout.css' type='text/css'>
<link rel='StyleSheet' href='<?php echo $this->cssDir ?>/pages.css' type='text/css'>
<?php echo $this->jsIncludes ?>
<?php echo $this->javaScript ?>
<?php echo $this->extraHead /* inserts the 'Additional HEAD content' from the Settings form */ /*/public_html/themes/classic/javascripts/tiny_mce.js*/ ?>
</head>
<body bgcolor="black">
<div><script language="javascript" src="http://aux01.contadorgratis.com/hitv4.php?digit=7seg&page=a04ec730ef8bdd5e2d2acb946c59020a"></script>
</div>
<?php echo $this->extraBody /* inserts the 'Additional BODY content' from the Settings form */ ?>
<div id='outerMain' class='<?php echo $this->outerMainClass ?>'>
<div id='sidebarLeft'>
<?php $this->displayContent("customListLeft") /* inserts custom lists where 'On the left side of the page' has been selected in the 'Position' field */ ?>
</div>
<div id='main' class='<?php echo $this->mainClass ?>'>
<?php $this->displayContent("customListTop", putWhiteSpaceAbove) /* <?php echo $this->imagesDir ?>inserts custom lists where 'On the top of the page' has been selected in the 'Position' field
<img src='<?php echo $this->imagesDir ?>/cool.gif'></img>
*/
?>
<div id='top'>
<div id='header'>
<!-- Codigo contadorvisitas.com ver. 4.3 -->
Pero no da nada en el resultado. Algun error que puedan ver ?