Very short HOWTO: LAMP on Fedora 17 (eg for TYPO3)

yum install httpd php php-common mysql mysql-server php-pecl-apc php-cli php-pear php-pdo php-mysql php-pecl-memcache php-pecl-memcached php-gd php-mbstring php-mcrypt php-xml phpmyadmin php-pear php-devel ImageMagick php-pecl-imagick php-bcmath

service httpd start

service mysqld start

chkconfig –levels 235 httpd on

chkconfig –levels 235 mysqld on

Typo3: Add string to headerData in Extension

$GLOBALS[‘TSFE’]->additionalHeaderData[$extKey] = “<title>Page title</title>”;

Typo3: Change page title to tt_news title

If we are on a tt_news detail view page, we want to display the tt_news title in the page title.
In this case, the page title is stored in page.headerData.100.

[globalVar = GP:tx_ttnews|tt_news > 0]
page.headerData.100.field =

temp.newsTitel = COA
temp.newsTitel {
wrap =
5 = RECORDS
5 {
source = {GPvar:tx_ttnews|tt_news}
source.insertData = 1
tables = tt_news
conf.tt_news >
conf.tt_news = TEXT
conf.tt_news.field=title
}
}

page.headerData.100 < temp.newsTitel
[global]

Very short HOWTO: LAMP on Ubuntu 10.10 for Typo3

apt-get install apache2 php5 libapache2-mod-php5 mysql-server libapache2-mod-auth-mysql php5-mysql phpmyadmin php-pear php5-dev imagemagick libmagickwand-dev

HOWTO: Install ImageMagick (IMagick) for PHP on Ubuntu

If you don’t have it installed already, install PEAR:

# sudo apt-get install php-pear

Install the Imagick packets:

# sudo apt-get install imagemagick libmagickwand-dev

If you don’t have the PHP5 development packet on your server, you maybe also need to install the following packet:

# sudo apt-get install php5-dev

Now we can install Imagick via PECL:

# sudo pecl install imagick

At this point we have to tell PHP to use Imagick. We can achieve this by putting the following line in the php.ini config file. Just put it at the end of the file. Mine is located at /etc/php5/apache2/php.ini.

extension=imagick.so

We’re nearly done. Restart your Apache2 server now:

/etc/init.d/apache2 restart

That’s it! 😉

TYPO3: Setting XHTML 1.1 DOCTYPE

How to change the DocType in the TYPO3 template setup.

config.doctype = xhtml_11
config.xhtmlDoctype = xhtml_11
config.xmlprologue = none
config.xhtml_cleaning = all

The DOCTYPE can be set to these values:

xhtml_trans (XHTML 1.0 Transitional doctype)
xhtml_frames(XHTML 1.0 Frameset doctype)
xhtml_strict (XHTML 1.0 Strict doctype)
xhtml_basic (XHTML basic doctype)
xhtml_11 (XHTML 1.1 doctype)
xhtml_2 (XHTML 2 doctype)
none (NO doctype at all)

The XML prologue can be set to these values:

xml_10 (XML 1.0 prologue)
xml_11 (XML 1.1 prologue)
none (the default XML prologue is not set)

The XHTML cleaning can be enabled by the following values:

all (the content is always processed before it may be stored in cache)
cached (only if the page is put into the cache)
output (only the output code just before it’s echoed out)

Typo3 Backend Sprache auf Deutsch stellen

Ext Manager > Translation handling:
Im Feld “Translation settings” bei Languages to fetch: Deutsch – [German] auswählen.
Auf den Button “update from responitory” klicken.

User Settings > Personal Data
Deutsch [German] auswählen, und auf “Save Configuration” klicken.