| 00:20 |
Jon_yoosic |
hello all |
| 00:27 |
Jon_yoosic |
I'm working through the modern template tutorial and im not able to find the template autoparser extension, has that changed since 3.8? |
| 02:45 |
Denyerek |
JOn do you really want to NOT use TV ? |
| 03:14 |
Denyerek |
Anyone awake ? |
| 03:14 |
Denyerek |
I just saw this: http://www.3ev.com/fileadmin/3evdev/involve-sc1.mov |
| 03:14 |
Denyerek |
And want it badly |
| 03:14 |
Denyerek |
BUt their website is awfully vague on how to get / implement it |
| 04:12 |
tansta |
is there any real_url experts here ? |
| 05:17 |
d|g |
hi all |
| 06:07 |
just2b |
good morning |
| 06:15 |
uschi_ |
good morning |
| 06:15 |
uschi_ |
just2b |
| 06:15 |
just2b |
hi uschi |
| 06:22 |
tansta |
hi guys, is there a way to make the active link a different color with TS ? |
| 06:23 |
just2b |
there is CSS for this |
| 06:23 |
uschi |
you mean in menus? |
| 06:52 |
tansta |
yes yes |
| 06:52 |
tansta |
sorry i was busy |
| 06:53 |
tansta |
there is CSS but doesn't seem to work with typo3 menu |
| 06:53 |
just2b |
there is ACT (like NO) |
| 06:53 |
tansta |
oh yeah |
| 06:53 |
tansta |
i forgot |
| 06:53 |
tansta |
thanks just2b |
| 06:53 |
just2b |
np |
| 06:53 |
tansta |
no wonder i couldn't style it :) |
| 06:54 |
tansta |
just2b: do you know any extenstion that would help with typo3 performance |
| 06:54 |
tansta |
apparently its a big resource hog :) |
| 06:54 |
tansta |
my host is kicking my ass about i |
| 06:55 |
just2b |
change host |
| 06:55 |
just2b |
there are some exts to get static files |
| 06:57 |
tansta |
hahaha change host ? |
| 06:57 |
tansta |
hmmm... |
| 06:57 |
just2b |
what? you dont buy a ferrari if you can't afford the fuel |
| 06:58 |
tansta |
but we're hosting of one of the best host in australia :) |
| 06:58 |
just2b |
typo3 is a great cms and needs quite a good environment which you get at good hosts who have got special typo3 installations |
| 06:58 |
tansta |
well cost the most |
| 06:58 |
just2b |
this still doesn't mean that your package is good for typo3, does it? |
| 06:59 |
just2b |
but I don't know which page you have got.. |
| 06:59 |
tansta |
do you have any recomendation ? |
| 06:59 |
just2b |
not in australia |
| 07:00 |
tansta |
oh okay |
| 07:00 |
tansta |
anyway gotta go |
| 07:00 |
tansta |
see ya mate |
| 07:00 |
tansta |
have a nice day |
| 07:06 |
zatmania |
hi all |
| 07:07 |
just2b |
hi zat |
| 07:15 |
zatmania |
hi just2b |
| 07:15 |
zatmania |
reboot time |
| 07:15 |
zatmania |
tx windows |
| 07:28 |
FloLeBlanc |
hi all |
| 07:29 |
just2b |
hi flo |
| 07:29 |
FloLeBlanc |
did anyone of you ever implement a voucher function? (code generation?) |
| 07:29 |
zatmania |
nop |
| 07:30 |
just2b |
for tt_products? |
| 07:30 |
FloLeBlanc |
the question I'm facing if I generate "myuniquemodifier*somenumber" and md5 the thing and take the first 10 positions it won't be unique will it? :) |
| 07:30 |
FloLeBlanc |
just2b: actually for another project atm |
| 07:30 |
just2b |
flo, take a part of the tmstamp? |
| 07:30 |
FloLeBlanc |
just2b: must not be obvious on how to reproduce it |
| 07:31 |
Jigal |
hi all |
| 07:31 |
FloLeBlanc |
it's not the problem to find a unique modifier but I have to hash it somehow (or encode it somehow) |
| 07:31 |
FloLeBlanc |
but the md5 of f.e: 18791979 would be too long :) |
| 07:31 |
FloLeBlanc |
and if I take the first 10 chars only it won't be unique I guess |
| 07:32 |
just2b |
i bet there is something out in the php-world... it is not typo3 related |
| 07:32 |
FloLeBlanc |
yes I know but I thought I may ask here anyway hehe |
| 07:32 |
Jigal |
FloLeBlanc: even with an md5 hash there is no guarantee that two different source strings will not result in the same hash; it's very unlikely, but not completely |
| 07:33 |
Jigal |
FloLeBlanc: what exactly do you need for the "voucher function"? |
| 07:34 |
FloLeBlanc |
Jigal: I need something like => generateUniqueVoucherCode($customerUniqueInteger) returns 10digit voucher code (unique) |
| 07:35 |
FloLeBlanc |
even better would be $customerUniqueString as variable |
| 07:35 |
FloLeBlanc |
tried to google perhaps I search for the wrong words :) |
| 07:43 |
Jigal |
FloLeBlanc: perhaps the easiest way to make unique random numbers for this purpose is to use mt_rand() and then try to store that number in a database in a field with a UNIQUE index; if an error is returned about a duplicate key, repeat. |
| 07:44 |
FloLeBlanc |
Jigal: well I think there has to be a mathematical way to generate unique numbers from a seed doesn't there? *scratches his head* |
| 07:44 |
FloLeBlanc |
I dislike the idea of "generate - compare - delete if present - generateagain" |
| 07:45 |
just2b |
there is always the possibility to generate a duplicate |
| 07:45 |
just2b |
because you try to minimize information |
| 07:46 |
FloLeBlanc |
hmm right.. *scratches some more* |
| 07:46 |
just2b |
no kind of abbrevation can have the same amount of information as the large kind |
| 07:47 |
Jigal |
FloLeBlanc: I do not know a pseudo random number generator that comes with the guarantee that it also produces unique numbers. you probably want to store the numbers with the client data in the first place; using an index to force uniqueness is a practical approach... |
| 07:48 |
FloLeBlanc |
ok thank you |
| 07:48 |
Jigal |
just2b: you're right; every hash has collisions... |
| 07:49 |
just2b |
jigal, yeah not only hashes, but every shortening/abbrevation/truncation... |
| 07:58 |
just2b |
does somebody know how I get the $conf from another extension=? |
| 08:03 |
FloLeBlanc |
just2b: in your own extension php code or in the php code of the ext itself? |
| 08:04 |
just2b |
Flo: I want in my extension the $conf Array/ TS of another ext |
| 08:04 |
FloLeBlanc |
hm sorry never done that |
| 08:05 |
zatmania |
just2b : need to be sure is loaded |
| 08:05 |
zatmania |
and then |
| 08:06 |
just2b |
*waiting* ;))) |
| 08:06 |
zatmania |
get it from TSFE |
| 08:06 |
zatmania |
no ? |
| 08:09 |
sebkur |
hi |
| 08:09 |
just2b |
i will try |
| 08:10 |
just2b |
you mean $GLOBALS['TSFE']? |
| 08:11 |
zatmania |
just2b : $GLOBALS['TSFE']->TYPO3_CONF_VARS->[EXT]->[extConf][tt_news] |
| 08:11 |
zatmania |
but serialized |
| 08:11 |
zatmania |
you get localconf ext |
| 08:12 |
zatmania |
follow this way i think |
| 08:12 |
zatmania |
so need a coffee :) |
| 08:12 |
zatmania |
try to find what you want by a debug($GLOBALS['TSFE']); |
| 08:12 |
zatmania |
all is loaded in memory so ... |
| 08:13 |
zatmania |
this is for a FE ext |
| 08:15 |
just2b |
i don't get a output with debug($GLOBALS['TSFE']), with ($GLOBALS['TSFE']) i get "object" |
| 08:21 |
Fanty |
just2b: you trying to view the content of the TSFE? |
| 08:22 |
just2b |
yes |
| 08:22 |
Fanty |
print_r is your friend |
| 08:22 |
just2b |
yeah just tried.. any way to style this? |
| 08:22 |
Fanty |
echo '<pre>'; print_r( .. ); |
| 08:22 |
Fanty |
or view source |
| 08:23 |
just2b |
thx |
| 08:26 |
Fanty |
Anyone have any good examples of use of templates in extensions? |
| 08:26 |
just2b |
found the article in wiki? |
| 08:26 |
tobi |
mininews Fanty |
| 08:27 |
Fanty |
just2b/tobi: thanks.. that should give me something to go look for |
| 08:31 |
just2b |
zatmania, sry I want the TS of an extension, not the settings in EM of the ext |
| 08:35 |
Jigal |
just2b: be adventurous: var_dump($GLOBALS['TSFE']); :-) |
| 08:37 |
bauschan |
hi @ all ! |
| 08:38 |
Jigal |
hi bauschan, Crocus, brosment, beev0r, e-ffi, drindt, Fanty, LordLamer, sebkur, anty |
| 08:41 |
drindt |
Jigal: greetings! |
| 08:41 |
just2b |
jigal but how do I get the TS of a specifig ext? it is not in TYPO3_CONVAS |
| 08:42 |
zatmania |
hi bauschan |
| 08:43 |
Jigal |
just2b: as you know I'm not really the TS guy, so let me try and find a way to access the data by using your knowledge of TS :-) |
| 08:44 |
just2b |
12k lines.. wtf :D |
| 08:45 |
zatmania |
just2b : you find ? |
| 08:45 |
Jigal |
just2b: I never saw the possibility to enter TS for a specific ext, so what do you mean by "TS of a specific ext"? |
| 08:45 |
Crocus |
hiho |
| 08:45 |
zatmania |
i have result by a debug($GLOBALS['TSFE']); |
| 08:45 |
zatmania |
hi Crocus |
| 08:46 |
just2b |
i include a class of my extension in another extension but i loose my $conf-array, so need to get it from somewhere |
| 08:47 |
zatmania |
hvae you got a look to dynaflex ext ? |
| 08:49 |
dax77 |
hi @all |
| 08:49 |
zatmania |
hi dax77 |
| 08:50 |
zatmania |
just2b : http://ter.dev.robertlemke.de/documentation/document-library/extension-manuals/dynaflex/1.7.2/view/1/1/#id3840313 |
| 08:50 |
just2b |
will look into it |
| 08:52 |
Jigal |
just2b: where in the backend do you see the TS for a specific ext? |
| 08:53 |
Jigal |
just2b: I just read you're other explanation: you need the $conf of the parent class in your extension?? |
| 08:55 |
just2b |
maybe this explains it: i call rggooglemap in the extension ve_guestbook but I loose the Ts-array of my ext (rgooglemap) and so of course I don't see anything (because e.g. no template-path) |
| 08:55 |
brosment |
Anybody know how to configure RTE to not remove span tags with class attributes? It removes all span tags with classes but not with style attribute. What problem? |
| 08:58 |
Jigal |
just2b: I'll have to look into how you access the object of another ext, but once you have that it should be easy to access the $conf from there... In two minutes I have to attend a half hour meeting, so I'll look it up when I get back; let me know if you find a solution before I return... |
| 09:00 |
just2b |
ok |
| 09:00 |
just2b |
thx for help |
| 09:01 |
brosment |
Anybody know how to configure RTE to not remove span tags with class attributes? It removes all span tags with classes but not with style attribute. What problem? I use typical rtehtmlarea configuration and this Page TS: http://phpfi.com/215384 |
| 09:05 |
brosment |
Please, help. Anybody know how to configure RTE to not remove span tags with class attributes? It removes all span tags with classes but not with style attribute. What problem? I use typical rtehtmlarea configuration and this Page TS: http://phpfi.com/215384 |
| 09:06 |
just2b |
brosment, stop posting 3 times |
| 09:15 |
zatmania |
just2b : the other ext is loaded, isn't it ? |
| 09:16 |
just2b |
zat, just solved it.. yes |
| 09:16 |
just2b |
TS: plugin.tx_veguestbook_pi1.rggm < plugin.tx_rggooglemap_pi1 |
| 09:16 |
just2b |
php: $markerArray['###MAP###'] = $this->rggm2->showSearchBox('',$this->conf['rggm.']); |
| 09:18 |
zatmania |
nice ! |
| 09:19 |
just2b |
yes.. mozart - magic flute solved id ;) |
| 09:20 |
zatmania |
hehe |
| 09:23 |
Jigal |
just2b: smart to copy rg_googlemap to an object in ve_guestbook; only don't see how rggm from the TS becomes $this->rggm2 ?? |
| 09:24 |
just2b |
require_once(t3lib_extMgm::extPath('rggooglemap').'pi1/class.tx_rggooglemap_pi1.php'); |
| 09:24 |
just2b |
$this->rggm2 = t3lib_div::makeInstance('tx_rggooglemap_pi1'); |
| 09:26 |
Jigal |
just2b: but wouldn't the $conf from googlemap be accessible through $this->rggm2->conf as most extensions' main() functions start with $this->conf=$conf ? |
| 09:26 |
just2b |
i din't check that |
| 09:28 |
Jigal |
(it's still a darn smart solution!) |
| 09:28 |
just2b |
yeah I know... i keep on smiling |
| 09:28 |
just2b |
and i guess it is still the best way to configure the xt |
| 09:28 |
just2b |
ext |
| 09:30 |
WebDev_T3 |
hi |
| 09:43 |
Co2 |
I have a problem with my data structure. The richt text editor content doesn't appear in the frontend. http://phpfi.com/215392?lang=html |
| 09:43 |
Co2 |
What could be the problem? |
| 10:01 |
beev0r |
damn typo3 |
| 10:01 |
beev0r |
i hate it |
| 10:01 |
just2b |
so don't use it |
| 10:01 |
beev0r |
WHY cant i login to my frontend??? |
| 10:01 |
beev0r |
i created a sysfolder with usergroups and users |
| 10:01 |
beev0r |
entered the pageid of the sysfolder in the constants editor |
| 10:01 |
just2b |
use ext newloginbox and read manual |
| 10:01 |
beev0r |
and added a loginform to a page |
| 10:02 |
beev0r |
and now when i login |
| 10:02 |
beev0r |
it just doesnt work |
| 10:02 |
Fanty |
No way at all to make templates inside templates with templavoila at all? I.e. have an outer frame of an website in one template and have 3 different templates to use inside the outer frame... I currently have 3 different templates with all the same outer frame content giving me a serious headacke everytime some minor change to the frame needs to be corrected..! |
| 10:12 |
beev0r |
DAMN!!! |
| 10:13 |
beev0r |
i dont get the damn login form working. what do i do wrong?!??! |
| 10:13 |
just2b |
1. you use to many ! and ? |
| 10:13 |
just2b |
2. use the ext newloginbox |
| 10:14 |
Denyerek |
I just saw this: http://www.3ev.com/fileadmin/3evdev/involve-sc1.mov |
| 10:14 |
Denyerek |
And want it badly |
| 10:14 |
Denyerek |
BUt their website is awfully vague on how to get / implement it |
| 10:14 |
beev0r |
why should i use extensions for functions typo3 supports natively? usually ... |
| 10:15 |
just2b |
ok that is the way I do it because the ext has also some features... |
| 10:16 |
Co2 |
My content of a specific fce doesn't appear in the frontent, but backend. What could I do to debug this? |
| 10:17 |
Denyerek |
make sure you mapped a content elements section to the FCE |
| 10:17 |
Denyerek |
would be the first stop |
| 10:17 |
Co2 |
I did that. Otherwise it wouldn't appear in the backend either, isn't it so? |
| 10:18 |
Denyerek |
Cleared cache, both typo and browser? |
| 10:19 |
beev0r |
how do i tell the extension where to look for the users? |
| 10:19 |
beev0r |
print_r($_POST) always says pid => 0 |
| 10:19 |
beev0r |
oh. found it |
| 10:19 |
beev0r |
plugin.tx_newloginbox_pi1.storagePid = 123 |
| 10:19 |
Co2 |
Yes Denyerek, I did that |
| 10:20 |
koomi |
moin |
| 10:20 |
Denyerek |
argh! |
| 10:20 |
Denyerec |
Co2 - remap it from scratch |
| 10:20 |
Denyerec |
that's how I solved it for myself last time :S |
| 10:20 |
beev0r |
damn damn damn |
| 10:21 |
Denyerec |
could never figur eit out, but remapping it worked |
| 10:21 |
beev0r |
i hate the client for forcing me to use typo3 |
| 10:21 |
Co2 |
So you had this problem before, wither :-) ?= |
| 10:22 |
just2b |
stop crying beev0r |
| 10:23 |
beev0r |
no |
| 10:24 |
beev0r |
i hate it so much. i made dozens of login forms with typo3. and they all worked. i just dont know why that damn thing doesnt work on this particular site |
| 10:25 |
toms |
While I tried to edit an extension-file Typo gave me ahint to set "$TYPO3_CONF_VARS['EXT']['noEdit']-flag". Where can I edit this flag? Or the better question: What is the supposed way to edit an extension? |
| 10:26 |
koomi |
Denyerec: http://www.3ev.com/randd/involve/ |
| 10:27 |
Co2 |
Denyerec thank you. Now it works |
| 10:27 |
Denyerec |
nps Co2 |
| 10:27 |
Denyerec |
Looks lik eyou had the Mystery TV bug too ;) |
| 10:27 |
Denyerec |
koomi - have you ever used it ? |
| 10:28 |
koomi |
nope |
| 10:28 |
koomi |
but it looks really smooth |
| 10:28 |
Denyerec |
no shit |
| 10:33 |
jan___ |
hello :) |
| 10:42 |
Co2 |
How can I set the root page of the TYPO3 ? E.g. www.example.com -> index.php?id=11 |
| 10:42 |
toms |
You can set up the root page as a shortcut to another page |
| 10:43 |
Denyerec |
Aye |
| 10:44 |
Co2 |
toms but how? ;-) |
| 10:44 |
toms |
toms: it would be great if you have a root site without any content |
| 10:45 |
Co2 |
yes that i have |
| 10:45 |
toms |
co2: then edit this (edit page properties) page and select "Shortcut" as the "Type" |
| 10:46 |
Denyerec |
Ack |
| 10:46 |
Denyerec |
when Typo3 extension screws up |
| 10:46 |
Denyerec |
and fails a dependency |
| 10:46 |
Denyerec |
where do you edit to remove it so you can get the site working again ? |
| 10:47 |
Co2 |
toms: faboulous! thank you. I tried mount page as page type |
| 10:48 |
toms |
co2: mh.. np |
| 10:48 |
beev0r |
"wrong username or password" |
| 10:48 |
beev0r |
WTF?? |
| 10:48 |
beev0r |
i'm more than sure that i entered a correct username and password |
| 10:50 |
toms |
Somebody ever watched www.example.com in a browser? ;) I just did. Fancy things in www |
| 10:51 |
beev0r |
lol |
| 10:55 |
jan___ |
lol quite crazy |
| 10:56 |
toms |
beev0r: According to my book there is a file typo3conf/localconf.php where "$TYPO3_CONF_VARS['EXT']['extList'] is a list of extensions to load. Remove the broken one and it should work as if you removed it in ExtManager. (Thats just Info from the book, i never did it myself) |
| 10:57 |
sebkur |
yeah that works |
| 10:58 |
beev0r |
hm |
| 10:58 |
beev0r |
i dont know if i have any broken extensions instaleld |
| 10:59 |
toms |
oh, sry, beev0r: this was ment for denyerec |
| 10:59 |
toms |
i should have gotten more sleep this night... |
| 11:00 |
toms |
denyerec: According to my book there is a file typo3conf/localconf.php where "$TYPO3_CONF_VARS['EXT']['extList'] is a list of extensions to load. Remove the broken one and it should work as if you removed it in ExtManager. (Thats just Info from the book, i never did it myself) |
| 11:01 |
Denyerek |
When T3 screws up with an extension |
| 11:01 |
Denyerek |
How do you remove it manually so you can get your site to load again? |
| 11:01 |
toms |
According to my book there is a file typo3conf/localconf.php where "$TYPO3_CONF_VARS['EXT']['extList'] is a list of extensions to load. Remove the broken one and it should work as if you removed it in ExtManager. (Thats just Info from the book, i never did it myself) |
| 11:02 |
Denyerek |
thanks |
| 11:02 |
Denyerek |
My Net went bent |
| 11:05 |
Denyerek |
TYPO3 Fatal Error: Extension key "microsites" was NOT loaded! (t3lib_extMgm::extPath) |
| 11:05 |
Denyerek |
GODVERDOMME |
| 11:05 |
Denyerek |
I have no idea how to fix it :( |
| 11:05 |
Denyerek |
Altering the extlist didn't work |
| 11:07 |
koomi |
hrhr Denyerek: how did you patch the class.t3lib_ stuff? |
| 11:07 |
Denyerek |
I didn't yet!! |
| 11:07 |
Denyerek |
I tried to install one of the extensions, which didn't check dependencies |
| 11:07 |
Denyerek |
so now I get that microsites error |
| 11:08 |
toms |
Does microsites depend on the ext you removed from the extlist? |
| 11:08 |
Denyerec |
Ah got the bitch |
| 11:09 |
Denyerec |
just deleted the temp files in t3_conf |
| 11:09 |
toms |
:) |
| 11:18 |
many |
is there ANY *understandable* document which documents what exactly is needed that a user can access filemounts from a custom workspace, essentially also loading files up? |
| 11:18 |
koomi |
ze pulponair |
| 11:19 |
pulponair |
koomi: moin |
| 11:19 |
just2b |
re |
| 11:20 |
many |
shall i count that as "nobody uses workspaces"? |
| 11:22 |
Denyerec |
koomi |
| 11:22 |
Denyerec |
don't bother with the publically available version |
| 11:22 |
Denyerec |
it's a bag of shit |
| 11:22 |
Denyerec |
the one in the movie has not been released, they're keeping it for their £5000 service,. |
| 11:23 |
just2b |
what are you talking about? |
| 11:23 |
Denyerec |
The "involve" FE editing thing |
| 11:24 |
Denyerec |
http://www.3ev.com/fileadmin/3evdev/involve-sc1.mov |
| 11:24 |
just2b |
o_o |
| 11:25 |
pulponair |
Denyerec: that is noting but a toy |
| 11:25 |
Denyerec |
Looks sexy tho, which matters a lot to clients :( |
| 11:26 |
pulponair |
Denyerec: right |
| 11:26 |
Denyerec |
Typo3 backend scares a lot of people witless |
| 11:26 |
pulponair |
Denyerec: yes but it is scary ;) |
| 11:27 |
just2b |
my clients are never scared .. |
| 11:27 |
pulponair |
Denyerec: though i know much more scary ones |
| 11:27 |
Denyerec |
just2b - you in the UK ? |
| 11:27 |
just2b |
.austria |
| 11:27 |
Denyerec |
Cos a lot of people here are image-centric dullards who fear change and are resistant to learning. |
| 11:27 |
pulponair |
Denyerec: but imho usabillity should be improved |
| 11:28 |
pulponair |
Denyerec: that is whay t3 is that much popular in germany ...we don not fear anything ;) |
| 11:28 |
pulponair |
Denyerec: except for britian ;) |
| 11:28 |
just2b |
;D |
| 11:28 |
Denyerec |
haha |
| 11:28 |
just2b |
teatime is the right time to fight :D |
| 11:28 |
Denyerec |
Yes I keep telling people the interface looks East German |
| 11:29 |
pulponair |
Denyerec: or even british food ;) |
| 11:29 |
pulponair |
Denyerec: hmm no it looks danish ;) |
| 11:29 |
pulponair |
Denyerec: gamle dansk ;) |
| 11:29 |
Denyerec |
Grey, boxy and confusing ? |
| 11:29 |
Denyerec |
Soviet Era Germany... |
| 11:29 |
Denyerec |
For sure! |
| 11:29 |
Denyerec |
;) |
| 11:30 |
pulponair |
Denyerec: yes the grey box style is very confusing...way to less structured not enough contrast etc... |
| 11:30 |
Denyerec |
all will change with Typo5 I am sure. |
| 11:30 |
Denyerec |
But so far away! |
| 11:31 |
pulponair |
Denyerec: but gui develepment is a science on its own. |
| 11:31 |
Denyerec |
INdeed |
| 11:31 |
Denyerec |
HCI is a complex subject |
| 11:31 |
Denyerec |
not made easier by a certain browser. |
| 11:31 |
pulponair |
Denyerec: yes HIG |
| 11:31 |
Denyerec |
Lets do X (Writes 5 lines of code...) |
| 11:31 |
Denyerec |
Oh, it doesn't work in IE... |
| 11:31 |
Denyerec |
(Writes 400 lines of code) |
| 11:31 |
pulponair |
Denyerec: indeed |
| 11:31 |
Denyerec |
So, so sad :( |
| 11:31 |
just2b |
HCI hasn'T to much with browsers IMO |
| 11:32 |
Denyerec |
Microsoft has singlehandedly held back the internet since 2000 |
| 11:32 |
Ries |
good morning |
| 11:32 |
Denyerec |
Yo ries |
| 11:32 |
Ries |
Denyerec: I think it's the users that held it back |
| 11:32 |
pulponair |
Denyerec: hireing a gui expert would be a good idea imho |
| 11:32 |
just2b |
so the netscape was better denyerec? lol |
| 11:33 |
Denyerec |
Hah trye |
| 11:33 |
Denyerec |
*true |
| 11:33 |
Denyerec |
It just annoys me, when you have options like Safari and Opera that let you do what you want |
| 11:33 |
pulponair |
Ries: http://www.liveleak.com/view?i=e837119690 is it dutch ? |
| 11:33 |
Denyerec |
and 90% of the planet says "no, keep working with year 2000 technology" |
| 11:33 |
just2b |
and then it is the fault of m$? |
| 11:35 |
Jigal |
just2b: everything is the fault of a certain company from Redmond ;-P |
| 11:35 |
pulponair |
Denyerec: would you agree on : people owning web gui (HIG) skills are quite rare? |
| 11:35 |
Denyerec |
Yes pulponair |
| 11:36 |
Denyerec |
in fact software engineers with HIG skills are rare |
| 11:36 |
Denyerec |
as everyone things you can just slap together a GUI and run |
| 11:36 |
pulponair |
Denyerec: i am not talking about simple websites more about "web based applications" |
| 11:36 |
Denyerec |
when in fact it's anartform |
| 11:36 |
Denyerec |
*an artform |
| 11:36 |
Denyerec |
just2b - it's the fault of MS |
| 11:36 |
Denyerec |
Why ? |
| 11:36 |
Denyerec |
Because people will use what is put in front of them without seeking anything different |
| 11:36 |
Denyerec |
Because 99% of people are lazy and stupid |
| 11:36 |
pulponair |
Denyerec: yes as mentioned before "gui-development" i.e. web gui development is a science on its own |
| 11:36 |
Jigal |
pulponair: that clip is from Belgium |
| 11:36 |
just2b |
you are only bashing, no time for that, your are OT here |
| 11:37 |
Denyerec |
So in that sense, MS control a great deal of what happens on the internet, in document development, etc. |
| 11:37 |
pulponair |
Jigal: so it isnt dutch they speaking? |
| 11:37 |
Denyerec |
And when the tools provided to the masses are sub-par, it retards development of that arena. |
| 11:37 |
Denyerec |
EG - making writing GUI's for web apps more difficult than it should be. |
| 11:37 |
Denyerec |
(getting back OT) |
| 11:38 |
Denyerec |
Lets say you want to add a semitranparent shadow around a popup menu to improve isolation and contrast. 2 second task in Safari, 2 hours of .htc behaviour hacking in IE. |
| 11:39 |
just2b |
you are bashing |
| 11:39 |
pulponair |
just2b: i he's just a little frustrated ;) |
| 11:39 |
Denyerec |
I'm highlighting that trying to support IE makes writing something complex like a Typo3 BE far more difficult than it should be |
| 11:39 |
Jigal |
pulponair: half of Belgium speaks Flemish, which is Dutch with a different pronounciation and some grammatical differences and the other half speaks French; so technically speaking they speak Dutch. |
| 11:39 |
Denyerec |
Call it bashing if you want, but it's outright truth. |
| 11:39 |
pulponair |
Jigal: ok, thank you for clearifying things:) |
| 11:40 |
just2b |
denyerec > you have got the wrong job |
| 11:40 |
Denyerec |
I've known that for a year or more. |
| 11:40 |
pulponair |
Jigal: i was amazed cause it sounds like dutch in a more melodic way ... |
| 11:40 |
just2b |
so change it, if you a german, visit heise.de for bashing |
| 11:41 |
pulponair |
hehe :) |
| 11:41 |
Denyerec |
I know full well we're forced to support IE because of the market. My point being, IE makes things more difficult than they should be. |
| 11:41 |
Rie1 |
Denyerec: I think the mayor problem with IE is the lack of good development tools. Currently it's just a lot trial and error with IE |
| 11:41 |
Rie1 |
Denyerec: And due to so much trial and error things takes up much more time |
| 11:41 |
just2b |
IE introduced web2.0 so it is also bad? |
| 11:41 |
pulponair |
ries: there is a web dev tool for ie |
| 11:41 |
Rie1 |
Good thing for Javascript is that we now have good frameworks |
| 11:41 |
pulponair |
ries: works quite similar to the ff one |
| 11:41 |
Rie1 |
pulponair: I know, but I said 'good' |
| 11:41 |
pulponair |
Rie1: ok missed that ;) |
| 11:42 |
Denyerec |
Yes if it wasn't for the frameworks, "web 2.0" would be impossible, thanks to the differences in IE and other browsers JS implementations. |
| 11:42 |
Rie1 |
pulponair: I tried it once... but couldn't figure out how that worked.... |
| 11:42 |
Denyerec |
Though, admittedly, ATLAS looks very impressive. |
| 11:42 |
Rie1 |
Denyerec: Are you in your period again?? :D |
| 11:42 |
Denyerec |
Yeah RIes |
| 11:42 |
pulponair |
Rie1: there is a new version |
| 11:42 |
Denyerec |
I was just considering the T3 BE |
| 11:42 |
just2b |
Ries... he sounds like a woman ;) |
| 11:42 |
Denyerec |
and how if IE didn't exist, how it'd be so much easier to make a really nice one. |
| 11:43 |
Rie1 |
pulponair: I never tried that one... |
| 11:43 |
just2b |
and i thought i work with computers to avoid them ^^ |
| 11:43 |
Rie1 |
just2b: yes he does... |
| 11:43 |
pulponair |
Rie1: better than nothing |
| 11:44 |
Rie1 |
pulponair: well... most of the times I can go around with a simple DEBUG command, and dojo does have some nice debug widgets.... als' FF's javascript debugger wasn't that good.... But worked now and then :D |
| 11:44 |
Denyerec |
Firebug is "ok" |
| 11:44 |
pulponair |
Rie1: ok |
| 11:44 |
Denyerec |
just2b - I have a legitimate point about IE making things more difficult than they should be, and you go right ahead and call me a woman. |
| 11:44 |
Denyerec |
Balance it up dude! |
| 11:45 |
Rie1 |
Denyerec: I didn't call you a woman ;) |
| 11:45 |
Denyerec |
I know, just2b did :) |
| 11:45 |
Denyerec |
Men can have periods too :) |
| 11:45 |
Denyerec |
AND BOY AM I ON ONE |
| 11:45 |
Rie1 |
Denyerec: IE could do things already which was impossible with FF or others.. and that was intergration so web applications could be made... |
| 11:46 |
Denyerec |
You mean ActiveX ? |
| 11:46 |
just2b |
denyerec.. you are just bashing.. nothing else.. there are several browsers and part of our job is to get it working in both browsers... so what? |
| 11:46 |
just2b |
Ries means ajax |
| 11:46 |
just2b |
(i guess) |
| 11:46 |
pulponair |
just2b: indeed |
| 11:47 |
Denyerec |
bashing would be unfounded complaint. |
| 11:47 |
Denyerec |
I think what you'll find I'm doing is "whining" |
| 11:47 |
just2b |
you do both |
| 11:47 |
Denyerec |
It's complaining about a fact you can do nothing about. |
| 11:56 |
Denyerec |
If I crash out of IRC it's because Winamp is busy spawning 4786 information windows. |
| 11:56 |
Denyerec |
>_< |
| 11:57 |
just2b |
oh you are so cool |
| 11:57 |
Denyerec |
Wouldn't want anyone to think I'd quit out from someone having a go in IRC, that's all :) |
| 11:58 |
just2b |
who would miss you? :D |
| 11:58 |
dax77 |
stop it right here, right now - please |
| 11:59 |
just2b |
sry dax, btw the map is nearly working ^^ |
| 12:01 |
dax77 |
cool |
| 12:02 |
just2b |
just a small query problem, then I can show |
| 12:03 |
dax77 |
looking forward to it :) |
| 12:11 |
Denyerec |
wb ries :) |
| 12:13 |
Ries |
thanks dude..... Denyerec you need to help karina again... ofcourse I will pay you. Karina is going to open a 'snack bar' |
| 12:14 |
Ries |
and we need some nice logo and stuff |
| 12:14 |
Denyerec |
Sure |
| 12:14 |
Denyerec |
pm |
| 12:15 |
Ries |
thanks.. |
| 12:17 |
dax77 |
Ries: a snack bar - cool :) |
| 12:18 |
dax77 |
Jigal! :) |
| 12:20 |
Jigal |
Ries: this guy http://www.artistmike.com/ used to troll a PhotoShop newsgroup years ago; maybe an inspiration for a logo? ROFL ;-P |
| 12:20 |
brosment |
Please, help. Anybody know how to configure RTE to not remove span tags with class attributes? It removes all span tags with classes but not with style attribute. What problem? Page TS Config: http://phpfi.com/215436 |
| 12:21 |
Ries |
My Wide, karina... she is just great!!! |
| 12:21 |
Ries |
Jigal: I think I will let Den design something for me... |
| 12:22 |
pulponair |
is there a way to preset the direct mail : Domain of internal links field? |
| 12:23 |
Jigal |
Ries: I'm not surprised :-) |
| 12:26 |
Jigal |
brosment: I think the last line tells the parser to not unset the style attribute (and thus leaves the span). if you add the same line with class instead of style, maybe that'll do the trick? |
| 12:26 |
Denyerec |
I think it unset the unset |
| 12:26 |
Denyerec |
:) |
| 12:26 |
brosment |
I'll try |
| 12:27 |
Denyerec |
I was looking at the Plone editor, and the default styles that it allows you to apply are faily convenient. I was thinking maybe it would be neat to write a CSS file to implement the same for the T3 RTE, though I have no idea how you'd bundle it as an extension. |
| 12:27 |
just2b |
damn I hate bugs which exist because i was lazy some time ago |
| 12:29 |
Ries |
just2b: which reminds me......... |
| 12:32 |
brosment |
Jigal, No result. span tag with class attribute is being removed. Do you have other ideas? |
| 12:33 |
just2b |
from one js error to the next one |
| 12:33 |
just2b |
IT WORKS |
| 12:33 |
just2b |
DAX ;))) |
| 12:34 |
Jigal |
brosment: of course you emptied every cache you could find? |
| 12:35 |
brosment |
of course, I emtied |
| 12:40 |
brain-xy |
hi all :) |
| 12:43 |
Jigal |
brosment: in TYPO3 Core APIs is chapter on the RTE API, which contains some info on how to configure an RTE, but unfortunately it doesn't contain details on the options :-( |
| 12:44 |
brosment |
ok, Jigal, I'll see it. Thank you. |
| 12:44 |
Jigal |
brosment: which RTE do you use? HTMLarea? |
| 12:45 |
brosment |
html area |
| 12:45 |
Jigal |
maybe this site is useful: http://ben.vantende.net/nc/t3docs/rte/page/TOC/ |
| 12:47 |
just2b |
http://phpfi.com/215449 |
| 12:47 |
brosment |
Thanks |
| 12:47 |
just2b |
sry,wrong window ;) |
| 12:49 |
Jigal |
brosment: if you can read German: http://www.datenwolken.de/index.php?id=154&L=1 |
| 12:59 |
j0hndeere |
Good morning, earthlings. |
| 13:05 |
kraftb |
hi everyone .... |
| 13:05 |
just2b |
hi bernhard |
| 13:05 |
Jigal |
hi kraftb, j0hndeere |
| 13:05 |
kraftb |
does anyone know where i can find those SVN statistics about T3 ? |
| 13:05 |
kraftb |
hi georg ! |
| 13:05 |
kraftb |
hi jigal ! |
| 13:05 |
kraftb |
there was such a site once where i could |
| 13:06 |
kraftb |
see which core dev did how many commits ... and how many bytes/chars he commited in overall |
| 13:06 |
tobi |
do you mean http://sourceforge.net/project/stats/detail.php?group_id=20391&ugn=typo3&type=svn kraftb? |
| 13:06 |
kraftb |
no ... |
| 13:06 |
kraftb |
this wasn't on sf.net directly |
| 13:06 |
kraftb |
it was hosted somewhere else ... |
| 13:07 |
Jigal |
kraftb: just to be curious: what would those figures say? |
| 13:07 |
just2b |
jigal, that i did commit nothing;) |
| 13:08 |
Jigal |
just2b: and you're a core dev? |
| 13:09 |
just2b |
would be new to me ;) |
| 13:09 |
sercz |
hi! since i have upgraded my typo3 installation to 4.1, login via newloginbox doesn't work anymore |
| 13:10 |
sercz |
are there any known problems? |
| 13:10 |
Fanty |
sercz: you updated the newloginbox plugin? |
| 13:10 |
sercz |
yes |
| 13:11 |
sercz |
newloginbox says, I probably entered wrong credentials btw |
| 13:12 |
webdev |
hello everyone |
| 13:12 |
webdev |
What's the very first hook in typo3 which is called on every request ? |
| 13:14 |
kraftb |
it's in tslib/index_ts.php |
| 13:14 |
kraftb |
BE user check hook |
| 13:14 |
kraftb |
but it get's called every time |
| 13:15 |
kraftb |
you can use it for your custom processing of GET vars .... |
| 13:15 |
kraftb |
i do that myself :) |
| 13:15 |
webdev |
kraftb: thank you very much. I'm looking for a hook where I can switch from http to https for everything, backend and frontend |
| 13:16 |
webdev |
kraftb: the existing enforcer has no 'for all/global' functionality |
| 13:16 |
neostar |
hi there |
| 13:16 |
kraftb |
hmm ... |
| 13:17 |
kraftb |
you'll probably just have to modify the link functions ... so they generate "full" links with the method set to http |
| 13:17 |
kraftb |
jigal: there were svn statistics ... i guess i saw it once in the mailing lists |
| 13:17 |
kraftb |
there they showed the activity of each dev in form of "commits/bytes/time/etc." |
| 13:18 |
kraftb |
it was a very extensive statistic ... and a friend of mine wants the same tool for the SVN of his company |
| 13:18 |
sercz |
hmm, on of my other sites which uses newloginbox does not work anymore too |
| 13:18 |
sercz |
damn |
| 13:20 |
bauschan |
kraftb: do you have a sec, you know the basket listing issue |
| 13:21 |
kraftb |
hmm ... |
| 13:21 |
kraftb |
basket listing ? |
| 13:21 |
bauschan |
kb_shop |
| 13:21 |
kraftb |
you want to list the basket in kb_shop ? |
| 13:21 |
kraftb |
yes |
| 13:21 |
kraftb |
thats clear :) |
| 13:21 |
bauschan |
yeap |
| 13:21 |
kraftb |
just select the virtual table to be displayed |
| 13:21 |
bauschan |
doesen't work |
| 13:21 |
kraftb |
then you will get one element listed ... |
| 13:22 |
bauschan |
no |
| 13:22 |
bauschan |
There were no entries matching your critieria. |
| 13:22 |
bauschan |
that's all .( |
| 13:22 |
kraftb |
hmm ... you do not get even one single "LIST_item" ? |
| 13:22 |
bauschan |
no sir |
| 13:22 |
kraftb |
which folder did you select to be displayed ? |
| 13:22 |
kraftb |
i mean which page did you choose for "product folders" ? |
| 13:23 |
bauschan |
root ->infinie |
| 13:23 |
kraftb |
you will have to select the folder where you store the virtual records ... |
| 13:23 |
kraftb |
hmm ... |
| 13:23 |
kraftb |
i don't know if this will work ... |
| 13:23 |
bauschan |
I'll try |
| 13:23 |
sercz |
downgrade to 4.0.4 makes it work again... |
| 13:23 |
kraftb |
did you set default values (pid) for your virtual records ? |
| 13:23 |
kraftb |
wait ... |
| 13:24 |
Denyerec |
kraftb - is kbShop "production ready" yet? |
| 13:25 |
bauschan |
kraftb: no |
| 13:26 |
kraftb |
well ... i use it on quite some sites now |
| 13:27 |
kraftb |
but it is a mess to set up a shop |
| 13:27 |
kraftb |
well ... no mess ... but tricky and i have to do print_r's in the core myself to find what is missing where |
| 13:27 |
Denyerec |
Doh. |
| 13:27 |
kraftb |
but for simply listing custom records it is very good |
| 13:27 |
Denyerec |
Are you aiming to make a production ready shop? |
| 13:27 |
kraftb |
i think i have to implement some debug methods for the shopping basket |
| 13:27 |
kraftb |
what means "production ready" ??? |
| 13:28 |
kraftb |
in your opinion |
| 13:28 |
Denyerec |
Good enough to implement on a high volume shop site, keep customers happy by offering lots of payment / product options and not lose invoices! :) |
| 13:31 |
kraftb |
bauschan: http://t3paste.org/GJYF1x |
| 13:32 |
kraftb |
high volume: yes .... product options: your think - not restricted by kb_shop ..... no loose invoices: yes .... payment options: none currently - no online billing |
| 13:32 |
kraftb |
but the payment will be completed in the next 1/2 months ... as i am having a project myself which requires online payment |
| 13:37 |
bauschan |
kraftb: thx, but still no output :( |
| 13:38 |
brain-xy |
hey kraftb ... :) how are you? |
| 13:39 |
webdev |
kraftb: I wanna have every user, doesn't matter if he types in the url or if he clicks on the link on an external home page, to be forwarded to https://samelink |
| 13:40 |
brain-xy |
anybody ever used css_filelinks ? |
| 13:43 |
kraftb |
hi brain ... fine ... thx |
| 13:43 |
Jigal |
kraftb: statistics like these are very dangerous: I write bugfree code myself ;-) so I do not commit code often and thus I do not send a lot of data in total; whereas my colleague can only produce a working app. by trial and error; loads of commits and often a lot of data traffic. What does it say about the code we both submitted and about capabilities as a programmer?? |
| 13:43 |
kraftb |
and you ? |
| 13:43 |
beev0r |
what possible reasons could it be, when my login isnt working? |
| 13:43 |
beev0r |
newloginbox always says uername or password wrong |
| 13:43 |
beev0r |
although i'm more than sure they're correct |
| 13:43 |
kraftb |
jigal: well .. i do not care myself about svn stats ... but a friend of mine wants this |
| 13:43 |
dax77 |
hi kraftb :) |
| 13:44 |
kraftb |
he said himself that some of his colleges only commite bugfixes for bugs they introduced themselves :) ... but that doesn't count |
| 13:44 |
kraftb |
hi day ! |
| 13:44 |
kraftb |
dax ! |
| 13:44 |
kraftb |
sorry :) |
| 13:44 |
dax77 |
lol |
| 13:44 |
kraftb |
but also: hi day ! |
| 13:44 |
kraftb |
i think one notices i use a qwertz keyboard :) |
| 13:44 |
dax77 |
kraftb: what about the timezone bug? |
| 13:44 |
Jigal |
kraftb: warn that friend of yours for the danger of statistics ;-) |
| 13:44 |
kraftb |
well ... i did not have to take care of it :( |
| 13:44 |
dax77 |
did you see my patch? |
| 13:45 |
kraftb |
i know ... never trust a statistic you didn't manipulate yourself |
| 13:45 |
kraftb |
hmm ... did you write the documentation about the bug ? |
| 13:45 |
Jigal |
kraftb: you are sooo right ;-) |
| 13:45 |
webdev |
kraftb: I'll solve it with mod_rewrite |
| 13:45 |
kraftb |
someone documented it very well ... what the current status is and what can/should be done |
| 13:45 |
dax77 |
no, that was steffen, but I helped him :) |
| 13:45 |
kraftb |
webdev: this is also a good solution ... |
| 13:45 |
kraftb |
very easy |
| 13:46 |
kraftb |
good idea |
| 13:46 |
kraftb |
i used qwerty keyboard once in work ... but then i had problems with the qwertz keyboards on all other boxes here in .at ... i mean qwertz ist the common type here |
| 13:46 |
kraftb |
dax: i think steffen documented this very well ... |
| 13:47 |
kraftb |
i will take care of it when my current 3 projects have finished ... and there is still money left after paying the taxes of last year :( :( |
| 13:47 |
dax77 |
kraftb: than you should have a look at my patch, because it's build upon the description and a easy solution too - I think |
| 13:48 |
kraftb |
bauschan: you could try to do a print_r ... to see where the problem resides |
| 13:48 |
kraftb |
wait ... i tell you where |
| 13:49 |
bauschan |
ok |
| 13:49 |
kraftb |
tx_kbsho |
| 13:49 |
kraftb |
pi1/class.tx_kbshop_pi1.php -> processData ... at the very bottom add: |
| 13:49 |
kraftb |
print_r($this->data) |
| 13:49 |
kraftb |
especially have a look at this method ... processData ... |
| 13:50 |
kraftb |
it is the main method processing data posted for the basket |
| 13:50 |
kraftb |
it handles the complete virtual tables except for loading them .... |
| 13:50 |
kraftb |
i will do a rewrite of it soon ... i guess ... |
| 13:50 |
kraftb |
it is somehow crap |
| 13:50 |
kraftb |
currently |
| 13:51 |
dax77 |
kraftb: http://bugs.typo3.org/view.php?id=1697 -> the txt files |
| 13:53 |
bauschan |
kraftb: http://t3paste.org/SqHPJD |
| 13:54 |
bauschan |
[kbs_amount] is the key I'll try to fetch |
| 14:01 |
kraftb |
bauschan: i can't read this ... it's in one lne |
| 14:01 |
kraftb |
when you view the debug ... view the source |
| 14:02 |
bauschan |
sorry |
| 14:02 |
kraftb |
and copy the print_r from there |
| 14:02 |
kraftb |
there are linebreaks also |
| 14:03 |
bauschan |
http://t3paste.org/NzGSNr |
| 14:03 |
bauschan |
looks better now |
| 14:10 |
Fanty |
how does mininews register the template_datastructure.xml with TV in a way that makes TV display it in "others"? |
| 14:11 |
Fanty |
or any extension for that matter.. I need to get my extension to register a DS with TV |
| 14:20 |
webdev |
has anybody expiriances with mod_rewrite |
| 14:20 |
webdev |
I'v to add a rule to the top of the regular realURL rules |
| 14:21 |
spleyx`worK |
Hello can anybody recommend a simple shopsystem-extension? i´ve never built up a shop before... |
| 14:23 |
webdev |
found it |
| 14:26 |
bauschan |
kraftb: http://t3paste.org/NzGSNr any idea? |
| 14:32 |
kraftb |
bauschan: you are missing a "parent" record ... |
| 14:32 |
kraftb |
one where the user information like firstname and so on is stored |
| 14:32 |
kraftb |
and "parent" isn't set ... |
| 14:32 |
kraftb |
wait |
| 14:33 |
kraftb |
http://t3paste.org/ryDQaD |
| 14:33 |
kraftb |
this is the TS i use on another page with basket |
| 14:33 |
kraftb |
it set's the parent to "1" |
| 14:33 |
kraftb |
currently it is only possible to have one "master" (containig) record in the virtual table ... |
| 14:33 |
kraftb |
it always get's the temporary UID 1 |
| 14:34 |
kraftb |
and then you have as many section records pointing on this one |
| 14:34 |
kraftb |
you then output the container record on the basket listing page |
| 14:34 |
kraftb |
(cause you can't output section records directly) |
| 14:34 |
kraftb |
and then use a normal section-subpart to output the section values |
| 14:34 |
kraftb |
got it ? |
| 14:34 |
kraftb |
:) |
| 14:35 |
bauschan |
think so ;) |
| 14:35 |
bauschan |
I'll give it a try |
| 14:45 |
hgn |
hello |
| 14:46 |
wilz |
hello |
| 14:48 |
eeos |
hi there! |
| 14:49 |
wilz |
how can I get user's permissions for a page with PHP ? |
| 15:00 |
beev0r |
hey |
| 15:01 |
beev0r |
can anyone tell me why my login doesnt work now? |
| 15:01 |
beev0r |
using typo3 4.1 |
| 15:01 |
beev0r |
created a sysfolder, created usergroups and users inside that sysfolder |
| 15:02 |
beev0r |
gave the sysfolder the attribute "includes websiteuser" |
| 15:02 |
beev0r |
entered the user folder's pid in my constant editor |
| 15:03 |
beev0r |
and finally i added a content element "login form" on a page |
| 15:04 |
just2b |
inserted the General Record Storage page ? |
| 15:05 |
wilz |
found it t3lib_befunc :D |
| 15:07 |
sercz |
beev0r: i guess it is a bug in 4.1 |
| 15:07 |
uschi |
hi all |
| 15:07 |
sercz |
<sercz> hi! since i have upgraded my typo3 installation to 4.1, login via newloginbox doesn't work anymore <--- 2h ago.. |
| 15:07 |
sercz |
downgrading to 4.0.4 made it work again for me |
| 15:09 |
uschi |
hi just2b and tobi and voidus and kraftb and .... |
| 15:09 |
uschi |
hi typo3 :) |
| 15:09 |
eeos |
how do you get the column type (string, int, blah blah) of one column in a mysql table in the typo3 database? |
| 15:11 |
beev0r |
ab bug in typo3 4.1?? |
| 15:11 |
beev0r |
uuuh, and the bug is called "frontendusers cant login anymore"? |
| 15:11 |
voidus |
eeos: why do you need it? |
| 15:12 |
beev0r |
it must be possible fe_users can login?! |
| 15:12 |
eeos |
because I get the error: mysql_real_escape_string() expects parameter 1 to be string |
| 15:12 |
eeos |
I think I set the wrong column type voidus |
| 15:13 |
voidus |
eeos: you shouldn't use mysql_real_escape_string |
| 15:13 |
voidus |
there is a function-wrapper for this |
| 15:13 |
kraftb |
just2b: did you update your google-maps extension so it uses a pop-up wizard ??? |
| 15:13 |
eeos |
voidus: I did not, it is a system call to class.t3lib_db.php that uses it |
| 15:14 |
voidus |
eeos: $GLOBALS['TYPO3_DB']->quoteStr($value,$table); |
| 15:14 |
eeos |
voidus: I did not call it, it is a system call to class.t3lib_db.php that uses it |
| 15:15 |
uschi |
can someone please help me with one of my endless number of small problems? |
| 15:15 |
voidus |
uschi: of course |
| 15:15 |
just2b |
if you post it? |
| 15:15 |
uschi |
i am trying to get hold of the page title of a page with a given uid |
| 15:15 |
voidus |
kraftb: i tryed kb_shop yesterday. and i am shocked, really. |
| 15:15 |
uschi |
i am using CONTENT |
| 15:15 |
uschi |
i do not get anything out |
| 15:16 |
voidus |
uschi: show your TS, please |
| 15:16 |
eeos |
can anyone tell me what is wrong with this code http://phpfi.com/215485? |
| 15:16 |
kraftb |
voidus: you are not alone |
| 15:16 |
kraftb |
:) |
| 15:16 |
kraftb |
just2b: what do you mean: if you post it ? |
| 15:16 |
uschi |
http://phpfi.com/215486 |
| 15:16 |
eeos |
I get the error Invalid argument supplied for foreach() |
| 15:16 |
kraftb |
mean by |
| 15:17 |
uschi |
here it is, voidus |
| 15:17 |
uschi |
http://phpfi.com/215486 |
| 15:17 |
uschi |
what i am doing wrong this time? |
| 15:17 |
eeos |
voidus why were you shocked by kb_shop? |
| 15:18 |
uschi |
because it is not a shop, perhaps, eeos |
| 15:18 |
uschi |
it is what you call a eiermilchlegende wollmilchsau in german |
| 15:18 |
eeos |
uschi ???? why is it called kb_shop? |
| 15:18 |
voidus |
eeos: cause it's first self-modified extension i seen |
| 15:18 |
eeos |
uschi a what? :D |
| 15:18 |
uschi |
because it started as a shop |
| 15:18 |
uschi |
ask kraftb :) |
| 15:19 |
eeos |
voidus self modified? as in modified by the same author? |
| 15:19 |
voidus |
eeos: it modify it's own sources during process of work |
| 15:19 |
eeos |
by the way, can anyone tell me what is wrong with this code: http://phpfi.com/215485? I get the error Invalid argument supplied for foreach() |
| 15:19 |
eeos |
voidus is that so bad? :) |
| 15:19 |
kraftb |
it does not really modify it's own source |
| 15:19 |
kraftb |
just it's table definitions |
| 15:19 |
kraftb |
see it like a kickstarter with a brain |
| 15:20 |
kraftb |
that's the term i always use |
| 15:20 |
uschi |
eeos it is a pig that can produce eggs and wool |
| 15:20 |
voidus |
i like such idea |
| 15:20 |
kraftb |
you can defined your own custom tables .... by adding fields as simple as in the kickstarter |
| 15:20 |
kraftb |
but it remembers everything cause each property (field) and category (table) is stored as record in the DB |
| 15:20 |
eeos |
kraftb it sounds pretty powerful? |
| 15:20 |
brain-xy |
my name was spoken out :P |
| 15:20 |
kraftb |
and then you press the "clear shop cache" button ... and it regenerates all tca.php and ext_tables.php/sql |
| 15:21 |
eeos |
kraftb it sounds pretty powerful. |
| 15:21 |
kraftb |
and it is named "kb_shop" cause i needed a shop at the time it was created ... and i was bored coding a "list that record" extension again |
| 15:21 |
voidus |
kraftb: by the way... if i create new category and don't assign any property to it, i get an error |
| 15:22 |
eeos |
kraftb :) |
| 15:22 |
kraftb |
if you do not require shopping basket functionality it may replace almost a few hundreds ext's out of TER (like all those list -this list-that extension ... cd,books,etc) |
| 15:22 |
kraftb |
i know |
| 15:22 |
kraftb |
empty categories are not supported currently |
| 15:22 |
kraftb |
but in my current dev version i did a powerful thing :) |
| 15:22 |
eeos |
kraftb but there is no shopping cart as of yet? |
| 15:22 |
kraftb |
i added an option to the category which is named "no prefixed" |
| 15:22 |
kraftb |
no prefixes |
| 15:22 |
kraftb |
so you can create a table with the alias "fe_users" ... and guess where are you gong |
| 15:22 |
kraftb |
going |
| 15:23 |
uschi |
fe_users? |
| 15:23 |
kraftb |
well ... i redefined fe_users using kb_shop |
| 15:23 |
kraftb |
so i can list users single and list view using kb_shop |
| 15:23 |
kraftb |
:) |
| 15:23 |
kraftb |
and even add fields to fe_users and so on |
| 15:23 |
uschi |
this sounds great |
| 15:24 |
voidus |
really great |
| 15:24 |
kraftb |
and btw: the extension already supports just2b's google map extension ... you can easily add longitude and latitude fields with a google map for those fields |
| 15:24 |
kraftb |
and i will soon update it to work with 4.1 and IRRE ... instead of the current section implementation |
| 15:24 |
kraftb |
cause IRRE records are mostly what sections are ... only that IRRE records get dynamically added/removed/moved using ajax |
| 15:25 |
kraftb |
which is quite fine if you have many section-records |
| 15:25 |
eeos |
kraftb is there shopping cart in it? |
| 15:25 |
kraftb |
yes .. it is |
| 15:25 |
kraftb |
but this part is quite difficult to set up currently |
| 15:25 |
kraftb |
i will ease it by adding debug methods |
| 15:26 |
kraftb |
and there is mostly no documentation about the basket |
| 15:26 |
eeos |
kraftb thanks! |
| 15:26 |
Denyerec |
What's the extension name for the googlemap extension ? |
| 15:26 |
kraftb |
rg_googlemap |
| 15:26 |
Denyerec |
I was using one previously, maybe this one is better ? |
| 15:26 |
kraftb |
(s) |
| 15:26 |
kraftb |
it is ... |
| 15:26 |
Denyerec |
I was using lumo googlemap |
| 15:26 |
kraftb |
and georg ... the author can be found in this channel :) |
| 15:26 |
eeos |
can anyone tell me what is wrong with this code: http://phpfi.com/215485? I get the error Invalid argument supplied for foreach(). |
| 15:27 |
kraftb |
eeos: this error messages results in passing an non-array value to foreach |
| 15:27 |
kraftb |
the array which should get iterated is no array |
| 15:27 |
Denyerec |
I know, I am still bleeding from his earlier assault. |
| 15:27 |
Denyerec |
:) |
| 15:28 |
voidus |
kraftb: hm.. you are a guru.. what do you think about lib/div framework? |
| 15:28 |
uschi |
voidus, can you tell me,why i do not get any output of my CONTENT-thing? |
| 15:28 |
eeos |
kraftb but it definitively is an array! it is the result of a query on a table :( |
| 15:28 |
Crocus |
i need help ! |
| 15:28 |
Crocus |
NO entry in the $TCA-array for the table "tt_news". This means that the function enableFields() is called with an invalid table name as argument. |
| 15:28 |
eeos |
kraftb actually, there is only 1 value in it, but it should still be an array |
| 15:28 |
Crocus |
what does this mean? |
| 15:28 |
Denyerec |
LumoNet Google Maps lumogooglemaps 0.2.1 |
| 15:29 |
Denyerec |
That's the only one I see in the repo... :/ |
| 15:29 |
kraftb |
eeos: http://t3paste.org/w47FuL |
| 15:29 |
Denyerec |
Ah |
| 15:29 |
Denyerec |
outdated repo image |
| 15:29 |
voidus |
Crocus: how did you get it? |
| 15:29 |
eeos |
kraftb why do you use while instea dof foreach? |
| 15:30 |
kraftb |
denyrec: http://typo3.org/extensions/repository/view/rggooglemap/2.1.3/ |
| 15:30 |
Crocus |
installing tt_news 2.5.0 on 4.1 |
| 15:30 |
eeos |
sorry, *insetad of foreach* |
| 15:30 |
Denyerec |
rggooglemap |
| 15:30 |
kraftb |
eeos: cause you do not get returned an array of all results from execSELECT_query |
| 15:30 |
Denyerec |
Yes I updated my repo image and voila |
| 15:30 |
kraftb |
this would exhaust memory in many cases |
| 15:30 |
kraftb |
you have to fetch each row on your own |
| 15:30 |
eeos |
kraftb so, what do you get? |
| 15:30 |
kraftb |
a result-index |
| 15:30 |
kraftb |
like from mysql_query(); |
| 15:31 |
eeos |
kraftb could you please point me to some documentation? |
| 15:31 |
kraftb |
in fact execSELECT_query is just a wrapper for this php method |
| 15:31 |
kraftb |
eeos: see the link above |
| 15:31 |
kraftb |
http://t3paste.org/w47FuL |
| 15:31 |
voidus |
uschi: i don't understand.. all seems to be right. one sec, i should test it. |
| 15:31 |
kraftb |
^^^ |
| 15:32 |
eeos |
kraftb no, I meant documentation about the result of execSELECT_query, because I am using http://typo3.org/fileadmin/typo3api-4.0.0/de/d07/classt3lib__DB.html#7b17306626fbf95a27cf7c854cfba59a |
| 15:32 |
eeos |
and I did not understand well what types of results you culd get |
| 15:33 |
voidus |
eeos: when you make exec**_query, you get a mysql resource |
| 15:33 |
voidus |
as a result |
| 15:33 |
kraftb |
if you do not know what an mysql-result-ressource is you better read the php docs about the mysql functions |
| 15:34 |
voidus |
kraftb: theoretical question) what do you think about lib/div framework and smartyView? |
| 15:34 |
_Awillys |
hi there |
| 15:34 |
voidus |
hi Awillys |
| 15:34 |
kraftb |
why smarty ? |
| 15:34 |
eeos |
voidus kraftb but you can use foreach on mysql result resource :( |
| 15:34 |
just2b |
how is the code in TS to add something to xml-translation? |
| 15:34 |
kraftb |
we already have the T3 templating engine |
| 15:34 |
kraftb |
eeos: no |
| 15:34 |
voidus |
eeos: no |
| 15:34 |
kraftb |
:) |
| 15:35 |
just2b |
please ;) |
| 15:35 |
_Awillys |
guys: anyone knows how to give access to the "Clear Cache" to a non admin users/group? |
| 15:35 |
just2b |
awilys, search ter |
| 15:35 |
eeos |
voidus kraftb I have the php documentation opened in front of me, probably I misunderstood it :( |
| 15:35 |
voidus |
kraftb: t3 templating engine cause arrays in controller part.. |
| 15:36 |
_Awillys |
just2b: hum |
| 15:36 |
kraftb |
well ... this thing about model/view/controller is something the IT guys made to confuse brave programmers like me |
| 15:36 |
kraftb |
i do not really know what they expect |
| 15:36 |
kraftb |
you can't always separate everything into model/view/controller |
| 15:36 |
kraftb |
for me this is just a buzzword |
| 15:36 |
kraftb |
some hype |
| 15:37 |
kraftb |
hey ... i coded a model/view/controller system yesterday ... |
| 15:37 |
eeos |
anyway, I will read it again, voidus, kraftb thanks for your help!!!! |
| 15:41 |
TaLi`aw |
Hi @ll |
| 15:41 |
gcop1 |
hi all |
| 15:43 |
TaLi`aw |
I search to get in Typoscript a type of variable $_GET |
| 15:43 |
TaLi`aw |
Everyone sleeping ? ^^ |
| 15:44 |
bauschan |
kraftb: one last question on the "parent" record stuff you've mentined above |
| 15:44 |
bauschan |
I do have my virtual table, named basket |
| 15:44 |
voidus |
TaLi`aw: data = GPvar:foo |
| 15:44 |
bauschan |
I do have properties like name, address, bla |
| 15:44 |
TaLi`aw |
Thx voidus :) |
| 15:44 |
bauschan |
and inside I have a container with products and amount |
| 15:44 |
TaLi`aw |
foo is name var ? |
| 15:44 |
bauschan |
is that correct? |
| 15:44 |
voidus |
TaLi`aw: yes |
| 15:44 |
TaLi`aw |
k greetz =) |
| 15:46 |
gcop1 |
To rewrite URL, you must rewrite your title in Php or is there another method in TS? |
| 15:47 |
gcop1 |
ok... ok.... i'm french......... and my english is poor ... :D |
| 15:48 |
koomi |
gcop1: rewrite url? like example.com/about_us/products/typo3 |
| 15:49 |
ks |
how do I call tslib_pibase externally ? |
| 15:49 |
Fanty |
tslib_pibase::<func>( .. ); |
| 15:49 |
voidus |
ks: what do you mean as "externally"? |
| 15:49 |
ks |
i need to convert links into typolinks |
| 15:49 |
gcop1 |
koomi : example.com/about_us/products/my_first_site_in_typo3.html |
| 15:49 |
ks |
currently i use tslib_pibase::pi_getPageLink |
| 15:50 |
voidus |
gcop1: realurl extension do that |
| 15:50 |
ks |
voidus here is an error Fatal error: Class 'tslib_pibase' not found in /var/www/typo3_src-4.0.4/typo3/khaz_post_process3.php on line 91 |
| 15:50 |
gcop1 |
yes, but did it escape accent and char like /.;, |
| 15:50 |
gcop1 |
? |
| 15:51 |
ks |
should i instantiate some base object ? |
| 15:51 |
voidus |
ks: did you require() it? |
| 15:51 |
ks |
nope |
| 15:51 |
ks |
is that sufficient ? |
| 15:51 |
voidus |
ks: you should.. require(PATH_tslib.'class.tslib_pibase.php'); |
| 15:52 |
ks |
uh ok , thanks a lot |
| 15:54 |
gcop1 |
In normal dev, i have a function which remplace accent and special char, but can id be done directly in htaccess? |
| 15:54 |
koomi |
gcop1: no idea. i think it should sanitize page titles (german umlauts, french accents, etc) |
| 15:54 |
koomi |
gcop1: nope. that should be done by the realurl extension |
| 15:54 |
gcop1 |
koomi Oki, thx |
| 15:57 |
just2b |
re |
| 16:06 |
ks |
can I do $tmp=new tslib_pibase(); ? |
| 16:07 |
ks |
or do I do smoething wrong ? |
| 16:07 |
zat[FarFarAway] |
use makeinstance |
| 16:07 |
ks |
i'm getting an error: Fatal error: Call to a member function getTypoLink_URL() on a non-object in /var/www |
| 16:07 |
ks |
$tmp=new tslib_pibase(); |
| 16:07 |
ks |
$tmp2=$tmp->pi_getPageLink($EpageId, $target ='',$urlParameters = array()); |
| 16:08 |
Ries |
ks: listen to zat[FarFarAway] use makeInstance |
| 16:08 |
ks |
yeah thanks |
| 16:08 |
Ries |
But I am not 100% sure if you can init pibase like that, I would suggest to use cObj |
| 16:09 |
ks |
is it t3lib_div::makeInstance(' tslib_pibase') ? |
| 16:10 |
Ries |
ks: Yes, but I suggest to use cObj instal piBase to generate links outside of an extension |
| 16:10 |
ks |
Ries all i need to accomplish is to convert usual hyperlink into typolink (having page id) |
| 16:10 |
Ries |
ks: then indeed use cObj |
| 16:10 |
ks |
Ries how do I do this ? |
| 16:12 |
ks |
i see a reference to it in the code $this->cObj->getTypoLink_URL($id,$urlParameters,$target) |
| 16:14 |
ks |
and it has this: var $cObj;// The backReference to the mother cObj object set at call time |
| 16:17 |
ks |
ok found this $cObj = new tslib_cObj; |
| 16:17 |
ks |
let me introspect it |
| 16:21 |
Ries |
ks, yes but don't use new |
| 16:21 |
ks |
ok |
| 16:25 |
gcop1 |
To have just a part of a content, I've made a crop, but is there a method to close automatically html balise |
| 16:26 |
ks |
hm doesn't work |
| 16:26 |
ks |
Fatal error: Class 'tslib_cObj' not found in /var/w |
| 16:26 |
voidus |
uschi: i cannot get it working. i think, you should use HMENU with special = list |
| 16:26 |
ks |
here is how I call it |
| 16:27 |
ks |
require_once'/var/www/typo3_src-4.0.4/typo3/sysext/cms/tslib/class.tslib_pibase.php'; |
| 16:27 |
ks |
require_once'/var/www/typo3_src-4.0.4/t3lib/class.t3lib_div.php'; |
| 16:27 |
ks |
$cObj = t3lib_div::makeInstance('tslib_cObj'); |
| 16:27 |
uschi |
ok, voidus |
| 16:27 |
uschi |
perhaps it does not work with pages |
| 16:37 |
gcop1 |
is there a function in TS to close automatically close tag? |
| 16:38 |
ks |
strange: this works $SOBE = t3lib_div::makeInstance('SC_alt_doc'); and this doesn't $cObj =t3lib_div::makeInstance('tslib_cObj'); |
| 16:39 |
ks |
what do i need to include to make the latter work ? |
| 16:45 |
[666] |
reee |
| 16:45 |
ks |
don't tell me :) |
| 16:45 |
ks |
i'll do it myself |
| 16:53 |
Ries |
ks: On the typo3-dev list there was teh same question as what you have |
| 16:53 |
ks |
ok |
| 16:53 |
ks |
i have it working with some code commented out |
| 16:54 |
ks |
if i comment this "// Object TypoScript library included:" it gives no errors |
| 16:55 |
ks |
otherwise it requires instantiation of t3lib_extMgm |
| 16:58 |
Ries |
ks, what I do is get the TS config for image generation |
| 16:58 |
Ries |
and call the imagew function directly |
| 16:59 |
Ries |
ks: do you want me to paste some quick code? |
| 16:59 |
ks |
sure |
| 17:04 |
Ries |
ks: http://phpfi.com/215527 |
| 17:04 |
Ries |
ks: I do this from my extension, but I just relized I pasted image generation code :D |
| 17:05 |
ks |
:) |
| 17:08 |
ks |
another error: Fatal error: Call to a member function getPage() on a non-object in $page = $GLOBALS['TSFE']->sys_page->getPage($link_param,$disableGroupAccessCheck); |
| 17:57 |
reber |
hi all |
| 18:00 |
pulponair |
is it possible to hide the "draft workspace" completly for certain users? |
| 18:00 |
koomi |
pulponair: jep. in user admin/groups iirc |
| 18:00 |
pulponair |
koomi: no its not |
| 18:01 |
koomi |
hmm. |
| 18:03 |
pulponair |
this is odd... |
| 18:03 |
pulponair |
fuck |
| 18:28 |
michimueller |
hi there |
| 18:28 |
michimueller |
kind of an off topic question |
| 18:29 |
michimueller |
I'd like to know whether there is kind of a universal webservice to access mysql databases |
| 18:29 |
michimueller |
so that database queries can be handled via the webservice |
| 18:39 |
gerards |
michimueller: isn't that service called a Mysql Server? |
| 18:39 |
michimueller |
LOL |
| 18:40 |
gerards |
i must have misunderstood the question... |
| 18:40 |
michimueller |
I thought of something, that packs the server functionality into a webservice |
| 18:40 |
michimueller |
so that I can pass the firewall |
| 18:40 |
gerards |
ahhhh. like if phpmyadmin can have a xml / ATOM interface. |
| 18:40 |
michimueller |
jepp - like that |
| 18:41 |
michimueller |
I need an interface to import shop data into xt commerce |
| 18:41 |
michimueller |
but the forum really sucks |
| 18:41 |
michimueller |
so I tried to ask here |
| 18:41 |
gerards |
very interesting. sounds like a security blackhole though... |
| 18:41 |
michimueller |
ähm |
| 18:41 |
michimueller |
dunno |
| 18:42 |
michimueller |
not much more than a phpmyadmin on a webserver? - hm? |
| 18:43 |
gerards |
i guess not. maybe you can look at the http headers while using phpmyadmin, and imitate that with Curl calls? |
| 18:44 |
gerards |
michimueller: keep asking around here. i'm sure someone here knows more than I do. |
| 18:45 |
michimueller |
as long as I won't get banned for asking off-topic questions |
| 18:45 |
gerards |
really they ban people who ask off topic questions? |
| 18:45 |
gerards |
was my previous question off topic? |
| 18:47 |
michimueller |
LOL |
| 19:28 |
smurfslayer |
hm standard doctype of typo3 is html 4.01 ... but why does it show the meta tags as xhtml tags ? |
| 19:28 |
smurfslayer |
or.. how can i prevent typo3 to show the xhtml meta tags? it should show the tags as html4 tags |
| 20:08 |
j0hndeere |
I have returned, earthlings. |
| 20:35 |
Irix_1 |
Hello everyone, small question.. I have tt_news setup and want to use push2rss to show my latest news in RSS... I have put in sysfolder det configuration and setup channel at the page where I have news and on the frontpage put the plugin... the channel is set for getting news... but somehow I don't get the feed... |
| 20:35 |
Irix_1 |
anyone who can help please ? :) |
| 21:09 |
Irix_1 |
okay anyone then can tell me the best RSS feed extension for tt_news ? |
| 21:09 |
Staffan_ |
import or export? |
| 21:11 |
Irix_1 |
Staffan_ export :) |
| 21:11 |
Staffan_ |
Included in recent versions of tt_news |
| 21:11 |
Staffan_ |
read the manual for more information upon the subject |
| 21:43 |
Irix_1 |
Staffan_ thank you.. but I really need a tutorial on this one... the manual for me is not suffcient.. |
| 22:02 |
titii |
hello friends, i would like to ask you, how the languages work in an extension? if i have locallang.xml translated into both languages, and have one tree with L language parameter.. i need to set the language for each extension via TypoScript by conditons of which language is loaded, or typo3 can do switch it automaticly? thanx for help |
| 22:09 |
uschi |
dear friends, can i use a variable like this {TSFE:lastImageInfo|0} in a style-attribute? |
| 22:10 |
Ries |
uschi: to be assigned in CSS? |
| 22:10 |
bedlamhotel |
Uschi: yes, so long as it's in a context with .stdWrap. |
| 22:10 |
uschi |
yes as inline style |
| 22:11 |
bedlamhotel |
Yep. That's why I suggested that feature :) |
| 22:11 |
uschi |
so i have to say thx to you? |
| 22:12 |
bedlamhotel |
Nah. It's doing /me/ lots of good too. |
| 22:12 |
titii |
can anybody help me? how to switch language from local lang? |
| 22:12 |
titii |
how it works? |
| 22:12 |
uschi |
bedlamhotel and Ries: tobi wrote a small extension for me, that enables stdWrap for this damned entryLevel |
| 22:13 |
uschi |
it xclasses the menu class, but at least it works now |
| 22:13 |
bedlamhotel |
Uschi: By the way, if you are using it for something that happens on every page, you can stick the IMG_RESOURCEs in a TMENU and get the styles into the page head. |
| 22:13 |
uschi |
I will put this one the feature list in the bugtracker |
| 22:13 |
uschi |
it happens on more or less every page |
| 22:14 |
bedlamhotel |
Neat. Seems like it was the best way all-around to solve your issue. |
| 22:14 |
uschi |
but with different parameters |
| 22:14 |
uschi |
it took me a long time to understand WHY it did not work, bedlamhotel :-( |
| 22:14 |
uschi |
i am a very stubborn person |
| 22:15 |
bedlamhotel |
*LOL* All the people who stick with TYPO3 seem to be stubborn. |
| 22:15 |
bedlamhotel |
About the CSS: I dunno if it will be useful to you or not, but check the various style blocks in the head of typo3apprentice.com--they're all built using TMENU/IMG_RESOURCE. All widths etc are calculated approximately the same way you're doing it. |
| 22:16 |
uschi |
bedlamhotel, i do not know what you mean by sticking the IMG_RESOURCES into a TMENU |
| 22:17 |
uschi |
bedlamhotel, is that your page? |
| 22:17 |
bedlamhotel |
Well, if you need to do something similar on EVERY page--or even /many/ pages--and you want to put the styles in the head (which is somewhat better e.g. from an accessiblity standpoint), then you need an object that can loop through the pages and output a css declaration for each page, right? The ideal structure for that is TMENU. |
| 22:17 |
bedlamhotel |
Yes. |
| 22:18 |
uschi |
hm, interesting |
| 22:19 |
uschi |
this will be the way how to get all the <link>-elements in as well |
| 22:19 |
uschi |
i am fond of meta data :) |
| 22:19 |
bedlamhotel |
The site uses bh_firtools (which has not yet been updated to use TSFE:lastImageResource but uses php instead for image sizes...) |
| 22:19 |
uschi |
Ries, playing the old in and out game again? |
| 22:19 |
bedlamhotel |
Fond of metadata? *L* |
| 22:20 |
bedlamhotel |
But if you mean link as used for navigation etc, then yes the concept is identical. |
| 22:20 |
uschi |
ok, something might be wrong with my english here |
| 22:20 |
bedlamhotel |
No, not at all. |
| 22:20 |
uschi |
i mean this |
| 22:20 |
bedlamhotel |
Oops... |
| 22:21 |
uschi |
but it is only this one inline style |
| 22:21 |
uschi |
so no probs with accessibility stuff, i suppose |
| 22:22 |
uschi |
there will be a different stylesheet anyway for a negative version and a one col layout for short sighted people |
| 22:23 |
bedlamhotel |
Nice to see. I don't usually get to do such complete accessibility jobs (people usually not willing to pay for the whole deal) |
| 22:23 |
titii |
can anybody exaplain my, why the sr_feuser_register have both locallang in php and XML? is this the same values, why two versions? XML and Array of PHP? |
| 22:23 |
uschi |
perhaps for compatibility with older typo3 versions, titii |
| 22:25 |
uschi |
i like the domain typo3apprentice *g* |
| 22:25 |
titii |
uschi uhuu that mean i can work with one only.. i choose xml :) |
| 22:25 |
bedlamhotel |
*L* Typo3knowhow was taken. |
| 22:25 |
uschi |
this one is better |
| 22:26 |
uschi |
much more funny |
| 22:26 |
uschi |
i do not know whether i am right |
| 22:26 |
uschi |
titii |
| 22:27 |
uschi |
hey, bedlamhotel , how did you get your ts code in such nice and decent lists? |
| 22:27 |
titii |
uschi ok i see, typo3 work with xml, great |
| 22:28 |
bedlamhotel |
Uschi: you mean in the articles? |
| 22:29 |
uschi |
yes, when i used those codesnippets i had an orgy of ugly code |
| 22:29 |
bedlamhotel |
http://typo3.org/extensions/repository/view/jph_codesnippets/0.2.0/ |
| 22:29 |
uschi |
so this might be an updated version |
| 22:30 |
bedlamhotel |
...I did tweak the styles and some of the php code myself. I offered it to the author, and he seemed interested, but he hasn't done anything new with it. |
| 22:30 |
uschi |
hm, so ... |
| 22:30 |
bedlamhotel |
if you want the php stuff, I can email it to you. |
| 22:30 |
uschi |
i spoke to tobi about a decent content element |
| 22:30 |
uschi |
oh yes please :-)) |
| 22:31 |
titii |
uschi can i have default language in locallang.xml, and other language in another file xx.locallang.xml ? cause the ll-XML extension have to create it |
| 22:31 |
bedlamhotel |
Actually, it's on the web already: http://www.bedlamhost.com/index.php?id=96 |
| 22:31 |
uschi |
hm, i do not know, titii, you can put them all in one file |
| 22:32 |
uschi |
but i have never written an extension up to know |
| 22:32 |
bedlamhotel |
Warning: because TS reuses identical words for objects, properties and functions, Geshi (the syntax highlighting engine in jph_codesnippets) can only do so much. |
| 22:32 |
bedlamhotel |
You just have to drop that file into the extension (overwrite the existing file with the same name) |
| 22:32 |
uschi |
ah, a geshi syntax file does the trick :-) |
| 22:32 |
titii |
uschi i know, i just ask for that fact of that extension working... hmmm,, strange |
| 22:33 |
titii |
hello ries |
| 22:33 |
uschi |
Ries, what is wrong with you? |
| 22:33 |
uschi |
ok |
| 22:33 |
uschi |
thx |
| 22:33 |
bedlamhotel |
He's making me seasick :-S |
| 22:33 |
titii |
ries can you help me please? |
| 22:34 |
Ries |
uschi: My cable internet is very bad |
| 22:34 |
Ries |
uschi: it goes on and off |
| 22:34 |
uschi |
ah |
| 22:35 |
Ries |
so I miss half of all conversations |
| 22:36 |
uschi |
bedlamhotel if i try to download the file i get error 500 |
| 22:36 |
titii |
Ries can i have default language in locallang.xml of an extension, and other language in another file xx.locallang.xml ? cause the ll-XML extension have to create it |
| 22:37 |
titii |
wants to create it |
| 22:37 |
bedlamhotel |
Uschi: $#^$&$$ RealURL. I'll email it |
| 22:37 |
Ries |
titii: Default language for extensions is always english |
| 22:37 |
uschi |
ok, mail address is in query |
| 22:37 |
Ries |
titii: there is a tag for it... |
| 22:37 |
uschi |
so, and now: back to gifbuilder |
| 22:38 |
titii |
Ries eng. is defaut i know |
| 22:40 |
uschi |
this is really brought to the point :Typoscript syntax is neither arbitrary nor regular |
| 22:41 |
titii |
ries can you help for better locallang translator extension? cause i mean the ll-XML its strange |
| 22:42 |
uschi |
you have quite nice features on that apprentice page, bedlamhotel |
| 22:42 |
uschi |
this collapseble content thingy is nice too |
| 22:42 |
uschi |
planned for the university as well |
| 22:43 |
Ries |
titii: There is one for PHP5, which oen did you use? |
| 22:43 |
titii |
php5 i have , and now i am using ll-XML |
| 22:44 |
gerards |
is there a postgre equivalent of the mysql function FROM_UNIXTIME? |
| 22:45 |
bedlamhotel |
Uschi: sorry for delay, I just sent the file. |
| 22:46 |
bedlamhotel |
Uschi: yes? Any suggestions for improvements are welcome. It's still a work in progress. |
| 22:46 |
uschi |
oh, no prob, we are working, not racing here |
| 22:46 |
uschi |
i really like it |
| 22:47 |
uschi |
do you know about a website that is not work in progress? |
| 22:47 |
titii |
ries original xml is here typo3conf/ext/sr_feuser_register/pi1/locallang.xml , and for another language he saves it there typo3conf/l10n/sk/sr_feuser_register/pi1/sk.locallang.xml i dont know why |
| 22:47 |
bedlamhotel |
*LOL* |
| 22:47 |
bedlamhotel |
Good point. |
| 22:47 |
uschi |
hm, i am asking myself, if i say |
| 22:47 |
uschi |
10 = IMG_RESOURCE |
| 22:48 |
uschi |
10.file = GIFBUILDER |
| 22:48 |
uschi |
where will this file end up? |
| 22:49 |
bedlamhotel |
uschi: typo3temp/GB |
| 22:50 |
uschi |
hm, means, this belongs to the stuff which will be deleted time and again when the fe-cache is deleted? |
| 22:51 |
bedlamhotel |
Not sure if FE cache actually clears GB, though you're right, I think, that the images will be re-generated when cache is cleared and page is re-hit. |
| 22:51 |
uschi |
poor Ries, really having a hard time with his internet connection |
| 22:51 |
bedlamhotel |
You can clear typo3temp/* from the install tool. |
| 22:51 |
uschi |
ok |
| 22:52 |
Rie1 |
uschi: it's horrible |
| 22:52 |
uschi |
i would eat my keyboard if i were you |
| 22:54 |
Rie1 |
karina makes really good cake... |
| 22:55 |
bedlamhotel |
Rie1: better than keyboards? |
| 22:55 |
Rie1 |
bedlamhotel: YEaa a LOT better, ask gerards and he will tell |
| 22:56 |
gerards |
huh? |
| 22:56 |
gerards |
cake.... |
| 22:56 |
gerards |
hmmmm..... |
| 22:58 |
bedlamhotel |
Seems convincing. |
| 22:59 |
bedlamhotel |
...if disgusting :) |
| 23:15 |
uschi |
gerards, poor boy, what is wrong with you |
| 23:16 |
gerards |
too much programming directly to productions servers... |
| 23:16 |
gerards |
wrecks my nerves... |
| 23:16 |
uschi |
perhaps you should take a rest then |
| 23:16 |
uschi |
it is late at night |
| 23:17 |
gerards |
its only 6 where we are. |
| 23:18 |
uschi |
oops, and that is where? |
| 23:18 |
gerards |
the highest capital in the world baby. |
| 23:18 |
Ries |
gerards: I thought we where heaving fun?!?!?! :D |
| 23:19 |
gerards |
no. you're worrking in your dev enviroment. |
| 23:19 |
gerards |
i'm Vim'ing in the production server... |
| 23:19 |
gerards |
i think i lost a few months of my life. |
| 23:19 |
uschi |
the highest? |
| 23:20 |
uschi |
gerards, do not let me die from curiosity |
| 23:20 |
gerards |
do a whois on me or Ries. |
| 23:20 |
Ries |
uschi: you know where I live , right? |
| 23:20 |
Denyerec |
Ecuador! |
| 23:20 |
uschi |
right |
| 23:20 |
uschi |
and gerards is with you? |
| 23:21 |
Ries |
uschi: YEAAAAAAAAAA |
| 23:21 |
uschi |
aaaah |
| 23:21 |
gerards |
denyrec! |
| 23:21 |
gerards |
where have you been? |
| 23:21 |
Denyerec |
gerards is Karina's competition ;) |
| 23:21 |
uschi |
hi Denyerec :-)))) |
| 23:21 |
Denyerec |
I've been at kungfu |
| 23:21 |
uschi |
poor girl |
| 23:21 |
Ries |
uschi: Gerard and I are buddies.... he has been working here at the opposite site of my desk for the last 2,5 weeks.... |
| 23:21 |
Denyerec |
I know... how can you compete with gerards ? :) |
| 23:21 |
Ries |
and teh lucky bastard could eat from Karin'a excellent cookign skills |
| 23:22 |
uschi |
not too bad a fate, i guess |
| 23:22 |
Ries |
Denyerec: we don't compete ;) |
| 23:22 |
gerards |
hmmm..... Karina's cooking.... |
| 23:22 |
gerards |
hmmm..... |
| 23:22 |
Ries |
gerards: You missed her cake of today ;) |
| 23:22 |
Denyerec |
I mean, how could Karina compete with gerards ;) |
| 23:23 |
uschi |
my flatmate is in the kitchen, so perhaps i might have a snack for the night |
| 23:23 |
Denyerec |
I was making a traditional British innuendo joke. |
| 23:23 |
gerards |
Denyerec: did you find out about the <dl> <dd> problem? |
| 23:23 |
Denyerec |
Mhmm? |
| 23:23 |
Denyerec |
You mean stripping the markup off images? |
| 23:23 |
gerards |
yeah. |
| 23:23 |
Denyerec |
Hell yeah baby |
| 23:23 |
Denyerec |
http://wla.systemcms.com |
| 23:23 |
gerards |
tell me love. |
| 23:23 |
Denyerec |
Still heavily under construction! |
| 23:23 |
Denyerec |
But I nailled those suckers |
| 23:24 |
Denyerec |
See the images in the sidebar? |
| 23:24 |
Denyerec |
Same ones from these text w/image CE's |
| 23:24 |
Denyerec |
http://wla.systemcms.com/?id=4 |
| 23:24 |
uschi |
hm, can i do this on NO? 1.NO.field = title |
| 23:24 |
gerards |
i saw that page. |
| 23:24 |
Denyerec |
I hijack them from the Text w/images for use in the sidebar, so people can have a description about their sponsors. |
| 23:24 |
gerards |
at 4am british time remember? |
| 23:24 |
Denyerec |
I shall fetch the TS |
| 23:24 |
Denyerec |
hahaha yeah |
| 23:28 |
|Awillys| |
guys, do you know if it is posible to give an FE user access to the BE by adding him in a BE group or smthg? |
| 23:31 |
ndee |
hello there, I wanna include a javascript library in my frontend plugin, I want the JS in a separate file. Would you include the js like: <script type="text/javascript" src="typo3conf/ext/myextension/res/javascript.js"></script> ? to me, that seems kinda ugly |
| 23:32 |
Denyerec |
1 sec ndee |
| 23:32 |
ndee |
ok :) |
| 23:33 |
Denyerec |
page.includeJS.file1 = blah.js |
| 23:33 |
Denyerec |
base path is assumed to be /fileadmin/ |
| 23:33 |
Denyerec |
so that would reference /fileadmin/blahjs |
| 23:33 |
ndee |
in the template setup then? |
| 23:34 |
Denyerec |
yeah normal template |
| 23:34 |
Denyerec |
gerards |
| 23:34 |
ndee |
ok |
| 23:34 |
Denyerec |
pastecode incoming! |
| 23:34 |
ndee |
thx |
| 23:34 |
Denyerec |
http://wilcoding.xs4all.nl/Wilco/Pastecode/4341/showpaste.aspx |
| 23:34 |
Denyerec |
*BOOOOOOM* |
| 23:34 |
Denyerec |
lines 13-25 probably interest you most |
| 23:34 |
Denyerec |
it's a bit dirty, but it works |
| 23:35 |
Denyerec |
if you come up with a cleaner solution, PLEASE let me know!! |
| 23:35 |
gerards |
yeah i keep saying the "rendering" really shouldn't work. |
| 23:35 |
gerards |
i must have misunderstood what TS means by compatibility.... |
| 23:38 |
Denyerec |
Psfh |
| 23:38 |
Denyerec |
NO idea |
| 23:38 |
Denyerec |
I know my site is set to 3.8 |
| 23:38 |
Denyerec |
and you're dead right |
| 23:39 |
Denyerec |
inside the code it clearly says "for 3.8 compat" |
| 23:39 |
Denyerec |
So who knows |
| 23:39 |
Denyerec |
maybe they mean "To support old versions too" |
| 23:39 |
Denyerec |
or something |
| 23:39 |
ndee |
Denyerec: somehow, that doesn't include the javascript |
| 23:39 |
Denyerec |
ndee |
| 23:39 |
Denyerec |
I lied to you |
| 23:39 |
Denyerec |
I'm sorry |
| 23:39 |
Denyerec |
file1 = fileadmin/templates/css/common.css |
| 23:40 |
Denyerec |
it NEEDS the base path |
| 23:40 |
Denyerec |
so try file1 = fileadmin/blah.js |
| 23:40 |
ndee |
ok |
| 23:40 |
Denyerec |
If you enable the admin panel and turn on all the TS options, you can usually spot TS errors in bold red writing |
| 23:40 |
Denyerec |
makes hunting down stuff a little easier |
| 23:40 |
Denyerec |
page.config.admPanel = 1 |
| 23:40 |
ndee |
now it works :D |
| 23:40 |
ndee |
thx a bunch |
| 23:40 |
Denyerec |
in the TS setup |
| 23:40 |
Denyerec |
You're welcome. |
| 23:41 |
Denyerec |
gerards |
| 23:41 |
Denyerec |
Payback time :) |
| 23:41 |
Denyerec |
hehehe |
| 23:41 |
Denyerec |
You ever done localisation ? |
| 23:42 |
gerards |
you brits. |
| 23:42 |
gerards |
its localization |
| 23:42 |
gerards |
yeah a few times. |
| 23:42 |
Denyerec |
you yanks... |
| 23:42 |
Denyerec |
ok |
| 23:42 |
Denyerec |
say I have this in my TS: tv.Sponsors.wrap = <h2>Sponsors</h2>| |
| 23:42 |
gerards |
oh oh i sense i don't know this one. |
| 23:42 |
Denyerec |
Hmm. |
| 23:43 |
Denyerec |
I am wondering how you make that available for localisation |
| 23:43 |
Denyerec |
Maybe uschi would know ? |
| 23:43 |
uschi |
what? |
| 23:43 |
Denyerec |
I have this in my TS: tv.Sponsors.wrap = <h2>Sponsors</h2>| |
| 23:43 |
gerards |
but if you map tv.Sponsors to a content ele, then TV does all the l10n handling for you. |
| 23:43 |
uschi |
you want to localise the word Sponsors? |
| 23:43 |
Denyerec |
and think if I translate my site to German, it won't translate Sponsors |
| 23:43 |
Denyerec |
yeah |
| 23:44 |
gerards |
ah. |
| 23:44 |
Denyerec |
tv.Sponsors is a Typoscript Object Path |
| 23:44 |
uschi |
i use an xml file build like the other ones and then |
| 23:44 |
gerards |
Denyerec: do a [GPvars:L=101] tv.Sponsors.wrap = <h2>achtung baby</h2>|[global] |
| 23:44 |
uschi |
<h2>{LLL:fileadmin/something/ |
| 23:44 |
uschi |
your key, wait i give you the code |
| 23:45 |
Denyerec |
Thanks uschi |
| 23:45 |
gerards |
ah nice uschi |
| 23:45 |
Denyerec |
gerards I thought about conditionals, but they mess with the cache somewhat and it could get messy with many languages. |
| 23:45 |
bedlamhotel |
yes, very tidy solution. |
| 23:45 |
uschi |
you know how to build those xml-files? |
| 23:45 |
gerards |
i like the solution. |
| 23:45 |
Denyerec |
I want my Sozu website in as many languages as I can find friends to translate :) |
| 23:46 |
Denyerec |
My sister can handle French, German, Spanish, and I have friends who can do Dutch, Portugues, Swedish, Finnish, Norwegian, Cantonese, Australian and Scottish... ;) |
| 23:46 |
gerards |
dont' forget Yankese. |
| 23:46 |
gerards |
and ostralian. |
| 23:46 |
gerards |
sorry that oztralian. |
| 23:46 |
Denyerec |
Not to mention Polish, Redneck, Yorkshire, Scouse, Brummie, Mank and various others... |
| 23:47 |
Denyerec |
They'd be happy with 'Strayan |
| 23:47 |
uschi |
http://phpfi.com/215658 (the ts) |
| 23:47 |
Denyerec |
they shorten everything! |
| 23:47 |
Denyerec |
May I ask what LLL: is ? |
| 23:47 |
uschi |
this is the way to access values from an xml locallang file |
| 23:47 |
uschi |
example comes |
| 23:48 |
gerards |
uschi can you use that in a wrap instead of a "value" |
| 23:48 |
gerards |
? |
| 23:48 |
bedlamhotel |
That will be useful for the two bilingual sites I've got coming up. Thanks. |
| 23:48 |
uschi |
never tried |
| 23:48 |
gerards |
i don't remember if insertdata works in wraps. |
| 23:48 |
bedlamhotel |
Gerards, yes. |
| 23:48 |
uschi |
but i suppose you can |
| 23:48 |
gerards |
cool. |
| 23:48 |
uschi |
or: make a prepend, then innerWrap and then append |
| 23:49 |
uschi |
ah, great |
| 23:49 |
bedlamhotel |
You could shorten it like this: |
| 23:49 |
bedlamhotel |
data = LLL:fileadmin/lang/locallang_common_website_values.xml:main_menu |
| 23:49 |
bedlamhotel |
...unless I'm much mistaken. |
| 23:49 |
uschi |
you mean the wrap will be parsed as well |
| 23:49 |
bedlamhotel |
(also, remove 'insertData') |
| 23:49 |
uschi |
no, dataWrap |
| 23:49 |
uschi |
dataWrap gets parsed |
| 23:49 |
uschi |
data itself not |
| 23:49 |
gerards |
ok thanks uschi |
| 23:49 |
bedlamhotel |
so does 'data' |
| 23:49 |
uschi |
tried that one |
| 23:49 |
bedlamhotel |
? |
| 23:49 |
bedlamhotel |
Really? |
| 23:50 |
Denyerec |
Shhhhh, stop distracting the poor lady, she's trying to get the example language file! :) |
| 23:50 |
bedlamhotel |
Nope. Something else must have been wrong: LLL:*:* is getText datatype. |
| 23:50 |
bedlamhotel |
...and TEXT cObject has .stdWrap on the base object itself. |
| 23:51 |
uschi |
Denyerec : a sample XML file |
| 23:51 |
uschi |
http://phpfi.com/215660 |
| 23:51 |
uschi |
default language is german here |
| 23:51 |
uschi |
labelContext is for describing what each index is used for |
| 23:52 |
uschi |
and in the data section you define each label for each language key |
| 23:52 |
uschi |
LLL tells the system: we are dealing with localisation here |
| 23:52 |
uschi |
then the path to the file and then :your_index |
| 23:56 |
Denyerec |
uschi that's superb, thankyou |
| 23:56 |
uschi |
for one time i knew something, yeaah |
| 23:57 |
gerards |
i learnt something today. |
| 23:59 |
Denyerec |
Oh, wait. |
| 23:59 |
Denyerec |
uschi... |
| 23:59 |
Denyerec |
How do I call this for my .wrap ? |
| 23:59 |
bedlamhotel |
Confirmed: .data /does/ work. |