Difference: BlogPostViewTemplate (2 vs. 3)

Revision 310 May 2013 - TWikiAdminUser

Line: 1 to 1
 %TMPL:INCLUDE{"view"}%

%TMPL:DEF{"postinfo"}%%MAKETEXT{"[_1] by [_2] in [_3]" args="%REVINFO{rev="1" format="$date - $time"}%, %SEARCH{"%FORMFIELD{"Author"}%" web="%MAINWEB%" scope="topic" topic="%FORMFIELD{"Author"}%" nonoise="on" format="[[$web.$topic][$formfield(FirstName) $formfield(LastName)]]"}%, [[%SCRIPTURL{view}%/%BASEWEB%/BlogPost?category=%FORMFIELD{"Category"}%][%FORMFIELD{"Category"}%]]"}%%TMPL:END%
Added:
>
>
<--
Hacked to make the (TWiki version 4) PersonalInfoAddOn automatically use the picture uploaded by users to their TWiki version 5.1 / PatternSkin home page.
The motivation is that the BlogAddOn uses the PersonalInfoAddOn to scale & render the user's picture beside their Blog entries.
The change involves editing the PersonalInfoAddOn & BlogAddOn TWiki ML to use the %META:FIELD{name="Image" ...}% metadata in the users home topic in 
place of the %META:FIELD{name="Picture" ...}% metadata as originally configured.
The original file is saved as .orig.
T.Crane, Fri May 10 16:51:04 BST 2013.
-->
  %TMPL:DEF{"picture"}%
%INCLUDE{"Public.PersonalInfoLayoutModules" section="image" imgWeb="Public" imgTopic=""
Changed:
<
<
imgName="" imgWidth="80"}%
<--/twikiLeft twikiImage-->
%TMPL:END%
>
>
imgName="" imgWidth="80"}%
<--/twikiLeft twikiImage-->
%TMPL:END%
 

%TMPL:DEF{"content"}%

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding RHUL Physics Department TWiki? Send feedback