CoreCommunity ExtensionsDistributionsFeature-RequestsTYPO3 6.2 Projects (+)(Archived Projects)

Feature #8347

Make default Gravatar configurable

Added by Felix Nagel over 5 years ago. Updated over 3 years ago.

Status:New Start date:2010-06-18
Priority:Should have Due date:
Assigned To:- % Done:


Target version:- Estimated time:0.25 hour


This patch is for t3blog version 0.9.1

Change line 272 of file pi1\widgets\blogList\class.blogList.php from:

$default     = t3lib_div::locationHeaderUrl(t3lib_extMgm::siteRelPath($this->extKey). 'icons/gravatar.png');


$default = ($this->conf['gravatarDefaultIcon']) ? t3lib_div::getIndpEnv('TYPO3_SITE_URL') . $this->conf['gravatarDefaultIcon'] : t3lib_div::locationHeaderUrl(t3lib_extMgm::siteRelPath($this->extKey). 'icons/nopic_50_f.jpg');


plugin.tx_t3blog_pi1.blogList.gravatarDefaultIcon = fileadmin/templates/xyz/gravatar.jpg

8347.diff Magnifier (1.5 kB) Dmitry Dulepov, 2010-08-04 15:50

0007-added-default-Gravatar-picture-see-http-forge.typo3..patch Magnifier (1.9 kB) Felix Nagel, 2012-06-10 01:26

Associated revisions

Revision 9297
Added by Franz Holzinger over 7 years ago

  • fix bug 7930: return the resulting selected array in the methods buildStaticInfoSelector and optionsConstructor
  • new method needsInit which tells if the object has already been initialised
  • fix bug 8347: Vorarlberg is correct for VB in Austria
  • fix bug 8594: no default zone must be used if it does not fit to the default country


#1 Updated by Dmitry Dulepov about 5 years ago

  • File 8347.diffMagnifier added
  • % Done changed from 0 to 10

Gravatars are used in several places. Attached is a work in progress, not the final patch.

#2 Updated by Felix Nagel about 5 years ago

We should add the TS to the pi1\widgets\blogList\setup.txt and to the documentation.

#3 Updated by Dmitry Dulepov over 4 years ago

Btw, using t3lib_div::getIndpEnv('TYPO3_SITE_URL') . $this->conf['gravatarDefaultIcon'] is wrong because $this->conf['gravatarDefaultIcon'] may have a host part already (CDN host, for example). Such concatenations should never be used. t3lib_div::locationHeaderUrl() takes care of such cases.

Also available in: Atom PDF