News:

Wondering if this will always be free?  See why free is better.

Main Menu

SMF 2.1 RC editör

Started by Seyit, February 08, 2019, 04:10:25 AM

Previous topic - Next topic

Seyit

code in which file. can you help me
I couldn't find the codes

Quote<div class="sceditor-container ltr sourceMode" style="width: 870.333px; height: 265px;">


i will change this shape:
Quote
<div class="sceditor-container ltr sourceMode" style="width: 870.333px; height: 450px;">

maximus23

Hello,

Modify the height here :

File : Sources\Post.php

Search:

// Now create the editor.
$editorOptions = array(
'id' => 'message',
'value' => $context['message'],
'labels' => array(
'post_button' => $context['submit_label'],
),
// add height and width for the editor
'height' => '275px',
'width' => '100%',
// We do XML preview here.
'preview_type' => 2,
'required' => true,
);


:)
Pas de support par PM ou Courrier...Veuillez utiliser le forum pour vous avoir une réponse rapide à votre demande d'aide. Merci.
Amitiés et à Bientôt...
No support by PM or Mail...You will get better and faster responses in the support forums. Thank you.
Have a nice day...

Seyit

thank you . Very good solution

Hatshepsut

Yes, thanks for solution :) I have increased editor height to 375px, but I wish to increase also height of the "Quick Reply" window, where is the code fot that?

live627

Display.php, very similar code to that posted above

maximus23

Hello,

For the "Quick Reply" modify the height here :

File : Sources\Display.php

Search:

// Now create the editor.
$editorOptions = array(
'id' => 'quickReply',
'value' => '',
'disable_smiley_box' => empty($options['use_editor_quick_reply']),
'labels' => array(
'post_button' => $txt['post'],
),
// add height and width for the editor
'height' => '250px',
'width' => '100%',
// We do HTML preview here.
'preview_type' => 1,
// This is required
'required' => true,
);


:)
Pas de support par PM ou Courrier...Veuillez utiliser le forum pour vous avoir une réponse rapide à votre demande d'aide. Merci.
Amitiés et à Bientôt...
No support by PM or Mail...You will get better and faster responses in the support forums. Thank you.
Have a nice day...

Seyit

 504px height
does not show on the screen editor

Arantor

Have less smileys on the editor page.

Hatshepsut

Quote from: maximus23 on February 09, 2019, 05:52:21 AM
Hello,

For the "Quick Reply" modify the height here :

File : Sources\Display.php

Search:

// Now create the editor.
$editorOptions = array(
'id' => 'quickReply',
'value' => '',
'disable_smiley_box' => empty($options['use_editor_quick_reply']),
'labels' => array(
'post_button' => $txt['post'],
),
// add height and width for the editor
'height' => '250px',
'width' => '100%',
// We do HTML preview here.
'preview_type' => 1,
// This is required
'required' => true,
);


:)

Thanks :) With two rows of emoticons in my forum, I have increased "Quick Reply" frame height to 350px, and it looks better :)

woolly bugger

this has been very helpful, but what about the QuickEdit window?

maximus23

Quote from: woolly bugger on February 10, 2019, 10:53:58 AM
this has been very helpful, but what about the QuickEdit window?
;)

File: Index.css (for each themes)

Search:

#quick_edit_body_container textarea,
.move_topic textarea,
dd textarea {
width: 100%;
min-height: 100px;
}


Modify the height -> min-height: 100px;

:)
Pas de support par PM ou Courrier...Veuillez utiliser le forum pour vous avoir une réponse rapide à votre demande d'aide. Merci.
Amitiés et à Bientôt...
No support by PM or Mail...You will get better and faster responses in the support forums. Thank you.
Have a nice day...

woolly bugger


Advertisement: