Новости Joomla

0 Пользователей и 1 Гость просматривают эту тему.
  • 12 Ответов
  • 3126 Просмотров
*

andreysmolin

  • Захожу иногда
  • 274
  • 2 / 2
  • -=полёт нормальный=-
Кнопка вверху форума ОТМЕТИТЬ ВСЕ СООБЩЕНИЯ ПРОЧИТАННЫМИ
и кнопка голосования  задаются в моем шаблоне в одном месте.
то есть при изменений либо кнопка нелазит ( для kunena 1.6) либо наоборот становится слишком большой. (для голосования)
пробовал все возможные голосовалки.
результата ноль.
прикладываю CSS файл своего шаблона.( выделил нужную мне цифру от чего все пляшет)
строка 86
.button, .validate { padding:1px 3px; border:none; margin-top:5px; width:270px; height:24px; line-height:24px; text-transform:uppercase; font-size:
Код
======================================================================*\
|| #################################################################### ||
|| # Package - Joomla Template based on YJSimpleGrid Framework          ||
|| # Copyright (C) 2010  Youjoomla LLC. All Rights Reserved.            ||
|| # license - PHP files are licensed under  GNU/GPL V2                 ||
|| # license - CSS  - JS - IMAGE files  are Copyrighted material        ||
|| # bound by Proprietary License of Youjoomla LLC                      ||
|| # for more information visit http://www.youjoomla.com/license.html   ||
|| # Redistribution and  modification of this software                  ||
|| # is bounded by its licenses                                         ||
|| # websites - http://www.youjoomla.com | http://www.yjsimplegrid.com  ||
|| #################################################################### ||
\*======================================================================*/
@import url("layout.css");        /*layout CSS file*/
@import url("newsitems.css");     /*newsitems CSS file*/
@import url("menus.css");         /*menu CSS file*/
@import url("typo.css");          /*typo CSS file*/
body { text-align:center; /*center hack*/ padding:0; margin:0px 0 0px 0; line-height:18px; background-color:#FFFFFF; }
#stylef1 { font-family:"Bookman Old Style", serif; }
#stylef2 { font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; }
#stylef3 { font-family: "Times New Roman", Times, serif; }
#stylef4 { font-family:Century Gothic, sans-serif; }
#stylef5 { font-family:"Lucida Grande", sans-serif; }
#stylef6 { font-family: Arial, Helvetica, sans-serif; }
#stylef7 { font-family: Tahoma, Geneva, sans-serif; }
#stylef8 { font-family: Verdana, Geneva, sans-serif; }
#stylef9 { font-family: Copperplate Gothic Light, sans-serif; }
#stylef10 { font-family:"Lucida Console", Monaco, monospace; }
#stylef11 { font-family: Gill Sans MT, sans-serif; }
#stylef12 { font-family: "Trebuchet MS", Helvetica, sans-serif; }
#stylef13 { font-family: "Courier New", Courier, monospace; }
#stylef14 { font-family: Cambria, serif; }
#stylef15 { font-family: Georgia, Serif; }
#stylef16 { font-family:"Trebuchet MS", Arial, Helvetica, sans-serif; }
/* Joomla! STYLING
--------------------- */
a:focus { outline:0px; }
focus { outline:0px; }
h1, h2, h3, h4, h5, h6, p, blockquote, form, label, ul, ol, dl, fieldset, address { margin:0.5em 0; }
ul { margin: 0px; padding: 0px; list-style:none; }
ul li { padding-left:15px; }
body ol { list-style: decimal inside; margin:0; padding:0; }
body ol li { margin: 0px; padding: 5px 3px; list-style-image:none; background:none; }
/* ORDERED LIST FOR MODULES ONLY */
.yjsquare_in ol li, .yjround_in ol li { }
/*END*/

body a, body a:hover { cursor: pointer; }
a:link, a:visited { text-decoration: none; }
a:hover { text-decoration: none; }
h1 { font-size:2.5em; line-height:1.5em; }
h2 { font-size:1.7em; line-height:1.7em; }
h3 { font-size:1.3em; line-height:1.3em; }
h4 { font-size:1.2em; line-height:1.2em; }
h5 { font-size:1.1em; line-height:1.1em; }
h6 { font-size:1em; line-height:1em; font-weight:bold; }
h1 .cufon { padding:5px 0 0 0; }
.componentheading { letter-spacing: normal; margin:0 0px 4px 0px; }
.contentpaneopen { padding:0 0px; text-align: left; }
.contentpane { padding:0 0px 0px 0px !important; text-align: left; }
.category { margin-left:0px; }
.insidem ul { margin-left:10px; }
.contentpaneopen, .contentpane { }
.contentpaneopen { border-collapse: separate; border-spacing: 3px; }
table.contenttoc { margin: 0 0 10px 10px; padding: 0; width: 30%; float: right; }
.toclink { padding:5px; display:block; margin: 2px 0; }
/*SITE IMAGES*/
img a, img { border:0; padding:0; }
.img_caption { text-align:center; }
.img_caption.left { float: left; margin-right: 1em; }
.img_caption.right { float: right; margin-left: 1em; }
.img_caption.left p { clear: left; text-align: center; padding:3px; }
.img_caption.right p { clear: right; text-align: center; padding:3px; }
.contentdescription img { padding:5px; margin:0px; }
/* END SITE IMAGES */
input#search_searchword { padding:2px; }
table.searchintro { padding: 10px 0; width: 100%; }
table.searchintro td { padding: 5px!important; }
.clr { clear:both; height:1px; }
fieldset { padding:.5em; }
.inputbox { margin-top:5px; }
.input { border:0; }
/* BUTTONS
--------------------- */
.required { margin:5px 0 0 0; }
.button, .validate { padding:1px 3px; border:none; margin-top:5px; width:270px; height:24px; line-height:24px; text-transform:uppercase; font-size:9px; font-weight:; text-align:center; }
.readon { height:24px; line-height:24px; display:block; clear:both; float:left; padding:0 0 0 10px; margin:10px 0 0 0; }
.readon span { display: block; height:24px; line-height:24px; padding:0 10px 0 0px; }
a.pagenav, .pagenav_prev a, .pagenav_next a, .pagenavbar a, .back_button a { height:21px; text-transform:uppercase; font-weight:normal; line-height:21px; padding:0 5px; }
.back_button { padding: 0 5px; }
/*END BUTTONS*/
/*POLL */
.yjsg_poll { padding:0 5px; }
div.yjsg_poll div.poll fieldset { margin: 15px 0px 10px 0px; }
table.pollstableborder td.sectiontableentry0, table.pollstableborder td.sectiontableentry1, table.pollstableborder td.sectiontableentry2, table.pollstableborder tr.sectiontableentry0 td, table.pollstableborder tr.sectiontableentry1 td, table.pollstableborder tr.sectiontableentry2 td { height: 20px; padding-left: 5px; text-align:left; padding-right: 10px; line-height: 18px; margin-bottom:5px; background: none; border:none; }
table.pollstableborder { border: none; padding: 0; width: 100%; text-align: left; }
table.pollstableborder img { vertical-align: baseline; }
table.pollstableborder td { padding:0 5px !important; }
/*SECTION TABLE ENTERIES */
tr.sectiontableentry0 td, tr.sectiontableentry1 td, tr.sectiontableentry2 td, td.sectiontableentry0, td.sectiontableentry1, td.sectiontableentry2 { height: 20px; padding: 0 10px; line-height: 29px; }
.sectiontableheader { padding: 5px; font-weight: bold; }
/*SECTION TABLE ENTERY COLORS. MOVE TO COLOR.CSS IF YOU LIKE TO CHANGE THEM
--------------------- */
table.pollstableborder tr.sectiontableentry0 td { border: none; background: #f3f2f2; }
table.pollstableborder tr.sectiontableentry1 td, table.pollstableborder tr.sectiontableentry2 td { border: none; }
.sectiontableheader { border: 1px solid #d4d4d4; background:#DEDEDE; }
.sectiontableentry1 { background-color : #DEDEDE; }
tr.sectiontableentry0 td, tr.sectiontableentry1 td, tr.sectiontableentry2 td, td.sectiontableentry0, td.sectiontableentry1, td.sectiontableentry2 { border-bottom: 1px solid #fff; }
tr.sectiontableentry0 td, td.sectiontableentry0, tr.sectiontableentry2 td, td.sectiontableentry2 { background-color: #f3f2f2; }
tr.sectiontableentry1 td, td.sectiontableentry1 { background-color: #E9E9E9; }
tr.sectiontableentry0:hover td, tr.sectiontableentry1:hover td, tr.sectiontableentry2:hover td { background-color: #EEEEEE; }
/* default system
--------------------- */
/* Tooltips */
.tool-tip { float: left; background: #ffc; border: 1px solid #D4D5AA; padding: 5px; max-width: 200px; text-align:left; }
.tool-title { padding: 0; margin: 0; font-size:12px; font-weight: bold; margin-top: -15px; padding-top: 15px; padding-bottom: 5px; text-align:left; background: url(../../system/images/selector-arrow.png) no-repeat; }
.tool-text { font-size:11px; margin: 0; text-align:left; }
/* OpenID icon style */
input.system-openid { background: url(http://openid.net/login-bg.gif) no-repeat; background-color: #fff; background-position: 0 50%; color: #000; padding-left: 18px; }
/* Unpublished */
.system-unpublished { background: #FDFDFD; border-top: 1px solid #EAEAEA; border-bottom: 1px solid #EAEAEA; }
/* System Messages */
#system-message { margin-bottom: 10px; padding: 0; }
#system-message dt { font-weight: bold; }
#system-message dd { margin: 0; font-weight: bold; text-indent: 30px; background-image:none; }
#system-message dd ul { background-color:#FDFDFD; color: #c02; margin-bottom: 10px; list-style: none; padding: 10px; border-top: 1px solid #EAEAEA; border-bottom: 1px solid #EAEAEA; }
/* System Standard Messages */
#system-message dt.message { display: none; }
#system-message dd.message { }
#system-message dd.message ul li { background-image:none; }
/* System Error Messages */
#system-message dt.error { display: none; }
#system-message dd.error ul { color: #c00; background-color: #FDFDFD; border-top: 1px solid #EAEAEA; border-bottom: 1px solid #EAEAEA; }
#system-message dd.error ul li { background-image:none; }
/* System Notice Messages */
#system-message dt.notice { display: none; }
#system-message dd.notice ul { color: #c00; background: #FDFDFD; border-top: 1px solid #EAEAEA; border-bottom: 1px solid #EAEAEA; }
#system-message dd.notice ul li { background-image:none; }
/* Debug */
#system-debug { color: #ccc; background-color: #fff; padding: 10px; margin: 10px; text-align:left; }
#system-debug div { font-size: 11px; }
/* Form validation */
.invalid { border-color: #ff0000; }
label.invalid { color: #ff0000; }
/* Buttons */
#editor-xtd-buttons { padding: 5px; }
.button2-left, .button2-right, .button2-left div, .button2-right div { float: left; }
.button2-left a, .button2-right a, .button2-left span, .button2-right span { display: block; height: 22px; float: left; line-height: 22px; font-size: 11px; color: #666; cursor: pointer; }
.button2-left span, .button2-right span { cursor: default; color: #999; }
.button2-left .page a, .button2-right .page a, .button2-left .page span, .button2-right .page span { padding: 0 6px; }
.page span { color: #000; font-weight: bold; }
.button2-left a:hover, .button2-right a:hover { text-decoration: none; color: #0B55C4; }
.button2-left a, .button2-left span { padding: 0 24px 0 6px; }
.button2-right a, .button2-right span { padding: 0 6px 0 24px; }
.button2-left { background: url(../images/j_button2_left.png) no-repeat; float: left; margin-left: 5px; }
.button2-right { background: url(../images/j_button2_right.png) 100% 0 no-repeat; float: left; margin-left: 5px; }
.button2-left .image { background: url(../images/j_button2_image.png) 100% 0 no-repeat; }
.button2-left .readmore { background: url(../images/j_button2_readmore.png) 100% 0 no-repeat; }
.button2-left .pagebreak { background: url(../images/j_button2_pagebreak.png) 100% 0 no-repeat; }
.button2-left .blank { background: url(../images/j_button2_blank.png) 100% 0 no-repeat; }
/* Calendar */
a img.calendar { width: 16px; height: 16px; margin-left: 3px; background: url(../images/calendar.png) no-repeat; cursor: pointer; vertical-align: middle; }
/*contact*/
#component-contact { padding:0 8px; }
/*
*

migus

  • Давно я тут
  • 992
  • 144 / 0
  • OPEN THE BOX
Рекомендую править шаблон Joomla! или др. средствами добавить ширину пространства для Kunena 1.6, т.к. вы позже и в других местах тоже столкнетесь с тем, что ширины не хватит (например при модерировании).

Как запасной вариант для этой ситуации - можно сократить в языковом файле размер фразы ОТМЕТИТЬ ВСЕ СООБЩЕНИЯ ПРОЧИТАННЫМИ до ОТМЕТИТЬ ВСЕ ПРОЧИТАННЫМИ (там всеравно всплывающая подсказка при наведении курсора есть).

- удачи ;)

P.S. Кстати, сейчас посмотрел: в той редакции перевода, которая стоит у меня фраза несколько иная...
« Последнее редактирование: 28.10.2010, 19:38:38 от migus »
"The Lord Of A SandBox"
*

andreysmolin

  • Захожу иногда
  • 274
  • 2 / 2
  • -=полёт нормальный=-
дак как это поправить?
может придется проще всего распрощаться с голосованиями?
*

migus

  • Давно я тут
  • 992
  • 144 / 0
  • OPEN THE BOX
Дело ваше, но я бы сократил фразу на кнопке...

- удачи ;)
"The Lord Of A SandBox"
*

andreysmolin

  • Захожу иногда
  • 274
  • 2 / 2
  • -=полёт нормальный=-
Дело ваше, но я бы сократил фразу на кнопке...

- удачи ;)
дак вы представте насколько ее надо сократить . Если у кнопки близнеца в голосовании на ней только одно слово ОК!
*

migus

  • Давно я тут
  • 992
  • 144 / 0
  • OPEN THE BOX
Даа... Может попробовать в CSS вместо размера в пикселях написать auto:
Код: php-brief
button, .validate { padding:1px 3px; border:none; margin-top:5px; width:auto; height:24px; line-height:24px; text-transform:uppercase; font-size:9px; font-weight:; text-align:center; }

- удачи ;)
"The Lord Of A SandBox"
*

andreysmolin

  • Захожу иногда
  • 274
  • 2 / 2
  • -=полёт нормальный=-
Даа... Может попробовать в CSS вместо размера в пикселях написать auto:
Код: php-brief
button, .validate { padding:1px 3px; border:none; margin-top:5px; width:auto; height:24px; line-height:24px; text-transform:uppercase; font-size:9px; font-weight:; text-align:center; }
- удачи ;)
auto просто или auto px ?
« Последнее редактирование: 29.10.2010, 11:00:16 от andreysmolin »
*

migus

  • Давно я тут
  • 992
  • 144 / 0
  • OPEN THE BOX
так я же строчку вставил - просто скопируйте с заменой...
"The Lord Of A SandBox"
*

andreysmolin

  • Захожу иногда
  • 274
  • 2 / 2
  • -=полёт нормальный=-
лучше к сожалению не стало.
буду искать другой шаблон. это самый простой выход
*

Daniil Solosyatov

  • Осваиваюсь на форуме
  • 37
  • 0 / 0
Подскажите, в Оглавлении есть кнопка такая: Отметить все форумы как прочитанные". Как можно убрать эту кнопку вообще? Спасибо.
*

migus

  • Давно я тут
  • 992
  • 144 / 0
  • OPEN THE BOX
Подскажите, в Оглавлении есть кнопка такая: Отметить все форумы как прочитанные". Как можно убрать эту кнопку вообще? Спасибо.
в файле: ...home.../components/com_kunena/template/default(или ваш шаблон)/categories/listcat.php
удалите эту строчку:
Код: php-brief
<input type="submit" class="kbutton button ks" value="<?php echo JText::_('COM_KUNENA_GEN_MARK_ALL_FORUMS_READ'); ?>" />

- удачи ;)
"The Lord Of A SandBox"
*

ChaosHead

  • Moderator
  • 5242
  • 451 / 13
Может тогда проще вообще отключить отображение новых постов, если у пользователей не будут всё-равно возможности пометить их прочитанными?
« Последнее редактирование: 17.02.2011, 12:11:42 от ChaosHead »

Здравствуйте, migus!
Подскажите, пожалуйста, а как убрать совсем эту кнопку "отметить все форумы как прочитанные" в версии 1.5.4RE ?
Спасибо.
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

Не подхватывается файл локализации компонента Kunena v6.0.3

Автор Александр Кардаш

Ответов: 1
Просмотров: 3377
Последний ответ 02.04.2023, 18:12:09
от Александр Кардаш
Нужна помощь в переносе форума с Kunena на wordpress и любой плагин форума

Автор Zoltar22

Ответов: 0
Просмотров: 3084
Последний ответ 19.10.2022, 04:32:49
от Zoltar22
Форум Kunena. нет поля для ввода текста

Автор sarvasvova

Ответов: 2
Просмотров: 3602
Последний ответ 02.08.2022, 09:32:31
от crimeafrend
Kunena при создании новой темы не выводит поле для ввода текста

Автор sarvasvova

Ответов: 0
Просмотров: 6054
Последний ответ 18.11.2021, 00:31:10
от sarvasvova
Русификация Kunena

Автор pavel82

Ответов: 5
Просмотров: 30716
Последний ответ 04.06.2021, 14:44:49
от Elya