Skocz do zawartości
Hosting webh.pl - 20%

Brakujące pole „itemListElement”

Rekomendowane odpowiedzi

Opublikowano

Hej,

https://search.google.com/ pokazał mi błąd tego co w tytule wiadomości. 

Znalazłem ten topic ale niewiele z niego wiem.

 

 

CSS, w którym znajduję wyrażenie promoteTableRows

Spoiler

{{if count( $rows )}} 
	{{foreach $rows as $item}}
		{{$sent = $item->sent ? true : false;}}
		<!--{$item->id}-->
		<li class='ipsDataItem {{if $item->scheduled > time()}}ipsDataItem_unread{{endif}} {{if $item->failed}}ipsDataItem_error{{endif}} ipsClearfix' itemprop="itemListElement">
			<div class='ipsDataItem_icon'>
				{template="userPhoto" app="core" group="global" params="$item->author(), 'tiny'"}
			</div>
			<div class="ipsDataItem_generic ipsDataItem_size3 ipsPos_top">
				<div class="ipsType_light ipsType_center ipsType_large ipsSpacer_top ipsSpacer_half">
					{{foreach $item->share_to as $service}}
						{{$sharer = $item->getPromoter( $service );}}
						{{if !$item->serviceFailed( $service )}}
							<span class='ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_style1 ipsFaded'>
								<i data-ipsTooltip title='{lang="promote_service_success" sprintf="$sharer->key"}' class="fa fa-{$sharer::$icon}"></i>
							</span>
						{{else}}
							<span class='ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_negative'>
								<i data-ipsToolTip title="{lang="promote_service_failed"}" class="fa fa-{$sharer::$icon}"></i>
							</span>
						{{endif}}
					{{endforeach}}
				</div>
			</div>
			<div class='ipsDataItem_main'>
				{{if $item->failed and $item->failed < 4}}
					<span class='ipsType_large'>
						<i class="fa fa-exclamation-triangle" data-ipsToolTip title="{lang="promote_failed_count" pluralize="$item->failed"}"></i>
					</span>
				{{elseif $item->failed and $item->failed > 3}}
					<span class='ipsType_large'>
						<i class="fa fa-exclamation-triangle ipsType_negative" data-ipsToolTip title="{lang="promote_failed_totally"}"></i>
					</span>
				{{elseif $item->scheduled > time()}}
					<span class='ipsType_large'>
						<i class="fa fa-circle"></i>
					</span>
					<strong>
				{{endif}}
						<a href="{$item->object()->url()}" class='ipsDataItem_title {{if $item->failed and $item->failed > 3}}ipsType_light{{endif}}'>{$item->objectTitle}</a>
				{{if $item->scheduled > time()}}
					</strong>
				{{endif}}
				<br>
				{{if $item->scheduled > time()}}
					<span class="ipsType_light">{lang="promote_time_scheduled"} {$item->scheduledDateTime()->html()|raw} {$item->scheduledDateTime()->localeTime(FALSE)|raw}</span>
				{{elseif $item->failed and $item->failed < 4}}
					<span class="ipsType_light">{lang="promote_time_failed_resend"} {{if $item->scheduled < time()}}{lang="promote_time_failed_resend_soon"}{{else}}{datetime="$item->scheduled"}{{endif}}</span>
				{{elseif $item->failed and $item->failed > 3}}
					<span class="ipsType_light">{lang="promote_failed_totally_description"}</span>
				{{elseif $sent}}
					<span class="ipsType_light">
						{lang="promote_time_sent"} {datetime="$item->sent"}
						&middot; <a href="{url="app=core&module=promote&controller=promote&do=history&promote_id={$item->id}" seoTemplate="promote_history"}" data-ipsDialog-size="narrow" data-ipsDialog data-ipsDialog-title="{lang="promote_view_history"}">{lang="promote_view_history"}</a>
					</span>
				{{else}}
					<span class="ipsType_light">{lang="promote_time_sending_soon"}</span>
				{{endif}}
				{{$photoCount = ( $item->imageObjects() !== NULL ) ? count( $item->imageObjects() ) : 0;}}
				{{if $photoCount}}
					&nbsp; <span class="ipsType_light"><i class="fa fa-photo"></i> {lang="promote_photo_count" pluralize="$photoCount"}</span>
				{{endif}}
			</div>
			{{if $item->scheduled > time() or ! $sent}}
				<div class="ipsDataItem_generic ipsDataItem_size9 ipsPos_top ipsType_right">
					{{if ! $sent}}
						<a href="{url="app=core&module=promote&controller=promote&do=delete&promote_id={$item->id}" seoTemplate="promote_manage" csrf="true"}" class="ipsButton ipsButton_verySmall ipsButton_light ipsButton_narrow ipsPos_right" data-ipsToolTip title="{lang="delete"}"><i class="fa fa-times-circle"></i></a>
					{{endif}}
					{{if $item->scheduled > time()}}
						<a href="{url="app=core&module=promote&controller=promote&do=manage&promote_id={$item->id}" seoTemplate="promote"}" data-action="edit" data-ipsDialog ipsDialog-title="{lang="promote_social_button"}" class="ipsButton ipsButton_verySmall ipsButton_light ipsButton_narrow ipsPos_right"><i class="fa fa-pencil"></i></a>
					{{endif}}
				</div>
			{{elseif $sent}}
				<div class="ipsDataItem_generic ipsDataItem_size10 ipsPos_top ipsType_right">
					{{foreach $item->share_to as $service}}
						{{if $url = $item->getPublishedUrl( $service )}}
							{{$sharer = $item->getPromoter( $service );}}
							<a href="{$url}" class="cShareLink cShareLink_{$service} ipsPos_right" title='{lang="promote_shared_on" sprintf="$sharer->key"}' data-ipsTooltip><i class="fa fa-{$sharer::$icon}"></i></a>
						{{endif}}
					{{endforeach}}
				</div>
				{{$internalText = $item->getText('internal');}}
				<div class="ipsDataItem_generic {{if $internalText}}ipsDataItem_size3 cPromoteModCP_edit{{else}}ipsDataItem_size1{{endif}} ipsPos_top ipsType_right">
					<a href="{url="app=core&module=promote&controller=promote&do=delete&promote_id={$item->id}" seoTemplate="promote_manage" csrf="true"}" data-action="delete" class="ipsButton ipsButton_verySmall ipsButton_light ipsButton_narrow ipsPos_right" data-ipsToolTip title="{lang="delete"}"><i class="fa fa-times-circle"></i></a>
					{{if $internalText}}
					<a href="{url="app=core&module=promote&controller=promote&do=edit&promote_id={$item->id}" seoTemplate="promote_manage" csrf="true"}" data-ipsDialog data-ipsDialog-title="{lang="edit"}" data-action="edit" class="ipsButton ipsButton_verySmall ipsButton_light ipsButton_narrow ipsPos_right" data-ipsToolTip title="{lang="edit"}"><i class="fa fa-pencil"></i></a>
					{{endif}}
				</div>
			{{endif}}			
		</li>
	{{endforeach}}
{{endif}}

 

 

Edytowane przez Damianexo

Rozwiązane przez DawPi

Opublikowano
  • Autor
W dniu 4.12.2019 o 08:30, DawPi napisał:

Jaka wersja forum? Miało to być poprawione.

4.3.6

Bliżej świąt będę miał czas to wgram update i powiem co i jak.

Edytowane przez Damianexo

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Ostatnio przeglądający 0

  • Brak zarejestrowanych użytkowników przeglądających tę stronę.

Konto

Nawigacja

Szukaj

Szukaj

Skonfiguruj powiadomienia push w przeglądarce

Chrome (Android)
  1. Stuknij ikonę kłódki obok paska adresu.
  2. Stuknij Uprawnienia → Powiadomienia.
  3. Dostosuj swoje ustawienie.
Chrome (Komputer)
  1. Kliknij ikonę kłódki na pasku adresu.
  2. Wybierz Ustawienia witryny.
  3. Znajdź Powiadomienia i dostosuj swoje ustawienie.