Дмитрий Кондин

Администраторы
  • Публикации

    6535
  • Зарегистрирован

  • Посещение

  • Days Won

    362

Все публикации пользователя Дмитрий Кондин

  1. Смотрите что вам доступно в массиве $data ( [id] => Array ( [name] => id [title] => Идентификатор [value] => 33921 [type] => primary_key [primary_key_name] => [primary_key_table] => [value_string] => [query] => [value_name] => [title_default] => [value_default] => [value_table] => [value_primary_key] => [value_field] => [assign_to] => [dbtype] => [table_name] => [primary_key] => [primary_key_value] => [action] => [tab] => [hint] => [active_in_topic] => 0 [group_id] => 0 [entity] => [combo] => 0 [required] => off [unique] => off ) [user_id] => Array ( [name] => user_id [title] => Идентификатор пользователя [value] => 1 [type] => user_id [primary_key_name] => [primary_key_table] => [value_string] => [query] => [value_name] => [title_default] => [value_default] => [value_table] => [value_primary_key] => [value_field] => [assign_to] => [dbtype] => [table_name] => [primary_key] => [primary_key_value] => [action] => [tab] => [hint] => [active_in_topic] => 0 [group_id] => 0 [entity] => [combo] => 0 [required] => off [unique] => off ) [date_added] => Array ( [name] => date_added [title] => Дата подачи [value] => 2014-12-09 09:36:05 [type] => hidden [primary_key_name] => [primary_key_table] => [value_string] => 09-12-2014 [query] => [value_name] => [title_default] => [value_default] => [value_table] => [value_primary_key] => [value_field] => [assign_to] => [dbtype] => [table_name] => [primary_key] => [primary_key_value] => [action] => [tab] => [hint] => [active_in_topic] => 0 [group_id] => 0 [entity] => [combo] => 0 [required] => off [unique] => off ) [active] => Array ( [name] => active [title] => Публиковать на сайте [value] => 1 [type] => checkbox [primary_key_name] => [primary_key_table] => [value_string] => [query] => [value_name] => [title_default] => [value_default] => [value_table] => [value_primary_key] => [value_field] => [assign_to] => [dbtype] => [table_name] => [primary_key] => [primary_key_value] => [action] => [tab] => [hint] => [active_in_topic] => 0 [group_id] => 0 [entity] => [combo] => 0 [required] => off [unique] => off ) [hot] => Array ( [name] => hot [title] => Спецразмещение [value] => 1 [type] => checkbox [primary_key_name] => [primary_key_table] => [value_string] => [query] => [value_name] => [title_default] => [value_default] => [value_table] => [value_primary_key] => [value_field] => [assign_to] => [dbtype] => [table_name] => [primary_key] => [primary_key_value] => [action] => [tab] => [hint] => [active_in_topic] => 0 [group_id] => 0 [entity] => [combo] => 0 [required] => off [unique] => off ) [topic_id] => Array ( [name] => topic_id [title] => Тип [value] => 33 [type] => select_box_structure [primary_key_name] => [primary_key_table] => [value_string] => 1-комн. [query] => [value_name] => [title_default] => [value_default] => [value_table] => [value_primary_key] => [value_field] => [assign_to] => [dbtype] => [table_name] => [primary_key] => [primary_key_value] => [action] => [tab] => [hint] => [active_in_topic] => 0 [group_id] => 0 [entity] => [combo] => 0 [required] => on [unique] => off ) [city_id] => Array ( [name] => city_id [title] => Город [value] => 1 [type] => select_by_query [primary_key_name] => city_id [primary_key_table] => city [value_string] => Москва [query] => select * from re_city order by name [value_name] => name [title_default] => выбрать город [value_default] => 0 [value_table] => [value_primary_key] => [value_field] => [assign_to] => [dbtype] => [table_name] => [primary_key] => [primary_key_value] => [action] => [tab] => [hint] => [active_in_topic] => 0 [group_id] => 0 [entity] => [combo] => 0 [required] => off [unique] => off [onchange] => update_child_list('metro_id',this); update_child_list('district_id',this); set_empty('street_id',this); [ajax_options] => Array ( [update_child_list] => Array ( [0] => district_id ) [set_empty] => Array ( [0] => street_id ) ) ) [metro_id] => Array ( [name] => metro_id [title] => Метро [value] => 0 [type] => select_by_query [primary_key_name] => metro_id [primary_key_table] => metro [value_string] => [query] => select * from re_metro order by name [value_name] => name [title_default] => выбрать метро [value_default] => 0 [value_table] => [value_primary_key] => [value_field] => [assign_to] => [dbtype] => [table_name] => [primary_key] => [primary_key_value] => [action] => [tab] => [hint] => [active_in_topic] => 0 [group_id] => 0 [entity] => [combo] => 0 [required] => off [unique] => off ) [district_id] => Array ( [name] => district_id [title] => Район [value] => 23 [type] => select_by_query [primary_key_name] => id [primary_key_table] => district [value_string] => Октябрьский [query] => select * from re_district order by name [value_name] => name [title_default] => выбрать район [value_default] => 0 [value_table] => [value_primary_key] => [value_field] => [assign_to] => [dbtype] => [table_name] => [primary_key] => [primary_key_value] => [action] => [tab] => [hint] => [active_in_topic] => 0 [group_id] => 0 [entity] => [combo] => 0 [required] => off [unique] => off [onchange] => update_child_list('street_id',this); [ajax_options] => Array ( [update_child_list] => Array ( [0] => street_id ) ) ) [street_id] => Array ( [name] => street_id [title] => Улица [value] => 982 [type] => select_by_query [primary_key_name] => street_id [primary_key_table] => street [value_string] => Новаторская [query] => select * from re_street order by name [value_name] => name [title_default] => выбрать улицу [value_default] => 0 [value_table] => [value_primary_key] => [value_field] => [assign_to] => [dbtype] => [table_name] => [primary_key] => [primary_key_value] => [action] => [tab] => [hint] => [active_in_topic] => 0 [group_id] => 0 [entity] => [combo] => 0 [required] => off [unique] => off ) [developer_id] => Array ( [name] => developer_id [title] => Застройщик [value] => 0 [type] => select_by_query [primary_key_name] => developer_id [primary_key_table] => developer [value_string] => [query] => SELECT * FROM re_developer [value_name] => name [title_default] => выберите застройщика [value_default] => 0 [value_table] => [value_primary_key] => [value_field] => [assign_to] => [dbtype] => [table_name] => [primary_key] => [primary_key_value] => [action] => [tab] => [hint] => выберите застройщика для новостройки [active_in_topic] => 0 [group_id] => 0 [entity] => [combo] => 0 [parameters] => Array ( ) [required] => off [unique] => off ) [number] => Array ( [name] => number [title] => Номер дома [value] => [type] => safe_string [primary_key_name] => [primary_key_table] => [value_string] => [query] => [value_name] => [title_default] => [value_default] => [value_table] => [value_primary_key] => [value_field] => [assign_to] => [dbtype] => [table_name] => [primary_key] => [primary_key_value] => [action] => [tab] => [hint] => [active_in_topic] => 0 [group_id] => 0 [entity] => [combo] => 0 [required] => off [unique] => off ) [price] => Array ( [name] => price [title] => Цена [value] => 3000000 [type] => price [primary_key_name] => [primary_key_table] => [value_string] => [query] => [value_name] => [title_default] => [value_default] => [value_table] => [value_primary_key] => [value_field] => [assign_to] => [dbtype] => [table_name] => [primary_key] => [primary_key_value] => [action] => [tab] => [hint] => [active_in_topic] => 0 [group_id] => 0 [entity] => [combo] => 0 [required] => off [unique] => off ) [room_count] => Array ( [name] => room_count [title] => Кол.во комнат [value] => 2 [type] => safe_string [primary_key_name] => [primary_key_table] => [value_string] => [query] => [value_name] => [title_default] => [value_default] => [value_table] => [value_primary_key] => [value_field] => [assign_to] => [dbtype] => [table_name] => [primary_key] => [primary_key_value] => [action] => [tab] => [hint] => [active_in_topic] => 0 [group_id] => 0 [entity] => [combo] => 0 [required] => off [unique] => off ) [floor] => Array ( [name] => floor [title] => Этаж [value] => 8 [type] => safe_string [primary_key_name] => [primary_key_table] => [value_string] => [query] => [value_name] => [title_default] => [value_default] => [value_table] => [value_primary_key] => [value_field] => [assign_to] => [dbtype] => [table_name] => [primary_key] => [primary_key_value] => [action] => [tab] => [hint] => [active_in_topic] => 0 [group_id] => 0 [entity] => [combo] => 0 [required] => off [unique] => off ) [floor_count] => Array ( [name] => floor_count [title] => Этажность [value] => 10 [type] => safe_string [primary_key_name] => [primary_key_table] => [value_string] => [query] => [value_name] => [title_default] => [value_default] => [value_table] => [value_primary_key] => [value_field] => [assign_to] => [dbtype] => [table_name] => [primary_key] => [primary_key_value] => [action] => [tab] => [hint] => [active_in_topic] => 0 [group_id] => 0 [entity] => [combo] => 0 [required] => off [unique] => off ) [walls] => Array ( [name] => walls [title] => Материал стен [value] => кирпич [type] => safe_string [primary_key_name] => [primary_key_table] => [value_string] => [query] => [value_name] => [title_default] => [value_default] => [value_table] => [value_primary_key] => [value_field] => [assign_to] => [dbtype] => [table_name] => [primary_key] => [primary_key_value] => [action] => [tab] => [hint] => [active_in_topic] => 0 [group_id] => 0 [entity] => [combo] => 0 [required] => off [unique] => off ) [planning] => Array ( [name] => planning [title] => Планировка [value] => [type] => safe_string [primary_key_name] => [primary_key_table] => [value_string] => [query] => [value_name] => [title_default] => [value_default] => [value_table] => [value_primary_key] => [value_field] => [assign_to] => [dbtype] => [table_name] => [primary_key] => [primary_key_value] => [action] => [tab] => [hint] => [active_in_topic] => 0 [group_id] => 0 [entity] => [combo] => 0 [required] => off [unique] => off ) [balcony] => Array ( [name] => balcony [title] => Балкон [value] => лоджия [type] => safe_string [primary_key_name] => [primary_key_table] => [value_string] => [query] => [value_name] => [title_default] => [value_default] => [value_table] => [value_primary_key] => [value_field] => [assign_to] => [dbtype] => [table_name] => [primary_key] => [primary_key_value] => [action] => [tab] => [hint] => [active_in_topic] => 0 [group_id] => 0 [entity] => [combo] => 0 [required] => off [unique] => off ) [square_all] => Array ( [name] => square_all [title] => Площадь общая [value] => 80 [type] => safe_string [primary_key_name] => [primary_key_table] => [value_string] => [query] => [value_name] => [title_default] => [value_default] => [value_table] => [value_primary_key] => [value_field] => [assign_to] => [dbtype] => [table_name] => [primary_key] => [primary_key_value] => [action] => [tab] => [hint] => [active_in_topic] => 0 [group_id] => 0 [entity] => [combo] => 0 [required] => off [unique] => off ) [square_live] => Array ( [name] => square_live [title] => Площадь жилая [value] => 50 [type] => safe_string [primary_key_name] => [primary_key_table] => [value_string] => [query] => [value_name] => [title_default] => [value_default] => [value_table] => [value_primary_key] => [value_field] => [assign_to] => [dbtype] => [table_name] => [primary_key] => [primary_key_value] => [action] => [tab] => [hint] => [active_in_topic] => 0 [group_id] => 0 [entity] => [combo] => 0 [required] => off [unique] => off ) [square_kitchen] => Array ( [name] => square_kitchen [title] => Площадь кухни [value] => 12 [type] => safe_string [primary_key_name] => [primary_key_table] => [value_string] => [query] => [value_name] => [title_default] => [value_default] => [value_table] => [value_primary_key] => [value_field] => [assign_to] => [dbtype] => [table_name] => [primary_key] => [primary_key_value] => [action] => [tab] => [hint] => [active_in_topic] => 0 [group_id] => 0 [entity] => [combo] => 0 [required] => off [unique] => off ) [bathroom] => Array ( [name] => bathroom [title] => Сан. узел [value] => раздельный [type] => safe_string [primary_key_name] => [primary_key_table] => [value_string] => [query] => [value_name] => [title_default] => [value_default] => [value_table] => [value_primary_key] => [value_field] => [assign_to] => [dbtype] => [table_name] => [primary_key] => [primary_key_value] => [action] => [tab] => [hint] => [active_in_topic] => 0 [group_id] => 0 [entity] => [combo] => 0 [required] => off [unique] => off ) [plate] => Array ( [name] => plate [title] => Плита [value] => электро [type] => select_box [primary_key_name] => [primary_key_table] => [value_string] => электро [query] => [value_name] => [title_default] => [value_default] => [value_table] => [value_primary_key] => [value_field] => [assign_to] => [dbtype] => [select_data] => Array ( [нет] => нет [газ] => газ [электро] => электро ) [table_name] => [primary_key] => [primary_key_value] => [action] => [tab] => [hint] => [active_in_topic] => 0 [group_id] => 0 [entity] => [combo] => 0 [required] => off [unique] => off ) [is_telephone] => Array ( [name] => is_telephone [title] => Телефон [value] => 0 [type] => checkbox [primary_key_name] => [primary_key_table] => [value_string] => [query] => [value_name] => [title_default] => [value_default] => [value_table] => [value_primary_key] => [value_field] => [assign_to] => [dbtype] => [table_name] => [primary_key] => [primary_key_value] => [action] => [tab] => [hint] => [active_in_topic] => 0 [group_id] => 0 [entity] => [combo] => 0 [required] => off [unique] => off ) [furniture] => Array ( [name] => furniture [title] => Мебель [value] => 0 [type] => checkbox [primary_key_name] => [primary_key_table] => [value_string] => [query] => [value_name] => [title_default] => [value_default] => [value_table] => [value_primary_key] => [value_field] => [assign_to] => [dbtype] => [table_name] => [primary_key] => [primary_key_value] => [action] => [tab] => [hint] => [active_in_topic] => 0 [group_id] => 0 [entity] => [combo] => 0 [required] => off [unique] => off ) [text] => Array ( [name] => text [title] => Описание [value] => Отличная квартира с чистовой отделкой. Рядом вся инфраструктура. Элитный район города. [type] => textarea_editor [primary_key_name] => [primary_key_table] => [value_string] => [query] => [value_name] => [title_default] => [value_default] => [value_table] => [value_primary_key] => [value_field] => [assign_to] => [dbtype] => [table_name] => [primary_key] => [primary_key_value] => [action] => [tab] => [hint] => [active_in_topic] => 0 [group_id] => 0 [entity] => [combo] => 0 [required] => off [unique] => off ) [image] => Array ( [name] => image [title] => Фотографии [value] => [type] => uploadify_image [primary_key_name] => [primary_key_table] => [value_string] => [query] => [value_name] => [title_default] => [value_default] => [value_table] => [value_primary_key] => [value_field] => [assign_to] => [dbtype] => [table_name] => data [primary_key] => id [primary_key_value] => 33921 [action] => data [tab] => [hint] => [active_in_topic] => 0 [group_id] => 0 [entity] => [combo] => 0 [required] => off [unique] => off [image_array] => Array ( ) ) [youtube] => Array ( [name] => youtube [title] => Видео [value] => [type] => safe_string [primary_key_name] => [primary_key_table] => [value_string] => [query] => [value_name] => [title_default] => [value_default] => [value_table] => [value_primary_key] => [value_field] => [assign_to] => [dbtype] => [table_name] => [primary_key] => [primary_key_value] => [action] => [tab] => [hint] => [active_in_topic] => 0 [group_id] => 0 [entity] => [combo] => 0 [required] => off [unique] => off ) [fio] => Array ( [name] => fio [title] => Ваше имя [value] => [type] => safe_string [primary_key_name] => [primary_key_table] => [value_string] => [query] => [value_name] => [title_default] => [value_default] => [value_table] => [value_primary_key] => [value_field] => [assign_to] => [dbtype] => [table_name] => [primary_key] => [primary_key_value] => [action] => [tab] => [hint] => [active_in_topic] => 0 [group_id] => 0 [entity] => [combo] => 0 [required] => off [unique] => off ) [email] => Array ( [name] => email [title] => E-mail [value] => [type] => safe_string [primary_key_name] => [primary_key_table] => [value_string] => [query] => [value_name] => [title_default] => [value_default] => [value_table] => [value_primary_key] => [value_field] => [assign_to] => [dbtype] => [table_name] => [primary_key] => [primary_key_value] => [action] => [tab] => [hint] => [active_in_topic] => 0 [group_id] => 0 [entity] => [combo] => 0 [required] => off [unique] => off ) [phone] => Array ( [name] => phone [title] => Ваш телефон [value] => [type] => mobilephone [primary_key_name] => [primary_key_table] => [value_string] => [query] => [value_name] => [title_default] => [value_default] => [value_table] => [value_primary_key] => [value_field] => [assign_to] => [dbtype] => [table_name] => [primary_key] => [primary_key_value] => [action] => [tab] => [hint] => [active_in_topic] => 0 [group_id] => 0 [entity] => [combo] => 0 [required] => off [unique] => off ) [meta_title] => Array ( [name] => meta_title [title] => Meta title [value] => [type] => safe_string [primary_key_name] => [primary_key_table] => [value_string] => [query] => [value_name] => [title_default] => [value_default] => [value_table] => [value_primary_key] => [value_field] => [assign_to] => [dbtype] => [table_name] => [primary_key] => [primary_key_value] => [action] => [tab] => Мета-теги [hint] => [active_in_topic] => 0 [group_id] => 0 [entity] => [combo] => 0 [required] => off [unique] => off ) [meta_keywords] => Array ( [name] => meta_keywords [title] => Meta keywords [value] => [type] => textarea [primary_key_name] => [primary_key_table] => [value_string] => [query] => [value_name] => [title_default] => [value_default] => [value_table] => [value_primary_key] => [value_field] => [assign_to] => [dbtype] => [table_name] => [primary_key] => [primary_key_value] => [action] => [tab] => Мета-теги [hint] => [active_in_topic] => 0 [group_id] => 0 [entity] => [combo] => 0 [required] => off [unique] => off ) [meta_description] => Array ( [name] => meta_description [title] => Meta description [value] => [type] => textarea [primary_key_name] => [primary_key_table] => [value_string] => [query] => [value_name] => [title_default] => [value_default] => [value_table] => [value_primary_key] => [value_field] => [assign_to] => [dbtype] => [table_name] => [primary_key] => [primary_key_value] => [action] => [tab] => Мета-теги [hint] => [active_in_topic] => 0 [group_id] => 0 [entity] => [combo] => 0 [required] => off [unique] => off ) [geo] => Array ( [name] => geo [title] => Координаты [value] => Array ( [lat] => 55.737162 [lng] => 37.635040 ) [type] => geodata [primary_key_name] => [primary_key_table] => [value_string] => [query] => [value_name] => [title_default] => [value_default] => [value_table] => [value_primary_key] => [value_field] => [assign_to] => [dbtype] => [table_name] => [primary_key] => [primary_key_value] => [action] => [tab] => Координаты [hint] => [active_in_topic] => 0 [group_id] => 0 [entity] => [combo] => 0 [required] => off [unique] => off ) [view_count] => Array ( [name] => view_count [title] => Количество просмотров [value] => 294 [type] => hidden [primary_key_name] => [primary_key_table] => [value_string] => [query] => [value_name] => [title_default] => [value_default] => [value_table] => [value_primary_key] => [value_field] => [assign_to] => [dbtype] => [table_name] => [primary_key] => [primary_key_value] => [action] => [tab] => [hint] => [active_in_topic] => 0 [group_id] => 0 [entity] => [combo] => 0 [required] => off [unique] => off ))Цена {$data.price.value} Тип {$data.topic_id.value_string} Самый верхний уровень для типа тут недоступен.
  2. Будет доступно в обновлениях в админке. Заглядывайте туда и в раздел обновления на форуме, мы там пишем что сделали http://www.etown.ru/s/forum/17-%D0%BE%D0%B1%D0%BD%D0%BE%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D1%8F/
  3. Интересующие вас данные лежат в массиве {$data}, как его использовать смотрите на примере другого массива http://www.etown.ru/s/topic/1516-%D0%B8%D1%81%D0%BF%D0%BE%D0%BB%D1%8C%D0%B7%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5-%D0%BF%D0%B5%D1%80%D0%B5%D0%BC%D0%B5%D0%BD%D0%BD%D1%8B%D1%85-%D0%B2-%D1%88%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD%D0%B5/ http://www.etown.ru/s/topic/1519-%D0%B4%D0%BE%D0%B1%D0%B0%D0%B2%D0%BB%D1%8F%D0%B5%D0%BC-%D1%81%D0%B2%D0%BE%D0%B8-%D0%BF%D0%B5%D1%80%D0%B5%D0%BC%D0%B5%D0%BD%D0%BD%D1%8B%D0%B5-%D0%B8-%D0%BC%D0%B0%D1%81%D1%81%D0%B8%D0%B2%D1%8B-%D0%B2-%D1%88%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD/
  4. Скорей всего речь про этот файл /template/frontend/agency/header.tpl <title>{if $meta_title != ''}{$meta_title}{else}{$title}{/if}</title>
  5. Нет, я попробую на эмуляторе и посмотрю в чем может быть ошибка.
  6. Да, адаптивный. Покажите скрин - что именно съзжает.
  7. Попробуйте сделать отладку массива и заглянуть, что внутри. Вот пример http://www.etown.ru/s/topic/1516-%D0%B8%D1%81%D0%BF%D0%BE%D0%BB%D1%8C%D0%B7%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5-%D0%BF%D0%B5%D1%80%D0%B5%D0%BC%D0%B5%D0%BD%D0%BD%D1%8B%D1%85-%D0%B2-%D1%88%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD%D0%B5/
  8. Вчера было микрообновление, мелкий баг. Попробую писать и про такие ) но крупные отчеты раз в месяц. Вы можете раз в месяц обновлять, это самое оптимальное. И читать отчеты.
  9. Дык вот же пример отчета о том, что поменялось http://www.etown.ru/s/topic/1521-%D0%BE%D0%B1%D0%BD%D0%BE%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D0%B5-system-297/
  10. Обновитесь. Баг в версии 2.9.8 Выпустили патчи в 2.9.9.1
  11. Переименовал модуль в Линк-менеджер и сделал подробный видео-урок http://www.etown.ru/s/topic/1561-%D0%BB%D0%B8%D0%BD%D0%BA-%D0%BC%D0%B5%D0%BD%D0%B5%D0%B4%D0%B6%D0%B5%D1%80-%D1%81%D0%BE%D0%B7%D0%B4%D0%B0%D0%BD%D0%B8%D0%B5-%D0%BF%D1%80%D0%B0%D0%B2%D0%B8%D0%BB%D1%8C%D0%BD%D1%8B%D1%85-%D1%81%D1%81%D1%8B%D0%BB%D0%BE%D0%BA-%D0%B4%D0%BB%D1%8F-%D0%BF/
  12. Вы возьмите этот метод и вставьте в main.php И потом поправьте SQL-запрос if(1==$this->getConfigValue('apps.news.use_news_topics')){ $query='SELECT n.*, nt.name AS news_topic_id FROM '.DB_PREFIX.'_'.$this->table_name.' n LEFT JOIN '.DB_PREFIX.'_news_topic nt ON nt.id=n.news_topic_id'.(!empty($where) ? ' WHERE '.implode(' AND ', $where) : '').' ORDER BY n.`date` DESC LIMIT '.$count; }else{ $query='SELECT n.* FROM '.DB_PREFIX.'_'.$this->table_name.' n'.(!empty($where) ? ' WHERE '.implode(' AND ', $where) : '').' ORDER BY n.`date` DESC LIMIT '.$count; }Так чтобы выбирались только из нужной категории.
  13. - Можно ли убрать переключалку языка в верхней панели? Вряд ли мы когда нить перейдем на английский. http://www.etown.ru/s/topic/1467-%D1%83%D0%B1%D1%80%D0%B0%D1%82%D1%8C-%D0%B2%D1%8B%D0%B1%D0%BE%D1%80-%D1%8F%D0%B7%D1%8B%D0%BA%D0%B0-%D0%B2-%D1%88%D0%B0%D0%BF%D0%BA%D0%B5-%D1%81%D0%B0%D0%B9%D1%82%D0%B0-%D1%88%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD-agency/?hl=top_fixed_menu - В настройках есть чек боксы, если я включаю добавить допустимое время звонка или дополнительный телефон, то где мне искать появление этих поле? Или где то нужно что то дописать ручками? Читаем тут http://www.etown.ru/s/topic/241-%D0%B4%D0%BE%D0%B1%D0%B0%D0%B2%D0%B8%D1%82%D1%8C-%D0%BD%D0%BE%D0%B2%D1%8B%D0%B5-%D0%BF%D0%BE%D0%BB%D1%8F-%D0%B2-%D0%BF%D0%BE%D0%B8%D1%81%D0%BA/ - Можно ли увеличить площадь окна где выводится основная информация? Если не отражается правая колонка, то получается там пустое место, как то не очень смотрится. http://www.etown.ru/s/topic/638-%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B8%D1%86%D0%B0-%D0%BE%D0%B1%D1%8A%D0%B5%D0%BA%D1%82%D0%B0/?hl=realty_view#entry5915
  14. В новой версии есть флаг в настройках (is_underconstruction) Вы используете не очень удобный загрузчик, он уже устарел. Включите лучше этот По поводу загрузки обновлений, написал в чем проблема в личку.
  15. Вы тогда поправьте sql-запрос для своего примера, по образу вот этого function getNewsList(){ $where=array(); $news=array(); if(isset($this->data_model[$this->table_name]['spec'])){ $control_spec=true; $where[]='n.`spec`=1'; }else{ $control_spec=false; } if(''!=$this->getConfigValue('apps.news.item_alias')){ $app_item_alias=$this->getConfigValue('apps.news.item_alias'); }else{ $app_item_alias='news'; } $count=$this->getConfigValue('apps.news.news_line.per_page'); if($count==0){ $count=4; } $hasUploadify=false; $uploads=false; foreach ($this->data_model[$this->table_name] as $mitem){ if($mitem['type']=='uploadify_image'){ $hasUploadify=true; continue; } } if(!$hasUploadify){ foreach ($this->data_model[$this->table_name] as $mitem){ if($mitem['type']=='uploads'){ $uploads=$mitem['name']; continue; } } } /* if(1==$this->getConfigValue('apps.news.use_news_topics')){ $query='SELECT '.$this->primary_key.' FROM '.DB_PREFIX.'_'.$this->table_name.' '.($control_spec ? ' WHERE `n.spec`=1' : '').' ORDER BY `date` DESC LIMIT '.$count; }else{ $query='SELECT '.$this->primary_key.' FROM '.DB_PREFIX.'_'.$this->table_name.($control_spec ? ' WHERE `spec`=1' : '').' ORDER BY `date` DESC LIMIT '.$count; } $ids=array(); $DBC=DBC::getInstance(); $stmt=$DBC->query($query); if($stmt){ while($ar=$DBC->fetch($stmt)){ $ids[]=$ar[$this->primary_key]; } } print_r($ids);*/ if(isset($_SESSION['user_domain_owner']) && (int)$_SESSION['user_domain_owner']['user_id']!=0){ $where[]='n.`user_id`='.$_SESSION['user_domain_owner']['user_id']; } if(1==$this->getConfigValue('apps.news.use_news_topics')){ $query='SELECT n.*, nt.name AS news_topic_id FROM '.DB_PREFIX.'_'.$this->table_name.' n LEFT JOIN '.DB_PREFIX.'_news_topic nt ON nt.id=n.news_topic_id'.(!empty($where) ? ' WHERE '.implode(' AND ', $where) : '').' ORDER BY n.`date` DESC LIMIT '.$count; }else{ $query='SELECT n.* FROM '.DB_PREFIX.'_'.$this->table_name.' n'.(!empty($where) ? ' WHERE '.implode(' AND ', $where) : '').' ORDER BY n.`date` DESC LIMIT '.$count; } $DBC=DBC::getInstance(); $stmt=$DBC->query($query); if($stmt){ $i=0; while($ar=$DBC->fetch($stmt)){ $ar['date']=date('d.m.Y', $ar['date']); $news[$i]=$ar; $news[$i]['href']=$this->getNewsRoute($ar['news_id'], $ar['newsalias']); $i++; } } if(count($news)>0){ foreach($news as $k=>$n){ require_once(SITEBILL_DOCUMENT_ROOT.'/apps/system/lib/model/model.php'); $data_model = new Data_Model(); if($hasUploadify){ $image_array = $data_model->get_image_array ( 'news', 'news', 'news_id', $n['news_id'] ); if ( count($image_array) > 0 ) { $news[$k]['img_preview']=$image_array[0]['img_preview']; } }elseif($uploads!==false){ $ims=$news[$k][$uploads]; if($ims!=''){ $ims=unserialize($ims); }else{ $ims=array(); } if(isset($ims[0])){ $news[$k]['img_preview']=SITEBILL_MAIN_URL.'/img/data/'.$ims[0]['preview']; } } } } return $news; }
  16. Тогда скажите доступ к фтп и в админку (в личку). Будем разбираться.
  17. Попробуйте это <div class="news_column"><h1>Новости</h1>{section name=i loop=$news_list_column}<div class="news_item{if $smarty.section.i.iteration%2==0} odd{/if}"><p> <time>{$news_list_column[i].date}</time> <a href="{$news_list_column[i].href}">{$news_list_column[i].title}</a></p>{if $news_list_column[i].img_preview != ''}<img src="{$news_list_column[i].img_preview}" />{/if}<div class="anons">{$news_list_column[i].anons|strip_tags|substr:0:300} <a href="{$news_list_column[i].href}">подробнее</a></div></div>{/section}<a href="{$estate_folder}/rss/"><img src="{$estate_folder}/template/frontend/agency/img/rss.gif" border="0"/></a></div>