Новости 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 Гость просматривают эту тему.
  • 12 Ответов
  • 2444 Просмотров
*

dimage

  • Осваиваюсь на форуме
  • 14
  • 0 / 0
Баг правой колонки!
« : 22.08.2010, 09:42:11 »
Скриншот: http://clip2net.com/s/v1Lb
Шаблон: siteground-j15-59
template.css :
Код
html {
height: 100%;
margin-bottom: 0px;
}

form {
margin: 0;
padding: 0;

}

img,table {
border: none;
}

body {
background: #FEFEFE;
font-family: Tahoma, Arial, sans-serif;
line-height: 1.3em;
margin: 0;
padding: 0;
font-size: 12px;
color: #333;
}

.body_bg {
background: #FEFEFE url(../images/topbg.png) top center repeat-x;
}

body.contentpane {
background: #f8f8f8;
}
/* a links */
a:link, a:visited {
outline: none;
text-decoration: underline;
font-weight: normal;
color: #999933;
}

a:hover {
text-decoration: none;
font-weight: normal;
color: #999933;
}

table.contentpane ul li, div.nopad ul {
list-style-image: url(../images/li.png);
}
input.button, .validate  {
background: #96BA38;
border: 0;
font-size: 10px;
color: #fff;
padding: 3px 4px;
}

.search input.button {
text-align: right;
}

input.button:hover, .validate:hover  {

}


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

.inputbox, #email {
border: 1px solid #96BA38;
padding: 2px;
}
.inputbox:hover {

}

#modlgn_remember  {
border:0;
}

div.module div div div form#form-login {
width: 160px;
}

#search {
float: left;
padding: 0;
margin: 0;
}

#search div.module div div div form {
padding: 0;
margin: 0;
}

#search div.module_menu div div div div.search, #search  div.module div div div div.search {
text-align: left;
padding: 0;
margin: 0;
background: url(../images/search_bg.png) top left no-repeat;
}

#search div.module_menu div div div div.search1, #search  div.module div div div div.search1 {
float: right;
text-align: left;
padding: 0;
margin: 0;
background: url(../images/search_bg.png) top right no-repeat;
border: none;
}

#search div.module_menu div div div div.search1 input, #search  div.module div div div div.search1 input {
float: right;
line-height: 13px;
font-size: 12px;
color: #798950;
margin: 0;
width: 115px;
height: 20px;
padding: 5px 5px 0 5px;
border: none;
text-transform: capitalize;
background:none;
}



#search .search .inputbox {
line-height: 13px;
font-size: 12px;
color: #798950;
margin: 0;
width: 120px;
height: 20px;
padding: 5px 0px 0 5px;
border: none;
text-transform: capitalize;
background:none;
}

#search .search .button {
text-align: center;
background: transparent url(../images/search_btn_bg.png) top center no-repeat;
font-size: 11px;
color: #798950;
margin: 0 0 0 10px;
padding:0 0 2px 0;
width: 65px;
height: 27px;
border:none;
line-height: 26px;
}



/*****************************************/
/*** Template specific layout elements ***/
/*****************************************/
#page_bg {
height: 100%;
padding: 0;
margin: 0;
background: url(../images/page_center_bg.png) top center repeat-y;
}

div.center {
text-align: left;
margin: 0 auto;
padding: 0 0 10px 0;
width: 960px;
}


div#wrapper {
padding: 0;
margin: 0 auto;
}

#header {
height: 188px;
background: transparent url(../images/header_bg.jpg) top center no-repeat;
margin: 10px auto;
width: 937px;
padding: 0;
}


#header_main .hleft {
float: left;
width: 474px;
height: 276px;
background: transparent url(../images/header_cinelogo.png) top left no-repeat;
padding: 0;
}

#header_main .hright {
float: left;
width: 466px;
height: 256px;
padding: 10px 0 0 10px;
}

#header_main .hright  .hwr-left {
float: left;
width: 228px;
}

#header_main .hright  .hwr-right {
float: right;
width: 228px;

}

#header_main .hright  .hwr-right h3 , #header_main .hright  .hwr-left h3 {
font-family: Tahoma, Arial, sans-serif;
width: 218px;
color: #798950; /*color: #4CAFC6;*/
font-size: 13px;
height: 30px;
text-decoration: none;
text-align: left;
padding: 0 0 0 10px;
background: url(../images/latest_h3.png) top left no-repeat;
font-weight: bold;
line-height: 24px;
margin: 0
}


#header_main .hright .hwr-left div.module_menu div div div, #hw-right .hwr-left div.module div div div,#hw-right .hwr-left div.module_menu div div, #hw-right .hwr-left div.module div div {
padding: 0;
margin: 0;
background: none;
}

#header_main .hright .hwr-right div.module_menu div div div, #header_main .hright .hwr-right div.module div div div,#header_main .hright .hwr-right div.module_menu div div, #header_main .hright .hwr-right div.module div div {
padding: 0;
margin: 0;
background: none;
}

#header_main .hright .hwr-right div.module_menu div div div,#header_main .hright .hwr-right div.module div div div, #header_main .hright .hwr-left div.module_menu div div div,#header_main .hright .hwr-left div.module div div div {
text-align: left;
}

#header_main .hright .hwr-right div.module div div div ul, #header_main .hright .hwr-left div.module div div div ul {
padding: 5px 5px 0 25px;
margin: 0;
}

#header_main .hright .hwr-right div.module div div div ul {
list-style: url(../images/arrow_tleft.png);
}

#header_main .hright .hwr-left div.module div div div ul {
list-style: url(../images/arrow_tright.png);
}

#header_main .hright .hwr-right div.module div div div ul, #header_main .hright .hwr-left div.module div div div ul {
color: #1852D2;
}
#header_main .hright .hwr-right div.module div div div ul li a, #header_main .hright .hwr-left div.module div div div ul li a {
color: #4E1703;
text-decoration: none;
font-size: 11px;
}

#header_main .hright .hwr-right div.module div div div ul li a:hover , #header_main .hright .hwr-left div.module div div div ul li a:hover {
color: #4E1703;
text-decoration: underline;
}

#newsflash {
font-size: 11px;
height: 130px;
overflow: hidden;
}

#newsflash div.module_menu div div div, #newsflash div.module div div div {
text-align: justify;
}

#newsflash h3 {
font-family: Tahoma, Arial, sans-serif;
width: 456px;
color: #ffff09; /*color: #4CAFC6;*/
font-size: 13px;
height: 26px;
text-decoration: none;
text-align: left;
padding: 0 0 0 10px;
background: url(../images/newsflash_h3.png) top left no-repeat;
font-weight: bold;
line-height: 24px;
margin: 0
}

#content {
width: 940px;
margin: 0 auto;
padding: 0;
overflow: hidden;
}

#topw {
width: 940px;
margin: 0 auto;
padding: 10px 0 0 0;
}

#logo {
float: left;
text-align: left;
margin: 0 auto;
padding: 0;
width: 739px;
line-height: 24px;
height: 30px;
}

#logo a, #logo a:link, #logo a:hover {
font-weight: bold;
font-family: Arial;
font-size: 16px;
padding:0;
margin: 0;
letter-spacing: 1px;
color: #ACCF4D;
text-decoration: none;
outline: none;

}


.pill_m {
text-align: center;
margin: 0 auto;
padding: 0;
width:938px;
height: 116px;
background: transparent url(../images/topmenu_bg.png) top center no-repeat;
}

#pillmenu {
text-align: left;
padding: 0 0 0 10px;
margin:0 auto;
}

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

#pillmenu li {
float: left;
margin: 0;
padding: 0;
background:none;

}

#pillmenu li:hover {

}

#pillmenu li a#active_menu-nav {

}

#pillmenu li a {
font-family: Verdana, Tahoma, sans-serif;
font-size: 12px;
float: left;
display: block;
line-height: 116px;
padding: 0 25px;
margin: 0 1px;
color: #ffff09;
text-decoration: none;
font-weight: bold;
background: none;
height: 117px;
background: url(../images/pillmenu_bg.png) center center repeat-x;
}

#pillmenu li a:hover {
color: #fff;
text-decoration: none;
background: url(../images/pillmenu_bg_hover.png) center center repeat-x;
}

div#timedate {
font-size: 12px;
font-weight: bold;
color: #AB4C37;
text-align: center;
padding: 0 0 10px 0;
}

#leftcolumn ,#rightcolumn {
margin: 0;
width: 200px;
float: left;
padding: 0 0 10px 0;
text-align: left;
}

div#maincolumn {
float: left;
width: 535px;
margin: 0 0 6px 0;
}

div#maincolumn_full {
float: left;
width: 725px;
margin: 0;
padding: 0 0 0 10px;
}

div.cpathway {
margin: 0 0 10px 0;
padding: 0;
height: 25px;
background: transparent url(../images/cpathway-right.jpg) bottom right no-repeat;
}

div.cpathway div.cpleft {
margin: 0;
padding: 0;
width: 100%;
height: 25px;
background: transparent url(../images/cpathway-left.jpg) bottom left no-repeat;
}

div.cpathway span {
padding: 0 10px;
color: #999999;
line-height: 23px;
font-size: 11px;
}

div.cpathway span a {
color: #999999;
}

div.nopad {
overflow: hidden;
padding: 0;
}
div.nopad form#jForm p, div.nopad form#jForm  div#navigation {
padding: 5px 0 0 10px;
}
div.nopad ul {
clear: both;
}

td.middle_pad {
width: 20px;
}

#banner_l {
text-align: left;
padding: 0 0 0 24px;
}

#footer {
margin: 0 auto;
text-align: center;
width: 980px;
height: 54px;
background: url(../images/footer_bg.png) top center no-repeat;
}

#footer p {
height: 20px;
text-align: right;
padding: 10px 30px 0 0;
color: #666666;
}

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

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

/* headers */
div.componentheading {
height: 22px;
padding: 0 0 0 10px;
}
table.blog {

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

h2, .contentheading {
padding: 0;
font-family: Tahoma, Arial, sans-serif;
font-size: 12px;
vertical-align: middle;
color: #F9A826;
text-align: left;
font-weight: bold;
}

table.contentpaneopen h3 {
margin-top: 25px;
}

h4 {
font-family: Tahoma, Arial, sans-serif;
color: #333;
}

h3, .componentheading, table.moduletable th, legend {
margin: 0;
font-family: Tahoma, Arial, sans-serif;
font-size: 14px;
text-align: left;
color: #F9A826;
padding: 0;
}
/* small text */
.small {
font-size: 10px;
color: #999933;
font-weight: normal;
text-align: left;
}

.modifydate {
height: 20px;
vertical-align: bottom;
font-size: 10px;
color: #999933;
font-weight: normal;
text-align: right;
}

.createdate {
height: 20px;
vertical-align: top;
font-size: 10px;
color: #999933;
font-weight: normal;
vertical-align: top;
padding-top: 0px;
}

a.readon {
display: block;
float: right;
text-decoration: none;
line-height: 14px;
font-size: 10px;
text-decoration: none;
color: #798950;
border-bottom: solid 1px #798950;
}

a.readon:hover {
color: #798950;
text-decoration: none;
border-bottom: solid 1px #fff;

}

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


/** overlib **/

.ol-foreground {
background-color: #f1f1f1;
color: #333;
}

.ol-background {
background-color: #f1f1f1;
color: #333;
}

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

.ol-captionfont {
font-family: Tahoma, Arial, sans-serif;
font-size: 12px;
color: #f6f6f6;
font-weight: bold;
}
.ol-captionfont a {
background-color: #f1f1f1;
color: #333;
text-decoration: none;
font-size: 12px;
}

.ol-closefont {}

/* menu links */
a.mainlevel:link, a.mainlevel:visited {
padding-left: 5px;
margin: 0;
line-height: 18px;
text-decoration: none;
color: #2EB6F4;
font-weight: bold;
font-size: 11px;
}

a.mainlevel:hover {

}

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

.article_column {

}

.column_separator {

}

td.buttonheading {
text-align: right;
width: 0;
}

.clr {
clear: both;
}

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



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

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


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

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

td.sectiontableentry0,
td.sectiontableentry1,
td.sectiontableentry2 {
  padding: 3px;
  color: #333;
  font-size: 10px;
}


/* content styles */
.contentpaneopen, table.contentpane {
margin: 0;
padding: 0;
}

table.contentpane td{
text-align: left;
}

table.contentpane td.contentdescription {
width: 100%;
}

table.contentpane  {
text-align: left;
float: left;
width: 100%;
margin: 8px;
}

table.contentpane ul li a .category {
color: #FF8800;
}

table.contentpane ul li {
color: #333;
}

table.contentpaneopen {
margin: 2px 8px;
}

table.contentpaneopen li {
margin-bottom: 5px;
}

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

table.contentpaneopen h3 {
margin-top: 25px;
}

table.contentpaneopen h4 {
font-family: Tahoma, Arial, sans-serif;
color: #669933;
}

.highlight {
background-color: #fffebb;
}

/* module control elements */
table.user1user2 div.moduletable {
margin-bottom: 0px;
}

div.moduletable, div.module {
  margin-bottom: 25px;
}

div.module_menu, div.module {
margin: 0;
padding: 0;
}

div.module_menu div, div.module {

}

div.module_menu div div, div.module div div {
margin: 0 0 15px 0;
padding: 0;
background:  url(../images/menu_bottom.png) bottom left no-repeat;
}

#newsflash div.module_menu div div, #newsflash div.module div div, #search div.module_menu div div, #search div.module div div  {
background: none;
padding: 0;
margin: 0;
}

div.module_menu div div div, div.module div div div{
margin: 0;
background:  url(../images/menu_top_out.png) top left no-repeat;
text-align: center;
padding: 0 0 20px 0;
}


div.module_menu div div div div, div.module div div div div {
background: none;
padding: 4px 8px;
text-align: left;
}

div.module div div div form {
padding: 4px 0 0 4px;
margin: 0 auto;
text-align: left;
}

div.module div div div form table td {
text-align: left;
}

div.module div div div form ul{
margin: 10px 0 0;
padding: 0;
list-style: none;
}

div.module_menu ul {
list-style: none;
text-align: left;
padding: 0;
}

div.module_menu ul li{
margin: 0;
padding: 0;
}

div.module_menu ul li a:link, div.module_menu ul li a:visited {
font-weight: bold;
/*background: transparent url(../images/blue/bullet2.jpg) top left no-repeat;*/
padding: 2px 0 2px 20px;
line-height: 24px;
text-decoration: none;
color: #829300;
font-size: 11px;
}

div.module_text div div div div  {
margin:0 auto;

}

div.bannergroup_text {
display:block;
width:180px;
background:  url(../images/menu_bottom.png) bottom left no-repeat;
padding: 10px 10px 0 10px;
}
.bannerheader {
padding: 0 0 0 6px;
}
#leftcolumn div.module table ,#rightcolumn div.module table {
margin:0 auto;
}

div.module table.poll {
width: 160px;
margin:0 atuo;
}

#leftcolumn div.module table.poll td {
text-align: left;
}

/* LEFT COL H3 */
#leftcolumn h3, #rightcolumn h3  {
font-family: Tahoma, Arial, sans-serif;
width: 190px;
color: #ffff09; /*color: #798950;*/
font-size: 13px;
height: 25px;
text-decoration: none;
text-align: left;
padding: 0 0 0 10px;
font-weight: bold;
line-height: 24px;
margin: 0;
background: url(../images/h3.png) top left no-repeat;

}

#leftcolumn .moduletable_menu, #leftcolumn .moduletable, #leftcolumn .moduletable_text, #leftcolumn .c,
#rightcolumn .moduletable_menu, #rightcolumn .moduletable, #rightcolumn .moduletable_text, #rightcolumn .c {
margin: 0 0 16px 0;
padding: 0 0 8px 0;
}

#leftcolumn ul.menu, #rightcolumn ul.menu {
margin: 0 auto;
padding: 5px 0 0 4px;
list-style: none;
width: 170px;
}

#leftcolumn ul.menu li, #rightcolumn ul.menu li {
margin: 0;
padding: 0;
}

#leftcolumn ul.menu li:hover, #rightcolumn ul.menu li:hover {

}

/*LEFT COL LINK*/
#leftcolumn ul.menu li a, #leftcolumn ul.menu li a:link,
#rightcolumn ul.menu li a, #rightcolumn ul.menu li a:link {
line-height: 18px;
padding: 0 0 0 12px;
text-decoration: none;
font-size: 11px;
background: url(../images/menu_row.png) center left no-repeat;
margin: 0;
height: 18px;
color: #798950;
font-weight: bold;
}

#leftcolumn ul.menu li a:hover, #rightcolumn ul.menu li a:hover {
color: #798950;
text-decoration: underline;
}

/*LEFT COL CURRENT LINK*/
#leftcolumn ul.menu li#current a, #leftcolumn ul.menu li#current a:link,
#rightcolumn ul.menu li#current a, #rightcolumn ul.menu li#current a:link {
line-height: 18px;
padding: 0 0 0 12px;
text-decoration: underline;
color: #798950;
font-weight: bold;
font-size: 11px;
background: url(../images/menu_row.png) center left no-repeat;
margin: 0;
height: 18px;
}

#leftcolumn ul.menu li#current a:hover, #rightcolumn ul.menu li#current a:hover {
color: #798950;
text-decoration: underline;
}

/*LEFT COL SUB LINK*/
#leftcolumn ul.menu li#current ul li a, #leftcolumn ul.menu li#current ul li a:link {
text-decoration: none;
color: #666;
margin: 0 0 0 6px;
font-size: 11px;
background: url(../images/submenu_row.jpg) center left no-repeat;
font-weight: normal;
display: block;
line-height: 18px;
padding: 0 0 0 18px;
border: none;
height: 18px;
}

#leftcolumn ul.menu li ul li#current a, #leftcolumn ul.menu li ul li#current a:link, #leftcolumn ul.menu li ul li#current a:visited, #leftcolumn ul.menu li ul li#current a:hover {
font-size: 11px;
margin: 0 0 0 6px;
padding: 0 0 0 18px;
text-decoration: none;
border: none;
color: #333;
background: url(../images/submenu_row.jpg) center left no-repeat;
height: 18px;
line-height: 18px;
}
/*SUBMENU POSITION*/
#leftcolumn ul.menu li#current ul {
margin: 0;
padding: 0;
}

#leftcolumn ul.menu li#current ul li {
margin: 0;
padding: 0;
}

/*CURRENT SUBMENU POSITION*/
#leftcolumn ul.menu li ul {
margin: 0;
padding: 0;
}

#leftcolumn ul.menu li.parent ul li a {
text-decoration: none;
color: #666;
margin: 0 0 0 6px;
font-size: 11px;
background: url(../images/submenu_row.jpg) center left no-repeat;
font-weight: normal;
display: block;
line-height: 18px;
padding: 0 0 0 18px;
border: none;
height: 18px;
}

#leftcolumn ul.menu li#current ul li a:hover {
color: #333;
}

#leftcolumn ul.menu li ul, #rightcolumn ul.menu li ul {
list-style: none;
}

/* forms */
#leftcolumn .moduletable ul, #rightcolumn .moduletable ul {
margin: 6px 0;
padding: 0;
list-style: none;
}

#leftcolumn .moduletable ul li, #rightcolumn .moduletable ul li {
margin: 0;
padding: 0 2px;
}

table.adminform textarea {
  width: 540px;
  height: 400px;
  font-size: 1em;
  color: #000099;
}

form#form-login fieldset {
border: 0 none;
margin: 0;
padding: 0;
}
form#form-login ul li{
padding: 0;
}

form#form-login ul li a {
text-align: left;
padding: 0;
font-size: 10px;
}

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

div.caption       { padding: 0 10px 0 10px; }
div.caption img   { border: 1px solid #CCC; }
div.caption p     { font-size: .90em; color: #333; 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: Tahoma, Arial, 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;
}

/* Banners module */

/* Default skyscraper style */
.bannergroup {
}

.banneritem {
}

/* Text advert style */

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

.bannerfooter_text {
padding: 8px 20px;
font-size: 11px;
text-align: right;
}

/* System Messages */


/* see system general.css */

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

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

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

legend {
margin: 0;
padding: 0 10px;
}

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

/* 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 Error Messages */
#system-message dd.error ul {
     color: #999;
     background: none;
     border-top: 1px solid #829300;
     border-bottom: 1px solid #829300;
     padding: 0;
     margin: 0;
list-style: none;
}

/* System Notice Messages */
#system-message dd.notice ul {
     color: #ECA5A7;
     background: none;
     border-top: 1px solid #829300;
     border-bottom: 1px solid #829300;
     padding: 3px;
     margin: 0 0 5px 0;
list-style-image: none;
}

#system-message dd {
     text-indent: 0;
}

#system-message dd ul {
     list-style: none;
     color: #f00;
     background: none;
     border-top: 1px solid #829300;
     border-bottom: 1px solid #829300;
list-style-image: none;
}

#system-message {
     margin: 5px auto;
text-align: center;
width: 98%;
}



/* ****************************************************************************** */
/* blue */
input, button {
border: none;
}
/* blue */
input[type="checkbox"], input[type="radio"]{
   background: transparent;
   border: none;
}

/* -------------------------- */
a.sgfooter:link, a.sgfooter:visited {
color: #83A330;
font-family: Tahoma, Arial, sans-serif;
text-decoration: none;
}
a.sgfooter:hover {
color: #83A330;
font-family: Tahoma, Arial, sans-serif;
text-decoration: none;
}
#sgf {
font-size: 12px;
text-align: right;
width: 100%;
margin: 0 auto;
color: #83A330;
font-family: Tahoma, Arial, sans-serif;
}
.sgf {
text-align: right;
font-size: 12px;
font-family: Tahoma, Arial, sans-serif;
color: #83A330;
text-decoration: none;
}
.sgf1 {
font-size: 12px;
font-family: Tahoma, Arial, sans-serif;
color: #83A330;
text-align: left;
}

a.sglink:link, a.sglink:visited {
color: #83A330;
font-size: 12px;
font-family: Tahoma, Arial, sans-serif;
text-decoration: none;
}
a.sglink:hover {
color: #83A330;
font-family: Tahoma, Arial, sans-serif;
text-decoration: none;
}



Как исправить подскажите пожалуйста!
*

SinBad

  • Завсегдатай
  • 1879
  • 187 / 0
  • Мнне 40 лет, мне 40 лет, ума так и не нажил!
Re: Баг правой колонки!
« Ответ #1 : 22.08.2010, 09:47:21 »
что за модуль? стандартный или какого то компонента Галереи?
...Фет для них песни поёт. Фет не прикольный поэт - Фету никто не даёт.
*

dimage

  • Осваиваюсь на форуме
  • 14
  • 0 / 0
Re: Баг правой колонки!
« Ответ #2 : 22.08.2010, 09:55:55 »
что за модуль? стандартный или какого то компонента Галереи?

Phoca Gallery 2.7.4  + mod_phocagallery_image 2.7.1

phocagallery.css :
Код
/* PhocaGallery http://www.phoca.cz */
#phocagallery {
padding:0;
margin:0;
}

#phocagallery a img {
padding:0;
margin:0;
border:0px;
}
#phocagallery-pane .phocagallery-box-file,
#phocagallery .phocagallery-box-file,
.phocagallery-box-file {
position:relative;
float:left;
background:#fefecc;
text-align:center;
/*overflow:visible;*/
}
#phocagallery-pane .phocagallery-box-file-first,
#phocagallery .phocagallery-box-file-first,
.phocagallery-box-file-first {

overflow: hidden;
display: table;
vertical-align:middle;
}
#phocagallery-pane .phocagallery-box-file-second,
#phocagallery .phocagallery-box-file-second,
.phocagallery-box-file-second {
display: table-cell;
vertical-align: middle;
}
#phocagallery-pane .phocagallery-box-file-third,
#phocagallery .phocagallery-box-file-third,
.phocagallery-box-file-third {
text-align:center;
}

#phocagallery-pane a img,
#phocagallery a img,
#phocagallery-statistics a img{
border: 0px;
}

#phocagallery a:hover, #phocagallery a:active, #phocagallery a:focus,
#phocagallery-statistics a:hover, #phocagallery-statistics a:active, #phocagallery-statistics a:focus {
background: none;
border:0px;
text-decoration:none;
}

#phocagallery .phocaname,
#phocagallery-statistics .phocaname{
margin:0px;
padding:0px;
margin-top:2px;
color:#215536;
text-align:center;
}
#phocagallery .detail,
#phocagallery-statistics .detail {
text-align:right;
margin:0px;
padding:0px;
}

#phocagallery .phocagallery-box-file:hover,
#phocagallery .phocagallery-box-file.hover,
#phocagallery-pane .phocagallery-box-file:hover,
#phocagallery-pane .phocagallery-box-file.hover,
.phocagallery-box-file:hover,
.phocagallery-box-file.hover  {
border:1px solid #215536;
background:#eaeaa6;
text-decoration:none;
}
/*hotnew*/
#phocagallery div.phocagallery-box-file-first img.pg-img-ovr1 {
position: absolute;
top: 3px;
left: 3px;
}

#phocagallery div.phocagallery-box-file-first img.pg-img-ovr2 {
position: absolute;
top: 3px;
left: 35px;
}

/*detail*/
.phocagallery-box-file-d {
position:relative;
float:left;
border:1px solid #E8E8E8;
background:#fcfcfc;
text-align:center;
overflow:visible;
width:640px;
height:480px;
}

.phocagallery-box-file-first-d {
background:#f5f5f5;
width:640px;
height:480px;
overflow: hidden;
display: table;
vertical-align:middle;
}

/*download message*/
#download-msg{
font-family:sans-serif;
font-size:83%;
position:absolute;
left: 10%;
top:10%;
background-color: #ebecff;
border: 5px solid #cccccc;
filter:alpha(opacity=80);
opacity: 0.8;
-moz-opacity:0.8;
z-index:1000;
}

/*download message text*/
#download-msg div table{
padding: 10px;
filter:alpha(opacity=100);
opacity: 0.8;
-moz-opacity:0.8;
position: relative;
z-index:1000;
background-color:#ebecff;
}
#download-msg div table tr td,
#download-msg div table tr td small,
#download-msg a {
color:#000000;
font-weight: bold;
}

#phocagallery .main-switch-image {
margin:0px;
padding:7px 5px 7px 5px;
margin-bottom:15px;
}
#phocagallery .main-switch-image-table {
/*border:1px solid #c2c2c2;*/
}

#loading-label,
#loading-label-user{
text-align:center;
display:none;
}

#image-box {
position:relative;
}
#description-msg{
font-size:83%;
text-align:left;
margin:0;padding:0;
position:absolute;
bottom: 0px;
left:0px;
right:0px;
background-color: #000;
filter:alpha(opacity=60);
opacity: 0.6;
-moz-opacity:0.6;
z-index:1000;
width:100%;
}

#description-text{
color:#fff;
padding:10px;
/* filter:alpha(opacity=100);
opacity: 0.8;
-moz-opacity:0.8; */
position: relative;
z-index:1000;
background-color:#000;
}

/* Voting - style by http://www.jluvip.com/works/css/starvote/index2-1.html*/
#phocagallery ul.star-rating li,
#phocagallery-pane ul.star-rating li,
#phocagallery ul.star-rating-small li{
background: none;
list-style-type:none;
}

#phocagallery .star-rating,
#phocagallery-pane .star-rating,
.star-rating{
list-style:none;
margin: 0px;
margin-top:5px;
margin-bottom:5px;
padding:0px;
width: 110px;
height: 22px;
position: relative;
background: url(images/icon-voting.gif) top left repeat-x;
}
#phocagallery .star-rating li,
#phocagallery-pane .star-rating li,
.star-rating li{
list-style-type:none;
padding:0px;
margin:0px;
/*\*/
float: left;
/* */
}
#phocagallery .star-rating li a,
#phocagallery-pane .star-rating li a,
.star-rating li a{
display:block;
width:22px;
height: 22px;
text-decoration: none;
text-indent: -9000px;
z-index: 20;
position: absolute;
padding: 0px;
}
#phocagallery .star-rating li a:hover,
#phocagallery-pane .star-rating li a:hover,
.star-rating li a:hover{
background: url(images/icon-voting.gif) left center;
z-index: 2;
left: 0px;
}
#phocagallery .star-rating a.star1,
#phocagallery-pane .star-rating a.star1,
.star-rating a.star1{
left: 0px;
}
#phocagallery .star-rating a.star1:hover,
#phocagallery-pane .star-rating a.star1:hover,
.star-rating a.star1:hover{
width:22px;
}
#phocagallery .star-rating a.stars2,
#phocagallery-pane .star-rating a.stars2,
.star-rating a.stars2{
left:22px;
}
#phocagallery .star-rating a.stars2:hover,
#phocagallery-pane .star-rating a.stars2:hover,
.star-rating a.stars2:hover{
width: 44px;
}
#phocagallery .star-rating a.stars3,
#phocagallery-pane .star-rating a.stars3,
.star-rating a.stars3{
left: 44px;
}
#phocagallery .star-rating a.stars3:hover,
#phocagallery-pane .star-rating a.stars3:hover,
.star-rating a.stars3:hover{
width: 66px;
}
#phocagallery .star-rating a.stars4,
#phocagallery-pane .star-rating a.stars4,
.star-rating a.stars4{
left: 66px;
}
#phocagallery .star-rating a.stars4:hover,
#phocagallery-pane .star-rating a.stars4:hover,
.star-rating a.stars4:hover{
width: 88px;
}
#phocagallery .star-rating a.stars5,
#phocagallery-pane .star-rating a.stars5,
.star-rating a.stars5{
left: 88px;
}
#phocagallery .star-rating a.stars5:hover,
#phocagallery-pane .star-rating a.stars5:hover,
.star-rating a.stars5:hover{
width: 110px;
}
#phocagallery .star-rating li.current-rating,
#phocagallery-pane .star-rating li.current-rating,
.star-rating li.current-rating{
background: url(images/icon-voting.gif) left bottom;
position: absolute;
height: 22px;
/*width:77px;*/
display: block;
text-indent: -9000px;
z-index: 1;
}

/* Voting small */
#phocagallery .star-rating-small,
.star-rating-small{
list-style:none;
margin: 0px;
margin-top:5px;
margin-bottom:5px;
padding:0px;
width: 80px;
height: 16px;
position: relative;
background: url(images/icon-voting-small.gif) top left repeat-x;
}
#phocagallery .star-rating-small li,
.star-rating-small li{
list-style-type:none;
padding:0px;
margin:0px;
/*\*/
float: left;
/* */
}

#phocagallery .star-rating-small li a,
.star-rating-small li a{
display:block;
width:16px;
height: 16px;
text-decoration: none;
text-indent: -9000px;
z-index: 20;
position: absolute;
padding: 0px;
}
#phocagallery .star-rating-small li a:hover,
.star-rating-small li a:hover{
background: url(images/icon-voting-small.gif) left center;
z-index: 2;
left: 0px;
}
#phocagallery .star-rating-small a.star1,
.star-rating-small a.star1{
left: 0px;
}
#phocagallery .star-rating-small a.star1:hover,
.star-rating-small a.star1:hover{
width:16px;
}
#phocagallery .star-rating-small a.stars2,
.star-rating-small a.stars2{
left:16px;
}
#phocagallery .star-rating-small a.stars2:hover,
.star-rating-small a.stars2:hover{
width: 32px;
}
#phocagallery .star-rating-small a.stars3,
.star-rating-small a.stars3{
left: 32px;
}
#phocagallery .star-rating-small a.stars3:hover,
.star-rating-small a.stars3:hover{
width: 48px;
}
#phocagallery .star-rating-small a.stars4,
.star-rating-small a.stars4{
left: 48px;
}
#phocagallery .star-rating-small a.stars4:hover,
.star-rating-small a.stars4:hover{
width: 64px;
}
#phocagallery  .star-rating-small a.stars5,
.star-rating-small a.stars5{
left: 64px;
}
#phocagallery  .star-rating-small a.stars5:hover,
.star-rating-small a.stars5:hover{
width: 80px;
}
#phocagallery .star-rating-small li.current-rating,
.star-rating-small li.current-rating{
background: url(images/icon-voting-small.gif) left bottom;
position: absolute;
height: 16px;
/*width:77px;*/
display: block;
text-indent: -9000px;
z-index: 1;
}


/* Pane*/

#phocagallery-votes,
#phocagallery-comments,
#phocagallery-upload,
#phocagallery-category-creating,
#phocagallery-subcategory-creating,
#phocagallery-statistics,
#phocagallery-user{
margin-top:0px;/*IE bug*/
margin-bottom:15px;
}

#phocagallery-votes a img,
#phocagallery-comments a img,
#phocagallery-upload a img,
#phocagallery-category-creating a img,
#phocagallery-subcategory-creating a img,
#phocagallery-user a img,
#phocagallery-statistics a img{
border: 0px;
}
#phocagallery-categories-detail fieldset,
#phocagallery-votes fieldset,
#phocagallery-comments fieldset,
#phocagallery-upload fieldset,
#phocagallery-category-creating fieldset,
#phocagallery-subcategory-creating fieldset,
#phocagallery-user fieldset,
#phocagallery-statistics fieldset {
border:1px solid #ccc;
padding:10px;
margin:5px;
}
#phocagallery-categories-detail legend,
#phocagallery-votes legend,
#phocagallery-comments legend,
#phocagallery-upload legend,
#phocagallery-category-creating legend,
#phocagallery-subcategory-creating legend,
#phocagallery-user legend,
#phocagallery-statistics legend {
font-weight:bold;
color:#aa0000;
padding:10px;
}
#phocagallery-votes small,
#phocagallery-comments small,
#phocagallery-upload small ,
#phocagallery-statistics small,
#phocagallery-category-creating small,
#phocagallery-subcategory-creating small,
#phocagallery-user small {
color:#ccc;
}

#phocagallery-votes form,
#phocagallery-comments form,
#phocagallery-upload form,
#phocagallery-category-creating form,
#phocagallery-subcategory-creating form,
#phocagallery-user form {
margin:0;
padding:0;
}


#phocagallery-comments .comment-input,
#phocagallery-upload .comment-input,
#phocagallery-category-creating .comment-input,
#phocagallery-subcategory-creating .comment-input,
#phocagallery-user .comment-input {
width: 98%;
}

#phocagallery-comments .comment-input2,
#phocagallery-upload .comment-input2,
#phocagallery-category-creating .comment-input2,
#phocagallery-subcategory-creating .comment-input2,
#phocagallery-user .comment-input {
width: 40px;
border:0px;
font-weight:bold;
}


/* tabs */
form {
  margin: 0;
  padding: 0;
}


dl.tabs {
float: left;
margin: 10px 0 -1px 0;
z-index: 50;

}

dl.tabs dt {
float: left;
padding: 4px 10px;
border-left: 1px solid #ccc;
border-right: 1px solid #ccc;
border-top: 1px solid #ccc;
margin-left: 3px;
background: #f0f0f0;
color: #666;

}

dl.tabs dt.open {
background: #ffffff;
border-bottom: 1px solid #ffffff;
z-index: 100;
color: #000;

}

div.current {
clear: both;
border: 1px solid #ccc;
padding: 10px 10px;
background: #ffffff;

}

div.current dd {
padding: 0;
margin: 0;
}

#uploadForm {
margin:0;
padding:0;
}

#phocagallery-comments-form{
margin:0;
padding:0;
}

#phocaexif{
padding:10px;

}

#phocaexif h2{
font-size:130%;
background: url(images/icon-info.gif) left center no-repeat;
padding-left: 20px;
}

#phocaexif table{
border-collapse:collapse;

}
#phocaexif table tr.first{
background:#fdfdfd;
border-bottom:1px dotted #ccc;
border-collapse:collapse;

}
#phocaexif table tr.second{
background:#fff;
border-bottom:1px dotted #ccc;
border-collapse:collapse;

}
#phocaexif table tr td{
padding:5px;
border-collapse:collapse;

}
.phoca-hr {
margin-top:10px;
border-bottom:1px solid #e8e8e8;
margin-bottom:10px;
clear:both;
}

/* IE Shadowbox */
#shadowbox_title,
#shadowbox_info {
border: 0px;
}

#phocagallery-img-votes {
margin:0;
padding:0;
margin-left:10px;
margin-right:10px;
}

/** Table styles **/

#phocagallery-subcategory-creating  table.adminlist,
#phocagallery-upload  table.adminlist {
width: 100%;
border-spacing: 1px;
background-color: #e7e7e7;
color: #666;
}

#phocagallery-subcategory-creating  table.adminlist td,
#phocagallery-subcategory-creating  table.adminlist th,
#phocagallery-upload  table.adminlist td,
#phocagallery-upload  table.adminlist th {
padding: 4px;
}

#phocagallery-subcategory-creating  table.adminlist thead th,
#phocagallery-upload  table.adminlist thead th {
text-align: center;
background: #f0f0f0;
color: #666;
border-bottom: 1px solid #999;
border-left: 1px solid #fff;
}

#phocagallery-subcategory-creating  table.adminlist thead a:hover,
#phocagallery-upload  table.adminlist thead a:hover { text-decoration: none; }

#phocagallery-subcategory-creating  table.adminlist thead th img,
#phocagallery-upload  table.adminlist thead th img { vertical-align: middle; }

#phocagallery-subcategory-creating  table.adminlist tbody th,
#phocagallery-upload  table.adminlist tbody th { font-weight: bold; }

#phocagallery-subcategory-creating  table.adminlist tbody tr,
#phocagallery-upload  table.adminlist tbody tr { background-color: #fff;  text-align: left; }
#phocagallery-subcategory-creating  table.adminlist tbody tr.row1,
#phocagallery-upload  table.adminlist tbody tr.row1 { background: #f9f9f9; border-top: 1px solid #fff; }

#phocagallery-subcategory-creating  table.adminlist tbody tr.row0:hover td,
#phocagallery-subcategory-creating  table.adminlist tbody tr.row1:hover td,
#phocagallery-upload  table.adminlist tbody tr.row0:hover td,
#phocagallery-upload  table.adminlist tbody tr.row1:hover td { background-color: #ffd ; }

#phocagallery-subcategory-creating  table.adminlist tbody tr td,
#phocagallery-upload  table.adminlist tbody tr td    { height: 25px; background: #fff; border: 1px solid #fff; }

#phocagallery-subcategory-creating  table.adminlist tbody tr.row1 td,
#phocagallery-upload  table.adminlist tbody tr.row1 td { background: #f9f9f9; border-top: 1px solid #FFF; }

#phocagallery-subcategory-creating  table.adminlist tfoot tr,
#phocagallery-upload  table.adminlist tfoot tr { text-align: center;  color: #333; }
 
#phocagallery-subcategory-creating  table.adminlist tfoot td,
#phocagallery-subcategory-creating  table.adminlist tfoot th,
#phocagallery-upload  table.adminlist tfoot td,
#phocagallery-upload  table.adminlist tfoot th { background-color: #f3f3f3; border-top: 1px solid #999; text-align: center; }

#phocagallery-subcategory-creating  table.adminlist td.order,
#phocagallery-upload  table.adminlist td.order { text-align: center; white-space: nowrap; }

#phocagallery-subcategory-creating  table.adminlist td.order span,
#phocagallery-upload  table.adminlist td.order span { float: left; display: block; width: 20px; text-align: center; }


#phocagallery .pgcenter,
#phocagallery-upload .pgcenter,
#phocagallery-subcategory-creating .pgcenter {
text-align:center;
vertical-align:middle;
}
#phocagallery .pginline,
#phocagallery-upload .pginline,
#phocagallery-subcategory-creating .pginline {
margin:0 10px 0 10px;
display:inline;
}

.bgPhocaClass {
padding:10px;
/*border:1px solid #d2d2d2;*/
}

.phocaimgdesc {
text-align: left;
}





phocagallery_module_image.css :
Код
/*photogallery*/
a img {
border:0px;
padding:0;
margin:0;
}

#phocagallery-module-ri{
text-align:center;
margin-left: auto;
margin-right:auto;
}

#phocagallery-module-ri .phocagallery-box-file {
position:relative;
width:120px;
height:140px;
border:1px solid #E8E8E8;
padding:5px;
background:#fcfcfc;
margin:5px;
text-align:center;
overflow:visible;
}

#phocagallery-module-ri .phocagallery-box-file-first {
background:#f5f5f5;
width:100px;height:100px; overflow: hidden;
display: table; vertical-align:middle;
}

#phocagallery-module-ri .phocagallery-box-file-second {
display: table-cell; vertical-align: middle;
}

#phocagallery-module-ri .phocagallery-box-file-third {
text-align:center;
}

#phocagallery-module-ri a img {
border:0px;padding:0;margin:0;
}

#phocagallery-module-ri a:hover, #phocagallery-module-ri a:active, #phocagallery-module-ri a:focus {
background: none;border:0px;text-decoration:none;
}

#phocagallery-module-ri .name {
margin-top:5px;color:#135cae;text-align:center;
}

#phocagallery-module-ri .detail {
text-align:right;
}

#phocagallery-module-ri .phocagallery-box-file:hover, #phocagallery-module-ri .phocagallery-box-file.hover
{
border:1px solid #135cae;padding:5px;background:#f5f5f5;text-decoration:none;
}

/*detail*/
#phocagallery-module-ri .phocagallery-box-file-d {
position:relative;
float:left;
border:1px solid #E8E8E8;
background:#fcfcfc;
text-align:center;
overflow:visible;
width:640px;
height:480px;
}
#phocagallery-module-ri .phocagallery-box-file-first-d {
background:#f5f5f5;
width:640px;height:480px; overflow: hidden;
display: table; vertical-align:middle;
}

/* IE Shadowbox */
#shadowbox_title,
#shadowbox_info {
border: 0px;
}

Собственно Вот!
*

SinBad

  • Завсегдатай
  • 1879
  • 187 / 0
  • Мнне 40 лет, мне 40 лет, ума так и не нажил!
Re: Баг правой колонки!
« Ответ #3 : 22.08.2010, 09:58:00 »
сайт висит в интернете уже или на локалке?
...Фет для них песни поёт. Фет не прикольный поэт - Фету никто не даёт.
*

dimage

  • Осваиваюсь на форуме
  • 14
  • 0 / 0
Re: Баг правой колонки!
« Ответ #4 : 22.08.2010, 10:01:02 »
........
« Последнее редактирование: 22.08.2010, 11:01:41 от dimage »
*

SinBad

  • Завсегдатай
  • 1879
  • 187 / 0
  • Мнне 40 лет, мне 40 лет, ума так и не нажил!
Re: Баг правой колонки!
« Ответ #5 : 22.08.2010, 10:05:36 »
вообщем это иза малой ширины в боксе..судя по тому что показал FireBug где то в настройках компонента или модуля галереи есть анстройка этого бокса и там стоит 120px а надо 160px хотя бы, а по умолчанию в CSS это

#phocagallery-module-ri .phocagallery-box-file {
   position:relative;
   width:120px;    вот здесь width:120px; исправить на width:160px;
   height:140px;
   border:1px solid #E8E8E8;
   padding:5px;
   background:#fcfcfc;
   margin:5px;
   text-align:center;
   overflow:visible;
}

но как я уже сказал это еще настраивается в настройках галереи. поищите.
...Фет для них песни поёт. Фет не прикольный поэт - Фету никто не даёт.
*

dimage

  • Осваиваюсь на форуме
  • 14
  • 0 / 0
Re: Баг правой колонки!
« Ответ #6 : 22.08.2010, 10:10:19 »
sinbad13: Я уже изменял оба параметра ! результат тот же !


В дефолтном шаблоне всё ОК!
*

Russfox

  • Захожу иногда
  • 169
  • 34 / 0
Re: Баг правой колонки!
« Ответ #7 : 22.08.2010, 10:13:03 »
Не в template.css ищи
У тебя в коде
Код
<div style="height: 138px; width: 120px;" class="phocagallery-box-file">
<center>
<div style="height: 118px; width: 118px;" class="phocagallery-box-file-first">
<div class="phocagallery-box-file-second">
<div class="phocagallery-box-file-third">
<center>
<a href="/index.php?option=com_phocagallery&amp;view=category&amp;id=1:2010-08-21-14-18-10" title="foto moscow 3" class="no-popup">
<img height="100" width="100" alt="foto moscow 3" src="/images/phocagallery/thumbs/phoca_thumb_m_foto moscow 3.jpg"></a></center>
</div>
</div>
</div>
</center>
<div style="text-align: center; color: rgb(179, 107, 0); font-size: 12px;" class="phocaname">foto moscow...</div></div>

style="height: 138px; width: 120px;" откуда берется?
*

SinBad

  • Завсегдатай
  • 1879
  • 187 / 0
  • Мнне 40 лет, мне 40 лет, ума так и не нажил!
Re: Баг правой колонки!
« Ответ #8 : 22.08.2010, 10:13:13 »
sinbad13: Я уже изменял оба параметра ! результат тот же !


В дефолтном шаблоне всё ОК!
значит в самом модуле в div  box-file стоит явный размер 120px, попробуйте в файле модуля найти эту ширину
...Фет для них песни поёт. Фет не прикольный поэт - Фету никто не даёт.
*

Russfox

  • Захожу иногда
  • 169
  • 34 / 0
Re: Баг правой колонки!
« Ответ #9 : 22.08.2010, 10:15:42 »
и еще в phocagallery_module_image.css надо ширину width:120px; отключить.

Посмотри в шаблоне модуля или может это где то в настройках модуля отключается
 
*

dimage

  • Осваиваюсь на форуме
  • 14
  • 0 / 0
Re: Баг правой колонки!
« Ответ #10 : 22.08.2010, 10:28:07 »
Мне кажется где-то у родительского атрибута стоит : float:left;
Только вот найти не могу!

Повторяю: В стандартном шаблоне всё ок!
*

Russfox

  • Захожу иногда
  • 169
  • 34 / 0
Re: Баг правой колонки!
« Ответ #11 : 22.08.2010, 10:30:19 »
Цитировать
Мне кажется где-то у родительского атрибута стоит : float:left;
Это не причем - <div style="height: 138px; width: 120px;" class="phocagallery-box-file">

Убери style="height: 138px; width: 120px;" и все. И в CSS у этого блока ширину удали и все нормально встанет - FireBug поставь и посмотри
*

dimage

  • Осваиваюсь на форуме
  • 14
  • 0 / 0
Re: Баг правой колонки!
« Ответ #12 : 22.08.2010, 10:59:15 »
Решение:
в файле
modules/mod_phocagallery_image/assets/phocagallery_module_image.css

для #phocagallery-module-ri .phocagallery-box-file-first и #phocagallery-module-ri .phocagallery-box-file-second
нужно добавить  padding:0; 


Russfox Спасибо!
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

[Решено] css: Автоматическая ширина второй колонки

Автор slepoy

Ответов: 1
Просмотров: 1170
Последний ответ 05.07.2016, 00:14:22
от umbabaraumba
[Решено] Блокировка правой кнопки мыши - отключить

Автор Bright

Ответов: 7
Просмотров: 3932
Последний ответ 18.12.2015, 14:10:39
от Bright
Как добавить колонки в футер?

Автор muria

Ответов: 2
Просмотров: 1842
Последний ответ 09.11.2015, 15:31:10
от muria
Категории в 3 колонки в шаблоне Yoo_Katana 2.5

Автор nwpepper

Ответов: 0
Просмотров: 1300
Последний ответ 25.11.2014, 09:09:08
от nwpepper
Как уменьшить отступ от правой колонки

Автор Vlad1990

Ответов: 1
Просмотров: 1226
Последний ответ 29.10.2011, 18:02:10
от Taatshi