David Ansermot Web Developer / TYPO3 Integrator

31août/110

TYPO3 : Fix “InlineBox::GenericInlineBox()” bug pdf_generator2 0.21

After some month without posting on my blog (lot of work / things to do), I come back with a small patch for TYPO3's extension "pdf_generator2".

To fix the blank pdf generation error, open the file ./typo3conf/ext/pdf_generator2/html2ps/box.inline.php
Insert the line in the constructor "function GenericInlineBox()".

  1. parent::GenericContainerBox();

Hope it helped you :)

18avr/110

TYPO3 – Change files/images upload limit

Today I'll explain how to change the limit for files, images and other medias upload.

To do the trick, you have multiple changes to make.

13avr/110

TYPO3 – Get content element from extension code

I've not wrote something from long time, so today I give you a little snippet.
If you have to use in your extension a content element from another page, you can use this function to get it from it's uid :

  1. function loadContentElement($uid) {
  2.  
  3.         $conf = array(
  4.                 'tables' => 'tt_content',
  5.                 'source' => $uid,
  6.                 'dontCheckPid' => 1,
  7.         );
  8.  
  9.         return $this->cObj->RECORDS($conf);
  10. }
24fév/110

TYPO3 – Clear cache tips

I made this small post to put together all the "tips" I know about TYPO3 clearing cache. All tips are TypoScript config lines. No customization or extensions.
Here we go.

10fév/110

TYPO3 – Clean way to manage cache of your plugins

Today I want to share with you my way to manage cache of my frontend plugins.
I always implement the TypoScript option "no_cache" by this way.