Search the website and IRC logs

#TYPO3 IRC log from : Tuesday 27 March 2007

Year: 2007 2008 2009 2010 2011 2012
Month: Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
00:56 Ries gerards: !
00:56 Denyerec Ries: !
01:04 Ries Hey Denyerec
01:04 Denyerec Hey Ries, how's it going ?
01:05 Ries Denyerec: Not to bad....
01:08 Denyerec Just wish I had access to upload my own CSS to the wiki...
01:08 Denyerec it's frustrating seeing bugs on the page and not being able to fix them immediately!
01:54 Guest858 I need help i need to get realurl configured, i'd like it to work like this all urls start with mysite.com/en/ then it add on the alias for the page if its in the first or second level of the page tree, if it is in the third level you goto mysite.com/en/second level alias/third level alias and so on, does that make any sense?
02:08 Ries Guest858: did you check teh wiki?
02:44 ddwagnz hi'
02:49 Guest858 what
04:17 d|g hi all
05:11 Guest858 I need help i need to get realurl configured, i'd like it to work like this all urls start with mysite.com/en/ then it add on the alias for the page if its in the first or second level of the page tree, if it is in the third level you goto mysite.com/en/second level alias/third level alias and so on, does that make any sense?
05:32 RyanB I have a question with the RealURL extension, the urls are mywebsite.tld/alias/ to access the page, I would like the access url to include the aliases form all the pages above it in the pagetree so instead of mywebsite.tld/about/ i would goto mywebsite.tld/company/about/ i couldn't find the int realURL documentation an example for this, cananyone help me out?
05:38 robv RyanB: if about is subpage of company, it will do that automaticly
05:39 RyanB it is a subpage of comapny but the link on my site is just /about/
05:39 robv Thats strange
05:41 robv If your realurl config large?
05:43 RyanB if you are refering to config.linkVars = L then yes, if not then i am not sure what you are talking about
05:43 robv http://news.typo3.org/about/realurl-configuration/
05:52 RyanB hmm, i used that configuration but i get an error, Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /Users/<removed>/typo3conf/localconf.php on line 31
05:53 robv Just try to add it :)
05:53 robv Thats what i always do :)
05:54 RyanB lol, it dosen't look like it belongs, because line 31 is 'appendMissingSlash' => 'ifNotFile'
05:54 robv I think it needs comma's
05:55 robv Lemme see in my configuration
05:55 robv 'init' => array(
05:55 robv 'enableCHashCache' => 1,
05:55 robv 'appendMissingSlash' => 'ifNotFile',
05:55 robv 'enableUrlDecodeCache' => 1,
05:55 robv 'enableUrlEncodeCache' => 1,
05:55 robv 'respectSimulateStaticURLs' => 0,
05:55 robv 'postVarSet_failureMode'=>'redirect_goodUpperDir',
05:55 robv ),
05:55 robv It needs comma's
06:00 zat hi all
06:00 dax77 good morning @ll
06:00 zat hi dax77
06:00 robv Hi and good morning to you too
06:00 dax77 heya zat :)
06:00 zat hi robv
06:01 RyanB well i am getting alot of these erros, i let you know when i fixed them all
06:02 robv Oki
06:02 robv you don't need a big configuration for the basics
06:02 robv i'll message you mine
06:02 robv holdon
06:03 dax77 robv: whats with: http://www.rob-ot.be/ ? thats your's right?
06:04 robv Nope
06:04 dax77 aaahh :)
06:04 robv RyanB: got it?
06:05 robv Hmm
06:05 robv Private messages from unregistered users are currently blocked due to
06:05 robv spam problems, but you can always message a staffer. Please register!
06:08 RyanB ok finally i got it, but that didn;t work
06:08 robv New try
06:08 robv i've registered
06:09 robv And what do you have in typoscript templte for realurl?
06:09 Jigal good morning!
06:10 robv Good morning to you too
06:11 RyanB i just tries copying what u pmed to me, and i get this error Reason: "company/about/" could not be found, closest page matching is company/
06:12 robv Is your website online?
06:12 RyanB yes
06:12 robv Whats the url?
06:13 RyanB http://www.rcbitsolutions.com
06:13 dax77 hey Jigal :)
06:13 robv RyanB: strange
06:14 robv did you change the www.blabla.com in the example?
06:14 robv It seems that it doesn't convert the titles
06:14 robv and that you've ses aliases for company and about
06:15 robv but not on the other pages
06:15 robv am i right?
06:15 RyanB yes
06:15 robv so it must be the config
06:15 robv in localconf
06:16 flipmoe5000 hi
06:16 robv I had the same behaviour for a new site
06:16 robv it changed when i made a new entry in the config
06:17 flipmoe5000 is there a possibility to change the title of a page considering global conditions (example: frontend user group)?
06:17 robv RyanB: got to go back to work
06:17 RyanB hrm well i just changes blabla.com in your code now it says it cannot fine /about
06:17 robv it's the config
06:17 RyanB find*
06:18 robv http://www.rcbitsolutions.com/company/about/
06:18 robv It works here
06:18 robv Clear the cache and reload in browser
06:18 RyanB ok now its working for me, lol
06:19 RyanB thanks for all your help
06:19 robv np
06:19 robv now back to work
06:19 robv cya all
06:19 flipmoe5000 cya
06:37 smda good morning folks
06:37 uschi_ morning smda
06:38 flipmoe5000 morning
06:38 Fanty morning
06:40 flipmoe5000 is it possible to change a page title concerning global conditions such as [usergroup]?
06:48 RyanB the best you could do is have diffrent pages for each possiblities and set the visibility setting so its only accessable by the appropriate group
06:54 flipmoe5000 jep
06:54 flipmoe5000 solved
06:54 flipmoe5000 in that way
06:55 flipmoe5000 thx
06:55 RyanB np
06:59 Fanty what downsides would I run into if I changed fe_users to InnoDB and used foreign keys on records they make?
07:00 Fanty they being the users
07:07 bauschan hi @all !
07:08 dax77 hi bauschan
07:18 bauschan http://www.kk.org/cooltools/archives/001592.php
07:18 bauschan a *must have*
07:21 smda bauschan: :) absolutely seems very ergonomic
07:21 bauschan I'm missing a cup holder
07:22 bauschan but, should be easy to attach
07:28 koomi moin
07:29 fred^ have any of you noticed rthtmlarea not working in firefox after upgrading to 4.0.5 ?
07:29 Denyerec Mornin
07:29 fred^ morning
07:29 Denyerec And yes
07:30 fred^ I just noticed it on all sites running 4.0.5
07:31 fred^ Denyerec http://bugs.typo3.org/view.php?id=5266
07:32 fred^ or, hmm
07:32 fred^ hmhm
07:32 Denyerec FF broke the agent reporting
07:32 Denyerec so the RTE doesn't detect it's a valid browser and *splat*
07:33 fred^ oh
07:34 fred^ im reading through the bug page
07:34 fred^ have you patched it yourself?
07:34 Denyerec tried and failled
07:34 Denyerec tho I think I forgot to clear the cache
07:38 bauschan fred^: don't forget removing the rtehtmlarea* files in typo3temp folder
07:40 beev0r how can i add an own ID to a tt_content.search form? at the moment i've got
07:40 beev0r id="ae235605f5a8f578d70bb6079697a2d07" name="ae235605f5a8f578d70bb6079697a2d07"
07:40 beev0r but i need id="search"
07:40 fred^ im going through it all to make sure i do it somehow correctly ^^
07:40 beev0r any idea?
07:40 fred^ isnt that run by template, as anything else, beev0r?
07:40 fred^ dont know, but first thing i would try was google
07:45 beev0r i dunno. i've got a marker in my template ###SEARCH### and assign the form to it by SEARCH < tt_content.search.30
07:45 beev0r but i could look if i can find something in the template analyzer
07:46 beev0r nothing :/
07:51 FloLeBlanc hi all
07:52 zatmania hi flo
08:00 bauschan hi flo !
08:01 FloLeBlanc hi zat, hi bauschan, hi Jigal, hi denyerec, hi koomi, hi jax, hi smurf, hi uschi, hi all the others *does the usual hi-wave*
08:01 FloLeBlanc (he who can get the most IRC alert wins) ;)
08:01 uschi morning FloLeBlanc and the rest
08:02 Denyerec Dealt with graciously uschi ;)
08:02 Denyerec I decided to sneak in before everyone this morning, so no need for extended welcomes :)
08:02 uschi morning Denyerec :)
08:02 uschi *sigh*
08:08 Denyerec uschi
08:08 Denyerec are you using realurl with any interesting extensions?
08:08 uschi yes my dear?
08:08 Denyerec Because if you're not, then RealURL is not nearly as scary as I thought originally :)
08:08 uschi i am configuring it for the first time, Denyerec
08:09 Denyerec Then I can tell you you simply need to grab ae_urltool and use the default config
08:09 Denyerec Of course it doesn't hurt to understand what the hell it's doing
08:09 uschi well, i do not know yet what extensions will be installed for the university
08:09 Denyerec but http://wla.systemcms.com is the default config with a little tweak,
08:09 Denyerec (To get the text only mode working)
08:09 uschi right, i need to understand it
08:11 uschi why should i need a text only version?
08:11 Denyerec Oh, you don't
08:11 Denyerec I was just saying, the site functioned perfectly out of the box
08:11 Denyerec I was only required to modify RealURL's default config to get the text only mode as I wanted it.
08:12 uschi ok, then thx :)
08:13 Denyerec I guess all I'm trying to do is reassure you it's not as bad as it looks :)
08:13 fred^ with ae_urltool its a breeze
08:13 fred^ can i see your config for that text only mode?
08:16 max_muetze hello, can anyone provide any help with the danp_tagcloud extension? when i install it i get the following result: http://www.typo3.christianeiselt.de
08:17 Denyerec fred sure thing
08:19 max_muetze when opened with ie7 it seems that it even cannot read the .css-file...
08:19 max_muetze Denyerec: do you mean my question?
08:20 Denyerec sadly not
08:20 Denyerec Fred wanted something, that;s all
08:20 max_muetze ok
08:21 max_muetze Denyerec: are you using timtab?
08:21 Denyerec Nope
08:21 Denyerec I'm guessing you just hit denyerec.co.uk ?
08:22 max_muetze yes, what are you using?
08:22 max_muetze oh, ok
08:22 max_muetze its wordpress...
08:26 Denyerec fred^ you want these two URLs: http://wilcoding.xs4all.nl/Wilco/Pastecode/4401/showpaste.aspx http://wilcoding.xs4all.nl/Wilco/Pastecode/4402/showpaste.aspx
08:26 Denyerec the important part of the realURL config is line45, the prevar index #5
08:31 fred^ cool, thanks
08:31 fred^ i feel shook
08:31 fred^ i wonder if i can say it like that. 'i feel shook'
08:32 Denyerec I feel shaken
08:32 Denyerec I feel shook
08:32 Denyerec You know... I have no idea!
08:32 Denyerec They don't teach English in England.
08:33 Denyerec You're just supposed to pick it up.
08:34 Denyerec Heh yes
08:34 Denyerec I feel shaken.
08:34 Denyerec Shaken is the adjective, shook is the past tense of the verb "shake"
08:35 Fanty can I put an "alter table fe_users engine=innodb" into an extensions ext_tables.sql?
08:44 max_muetze can you tell if it is preferrable to put serveral sub-sysfolders into one sysfolder? i think it is more clear to have them in one i.e. "content-folder".. is it practicable?
08:46 Denyerec I don't see a reason why you would be unable to nest sysfolders
08:46 Denyerec If you have a sensible reasons to do so, then I can't see a problem with it.
08:47 FloLeBlanc can anyone have a quick look at http://new.billardcafe.at/index.php?id=1 and http://validator.w3.org/check?uri=http%3A%2F%2Fnew.billardcafe.at%2Findex.php%3Fid%3D1 please? I don't quite understand why I get this <tr> error
08:54 FloLeBlanc nvm.. IE just showed the wrong line when hopping
08:55 bauschan flo: round line 556
08:56 bauschan there is a missing table tag
08:56 bauschan it's at the start of the *newslink* section
09:02 FloLeBlanc bauschan thx found that too.. what I still don't understand is why the searchbox (SUCHE) is completely wrong placed in IE6
09:03 FloLeBlanc *grml*
09:13 mikhas Here's a question for y'all. Does typo3 make use of php when uploading files? I'm trying to implement a progress bar into a plugin and it works fine with all added parameters in the test-example (outside typo3) but it doesn't trigger on the typo3-extension. I can't find the difference, so I'm wondering if the form trigger php in different ways or so..
09:16 chefkoch-2oo7 hi. i want to change the output of the gifbuilder generated img tag, that it seems like "<img src"
09:16 chefkoch-2oo7 <img src="dummy.gif" class="USERDEFINED">
09:17 chefkoch-2oo7 so, i want to set a userdefined css style. my code is here: http://phpfi.com/220441
09:17 chefkoch-2oo7 is there a property or something ike that?
09:17 tobi chefkoch-2oo7: TRAILER.params= class="USERDEFINED"
09:20 chefkoch-2oo7 great. it works. thx!
09:21 Fanty Anyone got any ideas to how to change the database engine on a typo3 table from an extension without having to run sql scripts manually when installing the extension?
09:22 FloLeBlanc any hints on the "searchbox too far down on IE6" problem?
09:24 max_muetze hello again, i am not able to edit in the frontend however i am logged on in the Backend... does anyone know where to locate the failure?
09:30 Denyerec mikhas - I wish I could help you because what you're trying to do sounds interesting!
09:40 bauschan mikhas: AFAIR class.t3lib_extfilefunc.php holds some methods for handling file uploads
09:40 bauschan once i used some of them
09:40 bauschan but I can't remember where and how :(
09:43 eeos hi everybody
09:45 zatmania hi eeos
09:46 FloLeBlanc hi eeos
09:48 asdds Most addicting web game ever, http://www.fallensword.com/?ref=290352
09:49 eeos hi FloLeBlanc zatmania
09:51 eeos is broadband so bad everywhere, or is it only UK?
09:51 mikhas bauschan: ok.. hmm. I can see in /tmp -directory that a temporary file is created on the upload, just like the php-upload-demo does, but it doesn't create an extra status-file, which it should according to the php-modification I've made. So I'm thinking that it doesn't make use of php in this way like I thought it would.
09:51 mikhas it => typo3
09:54 mikhas I had a theory that maybe t3lib don't have access to the parameters it's supposed to, but it didn't help making them global.
09:56 koomi is there an easy way to test if a page is translated or got translated ce's?
09:58 FloLeBlanc koomi: under windows change the system language to "chinese" ?
09:58 FloLeBlanc eeos: most of the time it is ok in austria
09:58 eeos when you create a new extension, where do you put the icon shown in the BE?
09:58 eeos FloLeBlanc what speed is it?
09:59 FloLeBlanc 4096 dl / 512 up / monthly 1GB 35 Euro for students here
10:00 koomi FloLeBlanc: hum?
10:00 FloLeBlanc koomi: that was the answer to eeos question
10:10 eeos FloLeBlanc thanks.
10:10 FloLeBlanc eeos: np
10:11 FloLeBlanc koomi: didn't you want to know how to see your page in a different language when you did setup it?
10:12 koomi FloLeBlanc: i do. i just need a "conditional" language switcher - if there are translated ce's: show the language switcher; and i was looking for the db field where the language id is stored. found it in tt_content.sys_language_uid
10:12 FloLeBlanc koomi: the easiest way I can think about is click on the root node and "list" then look if there is another language
10:12 koomi and now i've got to pass over to the dark side of ts and work out how to get this done via .if and override
10:17 eeos FloLeBlanc do you know how to move an extension from the tool section of th BE to the web section?
10:17 FloLeBlanc nope sorry
10:19 eeos FloLeBlanc let's say the documentation on building extension is not really briliant. do you know of a good tutorial?
10:20 FloLeBlanc I only know the kickstarter manual and the only extension I ever did was for extending the sr_feuser_register table
10:21 eeos FloLeBlanc yes, I remember, because I was doing the same
10:21 FloLeBlanc :)
10:21 bauschan eeos: do you like some code snippet on your previous question?
10:21 eeos FloLeBlanc but now I need something more sophisticated
10:21 eeos bauschan thans!!!!
10:21 eeos s/thns/thanks
10:21 bauschan wait?
10:22 bauschan I did this with awstats
10:22 eeos bauschan thanks for the code
10:26 bauschan eeos: http://phpfi.com/220457
10:27 bauschan make sure to assign user,group the corresponding rights
10:28 eeos bauschan => means substitute, I imagine :)
10:29 bauschan yup
10:29 eeos bauschan thanks a lot
10:29 bauschan np
10:30 eeos bauschan also I am tying to change the icon for the same extension. I created the new one and saved it on top of the old one, btu still the BE shows the old one. why?
10:36 bauschan eeos: you're talking about mod1/moduleicon.gif ?
10:36 eeos bauschan it works rally well, wow!
10:36 eeos bauschan yes.
10:37 eeos bauschan the only problem, it moved the extension on top of the list in the web section, whilst I wanted it at the bottom
10:38 eeos bauschan ooooops, the extension does not work anymore after being moved.
10:38 eeos :(
10:40 eeos bauschan the admin user should be able to use it properly withou any setting?
10:41 bauschan I think so
10:42 eeos bauschan umpf, very bad mistake on my side
10:42 spaxxn is there somebody who has extended the extension sr_feuser_register to use also fields from other tables? i've searched for 4 hours now
10:43 eeos bauschan it works now
10:43 bauschan :)
10:43 eeos bauschan do you know how to move it from the top of the list to the bottom (in web section)?
10:44 spaxxn there are probably more ways to do that, write an extension, write a hook, direct attack on the extension itself :P
10:45 eeos spaxxn yes we did it.
10:45 spaxxn any idea or example?
10:45 spaxxn what a way did u use?
10:45 fred^ hmm wierd. in safari this old site doesnt seem to be styled. like it doesnt apply the stylesheet
10:45 eeos spaxxn a new extension creating a table
10:45 spaxxn thats done right now
10:46 eeos spaxxn the add a select foreign_table
10:46 eeos spaxxn you also have to get a look at the bottom of sr_feuser_register on how to add the field to the template
10:47 spaxxn foreign table is added to the tca
10:47 bauschan eeos: it's set in ext_tables.php
10:47 spaxxn template fields are added
10:47 bauschan I tell you in a sec
10:47 eeos spaxxn yes
10:47 spaxxn but the ext does not print the field
10:47 eeos spaxxn what do you mean?
10:48 spaxxn :
10:48 bauschan eeos: the 3rd param of *addModule()* has to be blank
10:48 eeos bauschan you are right
10:48 spaxxn i've to define what fields are printed for example
10:49 spaxxn fields = username,pets,password,gender,date_of_birth,email,address,city,static_info_countryzip,image
10:49 spaxxn there pets is a field in my own table
10:49 eeos bauschan I put bottom in the field where top was! it did work.
10:49 spaxxn pets should be known over the tca i think
10:50 bauschan not bottom, just keep it blank ,)
10:50 eeos spaxxn you have to extend the class.
10:50 eeos bauschan why?
10:50 bauschan don#T know ;)
10:50 bauschan it's the default
10:51 eeos bauschan you are right (reading the t3lib_extMgm documentation) :D
10:51 bauschan bauschan goes for food
10:51 eeos bauschan thaaaaaaanks
10:51 eeos bauschan you help me a lot! the only thing I still have to change is the icon.
10:52 eeos bauschan enjoy your meal!
10:52 spaxxn k that was the thing i wanted to know. i have to write an extension thats extends sr_feuser_register? add the foreign tables to tca
10:52 spaxxn and so on
10:52 spaxxn ^^
10:52 eeos spaxxn yep
10:52 spaxxn thx dear
10:52 spaxxn ^^
10:52 eeos spaxxn wait
10:53 spaxxn kk
10:53 eeos spaxxn this is what we did, but was very rough, I have to say
10:54 eeos spaxxn in a rush, a supplier did a mess of it, so we will maybe rewrite in a more professional way
10:56 spaxxn hm
11:01 eeos spaxxn http://phpfi.com/220466
11:01 eeos spaxxn very bad
11:13 eeos spaxxn is that what you needed?
11:28 elbart hi
11:36 MaxDeMon Hello Guys
11:37 MaxDeMon please join www.maxdemon.co.nr
11:37 m4rtijn hey
11:37 MaxDeMon please join www.maxdemon.co.nr
11:37 m4rtijn lol? kick?
11:37 MaxDeMon please join www.maxdemon.co.nr
11:38 m4rtijn please shut up
11:38 MaxDeMon please join www.maxdemon.co.nr
11:38 FloLeBlanc ...
11:38 MaxDeMon please join www.maxdemon.co.nr
11:38 MaxDeMon please join www.maxdemon.co.nr
11:38 MaxDeMon please join www.maxdemon.co.nr
11:38 FloLeBlanc how does the ignore command work?
11:38 MaxDeMon please join www.maxdemon.co.nr
11:39 m4rtijn mirc?
11:39 MaxDeMon :D
11:39 FloLeBlanc hydra irc
11:39 MaxDeMon fuck ur mom
11:39 MaxDeMon lol
11:39 m4rtijn dunno. sry
11:39 FloLeBlanc np
11:39 m4rtijn is anyone experienced a bit with the typo3 tt_products extension?
11:39 m4rtijn the shop thingie
11:39 MaxDeMon please join www.maxdemon.co.nr
11:40 FloLeBlanc finally
11:40 Jigal it worked!!! :-D
11:40 spaxxn eeos
11:41 spaxxn sorry had lunch
11:51 eeos Jigal WHAT DID YOU DO?
11:51 eeos Jigal sorry, what did you do, did you kick it?
11:51 mikhas haha.. brings back memories from real crappy irc-channels. :)
11:51 Jigal No... "it" (the flood detection) worked! Not me ;-)
11:53 FloLeBlanc Jigal is right!
11:53 FloLeBlanc hehehehehe
11:53 Jigal please join www.maxdemon.co.nr
11:53 Jigal <evil grin>
11:55 eeos Jigal please join www.maxdemon.co.nr (in a figurative sense)
11:57 Irix I need help on tt_news url.... /index.php?id=13&tx_ttnews[tt_news]=11&tx_ttnews[backPid]=1 where the singlepid is 13 and the news uid is 11 ... but no matter what I do .. it shows the same article.. if I change the uid its always the last article shown... what can I do.. does it need the chash ? and if so how do I generate it.. ?
11:58 eeos Irix does the news you change the uid to exist?
11:59 Irix yes..
12:00 eeos sounds strange
12:00 Irix and that lead me up to thinking that the cHash is nessary ?
12:02 m4rtijn is anyone experienced a bit with the typo3 tt_products extension? I have a small question regarding the categorie image..
12:03 Irix eeos you have any idea ?
12:11 eeos Irix not really, could you point me to the website?
12:14 bauschan re
12:14 Irix eeos try http://vistaguide.dk/xml.php
12:14 Irix look in the source
12:18 eeos Irix this is actually a blank page
12:20 eeos Irix are the news actually different?
12:20 eeos in the back end
12:20 eeos Irix and you have cleaned the cache
12:23 elbart re
12:23 Irix eeos sorry what you mean by news are different in the backend ?
12:24 eeos Irix did you fill the news record with the same content or are they actually all different new items?
12:25 Irix eeos they are all different... this is a external script for generating XML to a flash news sticker..
12:26 eeos Irix I cannot help you then. I am sorry.
12:27 Irix_1 eeos sorry I got disconneted
12:27 eeos Irix I cannot help you then. I am sorry.
12:29 Irix_1 eeos okay thank you for the effort.. :)
12:33 Denyerec fred^ - did you get those links earlier ?
12:51 Irix_1 seems I have to use Typolink...how do I implement typolink in external script ?
12:52 Irix_1 anyone with a example :)
12:53 spaxxn external? or extension?
12:54 spaxxn u will implement it, to ur XML-script?
12:55 beev0r how can i add the url of the current page to a link as parameter
12:55 beev0r i.e. for tipafriend
12:55 beev0r <a href="index.php?id=tipform&tipUrl=current-url">
12:57 beev0r typolink.additionalParams = $_SERVER['REQUEST_URI'] something like that
12:59 Irix_1 spaxxn yes, the php script generating XML :)
12:59 Irix_1 external
13:00 spaxxn no way i think ... :(
13:01 spaxxn but if somebody knows, i want to learn more :P
13:02 Irix_1 spaxxn I think its quite essentiel thing.. but I really hate it has to be so difficult to make such things... but there must be some kind of api for doing so ?
13:03 spaxxn tip!
13:03 spaxxn look at the eID behaviour of typo3
13:06 Irix_1 spaxxn was that for me ? :)
13:06 spaxxn y
13:07 Irix_1 spaxxn you have link or somehow ?
13:07 spaxxn mom
13:07 spaxxn german or english?
13:08 Irix_1 english please :P
13:09 Fanty I got an extension I've created thats working like its intended to... I was looking in the EM and I noticed this error Database status: "Table error! Probably one or more required fields/tables are missing in the database!"
13:09 Fanty Whats up with that? the tables look like they should
13:10 m4rtijn did u try the database tool? check the relations?
13:11 Fanty no in the EM - when you look at details of an extension
13:11 m4rtijn yeah.. try checking the database
13:11 m4rtijn manage reference index.. or check relations
13:13 spaxxn Irix_1
13:13 Fanty m4rtijn: nope, dident change anything
13:14 koomi where are the default values for lib.stdheader defined?
13:14 Fanty m4rtijn: db compare in the install tool gives an all ok too
13:15 Irix_1 spaxxn yes
13:15 spaxxn http://castor.t3o.punkt.de/files/podkast12_v4_techinsight_ajax.m4v
13:16 Irix_1 spaxxn hmm... have you checket it out ? :)
13:17 Irix_1 spaxxn anyway.. will put it on my ipod.. have to go :) talk to you if I find it out..
13:17 spaxxn ...
13:17 spaxxn quicktime player u could use
13:17 Irix_1 spaxxn yes.. but I have to catch a train.. so Ipod ;)
13:18 Irix_1 spaxxn Thank you
13:28 koomi gnar
13:28 koomi uschi, tobi: any ideas where lib.stdheader is defined? i need to change the "hidden"-type
13:29 FloLeBlanc content (default)
13:29 FloLeBlanc (allthough I am not uschi or tobi)
13:36 FloLeBlanc can anyone help me how to define page internal anchors with the RTE?
13:37 FloLeBlanc or would I have to define EVERY question as content element and do links to them on the top then?
13:37 FloLeBlanc (in an FAQ)
13:39 koomi FloLeBlanc: you can get the headers of every content element
13:39 koomi and create an element by hand
13:39 FloLeBlanc koomi: yes but the links should actually point to the questions :)
13:40 koomi FloLeBlanc: hmm. why not use one of the faq extensions?
13:40 FloLeBlanc koomi: didn't think there were any :) *searches, thx*
13:45 FloLeBlanc koomi: anything you can recommend?
13:46 smda how can I stop the RTE from castrating my internal links?
13:49 FloLeBlanc please be more specific
13:53 FloLeBlanc http://www.wacken.com/de/woa2007/ LOL... wacken open air uses t3 :)
13:54 smda Flo, well.. I'm manually creating a link in the RTE with a lot of extra params (to special part of a gallery), but when I save it all extra params are stripped and the link is highlighted with a red/yellow box..
13:55 FloLeBlanc hmm that's bad.. I always workaround that by creating an "external" link and passing the params there
13:55 smda hehe.. nasty Flo :)
13:56 FloLeBlanc smda: yes I know but I didn't find another way at jm_gallery to jump directly to specific albums on specific pages
13:57 pulponair hi there
13:57 smda hi pulponair
13:57 eeos back from lunch!
13:57 smda FloLeBlanc: mm.. k.. I'll try to do something like that. been wrestling enough with it now.. thnx
13:58 FloLeBlanc smda: np and sorry for providing such a dirty fix :)
13:59 smda FloLeBlanc: I'll add a referens to you in the code :D <!-- this is a dirty fix kindly provided by FloLeBlanc --> ;)
13:59 FloLeBlanc nooooooooooooo
14:00 eeos hi pulponair
14:01 pulponair hi
14:03 toms Hey
14:05 toms Looking at strange spaces in my website I found that Typo uses an image called "clear.gif". I gogled how to avoid Typo inserting this, but the solutions I found where not working. Anyone who had the same problem?
14:05 pulponair toms: t3 version?
14:05 pulponair toms: should be removed in newer versions
14:06 toms 4.0
14:06 toms Not new enough?
14:06 pulponair toms: did you change the compat mode to 4.0 using the installer?
14:07 toms Hm... I#m not sure what a did.. ;) How can I check? In Setup-Tool?
14:07 pulponair yes
14:08 toms pulponair: [SYS][compat_version] = 4.0
14:08 pulponair ok
14:08 pulponair css_styled_content?
14:09 pulponair toms: we are talking about cleargif at fe right?
14:10 toms Include staic is written CSS Styled Content so it should be using it, right?
14:10 pulponair yes
14:10 pulponair so what kind of ce contains that clear.gif?
14:11 toms The normal Text. Between the Headline and the text
14:11 toms the "Text" content element
14:12 eeos an advanced programmin question: if you extend a class from one exstension, can you rewrite one of the functions, overriding the behaviour of the function in the original calss with the behaviour of the fucntion in the extended class?
14:13 smda eeos: mm
14:14 smda and if you want to just extend (not replace) it, overwrite the function and call parent from within.
14:14 eeos smda sorry, do not understand
14:15 eeos smda I need to replace one of the funtions within a class with a new function with the same name (that is, what I really want to do is to modify the behaviour of the function within the class)
14:15 smda eeos, yes you can rewrite a parent class function with your own code. But you can also extend the parents function by creating a similar function and calling parent first and then proceed with your own code..
14:16 eeos smda wihtou modifying the parent class function code?
14:16 smda eeos: regard though classes that are final. (http://www.phpbuilder.com/manual/en/language.oop5.final.php)
14:17 eeos smda very interesting
14:18 eeos smda so, if I want to modify a function of the parent class withou rewriting the code of the parent class, that is without modifying the typo3 extension, how can I do?
14:19 Fanty How do I avoid TV changing my paths in my template from <form action="."> to <form action="fileadmin/templates/."> ?
14:19 smda create your extended class and the function you want to exten
14:20 eeos smda redefining the function from scratch
14:20 eeos and then?
14:20 smda ..d and do like myfunc() { parent::myfunc() .... } .. if I remember correct..
14:20 spaxxn parent::[function_name]();
14:20 smda :)
14:20 spaxxn ^^
14:21 eeos :)
14:21 eeos so that rewrites the parent function even when I call it within the parent?
14:23 smda that _extends_ it. skip the parent::... stuff if you want to completely rewrite..
14:26 eeos smda yes, I need to rewrite. let's say class A contains function B. I want to rewrite function B without actually rewriting the code.
14:26 smda eeos, take a short swim here http://se2.php.net/manual/en/language.oop5.paamayim-nekudotayim.php
14:27 LordLamer hi. how can i get a pagetitle in php? what function can i use? i need that because i have a multilanguage page
14:30 Fanty how do I generate an URL for the form ACTION tag in my extension so I won't loose stuff like the ?id=<page id> -- any function for this?
14:30 eeos smda thanks
14:33 ks how do I get a parent for specific page id ?
14:34 Fanty ks: TSFE
14:35 ks can I do it based on plain sql query ?
14:35 Fanty ks: no need. get it from the TSFE object
14:35 toms What about this pid-value?
14:36 Fanty ks: or.. is it for any specific page and not the one your on?
14:36 ks Fanty i don't have it, it's totally indepemdent piece of code
14:36 ks Fanty that's for my tree control
14:37 ks i have all descendants, but client wants to expand the tree on specific page
14:39 Fanty ks: if its for any given page then SELECT pid FROM pages WHERE uid = <uid>;
14:39 spaxxn SELECT pid FROM pages where uid='.$uidvarfromphp.'
14:39 ks so i need to do an inverse
14:39 ks oops late :)
14:40 eeos smda what is a method?
14:41 eeos (methods of a class in the documentation you sent me?.
14:41 spaxxn eeos rtfm
14:42 smda ;)
14:42 smda gotta run. cya all
14:42 eeos spaxxn :P
14:42 spaxxn cu
14:42 eeos spaxxn I am rtfming
14:42 eeos smda thanks for help see you later
14:43 eeos spaxxn is there a fm for every word in the documentation?
14:43 spaxxn a function of a class is a mthod
14:43 spaxxn a function of a class is a method
14:43 max_muetze is anyone here with a multidomain-config who can help me? it don't works for me
14:43 spaxxn owned by a class
14:44 max_muetze all domains ever direct to the first root
14:44 spaxxn hm
14:46 spaxxn ich glaube herr muetze, dass wird schwer
14:46 spaxxn ^^
14:46 max_muetze ;-) meinste, ja?
14:46 max_muetze hm
14:46 spaxxn aber ich lasse mich gerne vom gegenteil überzeugen
14:46 spaxxn ^^
14:46 eeos spaxxn ah! good, thanks for explanation.
14:46 spaxxn ^^
14:47 max_muetze spaxxn: warum ist das schwer? geht das gar nicht? oder die fehlersuche?
14:47 spaxxn nene schwer sollte das nicht sein
14:48 spaxxn aber
14:48 spaxxn wie haste das grad installiert?
14:48 spaxxn ich würde das in etwa so machen
14:48 Fanty go for the whispers if you want to speak german?
14:48 spaxxn who says its german? :D
14:49 ks Fanty, spaxxn thanks that works
14:49 spaxxn ^^
14:49 spaxxn hf
14:49 max_muetze ;)
14:49 ks nicht schiessen
14:50 ks don't shoot, please :)
14:52 eeos spaxxn what about "memebrs of a class" (last stupid question possibly)?
14:57 Denyerec if you're autogenerating a HMENU is it in any way possible to "stitch" other menu items onto the end of it ?
14:57 Denyerec Whilst maintaining the existing wraps etc.
14:58 ks do you mean "append" an item ?
15:02 ABS|Kaylon hi
15:03 LordLamer how can i get the sys_language_uid with php on a page?
15:04 ABS|Kaylon i have a template relatet question
15:04 ABS|Kaylon i have a portal running on typo3 with a main template for all subsites
15:05 ABS|Kaylon now i want to create a subsite with a total different template. Is there a neat way to do that?
15:08 Denyerec Yes, append
15:08 Denyerec Tho now my problem focus has moved.
15:08 Denyerec Is there a better table editor for Typo3?
15:09 Denyerec One that, for example, allows vertical and horizontal headings together, as well as accessibility Colgroups ?
15:24 Denyerec uschi are you about ?
15:29 Denyerec Weird.
15:29 avagraphique ABS|Kaylon: create a new template record on the root page of the new site. check clear constants and setup
15:29 Denyerec IRC crashed...
15:29 Denyerec uschi are you around ?
15:29 avagraphique ABS|Kaylon: oh, and cleck "is root of site" too
15:29 ABS|Kaylon ok thanks i'll try that :)
15:30 FloLeBlanc denyerec: she didn't answer yet :)
15:30 Denyerec Dang
15:30 Denyerec You'll do flo ;)
15:30 Denyerec I'm trying to do something conditional, but I'm not sure on WHAT...
15:30 Denyerec I'll fetch the pastecode
15:30 eeos I get this error on a new website (4.1):
15:30 eeos Couldn't find a Data Structure set for table/row "pages:10".
15:30 eeos Please select a Data Structure and Template Object first.
15:31 FloLeBlanc denyerec what you want is possible with specific code (define table classes for the RTE)
15:31 eeos what did I do wrong? I created the DS / TO but it does not let me connect it to the page.
15:31 FloLeBlanc eeos: converted or fresh install
15:31 Denyerec FloLeBlanc - different problem for the short term
15:31 Denyerec http://wilcoding.xs4all.nl/Wilco/Pastecode/4406/showpaste.aspx
15:32 Denyerec that is wrapping the value of the access key with datawrap
15:32 Denyerec and I don't want any wrapping if there is no value set
15:32 Denyerec but the value is defined by a plugin and I don't know what it's .something is
15:32 eeos FloLeBlanc fresh install
15:32 FloLeBlanc eeos: then I don't know sorry.. there was some conversion issue when updating
15:32 Denyerec If the TS is using datawrap, is it fair to suspect I can test .data ?
15:33 FloLeBlanc if there is WHAT value not set denyerec?
15:33 Denyerec hehe exactly my problem :/
15:33 Denyerec whatever is being put in the | by dataWrap
15:33 toms bye
15:34 FloLeBlanc sorry I don't understand the problem :)
15:34 Denyerec ok
15:34 eeos FloLeBlanc actually, the installtion as converted!
15:34 Denyerec You see ATagTitle.cObject.dataWrap = {field:title} - |
15:34 FloLeBlanc yes
15:34 eeos FloLeBlanc but the TV template is new
15:34 Denyerec well the accesskey I define when I set up the page, lets say I set it to Q
15:34 FloLeBlanc eeos: check the install manual plz there is some issue with converting database fields or something
15:34 Denyerec would resutl on the homepage in: Home - Accesskey: Q
15:35 Denyerec But if the accesskey field is empty, I need to just output : Home
15:35 uschi Hi typos
15:35 Denyerec I have installed an extension that allows you to put accesskeys on certain pages by adding a field to the page properties.
15:35 Denyerec Hey uschi
15:35 Denyerec How about "Typistas" ?
15:35 uschi Hello Denyerec :))
15:36 FloLeBlanc [title = *] "yourwrapcode [global] doesn't to it?
15:36 pulponair does anyone know details about the ter update frequenz?
15:37 Denyerec Flo - what would that achieve?
15:37 uschi hi FloLeBlanc and pulponair :)
15:37 FloLeBlanc wouldn't that say "wrap only if a title is specified" ?
15:37 FloLeBlanc at least that works for [loginUser = *] for me
15:37 Denyerec Yeah, I need "wrap only if an accesskey is specified"
15:37 Denyerec Am I being thick
15:38 Denyerec should I just just [accesskey = *]
15:38 Denyerec :)
15:38 uschi hm, perhaps you should not use any access keys at all
15:38 FloLeBlanc but you said above that it would state: Home - Accesskey: Q , afterwards you show me the code where ATagTitle.cObject.dataWrap = {field:title} - | is stated
15:38 FloLeBlanc so the Q should be defined in the field: title wouldn't it?
15:40 Denyerec No that's the weird thing
15:40 eeos I get "Data Structure ERROR: No source value in fieldname "tx_templavoila_ds"
15:40 Denyerec The access key is set on the page properties.
15:40 eeos I think this is the reson for mapping not working
15:41 Denyerec Then it somehow winds up as the | in ATagTitle.cObject.dataWrap = {field:title} - |
15:41 FloLeBlanc ah ok ic you wrap the value of the accesskey with the field title sorry
15:41 Denyerec Aye
15:41 Denyerec and I only want to do that if | has a value
15:41 Denyerec but I don't know how to find out what | is called :)
15:42 Phlogiston_ how can I complely disable FE Caching?
15:42 eeos what on earth does the error "Data Structure ERROR: No source value in fieldname "tx_templavoila_ds" means?
15:42 FloLeBlanc [AccessKey = *] (thecode) [global] could do it
15:43 Denyerec Flo is there some way to dump that stuff to the frontend as debug info?
15:43 Denyerec allllll the .blah stuff
15:43 Denyerec the whole array at runtime
15:43 FloLeBlanc good question.. perhaps with the admin mode on 1?
15:43 Denyerec ...
15:43 Denyerec you lost me :/
15:45 FloLeBlanc well denyerec there will be no surprises in that dumped info: ATagTitle will have the name of the AccessKey and it will be wrapped with the field title :)
15:46 eeos what on earth does the error "Data Structure ERROR: No source value in fieldname "tx_templavoila_ds" means?
15:46 FloLeBlanc whe only question is if you can put the value you assign (AccessKey - CASE sensitive!) in a condition field
15:46 Denyerec http://wilcoding.xs4all.nl/Wilco/Pastecode/4406/showpaste.aspx
15:46 Denyerec that is my current code.
15:47 FloLeBlanc eeos: I hate to say that but plz plz with sugar on top use google.. that was the first hit here *G* http://wiki.typo3.org/index.php/TemplaVoila
15:48 FloLeBlanc It seems there is some dev/debug code in TemplaVoila that omits this fake error. It goes away when you assign the sysFolder containing the TO/DS records to the field "General Record Storage page" in the root page Page header.
15:49 FloLeBlanc denyerec: http://phpfi.com/220563 ?
15:51 Denyerec wow
15:51 Denyerec http://wla.systemcms.com/about.html
15:51 spaxxn eeos i've said it 2 hours ago: rtfm, then google and try to find out something in forums and when u then don't find an anwser, then u can ask here and u will become an answer :D
15:51 Denyerec lets just say that didn't work
15:52 FloLeBlanc well the question is did it not work because it is completely wrong or just because every content element that DOESN'T have an access key is not shown after this code
15:52 avagraphique take heart, eeos, these folks may be a little harsh, but a lot of stuff IS explained in the manuals, and easily available on google...
15:52 avagraphique and when you rtfm, you will understand a LOT better
15:52 FloLeBlanc eeos: no offence meant, sorry
15:52 Denyerec Flo where did you get AccessKey from ?
15:53 avagraphique FloLeBlanc: you were fair....
15:53 FloLeBlanc denyerec: ATagTitle.cObject.value = AccessKey:
15:54 Denyerec That just adds a string :S
15:54 FloLeBlanc yeah but if there is no access key there will be no string will it?
15:54 Denyerec if I changed it to Chimp: then the title attrib would read out as {field:title} - Chimp:
15:54 Phlogiston_ how can I completely disable FE Caching?
15:54 FloLeBlanc ah lol
15:54 FloLeBlanc sorry
15:55 FloLeBlanc I'm trying to set up a FAQ section while typing :)
15:55 Denyerec hehe
15:55 Denyerec also should it be [conditiona] [end]
15:55 Denyerec rather than global ?
15:55 FloLeBlanc denyerec: tried to construct some help with my "loginUser" construct which works the way I posted
15:55 pulponair what is the proper way to receivie $_EXTCONF from withhin an eid script?
15:55 avagraphique Denyerec: arent they they same?
15:56 Denyerec I don't know ava, hence why I asked
15:56 Denyerec but if they are the same, then so be it :)
15:56 avagraphique (lol, duh) I thought they are
15:56 avagraphique :-)
15:56 Denyerec I haven't the foggiest!
15:56 Denyerec Phlogiston_ - hold on a sec
15:57 Denyerec config.no_cache = 1 in your TS setup
15:57 Denyerec should do it
15:57 eeos spaxxn 1) I have been developing for a while in typo3 2) I know where google and the bug tracker are, and do not need anyone to explain me where they are 3) if I write the room is because htese suggestions (as http://wiki.typo3.org/index.php/TemplaVoila) do not solve the problem 4) the last sentence was IN CONTEXT of 4 previous messages 5) I have answered the most stupid questions that were easily available on google or documentation from many users on thsi chat,
15:57 eeos so I expect other to do the same.
15:57 Phlogiston_ Denyerec: no that does not work here, Could the reason be that I am using include and that I have my TS in a seperate file???
15:57 Phlogiston_ I'm so sick of clearing the cache all the time
15:58 Denyerec Hmm. That MAY be it
15:58 Denyerec add that line before you include your TS
15:58 Denyerec See if that works ?
15:59 Phlogiston_ Denyerec: oh good idea!
16:01 Phlogiston_ Denyerec: That didn't help :(
16:01 FloLeBlanc denyerec: that HAS to be possible :) *researches some more*
16:02 Denyerec FloLeBlanc if there was some way of printing out the runtime config array, I could easily see the name of the field needed.
16:04 FloLeBlanc denyerec: do yo use the tx_govaccessibility for that?
16:04 Denyerec The extension I'm using issssssss
16:04 Denyerec http://typo3.org/extensions/repository/view/gov_textmenu/0.1.7/info/class.ux_tslib_tmenu.php/
16:05 Denyerec this one
16:05 Denyerec It says its obsolete, but the newer version is overcomplicated and bad.
16:05 Denyerec The old one, if I could get this sorted, is just perfect.
16:05 FloLeBlanc try to print that value in the menu to check perhaps ? {field:tx_govaccessibility_accesskey}"
16:06 FloLeBlanc hmm but I fear I got the wrong ext :)
16:07 Denyerec field:tx_govtextmenu_accesskey
16:07 Denyerec I think it is the same in both
16:08 bedlamhotel Denyerec: dare I ask? What are you trying to do today?
16:08 Denyerec You don't wanna know.
16:08 Denyerec :)
16:09 bedlamhotel Ok ;-p
16:09 Denyerec FloLeBlanc - bingo {field:tx_govtextmenu_accesskey}
16:09 Denyerec that's definately it
16:09 FloLeBlanc yahoo
16:10 FloLeBlanc now check it for a value *G*
16:10 Denyerec so the conditional [ {field:tx_govtextmenu_accesskey} = * ]
16:10 Denyerec ?
16:10 FloLeBlanc I don't have a clue lol
16:10 Denyerec hahaha
16:10 FloLeBlanc I would think without {}
16:10 FloLeBlanc [tx_govtextmenu_accesskey = *] ?
16:10 FloLeBlanc :)
16:10 uschi Denyerec, you know that access keys might not be helpful
16:10 Denyerec uschi - these ones will be :)
16:10 Denyerec trust me :)
16:11 uschi but disturbing, because they fuck up peoples shortcuts
16:11 bedlamhotel Ushci: it's hopeless. HE told ME that last week.
16:11 bedlamhotel :)
16:11 uschi hi bedlamhotel
16:11 uschi Denyerec, then at least stick to the conventions
16:12 uschi so why is he doing it now?
16:12 bedlamhotel uschi: you'd best ask him. I think he's stuck in a loop :)
16:12 uschi Denyerec, why, my dear
16:12 Denyerec I am implementing something that lets ME set only the STANDARD accesskeys on the respective links
16:12 Denyerec as defined by my dearest fascist dictatorship, the UK Government and Crown.
16:13 uschi *L*
16:13 Denyerec No auto accesskeys as they're evil
16:15 bedlamhotel Denyerec: the conditions you and FloLeBlanc are bandying about don't look kosher...
16:15 Denyerec Indeed
16:15 Denyerec it is not working :)
16:17 bedlamhotel No reason why they should work, as far as I can tell...
16:18 bedlamhotel What are you trying to do with them?
16:18 Denyerec Natch, yeah just finished reading the section in TSRef
16:18 Denyerec basically if {field:something} has a non-null value, set one thing. If it has any value at all, set something else
16:18 Denyerec {field:tx_govtextmenu_accesskey}
16:19 Denyerec that is the field in question.
16:19 bedlamhotel If conditions are the most convenient method in this case, you can write a userFunc for conditions now.
16:20 bedlamhotel Otherwise, it will be your old friends .if or CASE (depending largely on whether or not you need to check for *any* value, or for specific values...)
16:21 Denyerec just if it HAS a value
16:21 Denyerec no specifics
16:21 bedlamhotel Well, you know how to do that with .if in general, right?
16:22 Denyerec Just finding it in the TSRef
16:24 bedlamhotel You'll need something like this: http://phpfi.com/220578
16:24 bedlamhotel ...generally speaking.
16:27 Denyerec Sweet, I wrote the same TS as you bedlamhotel
16:27 Denyerec This means I must actually understand what's going on!! :)
16:28 FloLeBlanc cya all have a nice evening
16:29 bedlamhotel Denyerec: superb.
16:29 Denyerec Thanks flo!!
16:29 FloLeBlanc denyerec: I didn#t do much but guessing np hehe
16:29 Denyerec It all helps!
16:30 Denyerec bedlamhotel the only thing I'm wrestling with now is the "else" condition, or it's TS equivalent.
16:30 bedlamhotel CASE.
16:30 Denyerec Ok
16:30 bedlamhotel ...if you mean in a situation like the .if sample I just linked to.
16:31 bedlamhotel But wait: you said you only need to check for a value, no?
16:32 bedlamhotel In that case, you can also just put in an identical cObject with the opposite condition. That way, for '1', one object is rendered but not the other, and for '0' the other is rendered and not the one...
16:32 Denyerec Yes I thougth about that
16:32 Denyerec just doubling it up
16:32 bedlamhotel Yep. For binary conditions and simple objects it's ok.
16:33 Denyerec Thing is...
16:33 Denyerec I don't know if I can.
16:33 Denyerec Let me show you my code
16:33 bedlamhotel Yes indeed :)
16:33 Denyerec http://wilcoding.xs4all.nl/Wilco/Pastecode/4407/showpaste.aspx
16:36 bedlamhotel Denyerec: no difficulty. Change the TEXT cObject to a COA containing two TEXT cObjects.
16:36 Denyerec Ah!
16:37 Denyerec I got halfway through that before my brain tied into a knot.
16:37 Denyerec :)
16:37 bedlamhotel Or, again, change it to a CASE. Either way.
16:41 Denyerec I don't really understand the CASE sytax, and now it's working so I shall back away slowly
16:41 Denyerec the only thing is in the wrap it's not honoring my whitespace and &nbsp; renders to screen...
16:42 pulponair i gotta go home bye folks
16:42 bedlamhotel Denyerec: CASE is almost identical to what you're doing in fact. Change COA to CASE, remove the .if, replace it with .key and you'd have 99% of it.
16:43 bedlamhotel Ciao Pulp.
16:43 Denyerec I'm looking at the synatx now :S
16:43 Denyerec adios Pulpamigo
16:43 Denyerec !
16:43 bedlamhotel Denyerec: but for the wrap, what do you mean?
16:44 Denyerec Ah
16:44 Denyerec I have this:
16:44 Denyerec ATagTitle.cObject.1.dataWrap = {field:title} - AccessKey : |
16:44 Denyerec but the output is title - accesskey :VALUE
16:44 Denyerec rather than
16:44 Denyerec title - accesskey : VALUE
16:44 Denyerec (IE no space before the V)
16:45 Denyerec and I think that's how it's supposed to deal with the stdwrap syntax
16:45 Denyerec IE trim whitespace
16:47 bedlamhotel Dunno about .dataWrap in particular, but generally, all values are trimmed. Od.
16:47 bedlamhotel =d
16:47 bedlamhotel @#$@
16:47 bedlamhotel I can't even type two letters in a row without an error.
16:48 Denyerec hehe
16:48 Denyerec well if it really bugs me I can modify the hook function
16:49 uschi having a whitespace in t3 is a nightmare
16:49 bedlamhotel If it really bugs you, make the cObject one object deeper, and apply .trim :)
16:50 bedlamhotel You can't do it in the TS as you have it now, because TS is processed in order and .trim comes before .dataWrap...
16:51 Denyerec Yeah so I see
16:51 Denyerec Ah well, it'll do
16:51 uschi i had this once, Denyerec, in the dataclouds
16:51 Denyerec Not in the dataclouds!
16:51 Denyerec :)
16:52 uschi true, my testpage is called datenwolken, and that is german for dataclouds
16:52 Denyerec hhehe
16:52 Denyerec So you go one deeper, the trim gets applied on the first item, passed up, you then can add your space, then trim is applied to THAT
16:52 Denyerec If I understand it right ?
16:52 bedlamhotel uschi: I now know what you mean by it, but every time you say 'dataclouds', it makes me think of William Gibson novels...
16:53 uschi http://www.datenwolken.de/index.php?id=154
16:53 Denyerec Now this a really stupid question, but when you're commenting TS code, or trying to read it, do you find it more readable if the comments are:
16:53 Denyerec 1- Indented a little
16:53 bedlamhotel Denyerec: I don't think I understand that sentence. Run it through the .stdWrap property .clarify please :)
16:53 Denyerec 2- outdented a little
16:53 uschi the clouds idea came from the clouds of smoke
16:53 Denyerec 3- same tab-stop as the code
16:54 Denyerec As if I ever share any of this TS, I want to make sure it's readable!
16:54 uschi if there is no syntax-highlighting i prefer the indented a little version
16:54 Denyerec that's what I was going for at the moment.
16:54 uschi Denyerec, for tho more link above i needed a space, are you in a similar situation?
16:55 uschi by the way, bedlamhotel, i do not know William Gibson
16:55 Denyerec Sort of uschi - my title attributes read as follows: Homepage - AccessKey :VALUE not Homepage - AccessKey : VALUE
16:55 uschi yes
16:56 uschi i look for the code then, right?
16:57 bedlamhotel uschi: do you just need .noTrimWrap perhaps?
16:57 Denyerec sure thing uschi
16:58 uschi after.postCObject.typolink.noTrimWrap = | ||
16:58 uschi yes
16:58 Denyerec ah that is just for typolinks then ?
16:58 uschi no
16:58 uschi stdWrap
16:59 Denyerec http://wilcoding.xs4all.nl/Wilco/Pastecode/4408/showpaste.aspx
16:59 Denyerec that is my current predicament
16:59 uschi so, if dataWrap is processed before your wrap, just say stdWrap.noTrimWrap
17:00 bedlamhotel denyerec: there is no need for you to be using .dataWrap there. Remove the { and } and use .data instead.
17:00 bedlamhotel .noTrimWrap comes after .data
17:01 Denyerec ATagTitle.cObject.1.data = field:title - AccessKey : |
17:01 Denyerec ?
17:01 Denyerec Gah I'm being dumb
17:01 Denyerec set data to field:title
17:02 Denyerec then wrap it
17:02 bedlamhotel correct.
17:02 bedlamhotel ...with noTrimWrap if you need spaces.
17:02 Denyerec But dataWrap is already wrapping something
17:02 Denyerec IE the actual accesskey value
17:03 bedlamhotel Oh, I was looking at this: ATagTitle.cObject.2.dataWrap = {field:title}
17:03 Denyerec I think the extension actually overloads dataWrap or something
17:03 bedlamhotel I will impart a bit of information it took me 4 years to figure out.
17:03 Denyerec I'm looking at the code but don't really understand a lot of the T3 framework yet.
17:06 bedlamhotel ..actually, the thing I was thinking of is not directly relevant. Make those things COAs so you can run .stdWrap over the contents twice.
17:07 bedlamhotel You may find it easier to manage the code if you create them as lib objects (e.g. lib.foo = COA ... )
18:04 threna223 ok I want to find out why the frontend login does not work but I need some help. The user authentification is done by the function compareUIdent in the class t3lib_userAuth, right? But where can I find the point where the "user" and "pass" POST values are given to the function?
18:06 bedlamhotel threna223: what makes you think there is a bug in the code?
18:09 threna223 I dont think its a bug but I tried on two different servers with typo3 4.0 and typo3 4.1, I tried newloginbox and the standard way, I made it step by step as its written in tutorials and a book. But always "wrong user / password". At typo3.net I read that several people have some problems with the frontend login and typo3 4.1
18:10 threna223 I dont think its a bug but I want just to find out where the problem is
18:10 bedlamhotel Well, let me try it here on a 4.1 box.
18:10 bedlamhotel Just a sec.
18:18 threna223 ok
18:21 bedlamhotel threna: no problems whatsoever.
18:25 bedlamhotel threna: Here's all I did:
18:25 bedlamhotel 1. Add an FE user group to your general record storage page (this is a sysfolder which is identified as GRSP in the root page of the site)
18:25 bedlamhotel 2. Add an FE user to the GRSP and assign it to the above group
18:25 bedlamhotel 3. Set the constant "styles.content.loginform.pid" to the id of the GRSP
18:25 bedlamhotel 4. Add a login form to a page
18:25 bedlamhotel 5. Try loggin in.
18:26 bedlamhotel Threna: this procedure hasn't changed in ~3 years, so I very much doubt that you will find anything wrong with the php code.
18:26 threna223 bedlamhotel: Thats the way I tried 20 times. There must be a local problem,
18:28 bedlamhotel The only thing that has ever given me problems with this is if I have /changed/ tt_content.loginform.20. If you have made TS changes to that object, roll them back to the default state and try your login setup again. Once it's working, re-introduce your changes a bit at a time, testing the login at each stage.
18:29 threna223 yes, perhaps its some bad TS code. I will try to take everything out
18:30 reber hi all
18:31 roelof hello, everybody
18:31 roelof i have a strange problem , i mapped a tag and typo still puts that on another place with another tag namely csc-header
18:32 roelof does anyone knows how to change that
18:44 roelof nobody, who can help ?
19:08 uschi heya Ries :)))
19:08 uschi we have you back
19:09 uschi how was your weekend?
19:12 Ries uschi: great!!!
19:12 uschi good to hear
19:24 Ries uschi: we might going to buy some land there
19:25 threna223 bedlamhotel: if I login with the right username and password, an entry in the db table fe_sessions is created, but inspite the page tells me "wrong username/ password"
19:25 uschi then the weekend must have been really beautiful :)
19:25 uschi any pictures from where you have been, Ries?
19:25 Ries uschi: I have a couple...
19:40 threna223 frontend login: the session entry is stored in the db, but the page tells me i am not logged in..
19:42 Ries uschi: http://www.rvantwisk.nl/fileadmin/images/DSCN2832.JPG
19:43 Ries uschi: it was kinda cloudy that day
19:43 Ries But 35 degrees....
19:43 Ries water temp is around 22 degrees
19:43 uschi great
19:43 uschi name of the place again, please?
19:43 Ries Menta
19:43 Ries Manta
19:44 uschi i do understand while you might buy some land there
19:45 uschi just looking it up in wikipedia
19:46 Denyerec Is that Ries on the beach? :)
19:47 uschi more images, Ries?
19:47 uschi Do we envy him, Denyerec ?
19:48 Denyerec Weeeeell, sure it's warm, and full of exotic creatures, but I hate sand :)
19:48 Ries uschi: this was our hotel : http://maps.google.com/maps?f=q&hl=en&q=manta,+ecuador&layer=&ie=UTF8&z=18&ll=-0.941542,-80.736535&spn=0.002473,0.005332&t=k&om=1
19:54 uschi hm, i suppose, i do envy you
19:54 uschi Boonkerz, how does your css-code work?
19:54 Boonkerz yes
19:55 Boonkerz thanks
19:55 uschi even if there is a lot of lorem ipsum in the content (longer than 100%)
19:56 uschi ?
19:56 uschi this was really funny yesterday night
19:56 reber have a good night
19:57 uschi now back to the fight with realurl
20:15 j0hndeere Good afternoon, humans.
20:17 uschi hello j0hndeere
20:22 porkpie hi guy's ... has the table function been removed from the RTE tool
20:23 porkpie I am using 4.0.4 and it's not there anymore
20:28 prodacker Hi together, I have a question regarding the usage of the typolink function to get a link to an email address. My typoscript setup enables the spam protection and I was wondering if there is a way to set the subject of the email using the typolink functionality?
20:42 prodacker FYI: the subject and body of the email could be passed to the typolink function and get displayed corretly. The spam protection does not support additional parameters added to the email string
21:29 Denyerec bedlamhotel you about ?
21:31 bedlamhotel *yawn* Great Denyerec, now I'm awake.
21:31 bedlamhotel What's going on?
21:31 Denyerec You shouldn't leave your IRC open when you sleep :)
21:31 Denyerec I'm trying to build a typolink from the URL target of an image I'm pulling out of a record elsewhere.
21:32 bedlamhotel Ok.
21:33 Denyerec I was going to ask i f you knew how... but I admit it's a hell of a specific question.
21:34 Denyerec right now I'm doing 5 < tt_content.image.20
21:34 Denyerec as part of the record renderObj
21:34 Denyerec and trying to dig the link out from there.,
21:35 bedlamhotel show me some code please :)
21:35 klassica hi
21:36 uschi bedlamhotel, there is a sentence in the realurl docs i do not really understand.
21:37 uschi it is about defaultToHTMLsuffixOnPrev
21:37 klassica I am including a php function in a TV template, using lib.subfooter.userFunc = user_show_subfooter.
21:37 klassica If I wanted to pass a parameter to user_show_subfooter, how would I do that?
21:37 uschi id do understand what defaultToHTMLsuffixOnPrev does, but there is this phrase
21:37 klassica can I do this: lib.subfooter.userFunc = user_show_subfooter(parameter)
21:37 uschi This approach is useful if you want to simulate HTML documents even if you don't configure any fileName mappings.
21:37 Denyerec bedlamhotel : http://wilcoding.xs4all.nl/Wilco/Pastecode/4410/showpaste.aspx
21:37 uschi where can i configure fileName mappings
21:38 Denyerec I have started hacking around line #100
21:38 uschi ist his the fileName index stuff i do not understand either?
21:38 Denyerec I think the filename mappings are in the last part of the config uschi
21:38 Denyerec the part where it declares to suffix .html
21:38 Denyerec (In the default realURL config)
21:39 uschi yes, i know, Denyerec, but:
21:39 Denyerec So I presume it's suggesting that if you DON'T make those mappings, that the defaultToHTML.... will add it ?
21:39 uschi i do not understand this part of the docs: index[filename][?keyValues?]
21:39 bedlamhotel Denyerec: first thing is that your syntax is wrong at 104. TEXT has .stdWrap (including typolink) on the ROOT (so, i.e., not on the value property)
21:40 bedlamhotel uschi: as I mentioned yesterday--I understand very little of the realURL docs...I have had very good success with studying examples and their output though.
21:41 uschi so have i. there are a few issues left, but in general it works
21:42 bedlamhotel uschi: what issue are you trying to solve at the moment?
21:42 uschi at the moment i am trying to understand what i am doing :-))
21:42 uschi but the issues, wait, uploading new config to test something
21:44 Denyerec 4.value = {5.1.imageLinkWrap.typolink.parameter.field}
21:44 Denyerec I'm in Million Monkey land right now.... eventually something has to stick :)
21:45 uschi shit, i fucked it up
21:46 bedlamhotel Denyerec: what is that supposed to do? Question: do you know what .prioriCalc does (in general)?
21:46 Denyerec Ok, the background...
21:46 Denyerec Right now it pulls the sponsor link images from the sponsors page and displays them on the right.
21:46 Denyerec You click them, and you get sent to the sponsor homepage.
21:46 Denyerec BUT
21:47 Denyerec when I am in text-only mode, I wish to replace the images with a typolink made from the images ALT text.
21:47 Denyerec So I was trying to build a typolink, and copy across the parameters from the image link bit.
21:47 Denyerec (Without much success)
21:48 bedlamhotel Denyerec: are the images linked?
21:48 Denyerec Yes
21:48 Denyerec you can click on them
21:48 bedlamhotel do the images' links go to the same place as the text links?
21:48 Denyerec and you go to the URL specified in the content element, as you would expect.
21:48 Denyerec There are no text links.
21:49 Denyerec That's what I'm trying to build
21:49 Denyerec but yes, I want them to go to the same place.
21:49 bedlamhotel Where do the urls in the links come from?
21:49 Denyerec I thought I was doing the right thing digging through tt_content.image.20 for the typolink data
21:50 Denyerec When the user makes a text w/image CE on the sponsors page
21:50 bedlamhotel ...and what condition drives the switch from text to graphical and back?
21:50 Denyerec they set the URL on the image
21:50 Denyerec the condition to switch to text is a getvar sz_mode set to text
21:50 Denyerec that's working just fine :)
21:50 Denyerec I need to suck the link data out of the image, squirt it into a text link, then unset the image inside the conditional so it doesn't show up.
21:51 bedlamhotel No, I'm almost positive that is NOT what you need to do :)
21:51 Denyerec damnit
21:51 bedlamhotel You need to turn the image into text :)
21:51 Denyerec and it seemed like such a good idea.
21:51 uschi bedlamhotel, can we talk about some issues?
21:51 Denyerec oh, of course I need the ALT text to be the front-text of the image.
21:52 bedlamhotel Look: you already have a /linked cObject/, right? That means someone has kindly worked out how to retrieve the fields containing the alt text and the url, right?
21:52 Denyerec yes, that's what I was looking for in the object browser
21:52 Denyerec it's all inside tt_content.20.image
21:52 uschi what are you working on, Denyerec, may i ask?
21:52 Denyerec text only mode again uschi
21:52 bedlamhotel So, use the condition you already have working to change the rendering of tt_content.20.image (or whichever object it is) to a TEXT object. Follow?
21:53 Denyerec bedlamhotel - this is what I am trying to do
21:53 bedlamhotel uschi: sure, just a minute or two though.
21:53 Denyerec by grabbing the relevant bits of data from the image object and putting them in a text object
21:53 Denyerec text.value = image.alttext
21:53 Denyerec etc
21:53 uschi one thing after another :)
21:53 Denyerec I just don't know how to do it in TS :/
21:53 bedlamhotel Denyerec: it's not what it /sounded/ like you were trying. I'm talking about redefining tt_content.20.image:
21:53 Denyerec Hmm.
21:54 bedlamhotel tt_content.20.image >
21:54 bedlamhotel tt_content.20.image = TEXT
21:54 bedlamhotel tt_content.20.image { ... }
21:54 bedlamhotel ...and so forth.
21:54 Denyerec if I unset image, though, I lose all that hard work someone did extracting the values...
21:54 bedlamhotel ...note that this will probably fubar the parts of tt_content that copy tt_content.20.image into themselves.
21:55 bedlamhotel Denyerec: no you don't that's what you have the template analyzer for.
21:55 Denyerec is it not possible to say "Ok, here's the alt text value, now stuff that in this TEXT object" ?
21:56 bedlamhotel Denyerec: depends.
21:56 bedlamhotel Don't have tt_content.20.image in my head :)
21:56 Denyerec Help uschi
21:57 Denyerec I think I am a lost cause.
21:57 bedlamhotel but it must be split apart etc?
21:57 Denyerec I will return when I've hacked more.
21:57 Denyerec I may have a better explaination by then :)
21:57 uschi Denyerec, i do not even understand what the hell you two are talking about
21:58 Denyerec Probably my fault
21:58 Denyerec I was saying, bedlamhotel should help you
21:58 uschi no, i came in too late
21:58 Denyerec not that you should help me :)
21:58 Denyerec Bad English again :)
21:58 uschi poor bedlamhotel
21:58 Denyerec It's a hard role in life, knowing anything about Typo3 ;)
21:59 bedlamhotel Denyerec: looking again at tt_content.20, I would NOT recommend taking my advice :)
21:59 bedlamhotel That's the nastiest bit of tt_content, and one of only a couple of bits that involve hard-coded html in the php.
22:00 uschi which one is tt_content.20?
22:00 bedlamhotel Sorry, my typo.
22:00 uschi the image thing?
22:00 bedlamhotel I meant tt_content.image.20
22:00 uschi ah, yes that is hard to understand
22:01 uschi i always wondered if one should not write a cleaned up version of static.txt
22:01 bedlamhotel It's brutal. AND you can't turn off the caption markup if the captions contain no content.
22:01 brain-xy has anybody used the pagebrowser in the tt_news yet?
22:01 uschi so that one understands what the hell gets overwritten where
22:01 brain-xy my problem is that i cannot define the style of it via TS..
22:02 bedlamhotel uschi: I built an extension some time ago where I redefined the parts of tt_content that I most often need to redefine (chiefly login and mailforms)...
22:02 bedlamhotel Did denyerec vanish?
22:03 Denyerec bedlamhotel - no, I'm busy tearing things apart
22:03 Denyerec and you can get rid of the caption markup :D
22:03 uschi he might, he said he wanted to do some more hacking
22:03 bedlamhotel Tell me how please Denyerec :)
22:04 Denyerec it's right there in the TS I linked earlier
22:04 bedlamhotel I don't usually have any cause to use it /without/ captions, so I've never tried before. I couldn't do it last night though.
22:04 uschi i suppose he is in t3 desperation mood
22:04 Denyerec http://wilcoding.xs4all.nl/Wilco/Pastecode/4410/showpaste.aspx
22:04 bedlamhotel Ah, nicely spotted.
22:04 uschi what is in there, Denyerec
22:04 Denyerec lines 21-34
22:04 Denyerec Admittedly my approach is the equivalent of a nuclear bomb
22:04 Denyerec but it worked.
22:05 bedlamhotel No, for some things (like removing large captions from galleries with small thumbs), it's exactly right.
22:06 Denyerec That is what I wanted
22:06 Denyerec the markup on the sidebar sponsor images was nasty
22:06 Denyerec so I nuked t.
22:06 Denyerec *it
22:06 Denyerec I read through the css_styled_content TS Setup to find the markup
22:06 Denyerec then unset everything I could
22:06 Denyerec and re-set things with null values
22:07 uschi this is what i did with tt_content.menu.20
22:07 Denyerec the weird thing was, the code to do it was in the 3.8 compatibility only section.... still, it worked anyway :S
22:08 uschi i still do not understand why you like the <div> better than the <dl>
22:08 Denyerec Because after I removed everything, there was no definition.
22:08 Denyerec So it was no longer semantically correct.
22:08 uschi hm
22:08 bedlamhotel Interesting. There is no .layout property in mine. Must be the dam(n) gallery extension I am using.
22:08 Denyerec I am very wary of using DL's for things.
22:09 Denyerec THey are useful for marking up, but semantically a little awkward.
22:09 uschi and a div is nothing at all
22:10 uschi because, how you will you show the title or the caption now
22:11 Denyerec there is no caption in the place these images are shown.
22:12 Denyerec this is a specific purpose, to take the images from an inner page, and show a cropped seciton on the frontpage as a link
22:12 Denyerec (this part works fine)
22:12 Denyerec Now I want to convert the image into its ALT text when in text only mode, so no image is rendered at all.
22:13 uschi aah
22:13 Denyerec take <A href="www.google.com"><img src="googlelogo.gif" alt="GOOGLE!" /></a> and turn it into <a href="www.google.com">GOOGLE!</a>
22:13 uschi cannot you use an image resource
22:13 Denyerec I don't know :)
22:14 uschi and then ask for last_image_info
22:14 uschi wait
22:14 bedlamhotel Uschi: don't think alt and title are available as separate items in lastImageInfo/lastImgResourceInfo
22:15 uschi no, shit that only contains the usual infos about the graphic, but not the alttag
22:15 uschi right
22:16 bedlamhotel denyerec: thanks for finding the caption wrap for me. That's an item off the to-do list :)
22:17 Denyerec Finally glad to be of some use!
22:17 Denyerec gets depressing not giving back sometimes.
22:18 porkpie You coud help me :) hehehehe
22:18 Denyerec Our butchers porkpies are awesome
22:18 bedlamhotel Denyerec: you just at a HAT...
22:18 Denyerec hehehe
22:19 uschi and now you sound like barny
22:20 uschi aehm, Denyerec, this link you want to show
22:20 uschi shall contain the page title?
22:20 Denyerec If you refer to my example
22:21 Denyerec <A href="www.google.com"><img src="googlelogo.gif" alt="GOOGLE!" /></a> for example
22:21 Denyerec shoudl become
22:21 Denyerec <a href="www.google.com">GOOGLE!</a>
22:21 uschi hm, but how does the alt-attribute come in in the first place?
22:22 uschi is it added manually?
22:22 Denyerec yes
22:22 bedlamhotel Denyerec: if I were you, I'd just copy the bits of the image object that split and process the contents of the alttext and url fields and do it that way. Did you check out my split example from the weekend?
22:22 uschi or is www.google.com an external page in your page tree
22:22 uschi shit
22:22 Denyerec when the iser creates the content element in the BE
22:22 Denyerec There is a page full of text w/image CE's
22:22 Denyerec buried inside the site
22:23 Denyerec I am on the frontpage, extracting those records and processing the images.
22:23 Denyerec no bedlamhotel - I do not recall it.
22:23 Denyerec I just noticed that my code does not strip the <dl> and <dt> markup.
22:23 uschi hm, but if there is this a content element, this content element has a field for the alt attribute, right?
22:23 Denyerec it strips the null caption markup
22:24 uschi and you know the id of that content-element
22:24 Denyerec but leaves the dl and dt wrapping.
22:24 Denyerec yes uschi it does
22:24 Denyerec but I don't know how to use it.
22:24 uschi is that a normal or a tv field, that alt-attribute thing
22:25 uschi because if it is a normal field, could not you use RECORDS?
22:25 uschi and then simply read out that field?
22:26 Denyerec If i kenw how
22:26 Denyerec Then possibly
22:26 Denyerec it's a normal field, yes
22:26 Denyerec but I don't know how to use them.
22:26 Denyerec Ich weiss nicht
22:26 uschi fine, then all we need to find out is how to get this record
22:26 bedlamhotel denyerec: http://www.typo3apprentice.com/typoscript/samples/split-sample/ ( sorry, I was bidding on something on ebay :) )
22:26 Denyerec that's ok bedlamhotel :)
22:26 Denyerec Did you win ?
22:26 bedlamhotel Yes.
22:27 uschi an arm chair this time, bedlamhotel ?
22:28 j0hndeere I come back from doing work and see 6 screens of text in my IRC client
22:28 bedlamhotel Ah no. A tripod.
22:28 Denyerec Ohh
22:28 j0hndeere and before looking I said to myself, "Denyerec must have awakened."
22:28 Denyerec Hahah
22:28 Denyerec Thanks :S
22:28 j0hndeere I always miss it when that happens :(
22:28 Denyerec I have a 051b with a 468RC head. It's as heavy as sin but can support a horse.
22:28 Denyerec (Manfrotto)
22:28 bedlamhotel j0hndeere: yes, he's stirring the um ... soup ... again.
22:29 Denyerec THing is it's so damn heavy I never take it with me!
22:29 bedlamhotel Denyerec: it's a benbo trekker.
22:29 Denyerec Should have put the money toward a 70-200 f2.8 VR :( But you live and learn...
22:29 Denyerec Nice!
22:29 uschi bedlamhotel, our pythia
22:29 Denyerec One of the later models I hope. The Mk1 had trouble with the centre locking bar, it could snap after a while.
22:30 bedlamhotel Cheap :) And more to the point, located in North America (which is unusual). About the model: don't know. Price was still ok though.
22:30 Denyerec I really want one of those for field work, as the manfrotto is just too cumbersome to set up
22:30 Denyerec They're brilliant bits of kit.
22:31 Boonkerz anyone search an developer? :)
22:31 bedlamhotel Uschi: if I'm going to be in the seer business, I should probably be tiresias (blind...) or cassandra (ignored...)
22:32 uschi can it be that the two of you are lacking selfconfidence today?
22:33 Denyerec I've been lacking that for the past 10 years.
22:33 Denyerec Sold it for a lens...
22:35 bedlamhotel Uschi: no, just (in my case at least), focus.
22:36 Denyerec BEWHWHHAHAHAHa
22:37 Denyerec Give me 5 minutes
22:37 Denyerec and I'll have the other one off
22:38 j0hndeere focus is good. My master Arnold from Happy Days taught me that.
22:38 bedlamhotel denyerec: that wasn't meant to be a photographic pun...
22:38 bedlamhotel uschi: though if you said there was a weird dynamic here this afternoon, I wouldn't argue...
22:39 Denyerec Haha :D
22:39 uschi i am stuck with shortcut handling and language selection in realurl
22:40 bedlamhotel 'shortcut handling'?
22:43 uschi yes
22:43 uschi remember, the portal thing
22:44 uschi so i have a shortcut 'Sprachenzentrum' that is a shortcut to the first subpage
22:44 bedlamhotel Oh god. If I'm pythia, I think you're sisyphus.
22:44 bedlamhotel Eternally rolling a portal up a hill...
22:45 Denyerec http://wilcoding.xs4all.nl/Wilco/Pastecode/4411/showpaste.aspx
22:45 uschi well, i am obviously not the first one having this problem
22:45 uschi and this is an accessibility issue
22:45 uschi because on url should point to one page
22:46 uschi the problem is this
22:47 uschi go to: http://uni1.ttypista.datenwolken.net/sprachenzentrum/
22:47 uschi then click on Sprachen
22:47 uschi and then on Home
22:47 uschi so http://uni1.ttypista.datenwolken.net/sprachenzentrum/
22:48 uschi and http://uni1.ttypista.datenwolken.net/sprachenzentrum/home.html
22:48 bedlamhotel 'Home'?
22:48 uschi http://uni1.ttypista.datenwolken.net/sprachenzentrum.html
22:48 bedlamhotel Sorry. I AM blind.
22:48 uschi ok, then this is clear now: we shall call you Tiresias from now on
22:49 bedlamhotel Uschi: I don't know if this will work, not having seen your page tree, but I have handled this problem by making the PARENT page a shortcut and putting the actual home page on the same level with its children.
22:49 gerards hi everyone. does anyone know if you can pre-fill up some of the forms in mail form?
22:49 Denyerec bedlamhotel - that's the same approach I take.
22:49 Denyerec yes gerards - set their value :)
22:49 bedlamhotel gerards: you can in the mailform wizard.
22:49 uschi this is what i have
22:50 gerards Denyerec: I'm looking at the website now. :)
22:50 gerards bedlamhotel: no i meant pre fill it dynamically. :)
22:50 gerards thanks i'll try it out.
22:51 uschi i shall make a screenshot of my marvelous pagetree
22:51 bedlamhotel gerards: if it's possible in the wizard, it /should/ be possible dynamically. Never tried though.
22:51 bedlamhotel uschi: please do.
22:51 gerards i'm trying it now.
22:51 uschi part of it
22:51 Denyerec I think you can pre-fill if you use mailformPlus and fe_users
22:51 uschi it does not fit on tree :-))
22:53 bedlamhotel Well, a bit of it will do.
22:59 uschi http://uni1.ttypista.datenwolken.net/fileadmin/kladde/pagetree-spz.gif
22:59 uschi there we are
23:01 uschi and then of course there is the problem with the spacer
23:01 uschi for service
23:01 uschi if you go go to http://uni1.ttypista.datenwolken.net/sprachenzentrum/service/
23:02 uschi you get an error
23:02 bedlamhotel One thing at a time :)
23:02 uschi 404 i suppose, because it is no page
23:02 uschi yes sir
23:03 bedlamhotel So, are you saying that the setting up the root page to be a shortcut to the first child page is still giving you a url like /home instead of / ?
23:03 uschi yes. the first sprachenzentrum is a shortcut to the second sprachenzentrum
23:04 uschi the second sprachenzentrum has the nav_title Home
23:04 bedlamhotel Second question: what happens if you make the page that's currently a shortcut into a regular page? (My bet is that it will also have a url like /something and not /)...
23:05 uschi this is not a rootpage
23:05 uschi define root page
23:06 bedlamhotel root page of a website.
23:06 uschi no, it is a subpage
23:07 uschi click on the logo of the university to go to the rootpage
23:08 bedlamhotel Sorry, pursuing a dead end there. I can't tell you what's happening. I know for certain that this approach works with the root page of the site--I just checked it on a couple of client sites...plus I have to work out something similar tonight, but nowhere near as sophisticated as what you're attempting.
23:09 uschi perhaps i should setup a domainrecord then?
23:10 uschi but that means realurlconfig for each and every portal
23:10 uschi really ugly
23:11 uschi ok, then the second prob pehaps
23:11 uschi if i am on http://uni1.ttypista.datenwolken.net/sprachenzentrum/
23:11 uschi and switch to spanish
23:12 uschi i get this url
23:12 uschi http://uni1.ttypista.datenwolken.net/index.php?id=482&L=4
23:13 bedlamhotel uschi: domain records might do it. It's not as ugly as you think. If you study that realURL config I sent you (Michael Cannon's), you'll see that, since realurl config is just php arrays, you can just copy it around. That file does that with /most/ of the alternate domains as well as for with and without www...
23:14 bedlamhotel uschi: second problem: how did you construct the url in TS?
23:14 uschi i post the langmenu again, mom
23:14 bedlamhotel 'mom'? I think I liked pythia better...
23:15 uschi *L*
23:19 uschi there we are, bedlamhotel: http://phpfi.com/220741
23:19 uschi line 11 builds the form-element
23:19 uschi and the action
23:19 bedlamhotel Question for the room: anyone know of a way of testing whether there is a BE login from TS? I want to deliver a couple of CSS rules so that the ancient markup of the admin panel doesn't get broken by my css, but I see no need to provide adminpanel specific css to all users...
23:20 bedlamhotel uschi: this is a problem I can solve. A moment and I'll show you how on phpfi.
23:20 uschi great
23:20 uschi but no js
23:25 bedlamhotel JS is for sissies :)
23:25 bedlamhotel http://phpfi.com/220744
23:25 bedlamhotel sorry, missed a quote on .10
23:27 uschi aaahaaaaaa
23:27 uschi ok, trying it out
23:27 bedlamhotel returnLast: typolink's dirty little secret.
23:28 uschi now at least i know what it is good for :)
23:28 uschi means: do not write the link, but put it where i want it
23:28 uschi right?
23:28 bedlamhotel but sorry, .15 makes no sense the way I wrote it :)
23:28 uschi we do not need it any more, or do we?
23:29 bedlamhotel means 'give me the bloody url and let ME worry about the markup'.
23:29 bedlamhotel No data :)
23:29 uschi thank you, this ir really useful
23:29 uschi +l
23:29 bedlamhotel What is "+|"?
23:29 uschi the missing l from usefulllllll
23:30 bedlamhotel useful only has one 'l'. Take the extra one and use it in 'allright'. :-)
23:31 uschi *g*
23:31 uschi english spelling IS odd
23:31 bedlamhotel Did it work?
23:31 uschi I am a sort of a slug at this time of night :)
23:33 bedlamhotel English spelling is insane. It says nothing good about either the English who invented it, or the English-speaking world who continue to use it.
23:34 bedlamhotel Korean has beautiful spelling. About 90% phonetic. Very few really odd spellings, and many of those are in somewhat specialized words.
23:35 uschi so i leave 15 as it is, right?
23:36 bedlamhotel Yes.
23:36 j0hndeere English is hilarious.
23:36 j0hndeere 'dear' and 'deer' are pronounced identically.
23:36 j0hndeere 'bear' and 'beer' are not.
23:36 bedlamhotel ...or is that hiayreeows?
23:36 j0hndeere plural of goose = geese.
23:36 j0hndeere so does the plural of moose = meese?
23:36 bedlamhotel through
23:36 bedlamhotel though
23:36 bedlamhotel cough
23:36 bedlamhotel thought
23:36 bedlamhotel slough
23:36 bedlamhotel rough
23:37 j0hndeere Of course not. It's not mooses, either. The plural of moose is... moose.
23:37 j0hndeere in the U.S. a 'parkway' is something you drive on, and a 'driveway' is something you park on.
23:37 uschi a rough coated and dough faced ploughman went coughing and hickupping through the burough of Salesbury
23:38 j0hndeere plural of tooth is teeth.
23:38 j0hndeere but the plural of booth is booths.
23:38 j0hndeere also, if we say 'the alarm went off' or 'the alarm went on,' we mean the same thing.
23:38 bedlamhotel dough-faced: korean has an term 'ddok-pan', usually used to refer to someone's face. It means 'flat like a sheet of dough'...
23:38 j0hndeere ditto with 'the house burned up' and 'the house burned down'.
23:39 j0hndeere I know of no language nearly as crazy.
23:39 j0hndeere it's also a horrible language to try to make poetry or rythym out of.
23:40 uschi shit
23:40 bedlamhotel Shakespeare might have disagreed...or Pope for that matter.
23:40 uschi i made a mistake *sniff*
23:40 bedlamhotel ?
23:40 j0hndeere I suspect Shakespeare would whole-heartedly agree
23:40 j0hndeere besides, English made a bit more sense in the 15th century
23:41 uschi bedlamhotel look what i get
23:41 uschi http://uni1.ttypista.datenwolken.net/sprachenzentrum/home.html
23:41 uschi instead of my langmenu now
23:41 uschi it is all gone, horror
23:42 bedlamhotel Shakespeare was a 16th century poet. And you're right: he had it easier since he just invented so many damned words.
23:42 uschi as we do today
23:42 bedlamhotel uschi: put in the .10
23:43 bedlamhotel It looks like you replaced the entire object with the typolink.
23:43 uschi no
23:44 bedlamhotel Are you quite sure? Output says you did :)
23:44 uschi http://phpfi.com/220746
23:44 bedlamhotel uschi: Guess what I'm about to say about typoscript...
23:45 bedlamhotel change TEXT to HTML and you'll have it.
23:45 uschi arghhhhh
23:45 uschi finally i see a difference
23:45 uschi or at least i hope i see one
23:45 bedlamhotel ...though I am simultaneously weirded out and interested that there was any output at all...
23:46 bedlamhotel same thing as I told denyerec when he woke me up earlier: TEXT has .typolink (along with all other .stdWrap) on the object itself, not on the .value property.
23:46 Denyerec bedlamhotel - the problem is solved.
23:46 Denyerec Mostly.
23:46 uschi and HTML on the value attribute?
23:46 Denyerec The shocking this is how trivial is was.
23:46 Denyerec yes uschi
23:47 Denyerec HTML is value.typolink
23:47 Denyerec TEXT is just .typolink
23:47 bedlamhotel denyerec: good.
23:47 uschi arbitrary
23:47 Denyerec I just wish I knew why :)
23:47 bedlamhotel but not /entirely/ arbitrary.
23:47 Denyerec gerards just said something to me I didn't understand
23:47 bedlamhotel Denyerec: I don't suppose there is anything like a good reason...
23:48 Denyerec Heh
23:48 Denyerec No he said you can just do typolink.parameter.field = image_link
23:48 Denyerec [00:44] <gerards> because typolink.parameter is stdwrap.
23:48 Denyerec I really, really think I need to re-read what the hell stdWrap is
23:48 Denyerec Oh just in case any of you wondered, rooibois and pomegranit tea is really, really nice.
23:49 Denyerec rooibos and pomegranate
23:49 Denyerec rather
23:49 bedlamhotel Denyerec: did you read my RTFM piece? What you're talking about is what I was trying to explain. If you read it and don't understand something, tell me and I'll add to it.
23:49 uschi http://uni1.ttypista.datenwolken.net/sprachenzentrum/sprachen.html
23:49 uschi not any better
23:50 bedlamhotel Worse, if anything.
23:50 bedlamhotel but I also see in your code this:
23:50 bedlamhotel = {
23:50 uschi i only changed TEXT to HTML
23:50 bedlamhotel ...not good.
23:51 bedlamhotel (line 11)
23:51 uschi http://uni1.ttypista.datenwolken.net/sprachenzentrum/sprachen.html
23:51 uschi removed the =
23:52 bedlamhotel show us the code again please. Looks like the wrap is not working at this point.
23:52 bedlamhotel 5 minute notice before I have to leave :)
23:53 uschi http://phpfi.com/220748
23:53 uschi noooooooooooo, please not
23:54 uschi i need you, i need you, i neeeeeeeed you *sing*
23:55 uschi perhaps it has to be the linkWrap?
23:59 uschi Denyerec, your problem with stdWrap has been mine, UNTIL i finally had a look at the source code
23:59 uschi bedlamhotel ?
23:59 uschi still there?
23:59 bedlamhotel uschi: can't see what is wrong.
23:59 uschi but it is wrong
23:59 bedlamhotel Back in about 2 hours if you crazy Europeans are still awake then.
23:59 uschi no
23:59 Denyerec uschi - perhaps. I know I don't fully know what stdWrap really IS

Technologies


R. van Twisk 2004-2010 R. van Twisk / Avenida Diego de Almagro No: 22-47 y Juan Severino / Quito Ecuador
callto://r.vanTwisk | Support: +1 (803) 4263350

© 2012 R. van Twisk. All Rights Reserved.