Новости Joomla

SW JProjects v.2.5.0 - компонент каталога цифровых проектов на Joomla

SW JProjects v.2.5.0 - компонент каталога цифровых проектов на Joomla

👩‍💻 SW JProjects v.2.5.0 - компонент каталога цифровых проектов на Joomla.Компонент - менеджер цифровых проектов для Joomla! CMS. Компонент обеспечивает создание каталога цифровых проектов и предоставляет возможность скачивания, в том числе с использованием лицензионных ключей.👩‍💻 v.2.5.0. Что нового?Схемы структур данных для серверов обновлений. Теперь с SW JProjects вы может создавать сервер обновлений не только для расширений Joomla, но и свои собственные. Например, вам нужно, чтобы структура данных сервера обновлений была другая и формат должен быть, например, не XML, а JSON. Формирование структуры данных для сервера обновлений расширений Joomla вынесено в отдельный плагин. Вы можете создать свой собственный плагин и реализовать в нём нужную вам структуру данных, добавив или наоборот исключив отображаемые данные. Сервер обновлений в компоненте по-прежнему отображает информацию о списке проектов и их версиях, о конкретном проекте и его changelog.Можно выбрать схему данных сервера обновлений глобально для всего компонента, выбрать другую схему данных для категории проектов, а так же выбрать схему в каждом проекте.

Разработчикам в качестве образца можно посмотреть плагин схемы данных для Joomla в составе компонента или же плагин-образец JSON-схемы на GitHub.
Группа плагинов swjprojects. Для нужд компонента создана группа плагинов swjprojects. В частности, в этой группе находится плагин структуры данных Joomla расширений для сервера обновлений.Изменение языковых констант. Изменены некоторые языковые константы в панели администратора. Если вы делали переопределение констант - переопределите их снова.👩‍💻 Joomla 6. Внесены изменения для корректной установки и работы компонента на Joomla 6. Компонент успешно протестирован на Joomla 6-beta2.Минимальная версия Joomla - 5. Подняты минимальные системные требования: Joomla 5.0.0 и PHP 8.1.
- Страница расширения👉 Плагин-образец кастомной JSON-схемы данных для сервера обновлений на GitHub.- GitHub расширения- Документация на GitHub- Joomla Extensions Directory#joomla #расширения

Как триггерить события для плагинов на манер Joomla 5+?В Joomla 6 должны удалить метод...

Как триггерить события для плагинов на манер Joomla 5+?В Joomla 6 должны удалить метод...

👩‍💻 Как триггерить события для плагинов на манер Joomla 5+?В Joomla 6 должны удалить метод triggerEvent(), с помощью которого раньше вызывались события для плагинов. Теперь чтобы в своём коде вызвать событие для плагина и получить от него результаты нужно:- создать объект класса события- передать в него параметры

use Joomla\CMS\Event\AbstractEvent;use Joomla\CMS\Factory;use Joomla\CMS\Plugin\PluginHelper;// Грузим плагины нужных группPluginHelper::importPlugin('system');// Создаём объект события$event = AbstractEvent::create('onAfterInitUniverse', [    'subject' => $this,    'data'    => $data, // какие-то данные    'article' => $article, // ещё материал вдовесок    'product' => $product, // и товаров подвезли]);// Триггерим событиеFactory::getApplication()->getDispatcher()->dispatch(    $event->getName(), // Тут можно строку передать 'onAfterInitUniverse'    $event);// Получаем результаты// В случае с AbstractEvent это может быть не 'result',// а что-то ещё - куда сами отдадите данные.// 2-й аргумент - значение по умолчанию, // если не получены результаты$results = $event->getArgument('result', []);
Плюсы такого подхода - вам не нужно запоминать порядок аргументов и проверять их наличие. Если вы написали свой класс события, то в плагине можно получать аргументы с помощью методов $event->getArticle(), $event->getData(), $event->getProduct() и подобными - реализуете сами под свои нужды. Если такой класс события написали, то создаёте экземпляр своего класса события и укажите его явно в аргументе eventClass
use Joomla\Component\MyComponent\Administrator\Event\MyCoolEvent;$event = MyCoolEvent::create('onAfterInitUniverse', [    'subject'    => $this,    'eventClass' => MyCoolEvent::class, // ваш класс события    'data'       => $data, // какие-то данные    'article'    => $article, // ещё материал вдовесок    'product'    => $product, // и товаров подвезли]);
Ожидаемо, что класс вашего события будет расширять AbsractEvent или другие классы событий Joomla.🙁 Есть неприятный нюанс - нельзя просто так вызывать событие и ничего не передать в аргументы. Аргумент subject обязательный. Но если вы всё-таки не хотите туда ничего передавать - передайте туда пустой stdClass или объект Joomla\registry\Registry.
@joomlafeed#joomla #php #webdev

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

man999

  • Осваиваюсь на форуме
  • 39
  • 0 / 0
подскажите как расстянуть топ меню.
Код
@charset "utf-8";
*{margin:0; padding:0;}
ul{list-style:none; margin:0; padding:0;}
body{background:#383838; color:#7b7b7b; font-size:12px; font-family:Arial; line-height:16px;}

table{border-collapse:collapse; border:0;}
td{border:none; padding:0; vertical-align:top;}

a {color:#484848; text-decoration:underline;}
a:hover{text-decoration:none;}
img {border:0;}

.column{float:left;}
.clear{clear:both;}

ul{list-style:none;}

/**********************************************/
input, textarea{font-family:Tahoma;font-size:11px;color:#000000; vertical-align:middle; font-weight:normal; background:#FFFFFF; text-align:left;}
/**********************************************/
.main {width:962px; margin:auto; margin-top:8px;}
.main .inmain_1{background:url(../images/side.gif) repeat-x left top #f3f3eb;}
.main .inmain_2{background:url(../images/side.gif) repeat-x left bottom;}
.main .inmain_3{background:url(../images/side.gif) repeat-y left top;}
.main .inmain_4{background:url(../images/side.gif) repeat-y right top;}
.main .inmain_5{background:url(../images/corner.gif) no-repeat left top;}
.main .inmain_6{background:url(../images/corner.gif) no-repeat right top;}
.main .inmain_7{background:url(../images/corner.gif) no-repeat left bottom;}
.main .inmain_8{background:url(../images/corner.gif) no-repeat right bottom; width:100%;}
.main .inmain_9{ width:937px; margin:auto;}



#menu{ height:43px; background:url(../images/menu_back.gif) no-repeat left top;}
#menu ul{ width:auto; margin:0 auto;}
#menu li{background:url(../images/pimp1.gif) no-repeat right top; color:#dceaef; float:left; font-size:14px; padding:15px 30px 10px 30px;}
#menu li a{color:#dceaef; text-decoration:none; padding:16px 0 10px 0;}
#menu li a:hover{text-decoration:underline;}




#header{height:140px;}
#header .col1{width:300px; float:left;}
#header .col1 .indent{padding:41px 0 0 18px;}
#header .col2{width:300px; float:right;}
#header .col2 .indent{padding:54px 33px 0 0;}

#search{height:44px; width:244px; background:url(../images/searchback.jpg) no-repeat 0 4px; float:right; display:block;}
#search input{width:180px; height:17px; color:#999987;  border:none; background:#ebebe2;}
#search .inside{padding:0 0 0 60px;}


#underheader{height:262px; background:url(../images/h_back.jpg) no-repeat left top;}
#underheader .col1{width:254px; float:left;}
#underheader .col1 .indent{padding:14px 46px 17px 22px;}
#underheader .col2{width:auto; float:left;}
#underheader .col2 .indent{padding:45px 0 0 0;}

#underheader ul{ width:100%;}
#underheader li{ background:url(../images/line.gif) repeat-x left bottom; color:#24313a; float:left; font-size:13px; line-height:16px; width:100%; padding:6px 0 7px 0;}
#underheader li a{color:#24313a; text-decoration:none;}
#underheader li a:hover{text-decoration:underline;}




#content {width:100%; padding-bottom:20px;}

#content .column1{width:238px; float:left; position:relative; margin-right:-238px;}
#content .column1 .indent{padding:0 0 0 0;}


#content .column2{width:100%; float:left;}
#content .column2 .indent{padding:32px 0 0 26px; margin-left:238px; margin-right:230px;}
#content .column2 .indent2{padding:32px 0 0 26px; margin-left:238px; margin-right:0;}
#content .column2 .indent3{padding:32px 0 0 26px; margin-left:0; margin-right:230px;}
#content .column2 .indent4{padding:32px 0 0 26px; margin-left:0; margin-right:0;}


#content .column3{width:230px; float:right; position:relative; margin-left:-230px;}
#content .column3 .indent{padding:0 0 0 0;}






#footer{width:100%; font-size:1.01em; color:#f3f3eb;}
#footer .in1{ padding:13px 0 16px 46px;}
#footer a{color:#f3f3eb; text-decoration:none;}
#footer a:hover{text-decoration:underline;}






/*****************************************/
/*************** modules description *************/
.componentheading, table.moduletable th, legend {
  margin: 0;
  font-weight: bold;
  font-family: Helvetica,Arial,sans-serif;
  font-size: 1.5em;
  padding-left: 0px;
margin-bottom: 10px;
text-align: left;
}










.moduletable div{}
.moduletable div div{}
.moduletable div div div{padding:9px 12px 12px 12px;}
.moduletable h3{background:url(../images/title_back.gif) repeat-x left bottom; font-family:Verdana; color:#6a1407;  font-size:1.16em; font-weight:bold; padding:12px 0 6px 9px; margin-bottom:10px;}


.moduletable_menu div{}
.moduletable_menu div div{}
.moduletable_menu div div div{padding:9px 12px 12px 12px;}
.moduletable_menu h3{background:url(../images/title_back.gif) repeat-x left bottom; font-family:Verdana; color:#6a1407;  font-size:1.16em; font-weight:bold; padding:12px 0 6px 9px;}

ul.menu{padding:9px 12px 12px 12px;}
ul.menu li{color:#536600; line-height:20px; background:url(../images/pimp2.gif) no-repeat 0px 5px; padding-left:13px;}
ul.menu li a{color:#536600; }
ul.menu li a:hover{text-decoration:none;}














#content .column1 .module_menu{ width:238px; margin-bottom:5px;}
#content .column1 .module_menu div{background:url(../images/box_tall.gif) repeat-y left top;}
#content .column1 .module_menu div div{background:url(../images/box_top.gif) no-repeat left top;}
#content .column1 .module_menu div div div{background:url(../images/box_bottom.gif) no-repeat left bottom; width:100%;}
#content .column1 .module_menu div div div div{background:none;}
#content .column1 .module_menu div div div td.over{ padding:25px 15px 25px 30px;}
#content .column1 .module_menu h3{background:url(../images/h2_back1.gif) no-repeat left top; font-family:Tahoma; color:#FFFFFF; font-size:1.19em; font-weight:bold; padding:15px 0 15px 34px; width:auto;}

#content .column1 .module{ width:238px; margin-bottom:5px;}
#content .column1 .module div{background:url(../images/box_tall.gif) repeat-y left top;}
#content .column1 .module div div{background:url(../images/box_top.gif) no-repeat left top;}
#content .column1 .module div div div{background:url(../images/box_bottom.gif) no-repeat left bottom; width:100%;}
#content .column1 .module div div div div{background:none;}
#content .column1 .module div div div td.over{ padding:25px 5px 25px 30px;}
#content .column1 .module h3{background:url(../images/h2_back1.gif) no-repeat left top; font-family:Tahoma; color:#FFFFFF; font-size:1.19em; font-weight:bold; padding:15px 0 15px 34px; width:auto;}


#content .column1 .module_s1{ width:238px; margin-bottom:5px;}
#content .column1 .module_s1 div{background:url(../images/box_tall.gif) repeat-y left top;}
#content .column1 .module_s1 div div{background:url(../images/box_top.gif) no-repeat left top;}
#content .column1 .module_s1 div div div{background:url(../images/box_bottom.gif) no-repeat left bottom; width:100%;}
#content .column1 .module_s1 div div div div{background:none;}
#content .column1 .module_s1 div div div td.over{ padding:25px 15px 25px 30px;}
#content .column1 .module_s1 h3{background:url(../images/h2_back2.gif) no-repeat left top; font-family:Tahoma; color:#FFFFFF; font-size:1.19em; font-weight:bold; padding:15px 0 15px 34px; width:auto;}





#content .column3 .module_menu{ width:230px; margin-bottom:5px;}
#content .column3 .module_menu div{background:url(../images/box_tall2.gif) repeat-y left top;}
#content .column3 .module_menu div div{background:url(../images/box_top1.gif) no-repeat left top;}
#content .column3 .module_menu div div div{background:url(../images/box_bottom2.gif) no-repeat left bottom; width:100%;}
#content .column3 .module_menu div div div div{background:none; width:100%;}
#content .column3 .module_menu div div div td.over{ padding:25px 15px 25px 30px;}

#content .column3 .module_menu h3{background:url(../images/h2_back3.gif) no-repeat left top; font-family:Tahoma; color:#FFFFFF; font-size:1.19em; font-weight:bold; padding:15px 0 15px 34px; width:auto;}


#content .column3 .module{ width:230px; margin-bottom:5px;}
#content .column3 .module div{background:url(../images/box_tall2.gif) repeat-y left top;}
#content .column3 .module div div{background:url(../images/box_top1.gif) no-repeat left top;}
#content .column3 .module div div div{background:url(../images/box_bottom2.gif) no-repeat left bottom; width:100%;}
#content .column3 .module div div div div{background:none; width:100%;}
#content .column3 .module div div div td.over{ padding:25px 15px 25px 30px;}

#content .column3 .module h3{background:url(../images/h2_back3.gif) no-repeat left top; font-family:Tahoma; color:#FFFFFF; font-size:1.19em; font-weight:bold; padding:15px 0 15px 34px; width:auto;}


#content .column3 .module_s1{ width:230px; margin-bottom:5px;}
#content .column3 .module_s1 div{background:url(../images/box_tall2.gif) repeat-y left top;}
#content .column3 .module_s1 div div{background:url(../images/box_top1.gif) no-repeat left top;}
#content .column3 .module_s1 div div div{background:url(../images/box_bottom2.gif) no-repeat left bottom; width:100%;}
#content .column3 .module_s1 div div div div{background:none;}
#content .column3 .module_s1 div div div td.over{ padding:25px 15px 25px 30px;}
#content .column3 .module_s1 h3{background:url(../images/h2_back4.gif) no-repeat left top; font-family:Tahoma; color:#FFFFFF; font-size:1.19em; font-weight:bold; padding:15px 0 15px 34px; width:auto;}


#content .column3 .module ul{}
#content .column3 .module li{color:#3f342d; line-height:16px; background:url(../images/pimp3.gif) no-repeat 0px 1px; padding-top:3px; padding-left:28px; padding-bottom:15px;}
#content .column3 .module li a{color:#3f342d; }
#content .column3 .module li a:hover{text-decoration:none;}








#form-login-username,#form-login-password {color:#7b7b7b; text-transform:lowercase;}
#modlgn_username.inputbox, #modlgn_passwd.inputbox{width:169px; height:19px; border:solid 1px #b4b4b4;}
#form-login-remember{color:#7b7b7b; padding-top:10px;}
#modlgn_remember{background:none;}


.button{background:none; border:none; color:#ffffff;  font-size:1.01em; text-align:center; color:#23a8d4;}

.button2{background:url(../images/poll_back1.gif) no-repeat left top; border:none; width:79px; height:23px; color:#ffffff;  font-size:1.01em; text-align:center; color:#ffffff; font-weight:bold;}
.button3{background:url(../images/poll_back2.gif) no-repeat left top; border:none; width:89px; height:23px; color:#ffffff;  font-size:1.01em; text-align:center; color:#ffffff; font-weight:bold;}



form#form-login{color:#7b7b7b; margin-left:0;}

ul.log_list{margin-top:5px; margin-left:0; font-style:normal; text-transform:none;}
ul.log_list li a {color:#7b7b7b; font-size:1.01em; text-decoration:underline;}
ul.log_list li a:hover{text-decoration:none;}

.poll_s1{color:#000000;}
.poll_s1 .sectiontableentry1_s1 input{background:none;}
.poll_s1 .sectiontableentry2_s1 input{background:none;}
.pollstableborder_s1{margin-top:15px; color:#5e6366; background:none;}
.pollstableborder_s1 .sectiontableentry1_s1{padding-bottom:5px; color:#5e6366; font-size:1.01em; background:none;}
.pollstableborder_s1 .sectiontableentry2_s1{padding-bottom:5px; color:#5e6366; font-size:1.01em; background:none;}
.sectiontableentry2_s1{vertical-align:middle; padding-right:10px; background:none;}


.message  ul li{height:40px; padding-top:25px; width:99%;}
.required{width:200px;}

form#form-login{width:200px;}

.search_result{width:98%;}

.mceEditor{width:300px;}

.results h3{font-size:1.09em; font-weight:bold;}
.results h4{font-size:1.01em; font-weight:bold;}

/*****************************************/
/*************** frontpage description *************/

h2, .contentheading {
padding-bottom:7px;
padding-top:2px;
font-family:Arial;
font-size: 1.33em;
font-weight: normal;
vertical-align: bottom;
color: #138aaf;
text-align: left;
line-height:0.91em;
}

table.contentpaneopen{height:auto;}

.small {
font-size: 0.91em;
color: #cd5200;
line-height:0.91em;
}

.createdate {
font-size: 0.91em;
color: #cd5200;
}

/* spacers */
span.article_separator {
display: block;
height: 40px;
}

table.blog span.article_separator {
display: block;
height: 40px;
}

.modifydate {
font-size: 0.91em;
color: #666666;
padding-top:22px;
padding-bottom:10px;
display:block;
float:right;
}

.my_indent{padding-left:0; padding-right:15px;}
.my_indent img{ padding-right:16px;}

a.readon {
display: block;
float: right;
background: url(../images/read_more_back.gif) no-repeat left top;
padding: 4px 0 0 0;
font-size:1.01em;
color:#ffffff;
text-decoration:none;
width:101px;
height:23px;
text-align:center;
}

a:hover.readon{text-decoration:none; color:#eeeeee}

.contentpaneopen img{margin-right:15px;}
.contentpaneopen p{margin-left:0;}

.blog_more{padding-left:0;}
.blog_more strong{font-family:Tahoma; font-size:1.09em; font-weight:normal;}
.blog_more ul{ margin-left:12px; margin-bottom:15px;}
.blog_more li a.blogsection{ color:#c92d17; text-decoration:none; font-size:0.91em;}
.blog_more li a:hover.blogsection{ text-decoration:underline;}

a.pagenav{color:#616161;}

#searchphraseall{background:none;}
#searchphraseany{background:none;}
#searchphraseexact{background:none;}
#area_content{background:none;}
#area_weblinks{background:none;}
#area_contacts{background:none;}
#area_categories{background:none;}
#area_sections{background:none;}
#area_newsfeeds{background:none;}

/*****************************************************************************/
/*** Template specific layout elements ***/

input.button { cursor: pointer; }

p { margin-top: 0; margin-bottom: 5px; }


#page_bg {
padding: 10px 0;
margin-bottom: 1px;
}

div.center {
  text-align: center;
}

div#wrapper {
margin-left: auto;
margin-right: auto;
}

body.width_medium div#wrapper {
width: 950px;
}


body.width_fmax div#wrapper {
min-width: 750px;
max-width: 1050px;
}


div#newsflash {
width: auto;
margin-left: 350px;
margin-right: 30px;
border: 1px solid #00f;
}

#pathway {
padding: 0px 10px 8px;
width: auto;
margin-top: -2px;
margin-right: 250px;
text-align: left;
}


form#searchForm input {
vertical-align: middle;
}

form#searchForm table {
border-collapse: collapse;
}

form#searchForm td {
padding:0;
}

#mod_search_searchword {
padding-left: 3px;
}

#area {
padding: 0;
}

#whitebox {
margin: 0 21px 0px 21px;
background: #fff;
width: auto;
}

#whitebox div {
text-align: left;
}

#whitebox_t {
background: #fff url(../images/mw_content_t.png) 0 0 repeat-x;
}

#whitebox_tl {
background: url(../images/mw_content_t_l.png) 0 0 no-repeat;
}

#whitebox_tr {
height: 10px;
overflow: hidden;
background: url(../images/mw_content_t_r.png) 100% 0 no-repeat;
}

#whitebox_m {
border-left: 1px solid #ccc;
border-right: 1px solid #ccc;
width: auto;
padding: 1px 8px;
}

#whitebox_b {
margin-top: -5px;
background: url(../images/mw_content_b.png) 0 100% repeat-x;
}

#whitebox_bl {
background: url(../images/mw_content_b_l.png) 0 100% no-repeat;
}

#whitebox_br {
height: 13px;
background: url(../images/mw_content_b_r.png) 100% 100% no-repeat;
}

/* horizontal pill menu */
table.pill {
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}

td.pill_l {
  background: url(../images/mw_menu_cap_l.png) no-repeat;
  width:  20px;
  height: 32px;

}

td.pill_m {
  background: url(../images/mw_menu_normal_bg.png) repeat-x;
  padding: 0;
  margin: 0;
  width: auto;
}

td.pill_r {
  background: url(../images/mw_menu_cap_r.png) no-repeat;
  width:  19px;
  height: 32px;
}

#pillmenu {
  white-space: nowrap;
  height: 32px;
  float: left;
}

#pillmenu ul {
  margin: 0;
  padding: 0;
  list-style:none;
}

#pillmenu li {
float: left;
background: url(../images/mw_menu_separator.png) top right no-repeat;
margin: 0;
padding: 0;
}

#pillmenu a {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: bold;
float:left;
  display:block;
  height: 24px;
  line-height: 24px;
  padding: 0 20px;
  color: #000;
  text-decoration: none;
}

#pillmenu a#active_menu-nav {
margin-top:2px;
height: 21px;
line-height: 21px;
background-position: 0 0;
}

#leftcolumn {
padding: 0;
margin: 0;
width: 20%;
float:left;
}

#maincolumn,
#maincolumn_full {
margin-left: 20%;
padding-left: 15px;
width: 75%;
}

#maincolumn_full {
margin-left: 0;
padding: 0;
width: 100%;
}

table.nopad {
width: 100%;
border-collapse: collapse;
padding: 0;
margin: 0;
margin-bottom: 15px;
}

table.nopad td.middle_pad {
width: 20px;
}

/*****************************************/
/*** Joomla! specific content elements ***/
/*****************************************/

div.offline {
background: #fffebb;
width: 100%;
position: absolute;
top: 0;
left: 0;
font-size: 1.2em;
padding: 5px;
}

span.pathway {
  display: block;
  margin: 0 20px;
  height: 16px;
  line-height: 16px;
  overflow: hidden;
}

/* headers */
div.componentheading {
  padding-left: 0px;
}

h1 {
padding: 0;
font-family:Helvetica ,Arial,sans-serif;
font-size: 1.3em;
font-weight: bold;
vertical-align: bottom;
color: #666;
text-align: left;
width: 100%;
}



h4 {
font-family: Arial, Helvetica, sans-serif;
color: #333;
font-size:1.01em;
font-weight:bold;
}





/* form validation */
.invalid { border-color: #ff0000; }
label.invalid { color: #ff0000; }


/** overlib **/

.ol-foreground {
background-color: #f6f6f6;
}

.ol-background {
background-color: #666;
}

.ol-textfont {
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
}

.ol-captionfont {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #f6f6f6;
font-weight: bold;
}
.ol-captionfont a {
color: #0B55C4;
text-decoration: none;
font-size: 12px;
}

.ol-closefont {}

/* menu links */
a.mainlevel:link, a.mainlevel:visited {
padding-left: 5px;
}

a.mainlevel:hover {

}


.article_column {
padding-right: 5px;
}

.column_separator {
border-left: 1px dashed #e0e0e0;
padding-left: 10px;
}

td.buttonheading {

}

td.buttonheading img {
border:none;
}

.clr {
clear: both;
}

td.greyline {
  width: 20px;
  background: url(../images/mw_line_grey.png) 50% 0 repeat-y;
}

div#maindivider {
  border-top: 1px solid #ddd;
  margin-bottom: 10px;
  overflow: hidden;
  height: 1px;
}


/* edit button */
.contentpaneopen_edit{
float: left;
}

/* table of contents */
table.contenttoc {
  margin: 5px;
  border: 1px solid #ccc;
  padding: 5px;
  float: right;
}

table.contenttoc td {
  padding: 0 5px;
}


/* content tables */
td.sectiontableheader {
  background: #efefef;
  color: #333;
  font-weight: bold;
  padding: 4px;
  border-right: 1px solid #fff;
}

tr.sectiontableentry0 td,
tr.sectiontableentry1 td,
tr.sectiontableentry2 td {
  padding: 4px;
}

td.sectiontableentry0,
td.sectiontableentry1,
td.sectiontableentry2 {
  padding: 3px;
}


/* content styles */


table.contentpaneopen fieldset {
border: 0;
border-top: 1px solid #ddd;
}



.highlight {
background-color: #fffebb;
}



/* forms */
#content textarea{ width: 300px !important;}

table.adminform textarea {
  width: 300px !important;
  height: 400px;
  font-size: 1.01em;
  color: #000099;
}

div.search input {
width: 145px;
border: 1px solid #ccc;
margin: 15px 0 0 0;
}

form#form-login fieldset { border: 0 none; margin: 0em; padding: 0.2em;}

form#com-form-login fieldset { border: 0 none; margin: 0em; padding: 0.2em;}

/* thumbnails */
div.mosimage         {  margin: 5px; }
div.mosimage_caption {  font-size: .90em; color: #666; }

div.caption       { padding: 0 10px 0 10px; }
div.caption img   { border: 1px solid #CCC; }
div.caption p     { font-size: .90em; color: #666; text-align: center; }

/* Parameter Table */
table.paramlist {
margin-top: 5px;
}

table.paramlist td.paramlist_key {
width: 128px;
text-align: left;
height: 30px;
}

table.paramlist td.paramlist_value {
}

div.message {
font-family : "Trebuchet MS", Arial, Helvetica, sans-serif;
font-weight: bold;
font-size : 14px;
color : #c30;
text-align: center;
width: auto;
background-color: #f9f9f9;
border: solid 1px #d5d5d5;
margin: 3px 0px 10px;
padding: 3px 20px;
}

/* Default skyscraper style */
.bannergroup {
}

.banneritem img {
display: block;
margin-left: auto;
margin-right: auto;
}

/* Text advert style */

.banneritem_text {
padding: 4px;
font-size: 11px;
}

.bannerfooter_text {
padding: 4px;
font-size: 11px;
background-color: #F7F7F7;
text-align: right;
}

/* System Messages */
/* see system general.css */

.pagination span { padding: 2px; }
.pagination a    { padding: 2px; }

/* Polls */
.pollstableborder td {
text-align: left;
}

/* WebLinks */
span.description {
display:block;
padding-left: 30px;
}

/* Frontend Editing*/
fieldset {
border: 1px solid #ccc;
margin-top: 15px;
padding: 15px;
}

legend {
margin: 0;
padding: 0 10px;
font-size:13px;
color:#66A7BB
}

td.key {
border-bottom:1px solid #eee;
color: #666;
}

/* Tooltips */

.tool-tip {
float: left;
background: #ffc;
border: 1px solid #D4D5AA;
padding: 5px;
max-width: 200px;
}

.tool-title {
padding: 0;
margin: 0;
font-size: 100%;
font-weight: bold;
margin-top: -15px;
padding-top: 15px;
padding-bottom: 5px;
background: url(../../system/images/selector-arrow.png) no-repeat;
}

.tool-text {
font-size: 100%;
margin: 0;
}

/* System Standard Messages */
#system-message { margin-bottom: 20px; }

#system-message dd.message ul { background: #C3D2E5 url(../../system/images/notice-info.png) 4px center no-repeat;border-top: 3px solid #DE7A7B; border-bottom: 3px solid #DE7A7B; margin:0px; padding-left: 40px; text-indent:0px;}

/* System Error Messages */
#system-message dd.error ul { color: #c00; background: #E6C0C0 url(../../system/images/notice-alert.png) 4px center no-repeat; border-top: 3px solid #DE7A7B; border-bottom: 3px solid #DE7A7B; margin:0px; padding-left: 40px; padding-right:20px; text-indent:0px;}

/* System Notice Messages */
#system-message dd.notice ul { color: #c00; background: #EFE7B8 url(../../system/images/notice-note.png) 4px center no-repeat; border-top: 3px solid #F0DC7E; border-bottom: 3px solid #F0DC7E; margin:0px; padding-left: 40px; text-indent:0px;}

#syndicate{
float:left;
padding-left: 25px;
}

#power_by{
float:right;
padding-right: 25px;
}

/* Component Specific Fixes */

#component-contact table td {
padding: 2px 0;
}
Посмотреть можно на www.ief-stu.ru
#menu{ height:43px; background:url(../images/menu_back.gif) no-repeat left top;}
#menu ul{ width:auto; margin:0 auto;}
в этих строках уже как угодно ковырял - не изменяется
« Последнее редактирование: 03.06.2010, 12:30:57 от man999 »
*

Olg

  • Завсегдатай
  • 1181
  • 90 / 2
Re: Topmenu не входит в одну строку
« Ответ #1 : 03.06.2010, 12:44:53 »
Куда Вы его хотите растянуть? Оно растягивается по ширине блока inmain_9 (width:937px;). Ежели хотите, чтобы Ваше длиннющее меню поместилось в одну строчку, то можно уменьшить почти до нуля его шрифт или сделать очень широким блок inmain_9 (и все блоки, в которые он вложен).
*

man999

  • Осваиваюсь на форуме
  • 39
  • 0 / 0
Re: Topmenu не входит в одну строку
« Ответ #2 : 03.06.2010, 13:29:55 »
спасибо, получилось.. теперь только главное меню коряво смотрится в положенном ему позицией user2, а в left более менее
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

Как выровнять строку по вертикали (header)?

Автор Ferum1

Ответов: 4
Просмотров: 1501
Последний ответ 13.10.2016, 10:35:36
от Ferum1
Как отменить переход на слеюующую строку после тега h1?

Автор Apollon

Ответов: 3
Просмотров: 3681
Последний ответ 04.08.2016, 23:20:50
от AlekVolsk
[Решено] Из-за position: absolute не переносится текст на новую строку

Автор slepoy

Ответов: 1
Просмотров: 3310
Последний ответ 24.01.2016, 01:04:31
от Taatshi
Навигатор в одну строку

Автор Ромашкин

Ответов: 5
Просмотров: 1614
Последний ответ 31.03.2015, 18:27:18
от Ромашкин
Задать блокам одинаковый размер и заголовки и блоки поставить в одну линию

Автор bodich

Ответов: 0
Просмотров: 1620
Последний ответ 10.09.2014, 15:24:45
от bodich