Fork me on GitHub


 Bas   Précédent   Suivant

« 1 ... 7 8 9 (10) 11 12 13 14 »


Re: tiny editor
Régulier
Inscrit: 22/09/2006 11:34
Messages: 133
re

a premiere vue j'ai reussi a le sortir.......
il ne me reste donc plus que l'erreur insolutionné de la création de nouvelles categorie dans le forum..

merci de ton aide..

Posté le : 21/10/2006 17:18
Transférer la contribution vers d'autres applications Transférer


Re: tiny editor
Régulier
Inscrit: 22/09/2006 11:34
Messages: 133
suis e train d'essayer de le desinstaller...

merci de ton aide...

Posté le : 21/10/2006 17:07
Transférer la contribution vers d'autres applications Transférer


Re: tiny editor
Régulier
Inscrit: 22/09/2006 11:34
Messages: 133
Url du site : http://www.gsm-net.net
Version de Xoops : XOOPS 2.0.15
Thème Xoops : CPphpkaox
Jeu de templates : default
Version PHP : 4.3.10
Version MySQL : 5.0.24alyceu
Logiciel serveur : Apache (UNIX)
Statut safe mode : ON (This May Cause Problems)
Register Globals : ON
Navigateur : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)

--------------------------------------------------------------------------------

Support librairie GD : Activé (vignettes disponibles)
Version libraire GD : 2.0 or higher
Statut d'upload du serveur : ON
Taille maximum d'upload autorisée : 50M

voici xoops info

merci

Posté le : 21/10/2006 17:00
Transférer la contribution vers d'autres applications Transférer


Re: tiny editor
Régulier
Inscrit: 22/09/2006 11:34
Messages: 133
oui oui....

merci

Posté le : 21/10/2006 16:34
Transférer la contribution vers d'autres applications Transférer


Re: tiny editor
Régulier
Inscrit: 22/09/2006 11:34
Messages: 133
mon probleme n'est pas tout à fait identique....j'avais bien frameworks à jour...voilà ce qu'il y a dans l'onglet "aide "du module:

If you're using an "old" version of Xoops (< 2.2) you can still use tinyeditor with your modules
In this case only a few changes to some of your module's files are required.
Following is a sample of integration with an old News module:
In your favourite text editor open the file XOOPS_ROOT_PATH/modules/news/include/storyform.inc.php
about line 35 add the following line include_once XOOPS_ROOT_PATH . "/class/xoopseditor/tinyeditor/formtinyeditortextarea.php";
Make sure this is the last file to be included

Then move on and replace the lines which render the textareas with $sform->addElement(new XoopsFormtinyeditorTextArea(array('caption'=> _NW_THESCOOP, 'name'=>'hometext', 'value'=>$hometext, 'width'=>'100%', 'height'=>'400px'),true));
for the Scoop text and
$sform->addElement(new XoopsFormtinyeditorTextArea(array('caption'=> _AM_EXTEXT, 'name'=>'bodytext', 'value'=>$bodytext, 'width'=>'100%', 'height'=>'400px'),false));
for the Extended text
That's all!
Unfortunately this is not all!
Here is a short description of how to make "new" modules work with tinyeditor that were designed for the xoopseditor framework

We take the new news-module as example. Koivi was the first editor that was used for the xoopseditor framework. So lets search for occurrances of koivi to mimic this to make tinyeditor work

Open xoops_version.php and look for this array (may vary):

array(_MI_NEWS_FORM_DHTML=>'dhtml', _MI_NEWS_FORM_COMPACT=>'textarea', _MI_NEWS_FORM_SPAW=>'spaw', _MI_NEWS_FORM_HTMLAREA=>'htmlarea', _MI_NEWS_FORM_KOIVI=>'koivi', _MI_NEWS_FORM_FCK=>'fck');
and change this to:

array(_MI_NEWS_FORM_DHTML=>'dhtml', _MI_NEWS_FORM_COMPACT=>'textarea', _MI_NEWS_FORM_SPAW=>'spaw', _MI_NEWS_FORM_HTMLAREA=>'htmlarea', _MI_NEWS_FORM_KOIVI=>'koivi', _MI_NEWS_FORM_FCK=>'fck', 'tinyeditor'=>'tinyeditor');
Now open include/functions.php and look for:

case "koivi":
if(!$x22) {
if ( is_readable(XOOPS_ROOT_PATH . "/class/wysiwyg/formwysiwygtextarea.php")) {
include_once(XOOPS_ROOT_PATH . "/class/wysiwyg/formwysiwygtextarea.php");
$editor = new XoopsFormWysiwygTextArea($caption, $name, $value, '100%', '400px', '');
}
} else {
$editor = new XoopsFormEditor($caption, "koivi", $editor_configs);
}
break;
After this insert these lines:

case "tinyeditor":
if ( is_readable(XOOPS_ROOT_PATH . "/class/xoopseditor/tinyeditor/formtinyeditortextarea.php")) {
include_once(XOOPS_ROOT_PATH . "/class/xoopseditor/tinyeditor/formtinyeditortextarea.php");
$editor = new XoopsFormtinyeditorTextArea(array('caption'=>$caption, 'name'=>$name, 'value'=>$value, 'width'=>'100%', 'height'=>'400px'));
}
break;
Update the news-module and you are done (hopefully). Now you have a good example on how to implement tinyeditor in other modules.


--------------------------------------------------------------------------------
a premiere vue faut modifier pas mal de fichiers.....où alots j'ai rien pigé..

Posté le : 21/10/2006 16:14
Transférer la contribution vers d'autres applications Transférer


tiny editor
Régulier
Inscrit: 22/09/2006 11:34
Messages: 133
bonjour,
j'ai installé ce module et depuis, sur le forum, impssible de poster ou editer

site: helicos zooms

voici l'erreur:

Fatal error: Call to a member function on a non-object in /data/members/paid/g/s/gsm-net.net/htdocs/www/Frameworks/xoops22/class/xoopsform/formeditor.php on line 36

All errors (5) queries (28) blocks (8) extra (0) timers (5)
Errors
Notice: Undefined index: name in file /class/xoopseditor/xoopseditor.php line 78

Notice: Undefined index: name in file /class/xoopseditor/xoopseditor.php line 78

Notice: Undefined index: name in file /class/xoopseditor/xoopseditor.php line 78

Notice: Undefined index: name in file /class/xoopseditor/xoopseditor.php line 78

Warning: array_multisort(): Array sizes are inconsistent in file /class/xoopseditor/xoopseditor.php line 82

le forum est cbb3.05

utilisateur: telepat1
pass: test
merci de vos idées.

Posté le : 21/10/2006 09:20
Transférer la contribution vers d'autres applications Transférer


Re: Problème WF-downloads
Régulier
Inscrit: 22/09/2006 11:34
Messages: 133
Salut
decidement.....

j'ai fait le test...pareil chez moi:


Extension de fichier autorisée par l'administrateur:
aif | aifc | aiff | asf | asx | au | avi | bmp | cdf | class | cpio | css | dcr | dir | dms | doc | dvi | dxr | eps | etx | exe | gif | gtar | hdf | hqx | htm | html | ice | ico | ief | igs | jpe | jpeg | jpg | js | kar | latex | lha | lzh | m3u | mid | midi | mov | movie | mp2 | mp3 | mpe | mpeg | mpg | mpga | nc | pbm | pdf | pgm | pgn | php | php3 | png | pnm | ppm | ps | qt | ra | ram | rar | ras | rgb | rm | rpm | rtf | sh | shar | sit | skd | skm | skp | skt | smi | smil | snd | so | spl | src | swf | t | tar | tcl | tex | texi | texinfo | tif | tiff | tr | txt | ustar | vcd | wav | wax | wbmp | wm | wma | wmd | wml | wmlc | wmls | wmlsc | wmv | wmx | wmz | wvx | xbm | xht | xhtml | XM | xml | xpm | xsl | xwd | zip

Fatal error: Call to a member function on a non-object in /data/members/paid/g/s/gsm-net.net/htdocs/www/class/xoopsform/form.php on line 193


voilà l'erreur..

Posté le : 19/10/2006 04:59
Transférer la contribution vers d'autres applications Transférer


Re: cbb 3.05
Régulier
Inscrit: 22/09/2006 11:34
Messages: 133
Hello,

non j'ai pas ce module.....je n'ai plus de probleme d'affichage, juste le probleme de création de catégoriez dans le forum.....

Tant mieux pour toi....à la prochaine!! (pas trop tôt pour un plantage)

Posté le : 18/10/2006 05:30
Transférer la contribution vers d'autres applications Transférer


Re: cbb 3.05
Régulier
Inscrit: 22/09/2006 11:34
Messages: 133
Bon, mis à part l'erreur de création de catégories sur les forums, il semble que je n'ai plus d'erreurs....

Et toi du mieux?

Posté le : 17/10/2006 18:31
Transférer la contribution vers d'autres applications Transférer


Re: cbb 3.05
Régulier
Inscrit: 22/09/2006 11:34
Messages: 133
Bonsoir,

merci pour l'info mais j'avais fait tout ça....a priori j'ai plus de pages blanches, la seule chose faite depuis la restauration c'est lancer la mise à jour de tous les modules un par un dans l'admin...mais suis sur un autre pc...sais pas si ça peux jouer(cache, temp...)
Par contre j'ai toujours les mêmes erreurs qu'au debut du post: création de catégorie dans le forum.....


merci de vôtre aide

Posté le : 16/10/2006 18:05
Transférer la contribution vers d'autres applications Transférer



 Haut
« 1 ... 7 8 9 (10) 11 12 13 14 »




Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

17 Personne(s) en ligne (10 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 17 | Plus ...