CAT | typo3
Currently I’m investigating micro sites using TYPO3. Looks promising… I am actually pretty excited about this and will be posting more on this most likely!
[update] Well, the first micro site is in the air! Check it at http://www.kindle-bookreader.com and make the cash flow
Weel – it took a while to achieve this through all other work, but we finished it enough to have it launced: Stylence – for internet and TYPO3 development in style! There is a lot to improve. But you have to start in order to improve right?!
This disables the Doc Module for users and its upload feature (leaving you with the browse folder to have it go to the filelist immediately).
options.disableDocModuleInAB = 1
setup.override.edit_docModuleUpload = 1
17
Defining a first, middle and last content element in one column using TypoScript
0 Comments | Posted by henjo in css, design, typo3, usabillity
Ever needed to use a different class for a first element in a column? And a specific one for the middle elements and – making it the royal treat – one for the last element as well?
I have been wondering about this for a while – tested some stuff here and there and finally I came up with this solution. I hope it will be helpful to you in one of your projects as well!
tt_content.stdWrap.outerWrap = |<div style="display:none;"></div>
lib.contentBar = COA
lib.contentBar {
10 < styles.content.get
stdWrap.split {
token = <div style="display:none;"></div>
cObjNum = 1||2 |*| 3||4 |*| 5||6
1.current = 1
1.wrap = <div class="first">|</div>
2.current = 1
2.wrap = <div class="middle">|</div>
3.current = 1
3.wrap = <div class="middle">|</div>
4.current = 1
4.wrap = <div class="middle">|</div>
5.current = 1
5.wrap = <div class="last">|</div>
6.current = 1
}
}
Questions? Leave a reply!
Have a better solution? Leave a reply, please!
I especially do not like the splitter part, because of the extra code. I used ###SPLITTER### at first, but that left me with a ###SPLITTER### marker on the pages I didn’t use the replacement…
There must be a better way – so please!
10
Giving every Content Element a different (unique) class in TYPO3
0 Comments | Posted by henjo in (x)html, design, typo3
So… maybe you are like me: you have a design done by somebody who makes it a hell of a job to get it working nicely in TYPO3. For a certain page you need to use every content element in one column to have a specific class that is unique.
Search no longer! Take the code and enjoy!
contentNormal < styles.content.get
contentNormal.renderObj.stdWrap.dataWrap = <div class="contentNormal-{cObj:parentRecordNumber}">|</div>
See this link…
Mmm.. just upgraded wordpress to version 2.5. I must say I am impressed. It is as if you can’t do it wrong!
Once you just overwritten every possible file (…) I went to check my plugins page and saw it is possible to have it automatically install your updates (if available)… Neat.
Writing this: TYPO3 offers this for a long time already! The way WP set up it’s backend skin makes it look all smooth and nice.
If you find a bug on this site after this upgrade… let me know!
Sometimes it is handy to be able to leave a Sysfolder in the branch where users have access to. In order to hide these sysfolders from them though (’cause mainly it’ll be technical reasons) you can use the following TS in the user or usergroup TSConfig:
<code>
options.hideRecords.pages = (id of the page)
</code>
It’ll do the trick!
You are wondering when you would like to use it? For example with TemplaVoila and the DAM module.
Some download links…
http://heanet.dl.sourceforge.net/sourceforge/typo3/typo3_src-4.2.2.tar.gz
http://heanet.dl.sourceforge.net/sourceforge/typo3/dummy-4.2.2.tar.gz
tar -xzvpf typo3_src-4.1.5.tar.gz
tar -xzvpf dummy_src-4.1.5.tar.gz
chmod -R ugo+rwx fileadmin/ typo3/ext/ typo3conf/ uploads/ typo3temp/
touch typo3conf/ENABLE_INSTALL_TOOL
15
Header images in Typo3, the nice way…
0 Comments | Posted by henjo in design, typo3, usabillity
I have been wondering a while on how to set headerimages in a nice way to Typo3 pages. After some searching and “workarounds”, this is where I have ended (for now…
)
# Image from the page properties temp.headerImage = IMAGE temp.headerImage { file.import = uploads/media/ file.import.data = levelmedia:-1, slide file.import.listNum=0 }
Read more in it here:
http://www.rggooglemap.com/en/dev/mpossnewsheader.html
http://www.mcuniverse.com/Changing-Section-Pictures.193.0.html
http://typo3.org/documentation/document-library/core-documentation/doc_core_tsbyex/0.0.16/view/6/2/
Basecamp
Get me at Technoratie
Typo3










