Posted on January 6, 2009Maarten
Yslow tells you to put your javascripts at the bottom of your pages. Normally when you include your JS files TYPO3 puts them in your head by default. To fix this you can easily:
Old style:
page.includeJS.file1 = file.js
Solution:
page.20 < lib.javascript
lib.javascript = HTML
lib.javascript.value = <script type="text/javascript" src="file.js"></script>
Note:
In this example I take it your content is in page.10
If you already use page.20 than just take a higher value.
It’s not posible (as far as I know) to put the default js at the bottom, this is core stuff.
Posted on January 4, 2009Maarten
The TYPO3 clipboard is a very handy tool but you rarely use all 4 of them. Also, when you logout the content is gone. Both these things can be fixed by a little TSConfig:
## Makes sure the clipboard doesn't clear:
options.saveClipboard = 1
## Reduces the amount of clipboards from 4 to 1:
options.clipboardNumberPads = 1
If ANYONE know how to use copy as default instead of move a comment is highly appreciated!
Posted on January 3, 2009Maarten
This makes sure tt_news never displays duplicate news items on the same page. Put this is your typoscript setup:
plugin.tt_news {
excludeAlreadyDisplayedNews = 1
}
This can be usefull when you have multiple news plugins on one page, like latest and list.
Posted on January 2, 2009Maarten
Since I decided to continue writing in last post I also wanted a new design. Last design was really nice but way to confusing and not compatible with widgets.
So… Here it is!
Thanks to mg12 from neoease for this nice new theme. I personally think it’s clean and very organized. Hope you like it:)
With the new design I also put a single google ad in the upper right corner, right under our own logo. Just for supporting this blog.
Posted on December 15, 2008Maarten
The default loginbox shows you a form to logout as a FE-user. If you’d like a menu button instead you can use to following method:
1) Create a new page – choose pagetype External URL
2) Use to following URL: www.YOURURL.com/index.php?id=YOUR-HOMEPAGE-ID&logintype=logout
Posted on December 10, 2008Maarten
Default settings of the HTMLArea RTE do not allow you to create new folders or upload files to the fileadmin. 2 simple TSConfig lines can enable this.
For your convenience:
## Enable upload field
options.uploadFieldsInTopOfEB = 1
## Enable folder create
options.createFoldersInEB = 1
Check out the screenshot:
Read more…