Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
TYPO3 Extension Development

You're reading from   TYPO3 Extension Development

Arrow left icon
Product type Paperback
Published in Sep 2008
Publisher
ISBN-13 9781847192127
Length 232 pages
Edition Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Dmitry Dulepov Dmitry Dulepov
Author Profile Icon Dmitry Dulepov
Dmitry Dulepov
Arrow right icon
View More author details
Toc

Adjusting Extensions


After generation, we will make adjustments to our generated extension according to our needs.

Clean Up

Firstly, if we are sure that we generated the extension correctly, we should go and remove two files named wizard_form.dat and wizard_form.html from the doc/ subdirectory. These files contain Kickstarter information. It is possible to use Kickstarter to reconfigure extension. However, any manual changes in files will be completely lost.

Changing Fields

The next thing to do is to change tca.php to remove limits from the integer fields. The following lines should be removed from both the generated tables in the hits column:

'range' => array (
'upper' => '1000',
'lower' => '10'
),

Next, we update the fe_user field in both the tables, first_page and last_page in the first table, sesstat_uid and page_uid in the second table and minitems should be set to 1.

Now, we need to optimize SQL fields. We do so by changing ext_tables.sql. We will change fe_user, first_page...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image