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 | |||||||
%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"}% |