BlogEntryEditTemplate
Editor for BlogEntries

%REVINFO{ " $date - $hour:$min " rev=" IF{ "%NATMAXREV%!=%CURREV%" then="%CURREV%" }: Syntax error in '%NATMAXREV%!=%CURREV%' at '%NATMAXREV%!=%CURREV%' " topic="Applications/BlogApp.BlogEntryEditTemplate" }% | Version 1 |

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

%{
}%
%TMPL:DEF{"permissionstab::message"}%%IF{"'%WEB%.%TOPIC%'/State='unpublished'"
   then="<div class='foswikiInfoMessage'>%MAKETEXT{"Permission settings temporarily disabled as this posting is currently unpublished."}%</div>"
   else="<div class='foswikiErrorMessage'>%MAKETEXT{"Warning: Incompatible permission settings detected. Use the =Edit settings= dialog to change the ACLs."}%</div>"
}%%TMPL:END%
%{
}%

%{
}%
%TMPL:DEF{"editfields"}%TopicTitle, Summary, Author%TMPL:END%
%{
}%

%{
}%
%TMPL:DEF{"formfields"}%%{}%
%TMPL:P{"publicationtab"}% 
%TMPL:P{"categoriestab"}% 
%TMPL:P{"tagstab"}% 
%TMPL:P{"seotab"}% 
%TMPL:P{"accesscontrol"}%
%{}%%TMPL:END%
%{
}%

%{
}%
%TMPL:DEF{"accesscontrol"}%%{}%
%SETVAR{field="State" matches="unpublished" var="ALLOWTOPICVIEW" type="Set" value="$percntFORMATLIST{\"BlogAuthorGroup,$percntFORMFIELD{\"Author\"}$percnt, $percntWIKINAME$percnt\"}$percnt"}%
%UNSETVAR{field="State" matches="published" var="ALLOWTOPICVIEW"}%
%{}%%TMPL:END%
%{
}%

%{
}%
%TMPL:DEF{"publicationtab"}%<!-- -->
%TAB{"%TRANSLATE{"Publication"}%"}%
%RENDERFOREDIT{"%BASEWEB%.%BASETOPIC%"
  form="%TMPL:P{"formdefinition"}%"
  fields="State, PublishDate, UnpublishDate, Sticky"
  PublishDate_title="%TRANSLATE{"Publish Date"}%"
  UnpublishDate_title="%TRANSLATE{"Unpublish Date"}%"
  State_title="%TRANSLATE{"State"}%"
  Sticky_title="%TRANSLATE{"Sticky"}%"
}%
%ENDTAB%
<!-- -->%TMPL:END%
%{
}%
Warning: Can't find topic Applications/BlogApp.WebLeftBarExample

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback