| 00:28 |
jowel |
newbe question: first time login successfully into typo3, but left frame functions show only tooltips, but none is clickable - nothing happens |
| 00:32 |
jowel |
any tips where to investigate problem further ? web install shows all ok so far. |
| 02:27 |
iaj` |
ne1 around :-) ? whoze using mailformplus? |
| 02:32 |
uriahheep |
hmm, i'm trying to make a certain db value the uid of the FE user currently logged in when a form is submitted |
| 02:32 |
uriahheep |
what i have is this: |
| 02:32 |
uriahheep |
create.overrideValues.member_uid.data = TSFE:fe_user|user|uid |
| 02:32 |
uriahheep |
i'm using media/scripts/fe_adminLib.inc |
| 02:33 |
uriahheep |
umm, is this supposed to work? or is there a different way to do it? |
| 03:35 |
Conic |
hey there1 |
| 03:35 |
Conic |
still someone awake in here? ;) |
| 03:35 |
Conic |
got a question about the typo3 api |
| 03:37 |
Conic |
i am writing at an extension and want to create datasets in the db |
| 03:37 |
Conic |
but i can't find the api functions for creating datasets |
| 08:22 |
PiMB |
morning |
| 08:39 |
schabracke |
morning! |
| 08:39 |
PiMB |
morning |
| 08:39 |
schabracke |
HA! |
| 08:40 |
schabracke |
hows everything going? |
| 08:40 |
schabracke |
i wrote you on your fb site! |
| 08:42 |
PiMB |
I saw it. |
| 08:43 |
PiMB |
things are great |
| 08:43 |
PiMB |
how is the t3x? |
| 08:43 |
schabracke |
its PERFECT |
| 08:43 |
schabracke |
i want to thank again, you did it really really great! |
| 08:44 |
schabracke |
BUT :) there always has to be a but certainly :) |
| 08:44 |
schabracke |
how can i resize the images? |
| 08:44 |
schabracke |
cause those pics got nothin to do with the normal tt_news images |
| 08:45 |
schabracke |
and because of that it cant work if i set maximageW and maximageH |
| 08:47 |
iaj` |
I need help :/ can someone please help me - is it simply NOT possible to embedd 2 mailformplus forms on a 4.1.2 typo site... |
| 08:47 |
iaj` |
e.g. 2 forms on the same page... just ain't working for me |
| 08:51 |
Prot0 |
morning |
| 08:52 |
schabracke |
hey there! |
| 08:52 |
PiMB |
iaj, use powermail ;) |
| 08:52 |
PiMB |
schabracke |
| 08:52 |
PiMB |
you can edit it in the class.php file |
| 08:52 |
iaj` |
PiMB, never used powermail :/ is it hard to use? |
| 08:52 |
PiMB |
there is a 100c by 100c included in the renderImage function |
| 08:52 |
schabracke |
HA |
| 08:53 |
PiMB |
iaj, powermail is so easy ;) |
| 08:53 |
PiMB |
everyone can do it! |
| 08:53 |
iaj` |
I doubt that ! |
| 08:53 |
iaj` |
I won't be able to :D |
| 08:53 |
PiMB |
just rtm |
| 08:54 |
BejjWrk |
morning |
| 08:54 |
RemcoR |
good good morning |
| 08:55 |
Prot0 |
lol |
| 08:55 |
schabracke |
off topic: anyone listened to the new kasabian album yet? cause i got addicted to it |
| 08:55 |
Prot0 |
powermail is really easu |
| 08:55 |
Prot0 |
*easy |
| 08:55 |
Prot0 |
;] |
| 08:55 |
BejjWrk |
schabracke: what type of music ? |
| 08:56 |
schabracke |
@BejjWrk here you go: http://www.youtube.com/watch?v=fuPK6KgSjno |
| 08:56 |
schabracke |
great song i think |
| 08:56 |
PiMB |
no sorry, got hooked on the new q-tip album though |
| 08:56 |
schabracke |
hehe |
| 09:01 |
BejjWrk |
schabracke: hmm not my kind of music ;) |
| 09:01 |
schabracke |
thats impossible?! how can someone NOT like it :) |
| 09:01 |
PiMB |
not my kind either. |
| 09:01 |
PiMB |
sorry mate |
| 09:02 |
schabracke |
hmmm |
| 09:02 |
schabracke |
i think thats good old rockn roll :) |
| 09:03 |
schabracke |
okay guys, one more song to get the right picture: http://www.youtube.com/watch?v=Wd0Y1Sko7hA |
| 09:04 |
BejjWrk |
declined :P |
| 09:04 |
schabracke |
huuuhuuu *cryinglikeababy* :) |
| 09:05 |
schabracke |
i gotta accept your opinion, if ilki it or not |
| 09:06 |
BejjWrk |
to be fair, I wouldnt chose to listen to it, but I would probably not change station if it comes up on radio |
| 09:09 |
schabracke |
hahaha thats fair enough! |
| 09:12 |
schabracke |
but tell me, what are you listening to? |
| 09:13 |
maholtz|WORK |
morning |
| 09:14 |
schabracke |
good morning! |
| 09:14 |
PiMB |
morning |
| 09:15 |
RemcoR |
good morning |
| 09:16 |
StaffanE |
Morning |
| 09:17 |
BejjWrk |
schabracke: mostly metal, but also trance/techno/hardstyle, and on occation hiphop (very specific tunes tho) and umm... i have this vietnamese tune that Im hooked on :P |
| 09:17 |
PiMB |
:) |
| 09:17 |
PiMB |
goes great with metal.. |
| 09:17 |
BejjWrk |
PiMB: may I recommend Dethklok ? :) |
| 09:22 |
PiMB |
you can always try ;) |
| 09:22 |
PiMB |
not really into the really hard metal |
| 09:22 |
PiMB |
but more like soulfly, sepeltura, bit of system of a down |
| 09:22 |
PiMB |
some like that |
| 09:22 |
PiMB |
but I love the hardcore punk scene. |
| 09:23 |
PiMB |
flogging molly, dropkick murphies, madball |
| 09:23 |
PiMB |
it's great! |
| 09:23 |
BejjWrk |
so stuff like dimmu borgir is too hard for you ? |
| 09:25 |
schabracke |
but flogging molly and dropkick is ska (ounk) isnt it? |
| 09:25 |
schabracke |
saw both of em live |
| 09:27 |
PiMB |
no not really ska |
| 09:27 |
PiMB |
kinda |
| 09:27 |
PiMB |
but not able to label |
| 09:27 |
PiMB |
but I like dimmu occasionally |
| 09:32 |
RemcoR |
ey BenjaminSss |
| 09:36 |
jbaptiste_j |
good morning |
| 09:37 |
BenjaminS |
good morning =) |
| 10:33 |
atmos4 |
hmm, maybe someone got an idea on this realurl problem: |
| 10:34 |
atmos4 |
I've got to menus, mainmenu and teasermenu, bothare marked as exlude from speaking url |
| 10:35 |
atmos4 |
now on mainmenu this works fine, but on teasermenu it only works for the first level |
| 10:35 |
atmos4 |
on the second level links are encoded correctly, but cannot be decoded |
| 10:35 |
atmos4 |
they also don't appear in speaking url management |
| 10:40 |
atmos4 |
nevermind, logged out of the backend and now its working |
| 10:41 |
Prot0 |
:] |
| 10:41 |
atmos4 |
what's the deal with that? |
| 10:41 |
Prot0 |
there is something with realurl and storing links when logged in the BE |
| 10:41 |
Prot0 |
as far as i remember |
| 10:41 |
atmos4 |
yea, but I don't get why it's not generated when logged into be |
| 10:41 |
atmos4 |
doesn't really make sense =) |
| 10:42 |
Prot0 |
tell dimitry :] |
| 10:42 |
atmos4 |
yea |
| 10:42 |
Prot0 |
not entirely sure if this is still like this though |
| 10:42 |
Prot0 |
dont pin me on it ;] |
| 10:43 |
xaver |
what si better imagemagick or graphicsmagick? |
| 10:43 |
atmos4 |
hmm I usually use graphicsmagick |
| 10:43 |
atmos4 |
less pain to configure =) |
| 10:43 |
Prot0 |
cant remember imagemagick being a big pain though |
| 10:43 |
xaver |
i ahve a problem with nicetext in typoscript |
| 10:44 |
atmos4 |
because with imagemagick you have to find the magic combination of about 4 config values to properly match your im version |
| 10:44 |
atmos4 |
xaver: are all the test in install tool working right? |
| 10:45 |
atmos4 |
thing is graphicsmagick and imagemagick don't behave 100% the same when it comes to filters, so it's best to use the same on your dev and live server |
| 10:46 |
fuchur |
hey guys |
| 10:46 |
atmos4 |
hi |
| 10:46 |
fuchur |
what could be wrong with imagemagick if this happens to your thumbnails= :( |
| 10:46 |
fuchur |
http://img193.imageshack.us/img193/2930/nh09041114.jpg |
| 10:47 |
xaver |
on 1 sevrer is im4 on other 6 |
| 10:47 |
jbaptiste_j |
xaver I think imagemagick you have to stick to an old version while GM works even with the current version |
| 10:48 |
atmos4 |
na im6 works |
| 10:49 |
xaver |
but i will try graphicmagick |
| 10:49 |
atmos4 |
but I guess it'll behave a bit different than im4 |
| 10:49 |
atmos4 |
fuchur: wonky imagemagick version? |
| 10:49 |
crapfish |
speaking of.. any of you guys who knows how to prevent graphicsmagick from using all system ressources if it is fed by a file which name contains a space / blank? ex.. "picture 3.jpg" |
| 10:49 |
atmos4 |
seems like sth really going wrong |
| 10:50 |
fuchur |
atmos4 im6 iirc |
| 10:50 |
fuchur |
yep but what |
| 10:50 |
fuchur |
it's pdf -> jpg |
| 10:50 |
atmos4 |
hmm so jph -> jpg works? |
| 10:50 |
fuchur |
not sure :) |
| 10:50 |
fuchur |
have to test around a little |
| 10:50 |
atmos4 |
test that first |
| 10:50 |
atmos4 |
+ |
| 10:50 |
xaver |
all test are perfect in gm |
| 10:51 |
atmos4 |
cause pdf -> jpg also needs ghostscript |
| 10:51 |
atmos4 |
xaver: what's your prob with nicetext? |
| 10:53 |
fuchur |
mh |
| 10:53 |
fuchur |
it's an pdf issue |
| 10:53 |
fuchur |
if i test with my own pdf, it works |
| 10:53 |
fuchur |
if i test with customers pdf it does not |
| 10:53 |
fuchur |
damn it ... |
| 10:53 |
fuchur |
have to figure that out |
| 10:53 |
atmos4 |
hmm probably ask them to save acrobat 4 compatib.le pdf |
| 10:54 |
atmos4 |
the result looks to me as if ghostscript failed to convert the pdf |
| 10:55 |
atmos4 |
so it thumbnailed and empty file showing some random data |
| 10:56 |
atmos4 |
you could also try converting the customers pdf by hand with ghostscript |
| 10:56 |
atmos4 |
to see wether ghostscript throws and error |
| 11:00 |
atmos4 |
running sth. like that on the server should do it: |
| 11:00 |
atmos4 |
gs -dSAFER -dBATCH -dNOPAUSE -sDEVICE=jpeg -r150 -sOutputFile=test_%d.jpg mypdf.pdf |
| 11:00 |
atmos4 |
that would write one file per page |
| 11:01 |
atmos4 |
at 150dpi |
| 11:02 |
uriahheep |
hrm... does anyone know how to insert data into a feadmin typoscript's overrideValues? |
| 11:05 |
uriahheep |
basically i'm trying to push TSFE:fe_user|user|uid into a database field when creating a new entry via a frontend form using fe_adminLib.inc |
| 11:06 |
uriahheep |
something like the following... but i can't seem to find the correct way to do it |
| 11:06 |
uriahheep |
create.overrideValues.member_uid = {TSFE:fe_user|user|uid} |
| 11:06 |
uriahheep |
create.overrideValues.member_uid.insertData = 1 |
| 11:16 |
marcuslind |
Hello :) |
| 11:16 |
PiMB |
hi marcus |
| 11:17 |
marcuslind|WORK |
Having a nice day at work? |
| 11:17 |
PiMB |
shure I am |
| 11:31 |
Prot0 |
good day |
| 11:40 |
iaj` |
hi there - can someone help me this one is driving me mad |
| 11:40 |
iaj` |
http://pastebin.com/ma762c21 |
| 11:40 |
iaj` |
why aint it adjusting a #&124; to the active elements :( |
| 11:41 |
iaj` |
(e.g. a | ) |
| 12:00 |
marble |
where is ACT.linkwrap = ... ? |
| 12:01 |
marble |
ACT < .NO missing? |
| 12:10 |
iaj` |
marble, uhh.. well |
| 12:10 |
iaj` |
how would ACT.linkwrap look like? |
| 12:11 |
iaj` |
nvm |
| 12:11 |
iaj` |
ACT<.NO o m f g :( |
| 12:14 |
uriahheep |
hmm... |
| 12:14 |
uriahheep |
seems like fe_adminLib.inc's overrideValues function doesn't have stdWrap support... |
| 12:14 |
uriahheep |
does anyone have a quick patch lying around to add support? :) |
| 12:15 |
Prot0 |
:0 |
| 12:15 |
PiMB |
nope. sorry |
| 12:16 |
uriahheep |
:P |
| 12:16 |
uriahheep |
oh well |
| 12:16 |
Prot0 |
hehe |
| 12:17 |
Prot0 |
cant you hook it? |
| 12:17 |
uriahheep |
umm, where do you mean? |
| 12:18 |
uriahheep |
Prot0: you mean edit the file and create a hook in the function? |
| 12:18 |
Prot0 |
lol |
| 12:18 |
Prot0 |
no |
| 12:19 |
Prot0 |
the purpose of hooks is to not edit the file actually hhe |
| 12:19 |
uriahheep |
umm, ok |
| 12:19 |
Prot0 |
i mean write a small extension that add this support |
| 12:19 |
Prot0 |
if that is possible |
| 12:19 |
uriahheep |
so how would i do that, if it's possible? |
| 12:20 |
PiMB |
rtm |
| 12:20 |
Prot0 |
http://typo3.org/development/articles/how-to-use-existing-hooks/ |
| 12:20 |
Prot0 |
:] |
| 12:21 |
uriahheep |
ty |
| 12:22 |
Stollie |
how to hook somebody xD |
| 12:23 |
Prot0 |
this is not a dating channel ;] |
| 12:23 |
Stollie |
haha |
| 12:29 |
uriahheep |
Prot0: hmm, nope, i don't think there's a hook... |
| 12:29 |
uriahheep |
Prot0: it would be part of the function, right? |
| 12:31 |
dokma |
Seems like there is no #css here. Am I doing that something wrong? |
| 12:32 |
sorenmalling |
dokma: Do a /j css |
| 12:41 |
uriahheep |
hmm... |
| 12:41 |
uriahheep |
could someone help me understand the differences between these two functions please? http://pastebin.ca/1659418 and http://pastebin.ca/1659419 |
| 12:42 |
uriahheep |
hmm, never mind, that was a stupid question |
| 12:50 |
uriahheep |
Prot0: http://pastebin.ca/1659427 |
| 12:50 |
uriahheep |
Prot0: think this will do the trick? :p |
| 12:50 |
uriahheep |
Prot0: compared to the previous two... |
| 13:10 |
kraftb |
hello ! |
| 13:10 |
uriahheep |
woohoo :) got what i wanted working |
| 13:11 |
uriahheep |
i'm surprised that this change isn't included in the default fe_adminLib.inc anyway |
| 13:11 |
uriahheep |
oh wait |
| 13:11 |
uriahheep |
i've made this comment before |
| 13:12 |
uriahheep |
people don't like it when that's used instead of proper extension writing, right? ;) |
| 13:13 |
kraftb |
no. i like fe_adminLib.inc |
| 13:13 |
uriahheep |
heh k:P |
| 13:13 |
kraftb |
some people prefer ... *rant* sr_feuser_register |
| 13:13 |
kraftb |
i think its a bunch of wrappers |
| 13:13 |
uriahheep |
kraftb: i just added stdwrap capability to overrideValues |
| 13:13 |
kraftb |
yes ... some common thing for fe_adminLib ;) |
| 13:13 |
uriahheep |
yeah.... |
| 13:14 |
uriahheep |
why isn't it in by default? |
| 13:14 |
kraftb |
for almost every project I make, I've have to make some fixes |
| 13:14 |
uriahheep |
heheh |
| 13:14 |
kraftb |
don't ask me ... I think cause nobody takes time for this |
| 13:14 |
uriahheep |
hmm, k |
| 13:14 |
kraftb |
I'll surely have it somewhere on one of my hundred post-its |
| 13:14 |
uriahheep |
if i submit this simple patch, do you think they'll apply it for the next release? |
| 13:14 |
kraftb |
ok ... wait till theres a branch for 4.3 |
| 13:15 |
uriahheep |
hmm, k |
| 13:15 |
kraftb |
then request a patch for trunk, and I'll give you my +1 and can commit it ;) |
| 13:15 |
uriahheep |
lol ;) |
| 13:15 |
uriahheep |
thanks |
| 13:15 |
kraftb |
just drop me a mail - i do not read the newsgroup or irc all the time |
| 13:15 |
uriahheep |
not worth putting it in 4.2 though? |
| 13:15 |
kraftb |
thanks2 ... as I said I also use it quite a lot. |
| 13:15 |
uriahheep |
heheh |
| 13:15 |
kraftb |
I do not know if theres already feature freeze for 4.2 |
| 13:15 |
kraftb |
4.3 |
| 13:15 |
uriahheep |
ok |
| 13:16 |
uriahheep |
will there not be any more 4.2 releases though? |
| 13:16 |
kraftb |
once I also implemented the option to replace files in already existing (own) records |
| 13:16 |
uriahheep |
files? |
| 13:16 |
kraftb |
well as soon as theres a release only bugfixes go into it. new features only go to trunk |
| 13:16 |
uriahheep |
ah, ok |
| 13:16 |
uriahheep |
so i'll wait |
| 13:16 |
kraftb |
you can upload files using fe_adminLib. but currently you can only upload files to records which get newly created |
| 13:16 |
kraftb |
it is not possible to replace existing ones |
| 13:17 |
uriahheep |
and i'll just keep this modded version of the file in my extension's directory lol |
| 13:17 |
kraftb |
the override stdWrap is another thing ... |
| 13:17 |
uriahheep |
ah, ok :S |
| 13:17 |
kraftb |
and there were quite a number of other "easy" thinkgs which improve fe_adminLib a lot. |
| 13:17 |
kraftb |
but nowadays everyone say: hey, use that full blown formhandler extension |
| 13:17 |
uriahheep |
lol |
| 13:18 |
uriahheep |
the sr_feuser_register one? |
| 13:18 |
kraftb |
no. theres an extension called "formhandler" ... or so. |
| 13:18 |
uriahheep |
ah, k |
| 13:18 |
kraftb |
it's developed by some official team |
| 13:18 |
uriahheep |
is it... bulkier? |
| 13:19 |
kraftb |
but I saw many people using "powermail" instead of "th_mailformplus" |
| 13:19 |
uriahheep |
and therefore bad for my site, given the slow hardware it's running on? |
| 13:19 |
kraftb |
well - formhandler extension is more separated into small coding block. |
| 13:19 |
kraftb |
could of course be quite good. I just didn't have the time to dig into it since I noticed it out there |
| 13:19 |
uriahheep |
ah, k :P |
| 13:19 |
kraftb |
and fe_adminLib is a well explored land for me |
| 13:19 |
uriahheep |
yeah |
| 13:20 |
uriahheep |
hmm... |
| 13:20 |
uriahheep |
i think i'm going to need to use phpcgi |
| 13:20 |
uriahheep |
this is just way too slow |
| 13:20 |
uriahheep |
lol |
| 13:21 |
kraftb |
is there a teamspeak channel for TYPO3? could be a good idea. |
| 13:21 |
kraftb |
;) |
| 13:21 |
uriahheep |
lol, dunno :S |
| 13:26 |
Prot0 |
think IRC is a better idea than teamspeak |
| 13:37 |
kraftb |
why ? |
| 13:37 |
kraftb |
teamspeak would also be interesting. |
| 13:38 |
kraftb |
you do not have to join if you do not want. but I just noted my vServer does not have enough memory. |
| 13:38 |
kraftb |
so i'll leave it for now, setting up a teamspeak server ... |
| 13:38 |
Prot0 |
hehe |
| 13:38 |
Prot0 |
true it can be nice |
| 13:38 |
Prot0 |
but with a lot of nationalities etc accents |
| 13:39 |
uriahheep |
what do you guys generally use to optimize typo3's performance? |
| 13:39 |
uriahheep |
do you play around with fastcgi or anything? |
| 13:39 |
Prot0 |
erm |
| 13:39 |
Prot0 |
eAccelerator on windows |
| 13:39 |
Prot0 |
and |
| 13:39 |
Prot0 |
zend optimizer on *nix |
| 13:39 |
uriahheep |
hmm, k |
| 13:39 |
Prot0 |
(saves a lot) |
| 13:40 |
uriahheep |
no php-fcgi? |
| 13:40 |
Prot0 |
only something simular on the windows configuration |
| 13:40 |
uriahheep |
ok |
| 13:40 |
Prot0 |
not sure about the nix servers |
| 13:41 |
uriahheep |
i wasn't aware that typo3 was zend-based |
| 13:41 |
Prot0 |
you can also use static file caching if possible |
| 13:41 |
uriahheep |
hmm, yeah |
| 13:41 |
uriahheep |
for some pages it definitely is |
| 13:41 |
Prot0 |
thats the best |
| 13:41 |
Prot0 |
we are experimenting with it here |
| 13:43 |
uriahheep |
cool |
| 13:52 |
uriahheep |
kraftb: what do you usually use to display your custom tables on the frontendÉ |
| 13:52 |
uriahheep |
? |
| 14:00 |
kraftb |
kb_display ;) |
| 14:01 |
boonkerz |
hi |
| 14:01 |
kraftb |
or simply a tscobj plugin, and a TEMPLATE cObject |
| 14:01 |
kraftb |
hi boonkerz |
| 14:01 |
compojoom |
hey there! Any ideas how to get the uid and pid of the page I'm on in the backend? |
| 14:01 |
compojoom |
with php? |
| 14:03 |
Prot0 |
erm |
| 14:03 |
uriahheep |
kraftb: heh, k, thanks |
| 14:03 |
Prot0 |
like in a module? |
| 14:03 |
kraftb |
compojoom: that depens where in the backend. |
| 14:03 |
kraftb |
at some places the id of the current (edited, shown, etc.) pags is available via GET['id'] |
| 14:03 |
compojoom |
kraftb: sorry, I'm in the tca.php |
| 14:04 |
kraftb |
ahh ... well. in tca. php you are not on "any" page. it's just a configuration |
| 14:04 |
compojoom |
I can not use GET, I'm searching for a global array that has this value |
| 14:04 |
kraftb |
describe what you would like to achieve |
| 14:04 |
compojoom |
I would like to have a dinamic configuration of a field |
| 14:04 |
kraftb |
well. and if you are in the extension-manager, what should be found in the variable then ??? |
| 14:04 |
kraftb |
;) |
| 14:04 |
compojoom |
depending on the page I'm on |
| 14:05 |
Prot0 |
0 :] |
| 14:05 |
kraftb |
i mean, tca.php get's read at almost any module in the backend. |
| 14:05 |
Prot0 |
cant you achieve this with TSconfig? |
| 14:05 |
kraftb |
what do you mean by dynamic configuration ? |
| 14:05 |
compojoom |
if i'm on pid 20 -> then use static_info_countries for the relation |
| 14:05 |
compojoom |
if I'm on page with pid 2000 use another table for the relation |
| 14:06 |
kraftb |
and where? when you edit a arecord? |
| 14:06 |
compojoom |
yep |
| 14:06 |
kraftb |
ahh ... |
| 14:06 |
kraftb |
then the question is more about t3lib_tceforms, than tca.php |
| 14:06 |
compojoom |
why? |
| 14:06 |
kraftb |
t3lib_tceforms is responsible for rendering those forms, to be exact: alt_doc.php - this is the name of the script which renders the forms (using t3lib_tceforms) |
| 14:06 |
compojoom |
tce_form? |
| 14:07 |
compojoom |
can I call it in tca somehow? |
| 14:07 |
kraftb |
do in your browser: right-click on the editform > this frame > info |
| 14:07 |
kraftb |
it's alt_doc being called. |
| 14:07 |
kraftb |
alt_doc.php |
| 14:07 |
kraftb |
but wait |
| 14:07 |
compojoom |
alt_doc.php?returnUrl=db_list.php%3Fid%3D87%26table%3D&edit[tx_ehpacertificates_address][87]=new |
| 14:08 |
compojoom |
87 is the pid I need |
| 14:08 |
compojoom |
I could try to use get |
| 14:09 |
kraftb |
no. you are on the wrong track |
| 14:09 |
kraftb |
tca.php is just a configuration. you should find another way. |
| 14:10 |
kraftb |
but other question: it is a little bit problematic, having the same field pointing once to static_info_countries, and at another time to another table |
| 14:10 |
kraftb |
wouldn't it be more clever to have two fields, and show one at page 20 and the other at page 2000 |
| 14:10 |
compojoom |
$GLOBALS['edit'] |
| 14:10 |
kraftb |
it is easier to hide fields in this tce-form, than it is to change the "foreign_table" configuration |
| 14:10 |
compojoom |
array(1) { ["tx_ehpacertificates_address"]=> array(1) { [87]=> string(3) "new" } } |
| 14:10 |
compojoom |
87 is what I need |
| 14:10 |
kraftb |
yes. |
| 14:10 |
kraftb |
those are the parameters, telling you what is edited. |
| 14:11 |
kraftb |
and if you really would like to achieve what you describe, I would use a hook somewhere in tceforms or tcemain. |
| 14:11 |
kraftb |
if you want to know what a "hook" is read TYPO3 Core API documentation |
| 14:11 |
kraftb |
http://typo3.org/documentation/document-library/core-documentation/doc_core_api/current/ |
| 14:12 |
kraftb |
but you should also take my ideas in account, to have two separate fields. why is this not an option for you? |
| 14:12 |
compojoom |
the BOSS wants only one table that stores information for 3 different things |
| 14:12 |
compojoom |
the only difference is where the information is stored |
| 14:12 |
compojoom |
the pid |
| 14:14 |
kraftb |
is ok. but you could add 3 fields to this ONE table |
| 14:14 |
kraftb |
ok? |
| 14:15 |
kraftb |
if he wants one table with one field for storing 3 different things ... than your boss has no clue of database design. blame on me if I am wrong. but if I understood everything correct this is the only senseful way to solve this |
| 14:18 |
compojoom |
kraftb? |
| 14:18 |
compojoom |
what is wrong with the database design here? |
| 14:18 |
compojoom |
this table stores address information |
| 14:18 |
flops |
moinmoin |
| 14:19 |
compojoom |
depending on the pid we decide if it is a cervice address, manufacturer address and so on |
| 14:21 |
compojoom |
kraftb: do you still think that I need a separate field? |
| 14:22 |
kraftb |
yes. it is ok that the address once is a service address, manufacturer address, whatever |
| 14:23 |
kraftb |
but you asked, to have a foreign_table option pointion once to static_countries, and at another time to some other table. |
| 14:23 |
kraftb |
and THIS is what I think is wrong. |
| 14:23 |
compojoom |
ah |
| 14:23 |
kraftb |
using tt_address for different kind of addresses is quite fine |
| 14:23 |
compojoom |
it looks like this |
| 14:23 |
kraftb |
I guess you would like to point to the country the user is in. what would be the other table? |
| 14:23 |
flops |
i do have a system with multiple domainrecords/rootpages. now i wanted to create a new site/rootpage. but i don't have a domainrecord for that new rootpage. i cannot see that new site/rootpage because i always get directed to the other rootpages. is there a workaround to see that new rootpage without a domainrecord? |
| 14:23 |
compojoom |
the manufacturer should have a country, but the manufacturer can be from asia |
| 14:24 |
compojoom |
that is why we use static_info |
| 14:24 |
compojoom |
a service address is limited to 5 countries |
| 14:24 |
kraftb |
??? |
| 14:24 |
compojoom |
and the countries are stored in another table |
| 14:24 |
kraftb |
ah ... ok. |
| 14:25 |
kraftb |
ok. idea. there is an option for select/group called "itemProcFunc" |
| 14:25 |
kraftb |
you can fill in the name of a function there, which get's called for processing all items in the drop-down |
| 14:25 |
kraftb |
this function (which you have to write) could filter out all options (countries) which are not allowed for a service address ... |
| 14:25 |
kraftb |
w8 |
| 14:26 |
kraftb |
[itemsProcFunc]=EXT:vss/class.tx_vss.php:tx_vss->containerSelect |
| 14:26 |
kraftb |
so below "foreignTable" => 'bla' |
| 14:27 |
kraftb |
just add 'itemsProcFunc' => 'EXT:myext/class.myclass.php:my_class->processItems', |
| 14:27 |
kraftb |
then create an extension myext, having a php file "class.myclass.php", which hosts a class "my_class". |
| 14:27 |
kraftb |
create a method called "processItems" in there |
| 14:27 |
kraftb |
ok ? |
| 14:28 |
compojoom |
k |
| 14:28 |
kraftb |
function processItems($params, &$parentObj) { |
| 14:28 |
kraftb |
print_r($params['items']); exit(); |
| 14:28 |
kraftb |
} |
| 14:29 |
kraftb |
then when you edit a record, you should get a list of all "items" (options) in the drop down. Just unset those you do not need, and do "return $params;" at the end of the methods |
| 14:29 |
kraftb |
then your code will (hopefully) als be compatible with TYPO3 4.9 ;) |
| 14:29 |
kraftb |
if it ever comes as far as 4.9 *gg* |
| 14:29 |
compojoom |
:) |
| 14:30 |
compojoom |
I'll try it on monday if I don't come with a better idea during the weekend :D |
| 14:30 |
compojoom |
thanks for the help man! |
| 14:30 |
compojoom |
see you! |
| 14:35 |
sorenmalling |
Anyone here experienced that, editing a tt_address entry returns the form but with the name field blank? |
| 14:35 |
kraftb |
so, got teamspeak up an running: |
| 14:35 |
kraftb |
teamspeak: think-open.org / Password "TYPO3" |
| 14:36 |
maholtz|WORK |
@sorenmalling: yep |
| 14:36 |
kraftb |
it is possible to register your own user |
| 14:36 |
sorenmalling |
maholtz|WORK: Cool! :) Did you find a solution? |
| 14:36 |
maholtz|WORK |
check extension config |
| 14:36 |
maholtz|WORK |
its related to: firstname + lastname = name |
| 14:37 |
sorenmalling |
"Disable combined name field" is unchecked |
| 14:38 |
maholtz|WORK |
hm... |
| 14:38 |
maholtz|WORK |
i dont like that automagic funcitons |
| 14:38 |
maholtz|WORK |
perhaps check what happens, if you edit firstname and / or lastname |
| 14:38 |
maholtz|WORK |
perhaps that check does not work anymore... |
| 14:39 |
maholtz|WORK |
sorry, can only remember that i had some trouble with that stuff too:/ |
| 14:41 |
sorenmalling |
maholtz|WORK: Okay. I found out that the tt_addres have been extended by another extension, i'll try to look in to that ) |
| 14:41 |
sorenmalling |
*:) thanks |
| 14:44 |
kraftb |
noone wanna join the team speak ??!?!? |
| 14:44 |
Prot0 |
nope :D |
| 14:44 |
kraftb |
Player Attributes: None |
| 14:44 |
kraftb |
;) |
| 14:45 |
PiMB |
why the teamspeak? |
| 14:45 |
sorenmalling |
maholtz|WORK: Do you know a easy way of debugging the data being send when creating a new tt_address entry |
| 14:45 |
PiMB |
we got megaphone's right? |
| 14:46 |
PiMB |
@ sorenmalling, tt_address does some functie stuff before insertion in the database. |
| 14:46 |
PiMB |
functie = funky sorry |
| 14:46 |
Prot0 |
kind of "do the voodoo" |
| 14:46 |
sorenmalling |
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = 'tx_ttaddress_compat'; i guess :) |
| 14:47 |
PiMB |
but you might be able to use a processDatamap_postProcessFieldArray function in a tce_main hook |
| 14:47 |
PiMB |
(see tt_news for this, it has one) |
| 14:48 |
kraftb |
why not teamspeak ? |
| 14:48 |
kraftb |
I didn't really use this before |
| 14:48 |
kraftb |
but a friend of mine, played WOW quite a long time - I guess hes still playing it nowadays |
| 14:48 |
kraftb |
but ok - hes rather a freak than a developer .... |
| 14:48 |
sorenmalling |
I found it, it's putting together first_, middle_ and last_name field and inserts it to the name field no matter what |
| 14:49 |
PiMB |
true |
| 14:49 |
kraftb |
I touhgt it would be a quite fine addition to the IRC channel ... |
| 14:49 |
kraftb |
you don't have to type till your tips hurt |
| 14:49 |
kraftb |
;) |
| 14:49 |
PiMB |
people yelling through eachother ;) |
| 14:49 |
PiMB |
would be a nice addition |
| 14:49 |
kraftb |
that's what channels are for |
| 14:49 |
kraftb |
think-open.org / password "TYPO3" |
| 14:49 |
kraftb |
the server is running. |
| 14:49 |
kraftb |
;) |
| 14:49 |
PiMB |
nope, sorry |
| 14:49 |
kraftb |
k |
| 14:49 |
PiMB |
no time here :) |
| 14:50 |
kraftb |
to be true: at the moment I would just like to test if it works ;) |
| 14:50 |
kraftb |
i mean: wow. i can hear my own voice ;) |
| 14:54 |
sorenmalling |
maholtz|WORK: Got it working, simple removed the content of the "Backwardscompatibility format" field in extension configuration and it saves the name field :) |
| 14:55 |
kraftb |
i guess teamspeak is a quite interesting and powerful technology - if used for important things. ok. not as powerful as a StarTrek (TM) warp drive. but almost that powerful |
| 14:55 |
kraftb |
;) |
| 14:56 |
PiMB |
you've obviously never met Chuck norris. |
| 14:56 |
kraftb |
bad it only gets used for senseless things like online role playing. |
| 14:56 |
PiMB |
no that's something powerfull! |
| 14:56 |
kraftb |
no. who's chuck norris ? *gg* |
| 14:56 |
PiMB |
anybody got experience with nc_staticfilecache? I got it working |
| 14:57 |
PiMB |
but it keeps rewriting my 'visible' url to a typo3temp/etc.... |
| 14:57 |
kraftb |
probably you need some .htaccess |
| 14:57 |
kraftb |
chuck norris wont write your htaccess rules ! |
| 14:57 |
kraftb |
;) |
| 14:57 |
kraftb |
chuck norris doesn't respect htaccess while surfing the web. htacces fears him. |
| 14:57 |
PiMB |
of course I have htaccess file. |
| 14:58 |
PiMB |
otherwise it wouldn't redirect at all.. |
| 15:00 |
mikhas_ |
hello. is there anything in particular you need to think about when you're upgrading to the most recent typo3-sources (emptying cache etc)? |
| 15:00 |
mikhas_ |
long time no see, btw. |
| 15:03 |
Prot0 |
yup |
| 15:04 |
Prot0 |
backup up your DB |
| 15:04 |
Prot0 |
;-] |
| 15:04 |
Prot0 |
perhaps also file system |
| 15:04 |
Prot0 |
use the update wizard in the install tool |
| 15:04 |
kraftb |
what do you mean by "most recent" ? |
| 15:04 |
kraftb |
4.2 -> 4.3 |
| 15:04 |
kraftb |
or just 4.2.x -> 4.2.10 |
| 15:15 |
mikhas_ |
sorry, just 4.2.x to 4.2.10. I just did an upgrade on a 4.1.x site and it seemed to went by fine. :) |
| 15:16 |
mikhas_ |
i'm used to upgrading sites, but last time (this spring) I remember that you also needed to empty/create the new md5-key/salt I think. so it was a bit more of a job then. |
| 15:17 |
Prot0 |
did your RTE still work |
| 15:17 |
Prot0 |
? |
| 15:18 |
Prot0 |
(from 4.1.x tot 4.2.x) |
| 15:34 |
mikhas_ |
Prot0: didn't upgrade any site from 4.1.x to 4.2.x yet, but I remember that RTE-bug as well. |
| 15:35 |
Prot0 |
heh :] |
| 15:35 |
Prot0 |
that and a screwed up ref index |
| 15:39 |
mikhas_ |
on a 4.1 > 4.2 upgrade? |
| 15:41 |
Prot0 |
yup |
| 15:41 |
Prot0 |
not every time |
| 15:41 |
Prot0 |
but several times |
| 15:42 |
Prot0 |
best is still if ppl update the db but not the ext_tables.sql |
| 15:42 |
Prot0 |
:D |
| 15:44 |
maholtz|WORK |
@sorenmalling ah, good to know, thx |
| 16:47 |
elmargol |
I need a simple captcha for my forms/email |
| 16:47 |
elmargol |
is there a basic one? |
| 16:51 |
phil1 |
search ext manager for captcha |
| 16:52 |
elmargol |
phil1, i did.. there are a ton of extensions |
| 16:52 |
elmargol |
I need advice what to use |
| 17:33 |
prop_ |
hi, does anyone have an idea why internal links with cooluri don't work? unfortunately, the site-id is not translated in a readable url ... thanks. |
| 17:35 |
prop_ |
maybe it is a typical beginner problem? |
| 17:38 |
phil1 |
elmargol: still here? |
| 17:44 |
elmargol |
yes |
| 19:02 |
phil1 |
arg |
| 19:02 |
phil1 |
still? |
| 20:49 |
atmos4 |
argh trouble with realurl again |
| 20:49 |
atmos4 |
my printlink gets generated fine as http://my.doma.in/en/home/print |
| 20:50 |
atmos4 |
eg it pickt up the realurl conf just fine, but decode fails |
| 20:50 |
atmos4 |
I tried logging out of the backend but still no luck |
| 20:51 |
kraftb |
hey ... anyone using "pmkslimbox" as lightbox ? |
| 21:05 |
atmos4 |
hmm seems realurl was tripped up because print was defined in fileName but had not html ending |
| 21:06 |
atmos4 |
strange cause that's the default realurl conf |
| 21:11 |
phil1 |
anyone using latest trunk (4.3.0-dev)? |
| 22:08 |
phil1 |
anyone using latest trunk (4.3.0-dev)? |
| 22:10 |
kraftb |
phil1: not using, but sometimes working on it |
| 22:10 |
kraftb |
whats the problem or question ? |