Към съдържанието

  •  

- - - - -

Без латиница


  • Влезте в профила си за да пишете
32 отговора на тази тема

#21 adri

adri

    Потребител

  • Потребители
  • PipPip
  • 58 Мнения:

Публикувано 13 май 2009 - 16:52

Браво това би било полезно за тези които така и не се научиха да пишат на кирилица по форумите :cheers:

#22

  • Guests

Публикувано 15 май 2009 - 19:59

Ето къде:

Влезте в AdminCP.

* Look & Feel
* Вашият skin
* Edit Template HTML
* Post / PM Editor
* ips_editor

Намерете:

<textarea name="{$form_field}" class="rte-iframe" id="{$editor_id}_textarea" rows="10" cols="60" style="width:98%; height:250px" tabindex="5">$initial_content</textarea>


Заменете с:

<textarea name="{$form_field}" class="rte-iframe" id="{$editor_id}_textarea" rows="10" cols="60" style="width:98%; height:250px; background-image: url(http://адреса на картинката); background-repeat: no-repeat;background-position: bottom center" tabindex="3">$initial_content</textarea>

Скоро ще узная къде се слага и за бързия отговор! :)

Извинете, направих гореописаното само, че картинка няма :bn:
textarea name="{$form_field}" class="rte-iframe" id="{$editor_id}_textarea" rows="10" cols="60" style="width:98%; height:250px; background-image: url http://www.адреса.co...ges/cyrilic.gif ; background-repeat: no-repeat;background-position: bottom center" tabindex="3">$initial_content</textarea>

#23 eneos

eneos

    Напреднал

  • VIP
  • PipPipPip
  • 296 Мнения:
Уроци

Публикувано 18 май 2009 - 00:20

Трябва да си качиш картинката на FTP сървара си и да дадеш в посочения линк пътя до нея.

#24

  • Guests

Публикувано 22 май 2009 - 16:46

Трябва да си качиш картинката на FTP сървара си и да дадеш в посочения линк пътя до нея.

Това и съм направил само, че картинка няма :blink:

#25 eneos

eneos

    Напреднал

  • VIP
  • PipPipPip
  • 296 Мнения:
Уроци

Публикувано 24 май 2009 - 08:14

Някъде бъркаш.
Провери ли отново внимателно? При мен си работи перфектно, както и на много други форуми, с която съм споделил информацията.

#26

  • Guests

Публикувано 24 май 2009 - 18:33

textarea name="{$form_field}" class="rte-iframe" id="{$editor_id}_textarea" rows="10" cols="60" style="width:98%; height:250px; background-image: url http://www.mercedes-...122/cyrilic.gif ; background-repeat: no-repeat;background-position: bottom center" tabindex="3">$initial_content</textarea>
Не и не не се показва картинката в формата за писане :ranting:

#27

  • Guests

Публикувано 24 май 2009 - 21:26

вероятно не разбираш от CSS, затова не ти се получава
линка е в скоби

#28 Al_Capone

Al_Capone

    Потребител

  • Потребители
  • PipPip
  • 45 Мнения:

Публикувано 25 май 2009 - 18:50

А да подсетя ако не е много нахално, как да се сложи и в text box-a за report? Ще чакам да се появи и за fast reply.

#29

  • Guests

Публикувано 25 май 2009 - 22:07

и за картинката за писане при ново мнение и за бърз отговор отдавна е описано как
http://ip.board-bg.c.../?showtopic=155

#30

  • Guests

Публикувано 26 май 2009 - 08:24

вероятно не разбираш от CSS, затова не ти се получава
линка е в скоби

Със скоби и без тях все тая, картинка няма.

<!--top-->
<if="$editor_id == 'ed-0'">
<script type="text/javascript" src="jscripts/ips_text_editor.js"></script>
<script type="text/javascript" src="jscripts/ips_text_editor_func.js"></script>
<script type="text/javascript">
var GB_ROOT_DIR = "http://www.mercedes-...rums/greybox/";
</script><script type="text/javascript" src="greybox/AJS.js"></script>
<script type="text/javascript" src="greybox/AJS_fx.js"></script>
<script type="text/javascript" src="greybox/gb_scripts.js"></script>

<link href="greybox/gb_styles.css" rel="stylesheet" type="text/css" />

<link href="greybox/gb_styles.css" rel="stylesheet" type="text/css" />
<style type='text/css'>
@import url( "{$images_path}css_rte.css" );
</style>
</if>
<input type='hidden' name='{$editor_id}_wysiwyg_used' id='{$editor_id}_wysiwyg_used' value='0' />
<input type='hidden' name='editor_ids[]' value='{$editor_id}' />
<table width='100%'>
<tr>
<td nowrap='nowrap' id='{$editor_id}_options-bar' class="rte-option-panel" style='width:0px;' valign='top'></td>
<td id='{$editor_id}_spacer-bar' width='4px'>&nbsp;</td>
<td nowrap='nowrap' style='width:100%;' id='{$editor_id}_main-bar' class="rte-buttonbar" valign='top'>
<!-- Main editor wrapper -->
<div id='{$editor_id}_controls' style='display:none;padding:6px;text-align:left'>
<table cellpadding="2" cellspacing="0" width='100%'>
<tr>
<td width='1%' align='left' nowrap='nowrap'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td><div class='rte-normal' id="{$editor_id}_cmd_removeformat"><img src="{$images_path}rte-remove-formatting.gif" alt="{$this->ipsclass->lang['js_tt_noformat']}" title="{$this->ipsclass->lang['js_tt_noformat']}" ></div></td>
<td><div class='rte-normal' id="{$editor_id}_cmd_togglesource"><img src="{$images_path}rte-toggle-html.gif" alt="{$this->ipsclass->lang['js_tt_htmlsource']}" title="{$this->ipsclass->lang['js_tt_htmlsource']}" ></div></td>
<td><img class="rteVertSep" src="{$images_path}rte_dots.gif" width="1" height="20" border="0" alt=""></td>
<td>
<div class='rte-menu-button' id='{$editor_id}_popup_special' title='{$this->ipsclass->lang['js_tt_insert_item']}' style='margin-right:2px;margin-left:2px;width:148px'>
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td><div id='{$editor_id}_out_special' style='width:130px'>{$this->ipsclass->lang['js_tt_insert_item']}</div></td>
<td align='right'><img class="ipd" src="{$images_path}icon_open.gif" border="0" alt=""></td>
</tr>
</table>
</div>
</td>
<td>
<div class='rte-menu-button' id='{$editor_id}_popup_fontname' title='{$this->ipsclass->lang['box_font']}' style='margin-right:2px;width:148px'>
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td><div id='{$editor_id}_out_fontname' style='width:130px'>&nbsp;</div></td>
<td align='right'><img class="ipd" src="{$images_path}icon_open.gif" border="0" alt=""></td>
</tr>
</table>
</div>
</td>
<td>
<div class='rte-menu-button' id='{$editor_id}_popup_fontsize' title='{$this->ipsclass->lang['box_size']}' style='width:78px'>
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td><div id='{$editor_id}_out_fontsize' style='width:60px'>&nbsp;</div></td>
<td align='right'><img class="ipd" src="{$images_path}icon_open.gif" border="0" alt=""></td>
</tr>
</table>
</div>
</td>
<td>
<div class='rte-menu-button' id='{$editor_id}_popup_forecolor' title='{$this->ipsclass->lang['js_tt_font_col']}' style='margin-left:2px;width:41px'>
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td><div id='{$editor_id}_out_color'>&nbsp;</div></td>
<td nowrap="nowrap">
<img class='ipd' src="{$images_path}rte-textcolor.gif" alt="{$this->ipsclass->lang['js_tt_font_col']}" title="{$this->ipsclass->lang['js_tt_font_col']}" >
<img class="ipd" src="{$images_path}icon_open.gif" border="0" alt="">
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</td>
<td width='98%'>&nbsp;</td>
<td width='1%' nowrap='nowrap' align='right'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td><div class="rte-normal" id="{$editor_id}_cmd_spellcheck"><img src="{$images_path}spellcheck.gif" width="25" height="24" alt="{$this->ipsclass->lang['js_tt_spellcheck']}" title="{$this->ipsclass->lang['js_tt_spellcheck']}" ></div></td>
<td><div class="rte-normal" id="{$editor_id}_cmd_undo" style='padding:5px'><img src="{$images_path}rte-undo.png" style="width:16px;height:16px;" alt="{$this->ipsclass->lang['js_tt_undo']}" title="{$this->ipsclass->lang['js_tt_undo']}" ></div></td>
<td><div class="rte-normal" id="{$editor_id}_cmd_redo" style='padding:5px'><img src="{$images_path}rte-redo.png" style="width:16px;height:16px;" alt="{$this->ipsclass->lang['js_tt_redo']}" title="{$this->ipsclass->lang['js_tt_redo']}" ></div></td>
<td>
<div class="rte-normal" style='padding:0px;margin:0px;' id="{$editor_id}_cmd_resize_up"><img src="{$images_path}rte-resize-up.gif" alt="{$this->ipsclass->lang['js_tt_smaller']}" title="{$this->ipsclass->lang['js_tt_smaller']}"></div>
<div class="rte-normal" style='padding:0px;margin:0px;padding-top:1px' id="{$editor_id}_cmd_resize_down"><img src="{$images_path}rte-resize-down.gif" alt="{$this->ipsclass->lang['js_tt_larger']}" title="{$this->ipsclass->lang['js_tt_larger']}"></div>
</td>
<if="$this->ipsclass->vars['posting_allow_rte'] == 1">
<td><div class="rte-normal" id="{$editor_id}_cmd_switcheditor"><img src="{$images_path}rte-switch-editor.png" alt="{$this->ipsclass->lang['js_tt_switcheditor']}" title="{$this->ipsclass->lang['js_tt_switcheditor']}" ></div></td>
</if>
</tr>
</table>
</td>
</tr>
</table>
<table cellpadding="2" cellspacing="0" id="Buttons2" width='100%'>
<tr>
<td width='1%' align='left' nowrap='nowrap'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td><div class="rte-normal" id="{$editor_id}_cmd_bold"><img src="{$images_path}rte-bold.png" alt="{$this->ipsclass->lang['js_tt_bold']}" title="{$this->ipsclass->lang['js_tt_bold']}"></div></td>
<td><div class="rte-normal" id="{$editor_id}_cmd_italic"><img src="{$images_path}rte-italic.png" alt="{$this->ipsclass->lang['js_tt_italic']}" title="{$this->ipsclass->lang['js_tt_italic']}" ></div></td>
<td><div class="rte-normal" id="{$editor_id}_cmd_underline"><img src="{$images_path}rte-underlined.png" alt="{$this->ipsclass->lang['js_tt_underline']}" title="{$this->ipsclass->lang['js_tt_underline']}" ></div></td>
<td>
<div class='rte-menu-button' id='{$editor_id}_popup_format' title='{$this->ipsclass->lang['js_text_formatting']}' style='margin-right:4px;margin-left:3px;width:41px'>
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td><div id='{$editor_id}_out_format'>&nbsp;</div></td>
<td nowrap="nowrap"><img class="ipd" src="{$images_path}rte-extra.png" alt="{$this->ipsclass->lang['js_extra_formatting']}" title="{$this->ipsclass->lang['js_extra_formatting']}" >
<img class="ipd" src="{$images_path}icon_open.gif" border="0" alt="">
</td>
</tr>
</table>
</div>
</td>
<td>
<div class='rte-menu-button' id='{$editor_id}_popup_backcolor' title='{$this->ipsclass->lang['js_tt_back_col']}' style='margin-right:4px;width:41px;display:none'>
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td><div id='{$editor_id}_out_bgcolor'>&nbsp;</div></td>
<td nowrap="nowrap">
<img class='ipd' src="{$images_path}rte-bgcolor.gif" alt="{$this->ipsclass->lang['js_tt_font_col']}" title="{$this->ipsclass->lang['js_tt_back_col']}" >
<img class="ipd" src="{$images_path}icon_open.gif" border="0" alt="">
</td>
</tr>
</table>
</div>
</td>
<if="$this->ipsclass->vars['_remove_emoticons']==0">
<td>
<div class='rte-menu-button' id='{$editor_id}_popup_emoticons' title='{$this->ipsclass->lang['js_tt_emoticons']}' style='margin-right:4px;width:41px'>
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td><div id='{$editor_id}_out_emoticons'>&nbsp;</div></td>
<td nowrap="nowrap">
<img class='ipd' src="{$images_path}rte-emoticon.gif" alt="{$this->ipsclass->lang['js_tt_emoticons']}" title="{$this->ipsclass->lang['js_tt_emoticons']}" >
<img class="ipd" src="{$images_path}icon_open.gif" border="0" alt="">
</td>
</tr>
</table>
</div>
</td>
</if>
<td><div class="rte-normal" id="{$editor_id}_cmd_createlink"><img src="{$images_path}rte-link-button.png" alt="{$this->ipsclass->lang['js_rte_lite_link']}" title="{$this->ipsclass->lang['js_rte_lite_link']}"></div></td>
<td><div class="rte-normal" id="{$editor_id}_cmd_insertimage"><img src="{$images_path}rte-image-button.png" alt="{$this->ipsclass->lang['js_rte_lite_img']}" title="{$this->ipsclass->lang['js_rte_lite_img']}"></div></td>
<td><div class="rte-normal" id="{$editor_id}_cmd_insertemail"><img src="{$images_path}rte-email-button.png" alt="{$this->ipsclass->lang['js_rte_lite_email']}" title="{$this->ipsclass->lang['js_rte_lite_email']}"></div></td>
<td><div class="rte-normal" id="{$editor_id}_cmd_ipb_quote"><img src="{$images_path}rte-quote-button.png" alt="{$this->ipsclass->lang['js_rte_lite_quote']}" title="{$this->ipsclass->lang['js_rte_lite_quote']}"></div></td>
<td><div class="rte-normal" id="{$editor_id}_cmd_ipb_code"><img src="{$images_path}rte-code-button.png" alt="{$this->ipsclass->lang['js_rte_lite_code']}" title="{$this->ipsclass->lang['js_rte_lite_code']}"></div></td>
<td>&nbsp;<a href="http://www.mercedes-...ms/latkir.html" title="От латиница към кирилица" rel="gb_page_center[650, 560]"><img src="http://www.mercedes-...s/kirbuton.png" alt="HTML Now!" border=0 width=100 height=23></a></td>
</tr>
</table>
</td>
<td width='98%'>&nbsp;</td>
<td width='1%' nowrap='nowrap' align='right'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td><div class="rte-normal" id="{$editor_id}_cmd_outdent"><img src="{$images_path}rte-outdent.gif" alt="{$this->ipsclass->lang['js_tt_outdent']}" title="{$this->ipsclass->lang['js_tt_outdent']}" ></div></td>
<td><div class="rte-normal" id="{$editor_id}_cmd_indent"><img src="{$images_path}rte-indent.gif" alt="{$this->ipsclass->lang['js_tt_indent']}" title="{$this->ipsclass->lang['js_tt_indent']}" ></div></td>
<td><img class="rteVertSep" src="{$images_path}rte_dots.gif" width="1" height="20" border="0" alt=""></td>
<td><div class="rte-normal" id="{$editor_id}_cmd_justifyleft"><img src="{$images_path}rte-align-left.png" alt="{$this->ipsclass->lang['js_tt_left']}" title="{$this->ipsclass->lang['js_tt_left']}" ></div></td>
<td><div class="rte-normal" id="{$editor_id}_cmd_justifycenter"><img src="{$images_path}rte-align-center.png" alt="{$this->ipsclass->lang['js_tt_center']}" title="{$this->ipsclass->lang['js_tt_center']}" ></div></td>
<td><div class="rte-normal" id="{$editor_id}_cmd_justifyright"><img src="{$images_path}rte-align-right.png" alt="{$this->ipsclass->lang['js_tt_right']}" title="{$this->ipsclass->lang['js_tt_right']}" ></div></td>
<td><div class="rte-normal" id="{$editor_id}_cmd_justifyfull"><img src="{$images_path}rte-justify.png" alt="{$this->ipsclass->lang['js_tt_jfull']}" title="{$this->ipsclass->lang['js_tt_jfull']}" ></div></td>
<td><img class="rteVertSep" src="{$images_path}rte_dots.gif" width="1" height="20" border="0" alt=""></td>
<td><div class="rte-normal" id="{$editor_id}_cmd_insertorderedlist"><img src="{$images_path}rte-list-numbered.gif" alt="{$this->ipsclass->lang['js_tt_list']}" title="{$this->ipsclass->lang['js_tt_list']}" ></div></td>
<td><div class="rte-normal" id="{$editor_id}_cmd_insertunorderedlist"><img src="{$images_path}rte-list.gif" alt="{$this->ipsclass->lang['js_tt_list']}" title="{$this->ipsclass->lang['js_tt_list']}" ></div></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<div style='padding:6px'>
<textarea name="{$form_field}" class="rte-iframe" id="{$editor_id}_textarea" rows="10" cols="60" style="width:98%; height:250px; background-image: (url http://www.mercedes-...22/cyrilic.gif) ; background-repeat: no-repeat;background-position: bottom center" tabindex="5">$initial_content</textarea>
</div>
<div style='float:right;padding:1px 8px 4px 8px'>
<div class='rte-menu-button' style='width:108px;font-size:10px;padding-right:8px;text-align:left;'><a href="java script:bbc_pop()" style='text-decoration:none;text-align:left'><img src="{$images_path}rte-bbcode-help-sm.png" style='vertical-align:middle' alt='{$this->ipsclass->lang['help_alt']}' border='0' /> {$this->ipsclass->lang['bbc_help']}</a></div>
</div>
<div align='left' style='padding:1px 8px 4px 8px; height:28px'>
<div id='rte-toggle-side-panel-button' class='rte-menu-button' style='width:135px;font-size:10px;padding-right:8px'><a href='#' onclick="return show_options_panel('{$editor_id}')" style='text-decoration:none'><img src="{$images_path}rte-toggle-options.png" alt='{$this->ipsclass->lang['help_alt']}' border='0' /> {$this->ipsclass->lang['toggle_side_panel']}</a></div>
</div>

</td></tr></table>
<br />
<script type="text/javascript">
<!--
var MessageMax = parseInt("{$this->ipsclass->lang['the_max_length']}");
var Override = "{$this->ipsclass->lang['override']}";
// Global paths and data
var global_rte_remove_side_panel = parseInt("{$this->ipsclass->vars['_remove_side_panel']}");
var global_rte_side_panel_open = parseInt("{$this->ipsclass->vars['rte_side_panel_open']}");
var global_rte_images_url = '$images_path';
var global_rte_includes_url = '$inc_path';
var global_rte_emoticons_url = '{$this->ipsclass->vars['EMOTICONS_URL']}';
var global_rte_char_set = '{$this->ipsclass->vars['gb_char_set']}';
// Lang array
ips_language_array =
{
'js_rte_link' : "{$this->ipsclass->lang['js_rte_link']}",
'js_rte_unlink' : "{$this->ipsclass->lang['js_rte_unlink']}",
'js_rte_image' : "{$this->ipsclass->lang['js_rte_image']}",
'js_rte_email' : "{$this->ipsclass->lang['js_rte_email']}",
'js_rte_erroriespell' : "{$this->ipsclass->lang['js_rte_erroriespell']}",
'js_rte_errorliespell' : "{$this->ipsclass->lang['js_rte_errorliespell']}",
'js_rte_code' : "{$this->ipsclass->lang['js_rte_code']}",
'js_rte_quote' : "{$this->ipsclass->lang['js_rte_quote']}",
'js_rte_sub' : "{$this->ipsclass->lang['js_tt_sub']}",
'js_rte_sup' : "{$this->ipsclass->lang['js_tt_sup']}",
'js_rte_strike' : "{$this->ipsclass->lang['js_tt_strike']}",
'emos_show_all' : "{$this->ipsclass->lang['emos_show_all']}",
'emos_show_prev' : "{$this->ipsclass->lang['emos_show_prev']}",
'emos_show_next' : "{$this->ipsclass->lang['emos_show_next']}",
'ed_quick_access' : "{$this->ipsclass->lang['ed_quick_access']}",
'insert_prefix' : "{$this->ipsclass->lang['insert_prefix']}"
};
// Smilies array
ips_smilie_items =
{
$smilies
};
// BBcode items
ips_bbcode_items =
{
$bbcode
};
// INIT item
IPS_editor['{$editor_id}'] = new ips_text_editor( '{$editor_id}', parseInt($rte_mode), parseInt($rte_mode) == 1 ? 0 : 1 );
// Set up defaults
IPS_editor['{$editor_id}'].allow_advanced = 0;
IPS_editor['{$editor_id}'].forum_fix_ie_newlines = 1;
// Add bbcode items
for( var i in ips_bbcode_items )
{
IPS_editor['{$editor_id}'].module_add_item( 'bbcodeloader{id=' + i + '}', "{$this->ipsclass->lang['insert_prefix']}: " + ips_bbcode_items[ i ]['title'] , 'rte-ipd-tag.png' );
}
// Bothering with the insert special menu?
var _c = 0;
for ( var i in IPS_editor['{$editor_id}'].ips_special_items )
{
_c++;
}
if ( _c < 1 )
{
document.getElementById( '{$editor_id}' + '_popup_special' ).style.display = 'none';
}
// Check side panel
check_side_panel( '{$editor_id}' );
-->
</script>



#31

  • Guests

Публикувано 26 май 2009 - 10:25

ами скобите са само около линка
виж добре кода, който трябва да замениш

#32

  • Guests

Публикувано 27 май 2009 - 14:22

ами скобите са само около линка
виж добре кода, който трябва да замениш

Благодаря ти Гошо най накрая реших казуса.
А сега да попитам, защо когата сменя от стандертен на обогатен едитор картинката изчезва?

#33

  • Guests

Публикувано 25 юни 2009 - 15:04

Хммммммммм никои ли не се е сблъсквал с проблема?


0 потребител(и) четат тази тема

0 потребители, 0 гости, 0 анонимни