| 00:58 |
ries |
can i ascape a curly braket in TS? |
| 00:58 |
ries |
escape |
| 01:25 |
pgampe |
ries: you could write the special code (if any) or you could try to write text.value ( .... text ) (notice no equal sign) |
| 01:26 |
ries |
pgampe: I use insertData to insert data, and that is between curlies... |
| 01:26 |
ries |
so even if I put it within (), then it will not work |
| 01:36 |
pgampe |
hm, proberly there is not way :( at least I don't know what could be done about |
| 01:37 |
ries |
pgampe: I did split it for the moment |
| 01:40 |
pgampe |
that would be a way ... use COA and put curlies in a sperate text object ... ugly IMHO |
| 01:46 |
rosieres |
ironm: still there ? |
| 06:31 |
acasto |
this maybe a stupid question, but on the bug tracker what does it mean to give your +1 ? |
| 09:41 |
newbie |
salut |
| 09:41 |
Gera |
i am red) |
| 09:41 |
PiMB |
to much sun? |
| 09:42 |
Gera |
my nick background is red) |
| 09:42 |
Prot0 |
me too |
| 09:42 |
Prot0 |
i got sunburned at the office |
| 09:43 |
Prot0 |
(I am a programmer) |
| 09:43 |
Gera |
who wants go to sea? |
| 09:43 |
PiMB |
uv light from screen |
| 09:44 |
Prot0 |
;-) |
| 09:45 |
Gera |
PiMB: Prot0: Where do you live? |
| 09:45 |
Prot0 |
Vienna, Austria (work, not live) |
| 09:47 |
Gera |
Prot0: Come to Crimea to swim in the sea ) |
| 09:48 |
PiMB |
Rotterdam, Netherlands (work and live) |
| 09:48 |
PiMB |
go to northsea for swimming |
| 09:49 |
Gera |
)) |
| 09:49 |
PiMB |
and you? |
| 09:50 |
Gera |
simferopol, ukraine. Black Sea 22 degrees Celsius )) |
| 09:51 |
Gera |
simferopol - work. alushta - live |
| 09:53 |
Gera |
Who knows whether it is possible in typo3 make hooks? |
| 09:55 |
Gera |
if i use editicon in my extension, Can I attach an event(my function) when user Editing by editicon ??? |
| 10:01 |
Gera |
eheheyy. people.... |
| 10:01 |
Prot0 |
editicon? |
| 10:02 |
Gera |
yes |
| 10:02 |
Gera |
add pensil to edit content in fron page |
| 10:03 |
Gera |
function pi_getEditIcon($content,$fields,$title='',$row='',$tablename='',$oConf=array()) |
| 10:05 |
Prot0 |
cant say im familiar with that one |
| 10:05 |
PiMB |
me neither |
| 10:07 |
Prot0 |
Online example? |
| 10:08 |
Gera |
not understand what online example ? |
| 10:09 |
nkuttler |
hrm. i have something very odd here. a user owns a page and has full edit rights to it, can create content on that page, but can't edit it after that. any ideas? |
| 10:11 |
nkuttler |
there's only a single page where this happens btw |
| 10:11 |
Gera |
Prot0: do you used function pi_getEditIcon? |
| 10:11 |
Prot0 |
no I havent, but I've quite some experience with hooks :-) |
| 10:13 |
Gera |
where i can read about hooks? on how and where they can use? |
| 10:13 |
Prot0 |
http://sebastiaandejonge.com/articles/2010/february/kick-butt-with-hooks-in-typo3-and-extensions.html |
| 10:13 |
Prot0 |
what do you want change? |
| 10:14 |
Prot0 |
the data that is saved? |
| 10:16 |
Gera |
yes... |
| 10:18 |
Gera |
If new data are stored on a particular page, then I need to do to keep certain information from the database |
| 10:18 |
Gera |
in the database |
| 10:18 |
ironm |
Good morning - the quality of M$ products: http://www.wetter.ch/ - http://paste.phlogi.net/ms_oh_no |
| 10:19 |
Prot0 |
Gera: Theres a hook available for that :-) |
| 10:20 |
Gera |
Prot0: and how to use it? |
| 10:20 |
Prot0 |
$GLOBALS ['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] |
| 10:20 |
Prot0 |
read the article ;-) |
| 10:21 |
Prot0 |
not 100% sure that its also used in fe editing but i think so.. |
| 10:21 |
Prot0 |
edit icons should also call alt_doc.php |
| 10:21 |
Prot0 |
(at least documentation says so :] ) |
| 10:22 |
PiMB |
computer says no.. |
| 10:23 |
Gera |
PiMB: you have talking computer?) |
| 10:23 |
PiMB |
damn right I do |
| 10:24 |
Phlunk3 |
hi guys, has anyone ever experienced the debug() function not working? I have correct IP address in the install tool. Can't really think of anything else which may cause this. Is a site I had made already, just moved it to a different server/path. |
| 10:24 |
Phlunk3 |
talking computer, boring. come back when it dances. |
| 10:24 |
Prot0 |
indeed |
| 10:27 |
ironm |
Phlunk3: did you allowed in your browser popup-windows ? |
| 10:27 |
PiMB |
Phlunk3, used to do that, but I tied it down. Kept unplugging itself when it did the moonwalk, so now she's just complaining |
| 10:28 |
Phlunk3 |
browser can do popups, but the debug isnt set to use popups anyways. typo3 version 4.2.8 btw |
| 10:28 |
ironm |
allow |
| 10:28 |
PiMB |
Phlunk3, not really no. Maybe change the ip check to not check for your ip? |
| 10:28 |
ironm |
Phlunk3: I had it running with 4.3.3 |
| 10:28 |
PiMB |
and test if it works there? |
| 10:29 |
ironm |
what syntax do you use fot the debug() function Phlunk3 ? |
| 10:29 |
Phlunk3 |
u can disable ip checking u mean (without editing the php) or simply remove myself from the allow list? |
| 10:29 |
Phlunk3 |
simply debug($array,'header'); |
| 10:29 |
Phlunk3 |
t3lib_div::debug -- also doesnt work. |
| 10:39 |
neoneye |
typo3 4.3.x uses latin1_swedish_ci as it's default encoding. wouldn't it be better to set the default encoding to utf8 in the future? |
| 10:40 |
ironm |
neoneye: it is better to use utf8 if you plan to create multilanguage sites (like russian, chinese etc) |
| 10:40 |
xaver |
neoneye: Oo i set the database at start to utf-8 default -> all databases are UTF-8 |
| 10:40 |
neoneye |
I do that too |
| 10:41 |
xaver |
most server set latin... -> lall databases are latin,.. |
| 10:41 |
neoneye |
but I have seen quite a few typo3 installations that uses latin1_swedish_ci, despite that I live in denmark.. and the pages are served as utf8.. so the data stored in the database is encoded as utf8 |
| 10:42 |
neoneye |
which is wrong |
| 10:44 |
ironm |
neoneye: http://paste.phlogi.net/utf8_setting |
| 10:45 |
ironm |
this settin (latin1_swedish_ci) is just for sorting as far as I understood neoneye |
| 10:47 |
neoneye |
I'm thinking about changing some existing sites from using latin1 swedish to utf8.. |
| 10:47 |
neoneye |
but I try not to think of the consequences :-p |
| 10:48 |
ironm |
never touch running system neoneye *g* |
| 10:49 |
ironm |
if you don't have real reason to do it neoneye ;) |
| 10:50 |
neoneye |
changing the defualt encoding of typo3 would help a lot of people I believe |
| 10:50 |
neoneye |
default |
| 10:51 |
ironm |
neoneye: it is also a question the default setting of the MySQL database .. and this one is latin1_swedish_ci currently |
| 10:52 |
neoneye |
and since typo3 originated in denmark.. it makes no sense to use swedish encoding.. denmark was long time ago at war with the swedish |
| 10:52 |
ironm |
+of |
| 10:52 |
ironm |
*ggg* |
| 10:53 |
neoneye |
it's like chosing french encoding in a british cms sytem |
| 10:55 |
Gera |
Prot0: it is your site ?) |
| 10:55 |
Prot0 |
Y |
| 10:55 |
Gera |
do you know drupal? |
| 10:56 |
nkuttler |
neoneye: what's french encoding? |
| 10:56 |
nkuttler |
oh, still using latin, i see |
| 10:56 |
StaffanE |
neoneye: danish is a poor excuse for a language - swedish is a great language and MySQL orginates from Sweden (one of the reason it can handle lots of encodings) |
| 10:57 |
neoneye |
on my own sites I use utf8.. but at work I see lots of latin1 installations |
| 10:57 |
StaffanE |
latin1_swedish_ci only differs in sorting |
| 10:57 |
StaffanE |
You need diffrent sorting for diffrent languages |
| 10:57 |
neoneye |
do you happen to be from sweden? :-) |
| 10:58 |
ironm |
neoneye: it looks like you make a small mental mistake .. the default of mysql is swedish ..... NOT the default of typo3 |
| 10:58 |
nkuttler |
neoneye: http://typo3.org/extensions/repository/view/convert2utf8/1.0.6/ might help |
| 10:58 |
Prot0 |
Gera: Yes, I know Drupal, but no real big experience with it :-) |
| 10:58 |
neoneye |
nkuttler: handy.. thanks |
| 10:59 |
Gera |
Prot0: a very convenient system) |
| 11:00 |
Prot0 |
i think that depends on what you are used to |
| 11:00 |
ironm |
guys! .. is one of you using or testing typo3 4.4 beta3 already? |
| 11:00 |
Prot0 |
ironm: yes |
| 11:00 |
Prot0 |
a little |
| 11:00 |
ironm |
can you send testmail from the install tool Prot0 ? |
| 11:01 |
Prot0 |
ill try, but its running on localhost |
| 11:01 |
Prot0 |
:) |
| 11:01 |
Prot0 |
(mac os x) |
| 11:01 |
StaffanE |
neoneye: guilty as charged |
| 11:01 |
PiMB |
actually installing it as we speakl |
| 11:02 |
ironm |
Prot0: I guess it doesn't matter .. and I guess it will not work ;) |
| 11:02 |
Prot0 |
yes I can, it does work |
| 11:02 |
Prot0 |
both plain and html work fine |
| 11:03 |
ironm |
typo3 4.4 beta3 ? @ Prot0 |
| 11:03 |
Prot0 |
yes |
| 11:03 |
neoneye |
StaffanE: damn you! :-) |
| 11:03 |
ironm |
hmm :( |
| 11:03 |
Prot0 |
"TYPO3 4.4.0beta3 Install Tool on site:" |
| 11:05 |
ironm |
Prot0: strange .. I am getting such errors in the logfile: |
| 11:05 |
ironm |
--- |
| 11:05 |
ironm |
15-06-10 21:13 - Core: Mail to "" could not be sent (Subject: "TEST SUBJECT"). |
| 11:05 |
ironm |
15-06-10 23:49 - Core: Mail to "" could not be sent (Subject: "Ihr neues Passwort"). |
| 11:05 |
ironm |
--- |
| 11:05 |
ironm |
even I put the address in the insall tool @ Prot0 |
| 11:05 |
ironm |
or just try to use the "forgotten password" function |
| 11:05 |
PiMB |
ironm, and the server is capable of mailing? |
| 11:06 |
PiMB |
like create a small php file with a mail function? |
| 11:06 |
ironm |
and it works with typo3 4.3.3 on the same server @ Prot0 / PiMB |
| 11:06 |
Prot0 |
ironm: tried switching to different source on the exact same installation? |
| 11:07 |
ironm |
PiMB: yes .. I should try to create such small php file with the mail() function |
| 11:07 |
StaffanE |
ironm: yes - been running 4.4b2 and b3 for a while now |
| 11:07 |
ironm |
thank you very much for your info StaffanE / PiMB / Prot0 .. it looks like I make some config mistake somewhere |
| 11:08 |
ironm |
how do you mean that Prot0 ? |
| 11:09 |
Prot0 |
on the site that isn't working, switch between sources (if possible) perhaps you have made indeed a configuration error or something |
| 11:09 |
ironm |
Prot0: I use separate config files for 4.4b3 and 4.3.3 (like apache.conf / apache-ssl.conf / localconf.php) and switch of course the links from sites-available |
| 11:09 |
Prot0 |
ah ok :-) |
| 11:09 |
Prot0 |
well |
| 11:09 |
Prot0 |
happy debuggin then ;-) |
| 11:10 |
ironm |
any hints about the syntax of debug() ? æ Prot0 |
| 11:10 |
ironm |
thank you :) |
| 11:10 |
StaffanE |
where I run 4.4b3 is an really old site. First install was something like 3.5 |
| 11:11 |
Prot0 |
cool |
| 11:11 |
ironm |
well .. but if you are able to send the testmail from the install tool that means that my config is somehow wrong @ StaffanE |
| 11:11 |
Prot0 |
runs fluenly? |
| 11:12 |
Prot0 |
t3lib_div::debug() ? |
| 11:12 |
ironm |
I need an example Prot0 .. |
| 11:12 |
Prot0 |
t3lib_div::debug($myVar); |
| 11:12 |
ironm |
what to put insinde the brackets |
| 11:12 |
ironm |
I see .. merci ! :-) |
| 11:12 |
Prot0 |
;-) |
| 11:13 |
StaffanE |
Prot0: it is just an archive site for the moment. I just keep it up and running for historical reasons. The web crew switched to Wordpress (I don't understand why) |
| 11:13 |
Prot0 |
ironm: if you need help with function syntax i suggest: http://www.typo3-unleashed.net/typo3apidocs/typo3api_4.3.0/html/index.html |
| 11:13 |
ironm |
StaffanE: I guess it is much more easy for them .. well . I don't know wordpress myself *g* |
| 11:14 |
ironm |
great Prot0 ... thanks a lot! :) |
| 11:14 |
Prot0 |
TYPO3 -> Wordpress? Isnt that like a downgrade? |
| 11:14 |
Prot0 |
:D |
| 11:14 |
Prot0 |
(no offense to wordpress, its good for simple stuff.. just not nearly as dynamic as T3) |
| 11:15 |
StaffanE |
Prot0: Wordpress has a nice GUI - TYPO3 used to have a horrible one |
| 11:15 |
ironm |
http://bugs.typo3.org/view.php?id=14741 |
| 11:16 |
ironm |
StaffanE: is wordpress a typo3 extension? .. or a standalone CMS? |
| 11:17 |
StaffanE |
ironm: standalone blog tool |
| 11:17 |
StaffanE |
ironm: wordpress.org |
| 11:17 |
ironm |
merci StaffanE :) |
| 11:17 |
Prot0 |
but used as "CMS" by some :-) |
| 11:17 |
Prot0 |
StaffanE: True, but that's changing now :-) luckily.. |
| 11:18 |
StaffanE |
Prot0: Yes, can be used as an CMS for a small site... |
| 11:18 |
StaffanE |
timtab is pretty decent blog tool in TYPO3 |
| 11:19 |
Prot0 |
maybe I will check that out, currently using tt_news |
| 11:19 |
Prot0 |
working on a new version of my blog :) |
| 11:23 |
Gera |
who speak russian ??? |
| 11:23 |
Gera |
or who read russian ? )) |
| 11:23 |
StaffanE |
Prot0: timtab is an extension that uses tt_news, comments and categories to present a blog |
| 11:23 |
StaffanE |
Gera: njet |
| 11:24 |
Gera |
StaffanE: what? |
| 11:24 |
ironm |
Gera: me a bit |
| 11:24 |
ironm |
kak delo Gera ? |
| 11:24 |
Gera |
E>B5;>AL 1K GB>1K :B>-B> 3>2>@8; ?> @CAA:8 >G5=L E>@>H>) |
| 11:24 |
Gera |
ironm: E>@>H>. 0 C B51O?) |
| 11:25 |
StaffanE |
Gera: No, I don't speak nor write russian |
| 11:25 |
ironm |
spasiba Gera :) |
| 11:25 |
StaffanE |
Gera: 5B, O =5 3>2>@N, =8 ?8A0BL @CAA:89 |
| 11:25 |
StaffanE |
google translate is da shit |
| 11:25 |
proserion |
Hello again t3'ers. small question: If i Copy a Content it always is inverted when I paste it. Are there any solutions out there? Gera: ??? ?????????? ???????? ?????, ??? ??????, ????? ????? ??????? ????? ??????, ???? ?? ????? ??? Typo3 ? ?? |
| 11:25 |
proserion |
hoops |
| 11:25 |
ironm |
what is your question Gera ? |
| 11:25 |
proserion |
I hate uni-code |
| 11:26 |
Gera |
ironm: i have problem with function pi_getEditIcon |
| 11:26 |
ironm |
why do you hate uni-code proserion ? |
| 11:27 |
ironm |
Gera: what does it have to do with russian? |
| 11:28 |
Gera |
ironm: speaking, to me it was easier to explain my problem )) |
| 11:28 |
Gera |
I do not know much English ( |
| 11:29 |
ironm |
well ... I see .. the point is I don't know too much about pi_get_EditIcon :/ @ Gera |
| 11:39 |
Phlunk3 |
is anyone familiar with sr_feuser_register and knows why dmailcheckeduponregistration option exists? was not sure if the handling of these mail checkboxes could be used for other types, or if its simply hardcoded for directmail. |
| 11:39 |
Gera |
Prot0: i do not understang how to make hooks for saved data (( |
| 11:40 |
ironm |
Phlunk3: directmail is another extension . does'nt have directly anything to do with feuser_register |
| 11:41 |
Prot0 |
You should create a seperate PHP class/file inside your extension |
| 11:42 |
Prot0 |
and put the following line in your extension ext_localconf.php |
| 11:42 |
Prot0 |
$GLOBALS ['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = 'EXT:your_extension/class.tx_yourextension_datamap.php:&tx_yourextension_datamap'; |
| 11:42 |
Prot0 |
(change your_extension and yourextension to the key/name of your extension) |
| 11:43 |
Prot0 |
after that you need to put 3 functions in that class |
| 11:43 |
Prot0 |
the will be called when data is saved into your database from record editing |
| 11:44 |
ironm |
Prot0 / PiMB : where should I see an output from t3lib_div::debug($to); ? .. there is no popup-Windows - setting in all_config: 127.0.0.1,::1,192.168.1.100 |
| 11:45 |
Prot0 |
it should be printed on the requested page |
| 11:45 |
Prot0 |
if your ip matches the devmask ip set in the install tool |
| 11:45 |
ironm |
Prot0: the requested page is the BE-page of the install tool |
| 11:45 |
Prot0 |
(or is that is disabled) |
| 11:45 |
ironm |
in this case ... |
| 11:46 |
ironm |
I have allowed pop-up windows in the browser |
| 11:54 |
proserion |
Would it be okay, to repeat my question? |
| 11:55 |
proserion |
If i Copy a Content it always is inverted when I paste it. I mean the records are sorted upsite down. |
| 11:56 |
Prot0 |
Sure |
| 12:00 |
ironm |
Prot0: can I place some constant text in the front of the debugged variable? ... like when using cc-debug? |
| 12:02 |
Prot0 |
dont know m8, dont use debug() so much |
| 12:02 |
Prot0 |
then again you can lookup the function if you want to know what it does |
| 12:02 |
Prot0 |
proserion: what do you mean with inverted? |
| 12:02 |
Prot0 |
ah |
| 12:02 |
Prot0 |
the sorting order? |
| 12:04 |
ironm |
hmm .. what does it mean to lookup a function? |
| 12:07 |
ironm |
Prot0: I got it: t3lib_div::debug('email: ',$email); |
| 12:07 |
Prot0 |
lol :-) |
| 12:08 |
Prot0 |
ironm: http://www.typo3-unleashed.net/typo3apidocs/typo3api_4.3.0/html/index.html |
| 12:08 |
Prot0 |
type in the right "debug" |
| 12:08 |
ironm |
for some reason t3lib_div::debug('to: ',$to); display an empty $to |
| 12:09 |
ironm |
Prot0: really nice explanation :) .. thank you !! |
| 12:21 |
randomresult |
hi there |
| 12:22 |
randomresult |
i want to add something after the body tag... like <body><mytag> |
| 12:22 |
randomresult |
any ideas how to do that with TS? |
| 12:23 |
randomresult |
cant do it with bodyTag for some reasons |
| 12:24 |
ironm |
PiMB StaffanE Prot0 : do you use php 5.3.2-1 with your typo3 4.4b[23] test installation? ..or still php 5.2? |
| 12:24 |
Prot0 |
5.2 |
| 12:24 |
ironm |
Prot0: well .. I use php 5.3.2-1 .. and php5-suhosin |
| 12:25 |
ironm |
Prot0: I am just debugging ... |
| 12:25 |
Prot0 |
5.2.11 |
| 12:25 |
teppi|work |
randomresult, couldn't you simply insert a marker at this place and replace it .. |
| 12:25 |
teppi|work |
? |
| 12:26 |
ironm |
for some reason $email has an empty value in /usr/share/typo3/typo3_src-4.4/t3lib/utility/class.t3lib_utility_mail.php |
| 12:26 |
randomresult |
teppi... yes |
| 12:27 |
randomresult |
i will add a TV-Field... but i thougt maybe it would be easier with TS |
| 12:27 |
ironm |
when I use "forgotten password" from login |
| 12:27 |
randomresult |
thx anyway |
| 12:30 |
Prot0 |
randomresult: http://typo3.org/documentation/document-library/references/doc_core_tsref/4.3.1/view/1/6/#id2515978 |
| 12:31 |
Prot0 |
tryed bodyTagCObject or bodyTagAdd? |
| 12:32 |
Prot0 |
or even page.1 = HTML .. |
| 12:54 |
Phlunk3 |
ironm dunno if it was already answered |
| 12:54 |
Phlunk3 |
but its debug($array,'header'); |
| 12:54 |
Phlunk3 |
and the header can't end with a number I believe. |
| 12:55 |
ironm |
thank you Phlunk3 :) ... I used like debug('header', $myVar); |
| 12:58 |
ironm |
Phlunk3: your version is the bette one .. the order of header and the content of the variable ist NOW the right one ;) |
| 12:59 |
ironm |
better one .. |
| 13:05 |
ironm |
how could I check why "$success = @mail($to, $subject, $messageBody, $additionalHeaders, $additionalParameters);" in http://paste.debian.net/77607/ fails? - the debug output shows the right content of variables needed to send the message |
| 13:07 |
Prot0 |
remove @ |
| 13:07 |
ironm |
I mean why @mail(...) delivers back FALSE |
| 13:07 |
Prot0 |
for starters |
| 13:07 |
Prot0 |
remove the @ in front of the mail function :) |
| 13:07 |
Prot0 |
if theres an error, it should at least shout it out then |
| 13:07 |
ironm |
hmm @ Prot0 .. it is the original code from typo3 4.4 b3 |
| 13:07 |
Prot0 |
i know |
| 13:07 |
ironm |
I see .. txn :) @ Prot0 |
| 13:08 |
Prot0 |
but it hides any errors you might receive |
| 13:08 |
ironm |
what is this "@" for there in the code? |
| 13:09 |
maslenka |
suppress error messages |
| 13:09 |
ironm |
thanks a lot maslenka :) |
| 13:13 |
ironm |
maslenka: I have removed this "@" in the front of mail(..) .. but don't see any errors on the page - is there a possibility using debug to redirect the possible errors of mail(..) to the page ? |
| 13:17 |
ironm |
Core: Error handler (FE): PHP Warning: mail(): SAFE MODE Restriction in effect. The fifth parameter is disabled in SAFE MODE in /usr/share/typo3/typo3_src-4.4/t3lib/utility/class.t3lib_utility_mail.php line 80 |
| 13:19 |
ironm |
it looks like typo3 4.4b3 is NOT comfortable with running php4-suhosin |
| 13:19 |
ironm |
ii php5-suhosin 0.9.31-1 advanced protection module for php5 |
| 13:19 |
maslenka |
its not designed for safe mode |
| 13:19 |
ironm |
debian typo3 packages use suhosin as dafault installation |
| 13:20 |
ironm |
default ... |
| 13:20 |
maslenka |
safe mode and suhosin are 2 different things |
| 13:20 |
ironm |
maslenka: OH .. I thought it is the same |
| 13:21 |
ironm |
how to switch the safe mode off? |
| 13:21 |
maslenka |
search php.ini |
| 13:21 |
ironm |
tnx maslenka :) |
| 13:25 |
ironm |
maslenka: I am not sure if the save_mode is switched off in my php.ini .. http://paste.debian.net/77610/ |
| 13:30 |
ironm |
PiMB / Prot0 / StaffanE : do you use the save_mode of PHP with typo3 4.4b3? |
| 13:32 |
Prot0 |
no |
| 13:34 |
PiMB |
nope |
| 13:35 |
StaffanE |
no |
| 13:36 |
ironm |
Prot0 / PiMB / StaffanE : It works now - after removing of the fifth parameter ("$additionalParameters") from $success = @mail($to, $subject, $messageBody, $additionalHeaders, $additionalParameters); |
| 13:36 |
PiMB |
then probably save_mode is on |
| 13:37 |
ironm |
PiMB: I mean to switched it off .. I am not sure if the save_mode is switched off in my php.ini .. http://paste.debian.net/77610/ |
| 13:39 |
ironm |
I didn't change the setting of php.ini .. |
| 13:48 |
Gera |
Prot0: i get error (( |
| 13:49 |
Gera |
|<strong>ERROR:</strong> No class named: tx_asbheader_pi1->myhook|Prot0: |
| 13:49 |
Gera |
Prot0: |<strong>ERROR:</strong> No class named: tx_asbheader_pi1->myhook| |
| 13:50 |
Gera |
it is in the ext_localconf.php : $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = 'EXT:asb_header/pi1/class.tx_asbheader_pi1.php:&tx_asbheader_pi1->myhook'; |
| 13:54 |
Gera |
path to my extansion script: typo3conf/ext/asb_header/pi1/class.tx_asbheader_pi1.php |
| 13:57 |
aterriblechaos |
Gera: you only need to specify the class name, no function name |
| 13:58 |
Gera |
and what function will then be run in my class? |
| 13:59 |
aterriblechaos |
you need a function named like the hook you want to use |
| 13:59 |
aterriblechaos |
for example function processDatamap_postProcessFieldArray |
| 14:00 |
zed_devil |
hi all |
| 14:01 |
Gera |
i must change $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] to $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass_myhook'][] ..... ???? |
| 14:01 |
aterriblechaos |
Gera no .. just change 'EXT:asb_header/pi1/class.tx_asbheader_pi1.php:&tx_asbheader_pi1->myhook'; to 'EXT:asb_header/pi1/class.tx_asbheader_pi1.php:&tx_asbheader_pi1'; and rename myhook in your class file to the hook you want to use |
| 14:03 |
zed_devil |
how can i set styles.content.imgtext.maxW = xx in the new templavoila "data processing" |
| 14:03 |
zed_devil |
isn't that possible |
| 14:05 |
Gera |
aterriblechaos: what hooks i can use ??? There is a list of available hooks? |
| 14:07 |
Prot0 |
there isnt |
| 14:07 |
Prot0 |
unfortunately |
| 14:07 |
aterriblechaos |
i dont know what you want to do Gera .. for hooks the only documentation i know is the code .. http://doc-typo3.ameos.com/4.1.0/class_8t3lib__tcemain_8php-source.html#l00523 |
| 14:07 |
Prot0 |
but this should do |
| 14:08 |
aterriblechaos |
zed_devil: set register: maxImageWidth in your data processing and do a restore register after |
| 14:09 |
Gera |
aterriblechaos: i must make write in the database when edited some record content |
| 14:09 |
zed_devil |
ok thx |
| 14:17 |
Gera |
ay |
| 14:19 |
Gera |
kuku |
| 14:22 |
Prot0 |
Gera: you need to define the following functions in your class |
| 14:22 |
Prot0 |
public function getMainFields_preProcess($s_table, $a_row, $o_parent) |
| 14:22 |
ironm |
Prot0 / PiMB / StaffanE : my fault .. my setting in: /etc/domain_comch/apache.conf: php_admin_value safe_mode on |
| 14:22 |
Prot0 |
public function processDatamap_preProcessFieldArray(&$a_fields, $s_table, $i_uid, &$o_parent) |
| 14:23 |
Prot0 |
public function processDatamap_postProcessFieldArray ($s_status, $s_table, $i_uid, &$a_fields, &$o_parent) |
| 14:23 |
ironm |
maslenka: my fault .. my setting in: /etc/domain_comch/apache.conf: php_admin_value safe_mode on |
| 14:23 |
Prot0 |
ironm: :-) so its working now? |
| 14:24 |
ironm |
Prot0: with only 4 parameters in mail(...) |
| 14:24 |
ironm |
Prot0: I will chage the apache.conf and try again with all 5 parameters of mail() |
| 14:25 |
ironm |
poeple from #php channel told me I shouldn't use the safe_mode anymore .. it is depreciated in php 5.3 .. |
| 14:25 |
ironm |
Prot0: ^^^ |
| 14:26 |
Prot0 |
:) |
| 14:31 |
maslenka |
finaly they agreed, that crippling language interface is not a way to force programmer to write secure code? :o |
| 14:31 |
Prot0 |
hehe |
| 14:42 |
Gera |
Prot0: how i must to know is called my hook?? if i write in my hook function echo 'it is HOOK!!!'; it will be displayed? |
| 14:43 |
Prot0 |
in theory yes |
| 14:44 |
Prot0 |
but since ext_localconf.php and ext_tables.php are cached on the file system, you need to clear the configuration cache if you make any changes there |
| 14:46 |
Gera |
function processDatamap_postProcessFieldArray($s_status, $s_table, $i_uid, &$a_fields, &$o_parent) { |
| 14:46 |
Gera |
echo '( HOOK!!!!!!! URA !!!!!!!!!!'; |
| 14:46 |
Gera |
} |
| 14:47 |
Gera |
it is not working |
| 14:49 |
Prot0 |
did you save any data? |
| 14:50 |
Gera |
yes |
| 14:50 |
Gera |
i click on the editicon and save |
| 14:51 |
Prot0 |
and when you save something in the backend |
| 14:51 |
Prot0 |
(save, not save and close) |
| 14:51 |
Gera |
yes yes |
| 14:53 |
Prot0 |
ok |
| 14:53 |
Prot0 |
perhaps the hook isnt called with front end editing |
| 14:54 |
Gera |
i got error when set the wrong name hook... then write right name and Now, nothing happens |
| 14:55 |
Prot0 |
in the FE? |
| 14:56 |
Gera |
yes |
| 14:59 |
nd___ |
hey guys |
| 14:59 |
nd___ |
I can't add FCEs with my normal user but can fine with my admin user... |
| 15:00 |
nd___ |
what's the exclude field or user ts or whatever I am missing? |
| 15:00 |
Prot0 |
so that would mean it's called |
| 15:01 |
Prot0 |
if you exit inside the hook? |
| 15:01 |
Prot0 |
nd___: did you set the be usergroup access properly? |
| 15:01 |
Prot0 |
+ page access |
| 15:01 |
Prot0 |
Web > Access |
| 15:01 |
nd___ |
Prot0: Probably not properly, that's why I'm ascing |
| 15:01 |
nd___ |
asking |
| 15:01 |
Prot0 |
:) |
| 15:02 |
Prot0 |
can you edit? |
| 15:02 |
nd___ |
I can add the FCE itself but I get no content and cannot add it |
| 15:02 |
nd___ |
I can edit them, yes |
| 15:02 |
zed_devil |
its in the non used elements |
| 15:02 |
zed_devil |
take a look |
| 15:02 |
zed_devil |
if you add it and ist not on the "content" |
| 15:03 |
zed_devil |
thats a problem with the access rights of the group |
| 15:03 |
nd___ |
Ah, well... I was wrong, I cannot edit fces properly... only add the header |
| 15:05 |
nd___ |
alright, found it |
| 15:05 |
nd___ |
thanks... |
| 15:05 |
nd___ |
:) |
| 15:14 |
ironm |
is one of you "Steffen Kamper"? .. in case yes .. please check my last notes in http://bugs.typo3.org/view.php?id=14741 - thank you very much in advance :) |
| 15:15 |
bayer |
hi there - it seems as if speaking url is keeping some cache that i cant clear. where can i clear it? |
| 15:17 |
ironm |
PiMB / Prot0 / StaffanE : the half solution of the mail(..) problem would be to switch the safe_mode off .. OR .. to reduce the count of parameters for mail(..) / t3lib/utility/class.t3lib_utility_mail.php from 5 to 4 - http://bugs.typo3.org/view.php?id=14741#bugnotes |
| 15:17 |
ironm |
Prot0 / PiMB / StaffanE : thanks a lot for your hints and help guys! :) |
| 15:18 |
Prot0 |
welcome, thanks for sharing the solution/problem as well |
| 15:19 |
ironm |
it looks like it makes a lot of fun to look and for find some bugs / features Prot0 ;) |
| 15:19 |
ironm |
s/ for // |
| 15:19 |
Prot0 |
it can be, in some occaisions it also isnt ;-) |
| 15:21 |
ironm |
*ggg* .. originally I've just wanted only to use typo3 .. @ Prot0 |
| 15:21 |
maslenka |
i don't like bugs at all :) |
| 15:22 |
ironm |
maslenka: well ... there are somehow still around ... known or still unknown ;) |
| 15:22 |
ironm |
still some around ... |
| 15:23 |
ironm |
and I have to thank also you maslenka :) ... for the "@"-hint ;) |
| 15:23 |
maslenka |
it was Prot0 with the "@" thing :) |
| 15:24 |
ironm |
well .. it looks like I am getting old maslenka *v* |
| 15:27 |
Prot0 |
great |
| 15:27 |
Prot0 |
infinite loop |
| 15:27 |
Prot0 |
:D |
| 15:28 |
ironm |
bayer: I had similar feeling .. because I had always a value of the "one click before" in the address line (browser) |
| 15:28 |
ironm |
when usind realurl ... @ bayer |
| 15:29 |
jjulian |
hi i have a function in a class. and i like to get in a single case the whole page by a uid. |
| 15:30 |
jjulian |
i want to give the whole page by a uid back. i tried this: $pageObject = t3lib_div::makeInstance('t3lib_pageSelect'); $pageObject->getPage_noCheck(566); btu that doesnt give me any content just some details on that page |
| 15:30 |
maslenka |
ironm: i found myself using cooluri instead of realurl |
| 15:31 |
ironm |
have you tried first realurl maslenka ? .. I had some troubles with realurl due to the unsolved "one click before" value |
| 15:32 |
maslenka |
ironm: yes, but get scared by its configuration :) |
| 15:33 |
ironm |
I have to check cooluri ... however I need it for multidomain / multilanguage sites ... (incl. domain jumping when changing the language) .. and of course the use of https:// for login / register and typo3admin in another domain |
| 15:33 |
ironm |
maslenka: ^^^ |
| 15:34 |
zed_devil |
i hope you not have chinese |
| 15:34 |
ironm |
all the stuff works with realurl .. but not the "ONE CLICKL BEFORE" ISSUE |
| 15:36 |
ironm |
zed_devil: I have chinese too *g* ... however there is one problem ... it doesn't translate chinese utf8 to pinyian |
| 15:37 |
ironm |
zed_devil: like e.g. in russian |
| 15:38 |
ironm |
zed_devil: check: "simulate static documents" doesn't show a page name for chinese pages or menu links |
| 15:39 |
zed_devil |
i tried so set up real url with chinese and after a lot of problems (for example the error log of real url has a table size round about 500mb) i decited to switch it oof |
| 15:39 |
zed_devil |
for chinese |
| 15:39 |
ironm |
zed_devil: http://bugs.typo3.org/view.php?id=14608 .. the issue is still unsolved |
| 15:39 |
jjulian |
how to get the content by uid in a userextension? |
| 15:40 |
ironm |
zed_devil: what about the realurl-pathnames? .. did you get them translated in pinyian? (even if chinese utf8 in menu) |
| 15:42 |
zed_devil |
no |
| 15:42 |
ironm |
zed_devil: I guess chinese have to use latin for path-names ... |
| 15:42 |
ironm |
zed_devil: somehow it is working for russian .. (realurl) .. translating the names it in latin |
| 15:43 |
zed_devil |
yes russian works fine |
| 15:43 |
ironm |
s/it// ... |
| 15:43 |
zed_devil |
i wantet to set up the same in chin |
| 15:43 |
zed_devil |
but i tried before the bug fix |
| 15:43 |
ironm |
well .. russian utf8 != russian_in_latin .. |
| 15:44 |
ironm |
zed_devil: so that means there should be also a kind of translation from chinese utf8 to pinyian .. |
| 15:45 |
ironm |
I guess it is a bit difficult .. for Dimitri ;) |
| 15:45 |
zed_devil |
^^ |
| 15:46 |
ironm |
zed_devil: I didn't look inside the realurl code .. |
| 15:47 |
maslenka |
i believe there is something like iconv('UTF-8', 'ASCII//TRANSLIT', $s); |
| 15:47 |
zed_devil |
i treid to use the english real url path for chinese |
| 15:47 |
Prot0 |
btw - any way to avoid the -1. -2 etc suffixes with realurl when using multiple languages? |
| 15:48 |
Prot0 |
for unique aliasses |
| 15:48 |
Prot0 |
i assume they are unique by value AND language |
| 15:48 |
Prot0 |
i hope so at least.. |
| 15:48 |
ironm |
Prot0: I've found any solution for this issue |
| 15:48 |
Prot0 |
an or any? :P |
| 15:49 |
Prot0 |
i mean i could start hooking the encoding and decoding of urls |
| 15:49 |
ironm |
Prot0: ... have NOT .. sorry |
| 15:49 |
Prot0 |
hehe |
| 15:49 |
Prot0 |
ok |
| 15:49 |
Prot0 |
then perhaps thats my option |
| 15:49 |
Prot0 |
hehe |
| 15:50 |
ironm |
maslenka: is iconv('UTF-8', 'ASCII//TRANSLIT', $s); a php function? .. or just a typo3 defined function? |
| 15:50 |
maslenka |
iconv is actually library |
| 15:50 |
DoDoNL |
Hello all. I want to create a widget in my own application which makes it possible to read data from a Typo3 website. I installed the typo3_webservice extension, but that doesn't work. Is there an extension that works with SOAPClient? |
| 15:51 |
PiMB |
Prot0 isn't it unique by value and domain? |
| 15:51 |
maslenka |
php has function to use it iconv() |
| 15:51 |
PiMB |
not necessarily language? |
| 15:52 |
Prot0 |
i think so yes |
| 15:52 |
ironm |
hmm @ maslenka ... I can imagine it is quite comples to translate chinese utf8 signs in pinyian ... |
| 15:52 |
Prot0 |
imho it should be unique by lang as well |
| 15:53 |
Prot0 |
(i have 50 languages and im getting looooadds of suffixes ;-]) |
| 15:54 |
ironm |
a lot! @ Prot0 |
| 15:55 |
Prot0 |
and all in 1 tree ;-) |
| 15:55 |
maslenka |
lol, my site has 2 languages |
| 15:55 |
ironm |
maslenka: one or at least two domains? |
| 15:55 |
maslenka |
single domain |
| 15:56 |
PiMB |
Prot0, but why with unique aliasses? url could be created from page name or alternative language right? |
| 15:56 |
Prot0 |
i know, but im talking about other records :-) |
| 15:56 |
Prot0 |
ex. product with the same name in each language |
| 15:56 |
Prot0 |
is suffixed 49 times |
| 15:56 |
Prot0 |
(at least) |
| 15:56 |
Prot0 |
:P |
| 15:58 |
ironm |
some words are still the same in many languages ,, @ Prot0 |
| 15:58 |
Gera |
people, be merciful. who can help me make hook?(postProcessFieldArray for example) |
| 16:01 |
ironm |
Gera: when I would know what a hook is .. and how to make it .. I would help you ;) |
| 16:01 |
PiMB |
what's the problem Gera |
| 16:01 |
PiMB |
? |
| 16:01 |
PiMB |
Take a look at tt_news, it uses hooks like postProcessFieldArray and such |
| 16:02 |
ironm |
Gera: maybe #php is a good choice to look for some "hook"-help ;) |
| 16:02 |
PiMB |
should be able to recreate what is done there. |
| 16:02 |
Gera |
my hook do not called (( |
| 16:02 |
PiMB |
ironm, hooks are TYPO3 specific ;) |
| 16:02 |
PiMB |
brb |
| 16:02 |
ironm |
oh @ PiMB :o) |
| 16:03 |
Prot0 |
he already has the hook working, just not for FE editing |
| 16:03 |
DoDoNL |
Anyone? |
| 16:03 |
Prot0 |
DoDoNL: not that I know of |
| 16:04 |
Gera |
may be hooks can not called from FE ? |
| 16:05 |
DoDoNL |
Prot0: Is there another way to get data from Typo3 in an external application? |
| 16:05 |
neoneye |
I want the cache to be cleared daily for some pages.. I see a lot of "cache" extensions, which one should I go for? |
| 16:05 |
Prot0 |
SOAP seems to be the best option |
| 16:06 |
Prot0 |
or some other kind of XML output |
| 16:06 |
Prot0 |
if the webservice extension doesnt work you could create your own version of it |
| 16:06 |
neoneye |
cacheexpire sounds like what I need, but it's in an Experimental state |
| 16:07 |
Prot0 |
Gera: Yes the may, but it depends on where they are located. If a hook is located in a back-end script, it's not called on the front-end |
| 16:07 |
DoDoNL |
Prot0: I need to install xmlrpc on my server and I can't |
| 16:07 |
Chiz |
Hello, guys! |
| 16:08 |
Prot0 |
DoDoNL: perhaps a static XML feed then? RSS? |
| 16:08 |
Chiz |
Can you tell me where to find TemplaVoila and how to install it? |
| 16:08 |
ironm |
Chiz: If you want to stay happy you should NOT install templaVoila *g* |
| 16:09 |
Prot0 |
Chiz: http://typo3.org/extensions/repository/view/templavoila/current/ download the T3X or go to your TYPO3 installation and use the extension manager to download and install it |
| 16:09 |
Chiz |
= )) |
| 16:09 |
Gera |
but it located in the class of frontend plugin |
| 16:09 |
Chiz |
I don't want to be happy, I want client to be happy = ))) |
| 16:09 |
Gera |
Prot0: but it located in the class of frontend plugin |
| 16:10 |
Prot0 |
yes but its calling a back-end function.. |
| 16:10 |
Prot0 |
or it probably is |
| 16:10 |
Chiz |
Thanks, Prot0 ;-) |
| 16:10 |
Prot0 |
if you need a really specifc hook, try looking in the typo3 source code |
| 16:11 |
Prot0 |
thats sometimes the best place to look |
| 16:11 |
anarcotraffic |
temp.picbar = IMAGE |
| 16:11 |
anarcotraffic |
temp.picbar { |
| 16:11 |
anarcotraffic |
file = fileadmin/templates/euro-pastaria/images/[here pagetitle].jpg |
| 16:11 |
anarcotraffic |
file.height = 300 |
| 16:11 |
anarcotraffic |
file.width = 160 |
| 16:11 |
anarcotraffic |
params = class="reflect ropacity44 rheight40" |
| 16:11 |
anarcotraffic |
} |
| 16:11 |
anarcotraffic |
how can put the page-title into the name? |
| 16:12 |
Prot0 |
anarcotraffic: please pate inside http://t3paste.org |
| 16:12 |
anarcotraffic |
okay |
| 16:12 |
anarcotraffic |
sry |
| 16:12 |
Prot0 |
:) |
| 16:14 |
anarcotraffic |
how can i put the pagetitle into into the object IMAGE imagename |
| 16:14 |
anarcotraffic |
http://paste.phlogi.net/test1 |
| 16:17 |
randomresult |
hey.. iam searching for a menu in TYPO3 like the one on www.roller.de |
| 16:17 |
anarcotraffic |
okay u found it |
| 16:17 |
randomresult |
any ideas? |
| 16:17 |
anarcotraffic |
dataWrap |
| 16:18 |
anarcotraffic |
random |
| 16:18 |
Prot0 |
mac update |
| 16:18 |
Prot0 |
reboot :) |
| 16:23 |
Phlunk3 |
which menu randomresult? |
| 16:35 |
No5251 |
randomresult: simple TMENU |
| 16:44 |
Gera |
may be i must use another hook for my purpose? |
| 16:44 |
Gera |
people, who do not sleep ?) |
| 16:45 |
Gera |
who know what hook can use when admin saved data in the page ? |
| 16:46 |
Gera |
when clicking on save icon |
| 19:45 |
HardPhuck |
is there an extension to display something like "team members" - their name and last name, bio, portfolio... ? |
| 20:02 |
rosieres |
HardPhuck: tt_address is a good start for that . . . with many options |
| 20:03 |
rosieres |
HardPhuck: in combination with locator well extended http://typo3.org/extensions/repository/?tx_terfe_pi1[view]=search&no_cache=1&tx_terfe_pi1[sword]=locator |
| 20:04 |
HardPhuck |
hmmm |
| 20:04 |
HardPhuck |
too complicated i think |
| 20:04 |
HardPhuck |
i think i'll skip typo3 on this one |
| 20:04 |
rosieres |
HardPhuck: *pff not really . . . |
| 20:05 |
rosieres |
HardPhuck: then write a template for those elements and fill them manually |
| 20:05 |
HardPhuck |
well i don't want 3 extensions just because FE members don't have 3 fields i need |
| 20:05 |
HardPhuck |
as in bio, portfolio and a list |
| 20:06 |
rosieres |
HardPhuck: then extend the fe_user table and take ... don't know the name ... just looking for |
| 20:08 |
rosieres |
HardPhuck: got it ...wfqbe with this extension you can display any db content in fe |
| 20:08 |
HardPhuck |
thanx, i'll have a look at it |
| 20:12 |
rosieres |
HardPhuck: wfqbe is the wrong one ... i thought of browser -> http://typo3.org/extensions/repository/view/browser/current/ |
| 20:16 |
HardPhuck |
thanx |
| 20:18 |
ironm |
hi rosieres :) |
| 20:18 |
ironm |
cul8r |
| 20:18 |
rosieres |
ironm: hi ... I saw this safe mode thing *quite funny ;-) |
| 20:21 |
HardPhuck |
rosieres: this browser extension looks awesome, thanx |
| 20:21 |
HardPhuck |
i guess i will use T3 after all :) |
| 20:21 |
rosieres |
HardPhuck: yes, i read about it, but had so far no time to test it . . . really looks awesome . . . |
| 20:23 |
rosieres |
HardPhuck: give a feddback how much time it took to develop your solution |
| 20:23 |
pascalj |
are extbase experts present? |
| 20:27 |
rosieres |
pascalj: Perhaps at normal business time |
| 20:30 |
pascalj |
rosieres: true. maybe it's better to consult the mailing list :-) |
| 20:40 |
HardPhuck |
rosieres: sure thing |
| 21:33 |
jjulian |
Hi, how could i change the page uid from one to another if certain globalVars are set ? id like to do that by TypoScript and i use templavoile |
| 21:33 |
jjulian |
any ideas hints help? ive no idea how to do that |
| 22:04 |
influenzjaaa |
Hey guys! Could somebody tell me where all those "csc-textpic csc-textpic-intext-right-nowrap" classes come from? |
| 22:10 |
nd___ |
css-styled-content |
| 22:17 |
influenzjaaa |
is it possible to disable this? config.disable-csc or something? |