| 16:47 |
freakynl |
hi, we had a hacker deface some websites. i set back some files from backup and now the index page is 'empty' (it's not really empty you get a blank page but it contains a lot of css, a bit of javascript but no content). any ideas? It's typo3 3.8 |
| 17:13 |
schabracke |
hey there! someone got experiencies with mm_forum? |
| 17:20 |
schabracke |
noone? |
| 17:23 |
Lind--- |
Hello guys. I want to use mysql_real_escape_string() in an extension I'm developing. It requires a mysql_connect in it. What's the TYPO3 function for the connection? |
| 18:36 |
erank |
Lind: $GLOBALS['TYPO3_DB'] contains your t3lib_DB object(http://typo3.org/fileadmin/typo3api-4.0.0/de/d07/classt3lib__DB.html) |
| 18:50 |
animan |
anyone knows how to disable title tag generation with TS? |
| 19:07 |
erank |
animan: what is it what you want to do? set your own title? or disable the entire tag? |
| 19:17 |
animan |
i wanted to disable that so i could add my custom one |
| 19:17 |
animan |
got it working now :) |
| 19:32 |
Lind--- |
How do I use mysql_real_escape_string() when developing TYPO3 extensions? I need the TYPO3 Connection variabel. |
| 19:41 |
erank |
Lind: $GLOBALS['TYPO3_DB'] contains your t3lib_DB object(http://typo3.org/fileadmin/typo3api-4.0.0/de/d07/classt3lib__DB.html) |
| 22:17 |
Fake51 |
hi, have a simple question: what's the typoscript for including pagecontent in the template? trying with a CONTENT element but not getting anything |
| 23:03 |
nkuttler |
Fake51: well, pastebin some code |
| 23:05 |
Fake51 |
http://pastebin.ca/1713654 |
| 23:06 |
Fake51 |
the last bit was a CONTENT before, using select to grab content from tt_content ... also no go |
| 23:08 |
nkuttler |
something like http://pastebin.ca/1713656 |
| 23:08 |
nkuttler |
colpos for left, right etc, see tsref |
| 23:09 |
nkuttler |
oh, and iirc you need to include css style content static as well |
| 23:10 |
nkuttler |
should be explained in any theming/template howto |
| 23:11 |
Fake51 |
I need to include extra stuff just to be able to output content from a page? |
| 23:13 |
Fake51 |
hmmm, probably the css style content thing, your pastie didn't solve it |
| 23:13 |
Fake51 |
thanks for the pointers :) |
| 23:13 |
nkuttler |
well, typoscript needs to get the content from somewhere. not sure about the technical details |
| 23:15 |
Fake51 |
sure, just figured that it was default that templates got content from pages ... |
| 23:16 |
nkuttler |
there's also table-based content etc |
| 23:16 |
nkuttler |
all pluggable |
| 23:18 |
Fake51 |
where would I create that in the backend? |
| 23:18 |
nkuttler |
what? |
| 23:20 |
Fake51 |
table-based content |
| 23:21 |
nkuttler |
include static, same as css based |
| 23:22 |
nkuttler |
but you don't want table based content. not since netscape 4 died |
| 23:24 |
Fake51 |
so, no matter where I want content from, I need to include extra stuff? |
| 23:24 |
nkuttler |
i would guess css styled content is for tt_content, but as i said i don't know all the details |
| 23:25 |
nkuttler |
for news from ttnews you include tt_news for example |
| 23:25 |
nkuttler |
yeah, most content types/plugin come with their own data sources as i understand it |
| 23:26 |
nkuttler |
makes sense. you don't need to include all importers everywhere on your site, create subtemplates etc |
| 23:26 |
Fake51 |
hmm, ok ... but this is barebones, just using what comes out of the box |
| 23:26 |
nkuttler |
i don't really understand what you mean. and i should go to bed.. |
| 23:27 |
Fake51 |
looks like I found it, was content (default) |
| 23:27 |
Fake51 |
thanks for the help, appreciated :) |
| 23:27 |
nkuttler |
hm, typo3 4.3? they might have renamed it |
| 23:28 |
Fake51 |
yeah, it's 4.3 |
| 23:28 |
Fake51 |
there's styles content default and content default ... including both, one of them does the trick |
| 23:29 |
nkuttler |
:) |