Руслан Попков

Руслан Попков

С нами с 25 октября 2016; Место в рейтинге пользователей: #11967
Руслан Попков
05 марта 2018, 18:26
0
Круто,,, путь корректный, ничего выставлять перед не нужно.

Параметры вывода нужно было сделать по умолчанию, как вы и сказали)

СПАСИБО))))
Руслан Попков
05 марта 2018, 15:13
0
[2018-03-05 14:55:53] (ERROR @ /home/httpd/vhosts/ru7lan.ru/httpdocs/core/components/phpthumbof/model/phpthumbof.class.php : 156) [pThumb] Resource: 46 || Image: (none)
File not found: /home/httpd/vhosts/ru7lan.ru/httpdocs/<img src="assets/themes/ldzaa/template/img/header-bg.png" alt="" />  *** Skipping ***
[2018-03-05 15:08:32] (ERROR @ /home/httpd/vhosts/ru7lan.ru/httpdocs/core/components/phpthumbof/model/phpthumbof.class.php : 156) [pThumb] Resource: 46 || Image: (none)
File not found: /home/httpd/vhosts/ru7lan.ru/httpdocs/<img src="assets/themes/ldzaa/template/img/header-bg.png" alt="" />  *** Skipping ***
[2018-03-05 15:08:32] (ERROR @ /home/httpd/vhosts/ru7lan.ru/httpdocs/core/components/phpthumbof/model/phpthumbof.class.php : 156) [pThumb] Resource: 46 || Image: (none)
File not found: /home/httpd/vhosts/ru7lan.ru/httpdocs/<img src="assets/themes/ldzaa/template/img/header-bg.png" alt="" />  *** Skipping ***
Руслан Попков
05 марта 2018, 15:11
0
вызываю в чанке [[*image2:pthumb=`h=200&w=300&zc=1`]],
и ошибки:

[2018-03-05 14:55:53] (ERROR @ /home/httpd/vhosts/ru7lan.ru/httpdocs/core/components/phpthumbof/model/phpthumbof.class.php: 156) [pThumb] Resource: 46 || Image: (none)
File not found: /home/httpd/vhosts/ru7lan.ru/httpdocs/*** Skipping ***
[2018-03-05 14:55:53] (ERROR @ /home/httpd/vhosts/ru7lan.ru/httpdocs/core/components/phpthumbof/model/phpthumbof.class.php: 156) [pThumb] Resource: 46 || Image: (none)
File not found: /home/httpd/vhosts/ru7lan.ru/httpdocs/*** Skipping ***

и если сниппетом [[pthumb? &input=`[[*image2]]` &options=`h=200&w=300&zc=1`]] тоже самое- выводится но не орезаетс
Руслан Попков
25 января 2018, 17:31
0
Array ( [id] => 32 [type] => document [contentType] => text/html [pagetitle] => tedt [longtitle] => [description] => [alias] => tedt [link_attributes] => [published] => 1 [pub_date] => 0 [unpub_date] => 0 [parent] => 0 [isfolder] => [introtext] => [content] => [richtext] => 1 [template] => 5 [menuindex] => 5 [searchable] => [cacheable] => 1 [createdby] => 1 [createdon] => 2018-01-04 15:36:48 [editedby] => 0 [editedon] => 0 [deleted] => [deletedon] => 0 [deletedby] => 0 [publishedon] => 2018-01-04 15:36:48 [publishedby] => 1 [menutitle] => [donthit] => [privateweb] => [privatemgr] => [content_dispo] => 0 [hidemenu] => [class_key] => modDocument [context_key] => web [content_type] => 1 [uri] => tedt.html [uri_override] => 0 [hide_children_in_tree] => 0 [show_in_tree] => 1 [properties] => [stared] => [unstared] => 1 [voted] => 0 [can_vote] => [rating_minus] => 0 [rating_plus] => 0 [rating_total] => 0 [rating] => 0 [views] => 16 [comments] => 0 [date_ago] => 04 января 2018, 15:36 [stars] => 0 [cant_vote] => 1 [active] => 0 [inactive] => 1 [can_star] => [section.id] => 1 [section.type] => document [section.contentType] => text/html [section.pagetitle] => Главная [section.longtitle] => Поздравляем! [section.description] => [section.alias] => index [section.link_attributes] => [section.published] => 1 [section.pub_date] => 0 [section.unpub_date] => 0 [section.parent] => 0 [section.isfolder] => 0 [section.introtext] => [section.richtext] => 1 [section.template] => 2 [section.menuindex] => 0 [section.searchable] => 1 [section.cacheable] => 1 [section.createdby] => 1 [section.createdon] => 1513173042 [section.editedby] => 1 [section.editedon] => 1515327505 [section.deleted] => 0 [section.deletedon] => 0 [section.deletedby] => 0 [section.publishedon] => 0 [section.publishedby] => 0 [section.menutitle] => [section.donthit] => 0 [section.privateweb] => 0 [section.privatemgr] => 0 [section.content_dispo] => 0 [section.hidemenu] => 0 [section.class_key] => modDocument [section.context_key] => web [section.content_type] => 1 [section.uri] => index.html [section.uri_override] => 0 [section.hide_children_in_tree] => 0 [section.show_in_tree] => 1 [section.properties] => [internalKey] => 1 [fullname] => Администратор по умолчанию [email] => ask@ru7lan.ru [phone] => [mobilephone] => [blocked] => 0 [blockeduntil] => 0 [blockedafter] => 0 [logincount] => 40 [lastlogin] => 1516479220 [thislogin] => 1516647951 [failedlogincount] => 0 [sessionid] => 34ij368f30mrojljbai0kgnfr3 [dob] => 0 [gender] => 0 [address] => [country] => [city] => [state] => [zip] => [fax] => [photo] => [comment] => [website] => [extended] => [username] => alamis [files] => [has_files] => )
Руслан Попков
25 января 2018, 17:10
0
[[TicketMeta?
&tpl=`custom.Tickets.meta`
]]

как видите везде дата одинаковая

Руслан Попков
24 января 2018, 22:08
0
да, но тикетс считает количество просмотров…
Руслан Попков
23 января 2018, 16:59
0
если вы говорите за эту настройку />
Руслан Попков
26 октября 2016, 18:39
0
да, все верно-верчий jquery конфликтовали.
А не покажите пример того, как можно сделать валидацию на js?
Руслан Попков
26 октября 2016, 18:04
0
да, все как надо работает, кроме replayTo ))
Руслан Попков
26 октября 2016, 16:24
1
0
[[!AjaxForm?
&snippet=`FormIt`
&form=`Reservation`
&hooks=`email`
&emailTpl=`MyEmailChunk`
&emailTo=`ask@ru7lan.ru`
&emailFrom=`ask@ru7lan.ru`
&emailReplyTo=`[[+email]]`
&emailSubject=`Заявка на бронирование! [[++site_url]]`
&validate=`data_zaezda:required,
data_viezda:required,
room_type:required,
old:required,
children:required,
name:required,
email:required,
phone:required`
&validationErrorMessage=`В форме содержатся ошибки!`
&successMessage=`Сообщение успешно отправлено`
]]

и немого самой формы…
<!-- Text input-->
       <div class="form-group">
  <label class="pull-left col-md-4 control-label">E-Mail</label>  
    <div class="col-md-4 col-sm-4 inputGroupContainer">
    <div class="input-group">
        <span class="input-group-addon"><i class="glyphicon glyphicon-envelope"></i></span>
  <input name="email" value="[[!+fi.email]]" placeholder="anna@mail.ru" class="form-control"  type="text" >
    </div>
  </div>
</div>


<!-- Text input-->
       
<div class="form-group">
  <label class="pull-left col-md-4 control-label">Телефон</label>  
    <div class="col-md-4 col-sm-4 inputGroupContainer">
    <div class="input-group">
        <span class="input-group-addon" ><i class="glyphicon glyphicon-earphone"></i></span>
  <input name="phone" value="[[!+fi.phone]]" placeholder="(845)555-1212" class="form-control" type="text" >
    </div>
  </div>
</div>

<!-- Text area -->