Новости Joomla

Перевод и публикация интервью на греческом портале Joomla Утро, просматриваешь входящие письма и...

Перевод и публикация интервью на греческом портале Joomla 🇬🇷Утро, просматриваешь входящие письма и изучаешь новости и внезапно обнаруживаешь, что инициатива, которую ты начал, подхватывается другими людьми. 🎉Недавно я взял интервью у Билла (Василиса) Коциаса - руководителя студии, читающего лекции в университете и популяризатора Joomla в Греции.Это интервью из журнала NorrNext, в оригинале на английском, теперь доступно на греческом языке и опубликовано на портале joomla.gr. 🎉До чего же приятно… 😇😊 Работа замечена и с ней посчитали необходимым ознакомить аудиторию страны, в которой Билл читает лекции. И это солнечная Греция - страна, страна, с которой Россию многое связывает. 🇬🇷🇷🇺🕊Смотрю на греческий алфавит и тут же рисуются картины белоснежных зданий в окружении винограда и амфор, красивых женщин в сандалиях и мужественных воинов, охраняющих покой полисов, в которых ученые мужи работают над трудами, позже вошедшими в века. Красиво! 😇Но вернемся к интервью. Из него вы узнаете, что в Греции доля Joomla среди CMS занимает порядка 30-40%. По моему мнению это - самый высокий показатель во всем мире. Также чтение лекций о Joomla в университетах позволит привести новых пользователей и к тому же молодое поколение. Ну и огромное кол-во сертификтатов Билла на стене (смотрим фото в статье) свидетельствует о том, что Joomla может применяться как профессиональный инструмент. 🇬🇷 Интервью на греческом портале (joomla.gr)🌐 Оригинальное интервью (на английском)Что насчет перевода на русский? Увы, времени всего 24 часа в сутках. Я продолжаю готовить новые интервью. Возможно, после завершения выпуска журнала, рассмотрю перевод некоторых интервью на русский. Но я об этом не говорил. 😊 В блоге @eugenius_blog публикую анонсы интересных событий из мира Joomla, интервью, уроки и полезные советы, а также делюсь мыслями:, связанными с разработкой и веб-дизайном.

Обработка HTTP ответа в Joomla 6+. Изменения по сравнению с Joomla 3 - Joomla 5

👩‍💻 Обработка HTTP ответа в Joomla 6+. Изменения по сравнению с Joomla 3 - Joomla 5.В Joomla для выполнения внешних запросов из PHP к сторонним API используется класс Joomla\Http\Http напрямую или же Joomla\Http\HttpFactory, который возвращает для работы преднастроенный по умолчанию класс Http. О работе с HTTP-запросами подробно рассказывалось в статье 2021 года Создание внешних запросов с использованием HttpFactory (Joomla). Некоторые изменения касаются работы с ответами на запросы. Например, наш запрос:
use Joomla\Http\HttpFactory;$http = (new HttpFactory)->getHttp($options, ['curl', 'stream']);$response = $http->get('https://any-url.ru/api/any/endpoint');
Раньше можно было получить код ответа или тело ответа как свойство $response - $response->code или $response->body. Однако, Joomla, начиная с Joomla 4 во многом переходит на стандарты PSR. В частности для работы с HTTP-ответами - на PSR-7. Также хорошая статья на Хабре о PSR-7: PSR-7 в примерах.
Прямое обращение к свойствам code, headers, body объявлено устаревшим в Joomla 6.0.0 и обещают удалить в Joomla 7.0.0.
Вместо этого нужно работать с HTTP-ответом по стандартам PSR-7. Код ответа.Было $response->code. Стало $response->getStatusCode().Заголовки ответа.Было $response->headers. Стало $response->getHeaders().Тело ответа.Было $response->body. Стало (string)$response->getContents().В тело ответа теперь приходит не строка, а поток - объект класса Laminas\Diactoros\Stream. Поэтому его нужно привести к строке (если это json, к примеру): (string)$response->getContents(). Чаще всего в коде Joomla встречается именно такой вариант. Однако, есть и вариант с перемещением указателя чтения на начало потока:
// Получили ответ в виде потока$stream = $response->getBody();// "перемотали" на начало$stream->rewind();// Получили строковый ответ$json = $stream->getContents();
В итоге результат одинаковый.@joomlafeed#joomla #разработка #php

Quantum Manager нужен сообществу, а автору нужна ваша поддержка!

Quantum Manager нужен сообществу, а автору нужна ваша поддержка!Файловый менеджер Quantum — одно...

Файловый менеджер Quantum — одно из самых популярных решений для Joomla, созданное разработчиком из сообщества Joomla, Дмитрием Цымбалом (@tsymbalmitia). Он делает Quantum удобным, безопасным и современным, обновляет его, исправляет уязвимости и отвечает пользователям — всё это в свободное от основной работы время.

Теперь настал момент для следующего шага: развитие проекта требует больше времени и ресурсов.

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

DeeByZ

  • Новичок
  • 7
  • 0 / 0
Шаблон gk_eshop
« : 09.10.2009, 12:55:06 »
Установил себе gk_eshop шаблончик

http://demo.gavickpro.serwery.pl/joomla15/dec2008/

Там есть корзина и расширенный поиск, обыскал все PHP файлы и не могу найти в каком файле можно исправить английское SHOPPING CART на русскую КОРЗИНА и хотелось бы исправить на русский еще расширенный поиск, а то щас ADVANCED SEARCH, оба этих (не знаю как назвать, вроде не модули и не плагины) прописаны прям в самом index.php  в шаблоне....

и вторая проблема с этим шаблоном...

Хочу сделать его 100% по ширине, а то получается оч узкий и мало товаров помещается....залез в ксс файл....начал менять пиксели на 100% процентов, но вышло так что фон (серо-бесцветные полосочки) где пишется названия там (Меню сайта, Опрос и прочее) не тянутся на 100% а обрываются......

вот ксс код:
Код

/*--------------------------------------------------------------
# eShoptrix II - May 2008 (for Joomla 1.5)
# Recoded version - Dec 2008
# Copyright (C) 2008 Gavick.com. All Rights Reserved.
# License: Copyrighted Commercial Software
# Website: http://www.gavick.com
# Support: support@gavick.com
---------------------------------------------------------------*/
/* ||| universal set of reset styles |||*/

html,
body,
div,
span,
applet,
object,
iframe,
caption,
del,
dfn,
em,
font,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend {
vertical-align: baseline;
font-size: 100%;
outline: 0;
padding: 0;
margin: 0;
border: 0;
}
/* remember to define focus styles! */

:focus {
outline: 0;
}
body {
background: white;
line-height: 1;
color: black;
}
ol,
ul {
list-style: none;
}
/* tables still need cellspacing="0" in the markup */

table {
border-collapse: separate;
border-spacing: 0;
}
caption,
th,
td {
font-weight: normal;
}
/* remove possible quote marks (") from <q> & <blockquote> */

blockquote:before,
blockquote:after,
q:before,
q:after {
content: "";
}
blockquote,
q {
quotes: "" "";
}
/* ||| the end |||*/
/* ||| set of clearing floats |||*/

.clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.clearfix {
display: inline-block;
}
.clr {
font-size : 1px;
}
/* Hides from IE-mac \*/

* HTML .clearfix {
height: 1%;
}
.clearfix {
display: block;
}
.clear {
clear: both;
}
/* End hide from IE-mac */
/* ||| the end |||*/



html {
height: 100%;
margin-bottom: 1px;
}
body {
margin: 0;
padding: 0;
font-size:100%;
}
#bg {
background: #fff url('../images/bg.png') repeat-x 0 0;
font: normal 12px Arial, Helvetica, sans-serif;
line-height:1.6;
color: #666;
}
#spot {
}
a {
outline: none;
cursor: pointer;
}
img {
border: none;
text-decoration: none;
}
a:link,
a:visited,
a:active {
text-decoration: none;
color: #588CB8;
}
a:hover {
text-decoration: underline;
color: #666;
}
ul {
padding: 0 0 0 2px;
margin: 0;
margin-left: 1px;
list-style: none;
}
ul li {
background: url('../images/arrow.png') no-repeat 0 6px;
padding-left: 14px;
line-height: 190%;
}
ul li a {
text-decoration: none!important;
}
ul li a:hover {
text-decoration: underline!important;
}
ol li {
line-height: 190%;
}
fieldset {
border: 0;
padding: 5px 0;
}
h1 {
font-size: 200%;
}
h2 {
font-size: 210%;
font-weight: normal;
margin:2px 0 15px 0;
}
h3 {
font-size: 145%;
}
h4 {
font-size: 100%;
}
h5 {
font-size: 120%;
}
h6 {
font-size: 110%;
}
th {
padding: 4px;
text-align: left;
}
fieldset {
border: none;
}
fieldset a {
font-weight: bold;
}
input,
select,
button {
font: normal 11px Tahoma, Arial, Verdana, sans-serif;
}
hr {
border-color:#f1f1f1;
border-style:solid none none;
border-width:1px 0 0;
height:1px;
}
.clearfix {
clear: both;
}
.lf {
float: left;
}
.rf {
float: right;
}
.inputbox,
.textarea,
select {
border: 1px solid #eee;
border-right: 1px solid #f6f6f6;
border-bottom: 1px solid #f6f6f6;
}
/* Set the major blocks
--------------------------------------------------------------------------------*/

#page1002 {
background: url('../images/bg_page.png') repeat-y 0 0;
width: 1002px;
padding: 0;
margin: 0 auto;
min-height: 559px;
}
#page1002a {
background: url('../images/bg_top.png') no-repeat 0 0;
}
.page970 {
width: 970px;
margin: 0 auto;
}
#hiddenarea1 {
display: none;
width: 400px;
}
#hiddenarea2 {
display: none;
width: 400px;
}
#hiddenarea_wrap1,
#hiddenarea_wrap2 {
padding: 21px;
background: #73ab00;
border: 1px solid #b5d93a;
filter:alpha(opacity=93);
opacity: 0.93;
-moz-opacity:0.93;
color: #fff;
font-weight: bold;
}
#hiddenarea_wrap1 a,
#hiddenarea_wrap2 a {
color: #fff;
font-weight: bold;
}
#close_button1,
#close_button2 {
background: url('../images/icon_close.png') no-repeat 100% 0;
width: 17px;
height: 17px;
position: absolute;
right: 10px;
cursor:pointer;
}
#hiddenarea1 h3,
#hiddenarea2 h3 {
background: url('../images/show_cart_top.png') no-repeat 0 0;
height: 17px;
position: relative;
font: bold 12px Tahoma, Arial, Helvetica, sans-serif;
padding: 11px 0 9px 20px;
margin: 0;
color: #fff;
}
.scart_visible {
position: absolute;
top: 35px;
z-index: 200;
}
.login_visible {
position: absolute;
top: 50px;
z-index: 250;
}
#bg_top {
margin: 0 16px;
}
#top {
height: 85px;
margin: 0 21px;
}
#logo {
background: url('../images/logo.png') no-repeat 0 0;
height: 85px;
width:281px;
display: block;
float: left;
}
#topbanner {
padding:12px 0;
float: left;
}
p#trblock {
margin: 29px 0 0;
padding: 0;
float: right;
width: 146px;
font: normal 10px Arial, Helvetica, sans-serif;
text-transform:uppercase;
}
#trblock a:link,
#trblock a:visited {
color: #878787;
text-decoration:none;
}
#trblock a.first {
border-right:1px solid #878787;
margin-right: 6px;
padding-right: 6px;
}
a:link#scart,
a:visited#scart {
background: url('../images/icon_bag.png') no-repeat 100% 50%;
color: #739c03;
display: block;
padding: 6px 5px 3px 0;
}
a:hover#scart {
color: #666;
}
/* suckerfish menu */
#horiz-menu {
background: url('../images/bg_menu.png') repeat-x 0 0;
}
/* advanced search form */
#advanced_search_form {
clear: both;
background: url('../images/bg_advsearch.png') repeat-x 0 0;
height: 35px;
line-height: 35px;
padding: 0 21px;
}
#advanced_search_form span {
background: url('../images/icon_serch.png') no-repeat 0 0;
padding: 0 20px 0 30px;
float: left;
}
#advanced_search_form input,
#advanced_search_form select {
margin-right:10px;
padding: 3px 2px;
color: #999;
}
#advanced_search_form input:focus,
#advanced_search_form select:focus {
border: 1px solid #8fc400;
color: #739c03;
}
#advanced_search_form input.search,
.blogin input.button {
background: url('../images/b_search.png') no-repeat 0 0;
border: none!important;
height: 17px;
padding: 0;
margin: 0;
width: 59px;
color: #fff;
}
.blogin input.button {
background: url('../images/b_login.png') no-repeat 0 0;
color: #739c03;
}
#restofpage {
clear: both;
margin: 21px 37px 0;
}
/* Set the block size
------------------------------------------------------------------------------------------------*/
#user_position-1 {
width: 100%;
overflow: hidden;
}
.users {
overflow: hidden;
float: left;
}
.us_width-16 .users {
width: 16%;
}
.us_width-19 .users {
width: 20%;
}
.us_width-24 .users {
width: 25%;
}
.us_width-33 .users {
width: 33%;
}
.us_width-50 .users {
width: 50%;
}
.us_width-100 .users {
width: 100%;
}
#user_position-2 {
width: 100%;
overflow: hidden;
}
#user_position-3 {
clear: both;
overflow: hidden;
background: #fdfdfd url('../images/moduletable_h3_shadow.png') repeat-x 0 0;
}
#user_position_3wrap {
margin: 0 21px 21px;
}
.us_width-49 .users {
width: 49%;
}
.us_width-99 .users {
width: 100%;
}
div.spacer {
width: 2%;
float: left;
height: 1px;
}
.us-stand {
clear: both;
width: 100%;
}
/* component */
div#component {
width: 100%;
}
/* component + right */
div#component-2 {
float: left;
width: 607px;
}
div#right {
float: right;
width: 300px;
margin-left: 21px;
}
/* component + left */
div#component-3 {
float: left;
width: 657px;
}
div#left {
float: left;
width: 160px;
margin: 0 21px 0 0;
}
#content_wrap-3 #left {
width: 250px;
}
/* component + left + right */
div#component-1 {
float: left;
width: 426px;
}
div#mainbody {
clear: both;
margin-bottom: 20px;
}
/*Modules
-------------------------------------------------------------------*/
div.moduletable,
div.moduletable_menu,
.moduletable_clear {
font: normal 12px Arial, Helvetica, sans-serif;
line-height:16px;
margin:0 0 16px;
padding: 0;
}
div.moduletable_content {
background: url('../images/moduletable_h3_shadow.png') repeat-x 0 0;
padding: 16px 20px 6px;
}
div.moduletable h3,
div.moduletable_menu h3 {
background: url('../images/mod_def_h3_l.png') no-repeat 0 0;
font: bold 12px Tahoma, Arial, Helvetica, sans-serif;
padding: 0;
margin: 0;
color: #588CB8;
}
div.moduletable h3 span,
div.moduletable_menu h3 span {
background: url('../images/mod_def_h3_r.png') no-repeat 100% 0;
display:block;
height:37px;
line-height:37px;
margin-left: 4px;
padding-left: 16px;
}
div.moduletable h3 span strong,
div.moduletable_menu h3 span strong {
color: #739c03;
}
div.moduletable_content ul li {
}
.moduletable_clear div.moduletable_content {
padding: 0;
background: none;
}
/* moduletable restriction */
#user_position-3 div.moduletable h3,
#user_position-3 div.moduletable_menu h3 {
margin: 12px 8px 26px;
background: none;
color: #999;
}
#user_position-3,
#user_position-3 a {
color: #999;
}
#user_position-3 div.moduletable_content {
padding-top: 43px;
}
div.moduletable_menu div.moduletable_content {
padding: 2px 0 6px;
}
div.moduletable_menu ul.menu {
list-style: none;
margin: 0;
padding:0;
}
div.moduletable_menu ul.menu li {
background: #fbfbfb url('../images/menu_li_bg.png') repeat-x 0 100%;
margin: 0;
padding: 0 0 0 21px;
}
div.moduletable_menu ul.menu li:hover {
background:  url('../images/menu_li_h_bg.png') repeat-x 0 0;
}
div.moduletable_menu ul.menu li a {
display: block;
outline: none;
padding: 5px 2px;
color: #999;
font-weight: bold;
text-decoration:none!important;
}
div.moduletable_menu ul.menu li a:hover,
div.moduletable_menu ul.menu li:hover#current a {
color:#fff;
}
div.moduletable_menu ul.menu li.active a {
}
div.moduletable_menu ul.menu li ul {
list-style: none;
margin: 0 0 0 -21px;
padding: 0;
}
div.moduletable_menu ul.menu li li a {
border: none;
font-weight: normal !important;
padding-left: 0 !important;
color: #999!important;
}
div.moduletable_menu ul.menu li li a:hover,
div.moduletable_menu ul.menu li li a:active,
div.moduletable_menu ul.menu li li a:focus {
color: #fff!important;
}
div.moduletable_menu ul.menu li li:last-child a {
padding-bottom: 5px;
}
/* tabs */

/* Login module*/
.loginposition_l {
width: 50%;
float: left;
border-right: 1px solid #b5d93a;
}
.loginposition_r {
width: 48%;
float: right;
}
.loginposition_r li {
margin-left: 14px!important;
}
.loginposition_l li {
float: left;
background: none;
padding: 0 16px 0 0;
}
.loginposition_l li.inputbox {
padding: 3px 2px;
}
.blogin {
margin-top: 10px;
}
/* Footer */

#footer_wrap {
clear: both;
background: url('../images/bg_footer.png') no-repeat 0 0;
height: 58px;
width: 1002px;
line-height: 45px;
font-size: 11px;
margin: 0 auto;
color: #999;
}
#copyright {
margin: 0 auto;
width: 928px;
}
#copyright #infoo {
margin: 0;
float: left;
width: 80%;
}
div#footer_wrap a {
text-decoration: none;
color: #666;
}
#copyright #stylearea {
margin:0;
float: right;
width: 11%;
}
#copyright #stylearea a:link,
#copyright #stylearea a:visited,
#copyright #stylearea a:active {
color: #999;
}
#copyright #stylearea a:hover {
color: #666;
}


« Последнее редактирование: 09.10.2009, 12:59:38 от DeeByZ »
*

yondo

  • Осваиваюсь на форуме
  • 16
  • 1 / 0
  • joomla 1.5
Re: Шаблон gk_eshop
« Ответ #1 : 26.10.2009, 10:24:00 »
поищи ответ в файле en-GB.tpl_gk_eshop.ini в самом шаблоне и в папке ленгвич.
*

dron

  • Завсегдатай
  • 1581
  • 16 / 10
Re: Шаблон gk_eshop
« Ответ #2 : 23.02.2010, 23:44:23 »
Кто юзает данный шаблон, ребят, расскажите, как убрать регистрацию при оформлении заказа?
*

DimNsk

  • Осваиваюсь на форуме
  • 48
  • 3 / 0
Re: Шаблон gk_eshop
« Ответ #3 : 25.02.2010, 11:05:26 »
Кто юзает данный шаблон, ребят, расскажите, как убрать регистрацию при оформлении заказа?

в настйроках VM
*

dron

  • Завсегдатай
  • 1581
  • 16 / 10
Re: Шаблон gk_eshop
« Ответ #4 : 27.02.2010, 12:34:53 »
Кто юзает данный шаблон, ребят, расскажите, как убрать регистрацию при оформлении заказа?
вот тут читай: http://joomlaforum.ru/index.php/topic,70269.msg563964.html#msg563964
*

dron

  • Завсегдатай
  • 1581
  • 16 / 10
Re: Шаблон gk_eshop
« Ответ #5 : 27.02.2010, 12:38:06 »
а как кнопки в корзине подкорректировать? там знизу 2 штуки: Продолжить покупку и Оформить заказ. У меня какое-то месево там: http://vikitoys.ru/index.php?option=com_virtuemart&page=shop.cart&product_id=39&Itemid=53
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

Невозможно назначить шаблон по умолчанию

Автор Jons$

Ответов: 3
Просмотров: 4008
Последний ответ 16.04.2015, 06:57:06
от Petrofrk
Шаблон описания - как осуществить?

Автор OlgaK

Ответов: 1
Просмотров: 1275
Последний ответ 14.08.2014, 10:52:15
от OmniWizard
[Решено] Шаблон списка категории

Автор DFor

Ответов: 6
Просмотров: 4538
Последний ответ 10.09.2013, 17:28:21
от melkiialex
Шаблон на Artisteer3 как footer прижать к земле?

Автор Sektor38

Ответов: 28
Просмотров: 5669
Последний ответ 03.10.2012, 15:15:17
от sebrotaller
(Шаблон) проблемы с шапкой

Автор Bulijen

Ответов: 5
Просмотров: 1600
Последний ответ 31.07.2012, 09:31:05
от Bulijen