Fork me on GitHub






TinyMCE
Aspirant
Inscrit: 23/01/2010 15:55
De Aix en Provence
Messages: 22
Bonjour,

La question d'un débutant .

Est-il possible, si on utilise ce petit éditeur de "forcer/afficher" certaines options (EX : la taille d'une image que l'on veut incorporer (C'est toujours la même dans mon site)) ou mettre une valeur par défaut dans une zone de saisie ?

Si oui, pouvez vous me dire dans quel coin de Xoops il faut chercher ?

Merci.

Posté le : 17/02/2018 17:07
Partager Twitter Partagez cette article sur GG+
Re: TinyMCE
Admin Frxoops
Inscrit: 16/05/2003 18:10
De Rhone-Alpes
Messages: 4051
Hello,

TinyMCE (v4) utilise REsponsiveFilemaanger pour les images.

Tu peux donc trouver des options sous :
\class\xoopseditor\tinymce4\external_plugins\filemanager

La doc complète se trouve sur http://www.responsivefilemanager.com.

Tu pourras trouver notamment ceci :

CUSTOMISE CONFIGURATION FOR EACH FOLDER (CONFIG.PHP)
In Responsive FileManager you can customise the config.php for each folder.
Simply create a config.php file inside your desired folder, and set the config array only with the element do you need to change. (Don't change current_path,upload_dir,base_url,root).

You can also include an HTML text in the display folder page by simply inserting : 'folder_message'=>"html message" inside the config.php file in the folder.
You can use this to specify restrictions or images resizing.

Remember that the configuration of one folder is reflected in all its subdirectories.

et aussi ceci

Images configuration :

image_max_width, image_max_height / 800 / these parameters set maximum pixel width and/or maximum pixel height for all images. if you set a maximum width or height, oversized images are converted to those limits. Images smaller than the limit(s) are unaffected. if you don't need a limit set both to 0.

image_resizing / false / activate or not Automatic resizing. if you set image_resizing to true the script converts all uploaded images exactly to image_resizing_width x image_resizing_height dimension.

image_resizing_width, image_resizing_height / 800 / these parameters set the dimensions of the resized image. if you set width or height to 0 the script automatically calculates the other dimension. NB Very large images may cause the script to fail unless the server's php memory and time limit configuration is modified.

Posté le : 01/03/2018 16:29

Open in new window
Partager Twitter Partagez cette article sur GG+

 Haut   Précédent   Suivant



Vous pouvez voir les sujets.
Vous ne pouvez pas débuter de nouveaux sujets.
Vous ne pouvez pas répondre aux contributions.
Vous ne pouvez pas éditer vos contributions.
Vous ne pouvez pas effacez vos contributions.
Vous ne pouvez pas ajouter de nouveaux sondages.
Vous ne pouvez pas voter en sondage.
Vous ne pouvez pas attacher des fichiers à vos contributions.
Vous ne pouvez pas poster sans approbation.

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

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