Archive for November, 2008

TYPO3: Howto have a field for different CSS class for each content

Friday, November 28th, 2008


If you want to specify a CSS class for each TYPO3 content (example: TEXT with IMAGE),

you can add a new filed "Class" that will allow you to set the CSS class.

Instructions:

Add the following lines to your typoscript (setup)

#[globalVar = TSFE:field|tx_modulis_ttcontent_class > 0]
tt_content.stdWrap.dataWrap =  <a name="{field:uid}"></a><div class="{field:tx_modulis_ttcontent_class}">|</div>
#[global]

You can uncomment first and last line to make sure that the CSS class will only be outputed if non empty.

Add the following Database column to the table tt_content:

It can be done with phpmyadmin or the kickstarter.

tx_modulis_ttcontent_class (type tinytext)

Add the following to file typo3conf/ext_tables.php:

$tempColumns = Array ( "tx_modulis_ttcontent_class" => Array ( "exclude" => 1, "label" => "Class", "config" => Array ( "type" => "input", "size" => "30", "default" => "tt_content", ) ), ); t3lib_div::loadTCA("tt_content"); t3lib_extMgm::addTCAcolumns("tt_content",$tempColumns,1); t3lib_extMgm::addToAllTCAtypes("tt_content","tx_modulis_ttcontent_class;;;;1-1-1");
Clear all caches and you're done !

Google partners up with T-Mobile, releases phone with PC features

Thursday, November 27th, 2008

There has always been a competition between Apple and Google, especially in terms of looks and design. For instance, Google’s new web browser, Google Chrome, seriously emphasizes design and its sleak lines are similar to the design approached by Apple on its web site.

Today, as part of the series “Open Source Browser, Paid-for Mobile”, Google and T-Mobile — a German mobile network company — have released their first mobile telephone with PC features, called the T-Mobile G1.

T-Mobile G1: operating system, features, price

The T-Mobile G1 from Google - T-Mobile collaboration team comes with pre-installed Android software platform and operating system for mobile devices.

The only thing free in this entire equation is the fact that Google Android is based on the Linux OS and that it was developed by the Open Handset Alliance. Other than that, you’d still have to pay some $179 for a T-Mobile G1.

As for the features, the T-Mobile G1 comes bundled up with a 3 megapixel camera, has a wide color touch screen which you can slide in order to reveal the G1 keyboard, and also includes a pre-installed Internet browser.

T-Mobile representatives have said that the G1 will have an autonomy of 5h of talk time and 130h in stand-by mode.

Manufactured in Taiwan, the G1 mobile phone will be available at the begining of the next year in Europe, while the North-American market being able to sell it as early as October the 22nd, 2008.

Opinions on the T-Mobile G1 mobile phone

Google Products President and co-founder Larry Page stated at a product news conference in New York that the new T-Mobile G1 “is as good a computer as you had a few years ago” and that the Android software will be provided for free along with the mobile phone, in an attempt to persuade mobile phone companies to use the Android as their software platform.

Cole Brodman, chief technology and innovation officer of T-Mobile USA, said that “frankly this device will have mass appeal” especially because of its design and of its functionalities. He also noticed that Americans are not eager to embrace the mobile web technology and that the American market is well behind other markets: “Consumers have a desire to connect, but they haven’t found the mobile Internet very compelling,” outlining that only 16% of American mobile users go online using their phones.

Moreover, other key-people have stated that the T-Mobile G1 will be able to function on both G3 and older mobile networks, and that it will be delivered with GPS, Wi-Fi and BlueTooth connections.