BlogEntryViewTemplate
TopicView for BlogEntries

02 May 2019 - 10:32 | Version 1 |

%{
}%
%TMPL:INCLUDE{"Applications.ClassificationApp.SeoTopicView"}%
%{
}%

%{
}%
%TMPL:DEF{"beforetext"}%<!-- -->
<div class="blogEntry hyphenate clearfix">
<div class="foswikiTopicInfo">
%DBCALL{"Applications.BlogApp.RenderBlogEntryTitle" TITLE_EXTRA="%TMPL:P{"titleextra"}%"}%<!-- -->
%JQREQUIRE{"button, hyphenator" warn="off"}%%ADDTOZONE{"head"
  id="BLOGPLUGIN::CSS"
  text="<link rel='stylesheet' href='%PUBURLPATH%/%SYSTEMWEB%/BlogPlugin/blogplugin.css'  media='all' />"
}%<!-- -->
</div>
%TMPL:P{"accesscontrol"}%<!-- -->
<div itemprop="articleBody">
<!-- -->%TMPL:END%
%{
}%

%{
}%
%TMPL:DEF{"comments"}%%IF{"State!='unpublished'"
   then="$percntTMPL:PREV$percnt"
}%%TMPL:END%
%{
}%

%{
}%
%TMPL:DEF{"comments"}%%IF{
  "State!='unpublished' and $'DISPLAYCOMMENTS'='on' and $'COMMENTFORMAT'!='insidetab' and not context save and not context preview and not context edit"
  then="$percntTMPL:P{\"comments::system::%COMMENTSYSTEM{default="metacomment"}%\"}$percnt"
}%<!-- -->
%TMPL:P{"metacomments::init"}%<!-- -->
<!-- -->%TMPL:END%
%{
}%

%{
}%
%TMPL:DEF{"breadcrumbs::contents"}%%CATINFO{
  topic="%BASEWEB%.%BASETOPIC%"
  exclude="TopCategory"
  header="$percntBREADCRUMBS{recurse=\"topicoff\" separator=\"%TMPL:P{"sep"}%\"}$percnt%TMPL:P{"sep"}%" 
  format="$breadcrumb" 
  separator="%TMPL:P{"sep"}%"
  null="$percntBREADCRUMBS{separator=\"$percntTMPL:P{\"sep\"}$percnt\"}$percnt"
}%%TMPL:END%
%{
}%

%{
}%
%TMPL:DEF{"accesscontrol"}%%{}%
%SETVAR{field="State" 
      matches="unpublished" 
      var="ALLOWTOPICVIEW" 
      type="Set" 
      value="$percntFORMATLIST{
         \"$percntFORMATLIST{
            \"BlogAuthorGroup,$percntFORMFIELD{\"Author\"}$percnt, $percntWIKINAME$percnt\"
            split=\"\s*,\s*\"
            format=\"$dollarpercntUSERINFO{\\"$1\\" format=\\"$wikiname\\"}$dollarpercnt\"
         }$percnt\"
         unique=\"on\"
      }$percnt"
}%
%UNSETVAR{field="State" matches="published" var="ALLOWTOPICVIEW"}%
%{}%%TMPL:END%
%{
}%

%{
}%
%TMPL:DEF{"aftertext"}%<!-- -->
</div>
</div>
%DBCALL{"Applications.BlogApp.RenderBlogEntryPagination" CLASS="blogBottomPagination"}%
<!-- -->%TMPL:END%
%{
}%

%{
}%
%TMPL:DEF{"revinfo"}%%TMPL:END%
%{
}%

%{
}%
%TMPL:DEF{"titleextra"}%%IF{"State = 'unpublished'" 
   then="<span class='foswikiAlert foswikiSmall'>(%TRANSLATE{"unpublished"}%)</span>"
}%%TMPL:END%
%{
}%

%{
}%
%TMPL:DEF{"sidebar"}%%DBCALL{"Applications.BlogApp.RenderSideBar" SIDEBAR="BlogEntry"}%%TMPL:END%
%{
}%
This site is powered by FoswikiCopyright © 2002-2024 by contributors to Wasserstoff-Fahrer Forum ImpressumDatenschutz  Feedback
This website is using cookies. More info. That's Fine