Search the website and IRC logs

#TYPO3 IRC log from : Wednesday 14 January 2009

Year: 2007 2008 2009 2010 2011 2012
Month: Jan 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
01:06 dinsdale07 I modified an extension to spit out a hardcoded link like index.php?id=12&action=getviewprofile
01:06 mistermethod still anyone around?
01:06 dinsdale07 the link is still correct when it leaves the extension code but typo3 seems to "destroy" it thereafter. Does anyone know why?
01:07 mistermethod i'm trying to get the first header of a page into a different marker
01:07 mistermethod but i can't figure out how to get the header
01:07 mistermethod i can get the pagetitle with this:
01:07 mistermethod temp.header1 = TEXT
01:07 mistermethod temp.header1.value = {title}
01:07 mistermethod temp.header1.insertData = 1
01:08 dinsdale07 mistermethod, what do you mean by first header? is it part of a content element?
01:08 mistermethod yep
01:09 mistermethod i meant temp.header1.value = {leveltitle:1} for the pagetitle ...
01:09 dinsdale07 so you have a content element and want to reuse the header of this CE
01:10 mistermethod exactly
01:10 dinsdale07 is it always the same CE so you can use the UID of this element?
01:11 mistermethod no, its always a different CE but its always the first CE on a page
01:13 dinsdale07 hm ... that seems difficult,
01:13 mistermethod i tried variations of temp.header1.value = {leveltitle:1} like = {header}, .field = header etc but none worked
01:14 dinsdale07 I think that's different, the title is part of the page itself but a CE is part of a page.
01:15 mistermethod i know how to get the header of CE and make an Image from it ... but i cant get it to be just text
01:15 dinsdale07 not well said - I mean the content element is in a different relation than the title if that makes sense
01:16 dinsdale07 but I guess this is typoscript which sits in the CE and requests data from the CE.
01:18 mistermethod http://pastebin.com/m568734d2 this works for an image
01:18 mistermethod maybe there is a way to get this to be plaintext
01:22 dinsdale07 I probably see it to complicated but tbh I have no idea how that can be achieved.
01:23 dinsdale07 are you using templavoila or markers?
01:24 mistermethod automaketemplate
01:24 mistermethod which is almost like using markers i guess
01:25 dinsdale07 ok, I use always templavoila, I think that looks quite different in the page rendering.
01:26 dinsdale07 I was just wondering - if you use the admin panel and display Typoscript - Track content rendering
01:27 dinsdale07 maybe this could reveal some useful information
01:31 mistermethod could you please be more specific on how to do this? i never heard of that
01:35 dinsdale07 do you have the adminpanel enabled?
01:35 dinsdale07 I don't think this will actually give you an answer - more of a tool to investigate.
01:40 mistermethod got it
01:40 mistermethod quite complicated but works
01:40 mistermethod :)
01:40 dinsdale07 really - would you mind to tell me?
01:43 mistermethod http://pastebin.com/m3789177d
01:43 mistermethod i'm sure it can be done a lot easier
01:44 mistermethod but since i don't know TS too good i'm still off better trying to make others peoples scripts work like i want them to :D
01:45 dinsdale07 that looks quite elegant though, The where=colpos=1 takes the first element I guess.
01:46 mistermethod no it takes the headers from the left column. i have a page with 3 columns and want a header from each one to be displayed somewhere else. 3 times this TS with a different colpos each time does the trick
01:47 dinsdale07 ah, I see. I guess with templavoila that wouldn't have been possible since you don't have the columns.
01:47 mistermethod to get only the first header the MAX value would have to be 1
01:59 mistermethod bye
02:31 afranks hi there.... anyone have issues with IE and rgtabs in typo3
02:31 afranks anyone there?
08:40 _pedda_ moin moin
08:51 jbaptiste_j Greetings, I am looking at buying a book about typo3. I am already quite familiar with the web technologies but UI need to get started efficiently with Typo3 templating and TS could you sugest a book in English or French ?
09:04 maholtz|WORK morning
09:55 andy001 Hi all
09:55 andy001 Is there someone who can help me with mailformplus multilanguage?
09:58 m4rtijn hi
09:59 andy001 Hi all!
10:00 andy001 Can someone help me with mailformplus "multilanguage"
10:00 maholtz|WORK well, read channel topic and think twice about your question
10:01 andy001 typo3 ? (its my first irc session, sorry)
10:01 maholtz|WORK np:)
10:01 maholtz|WORK why should i answer "yes i can"?
10:01 maholtz|WORK and it would make no sense to say "m4rtijn" can
10:02 maholtz|WORK so ask your question, if here is someone who could help, he will do
10:03 andy001 okay... we've i think it's a little bug (variables), if we use a ###LLL:variable### marker in a select box, the value, mfplus can't hold the value!
10:04 andy001 for example: <option value="###LLL:mr###" ###selected_who_###LLL:mr######>###LLL:mr###</option>
10:06 andy001 complete: <select name="from" id="from" tabindex="1"> <option value="###LLL:mr###" ###selected_from_###LLL:mr######>###LLL:mr###</option> </select>
10:07 andy001 we have create a xml file with the ###LLL:mr### stuff...
10:08 andy001 when ig refresh the site (or go to next page in the form) the value of the select box will be deleted!
10:09 m4rtijn did u try this without an selector? just a normal input?
10:09 m4rtijn *label
10:10 andy001 i*ve a label... this -> <label for="from" accesskey="1"><strong>###LLL:from###</strong></label><br />
10:10 m4rtijn does it work there?
10:12 andy001 yes -> the complete code is : <label for="from" accesskey="1"><strong>###LLL:from###</strong></label><br /> <select name="from" id="from" tabindex="1"> <option value="###LLL:mr###" ###selected_anrede_###LLL:mr######>###LLL:mr###</option> <option value="###LLL:mrs###" ###selected_anrede_###LLL:mrs######>###LLL:mrs###</option> </select>
10:13 m4rtijn does the translation work for the label?
10:14 andy001 we've make this formular in 20 languages and all things works fine! - the select boxes have the problem with the value (if we use the ###LLL:xxx### marker)
10:14 andy001 yes the translation works
10:15 m4rtijn .. so only the translation in the selector doesnt work?
10:15 andy001 yes! only ###LLL:mr### or ###LLL:mrs###
10:16 andy001 (it works - code is fine, but after a refresh the value will lost!
10:16 andy001 so the customer will fill out the select box again!
10:17 andy001 (you a from austria?)
10:17 m4rtijn so.. that only means the option value="selected" gets lost
10:17 andy001 yes!
10:18 m4rtijn why didnt u say so ;)
10:18 m4rtijn just joking
10:18 andy001 (no, my german is better!)
10:19 m4rtijn sounds like a bug.. but if its a bug.. this has nothing to do with it being multilang
10:19 m4rtijn this behaviour should be the same with an single language mfplus
10:20 andy001 if we use a select box in this style - it works fine! example: <label for="from" accesskey="1"><strong>###LLL:from###</strong></label><br /> <select name="from" id="from" tabindex="1"> <option value="MR" ###selected_anrede_MR###>###LLL:mr###</option> <option value="MRS" ###selected_anrede_MRS###>###LLL:mrs###</option> </select>
10:21 andy001 i can send you a link to the site...
10:22 m4rtijn erm.. why dont u use that code then?
10:22 m4rtijn ah.. value
10:27 HardPhuck hey all
10:44 andy001 hallo!
10:47 PiMB morning
10:48 PiMB little question: I have a pageNotFound_handling set in my install tool, value: ./error.html
10:48 PiMB but when I scramble up the url it get's the parent/page and not the error page
10:48 HardPhuck the syntax is wrong
10:49 HardPhuck try the typo3 path, fileadmin/error.html
10:49 PiMB no syntax is not wrong.
10:50 HardPhuck wait, let me check
10:50 PiMB I use realurl and when I enter index.php?id=1234567
10:50 PiMB it get's to the error page
10:50 andy001 put a error.html site into the fileadmin folder
10:51 PiMB but when I change a correct url to something else fi: omgaan-met-geld/overzicht-houden/administratie-bijhouden.html to omgaan-met-geld/overzicht-houden/administratie-bijhouden12345.html
10:51 maholtz|WORK @PiMB: afaik realurl has a configuration how to behave in such case - sth. like "nearest" page..?
10:51 PiMB then it goes to omgaan-met-geld/overzicht-houden/
10:51 PiMB hmm.
10:51 PiMB sounds obvious.
10:51 HardPhuck READFILE:fileadmin/notfound.html
10:51 HardPhuck i have it like this
10:53 PiMB postVarSet_failureMode was set to redirect_goodUpperDir
10:53 PiMB missed that one.
10:53 PiMB damnit
10:53 PiMB thanks guys
10:56 PiMB thanks maholtz|WORK :)
10:57 maholtz|WORK did nothing:)
10:57 andy001 can someone help me in mailformplus (again)
10:58 maholtz|WORK is generated html correct?
10:58 andy001 me?
11:02 andy001 We have problems with the mailform plus multilanguage (###LLL:xxx###) markers
11:04 m4rtijn I still dont think its a multilangge problem..
11:04 m4rtijn the only thing which is going wrong is the selected="selected" option
11:05 m4rtijn andy001 - paste the code again at http://paste.phlogi.net/
11:06 andy001 http://paste.phlogi.net/-45b2e7af30/
11:07 andy001 i think the problem is between the 6 ###### !
11:08 andy001 we need the marker in the select area, because we need this form in 20 languages!
11:12 maholtz|WORK the marker is replaced once, seems that you need an recursive replacement
11:12 maholtz|WORK do not think its possible
11:13 maholtz|WORK but if you are able to fill in an marker via typoscript, it should be easy for each language
11:13 m4rtijn this is wrong
11:13 m4rtijn ###selected_anrede_###LLL:nix######
11:13 m4rtijn in all cases
11:14 andy001 yes... if we work without markers, it works! example: <option value="herr" ###selected_anrede_herr###>###LLL:wahl###</option> -> but then we've only one language (herr)
11:15 andy001 marker in typo script? how does it work?
11:15 andy001 show me the way...
11:17 m4rtijn im not into mailformplus anymore..
11:21 HardPhuck anyone has a small mailing script
11:21 HardPhuck $mail = t3lib_div::makeInstance('t3lib_htmlmail');
11:21 HardPhuck and so forth
11:22 maholtz|WORK @andy001: can you fill the value of ###selected_anrede_herr### via typoscript?
11:29 m4rtijn I dont think this ###selected_bla### needs the value
11:29 m4rtijn in the marker name
11:30 guid1 hi there! got one question ... mailformplus doesn't find its target page - site uses realurl ("/de/" and "/en/" as params which are missing :-( ) does anyone have a hint for that? thanks a lot!
11:37 dokma hey guys
11:37 m4rtijn hi dik
11:38 m4rtijn dok
11:38 tPl0ch hi
11:38 m4rtijn oops :P
11:38 dokma can't remember how to make a single item in menu expanded
11:38 dokma m4rtijn: hehehe
11:38 andy001 hm...
11:38 dokma not a bad compliment
11:38 m4rtijn it was rly a typo
11:38 andy001 i think about some solutions!
11:38 tPl0ch how do I include the typo3 configuration in my own php script?
11:38 tPl0ch can I use the typo3 db-wrapper in my scripts?
11:42 m4rtijn dokma - u want one menu item to be expanded by default/
11:42 m4rtijn ?
11:45 dokma m4rtijn: yes
11:46 andy001 have you a solution for the problem?
11:47 andy001 -> m4rtijn?
11:51 maholtz|WORK @dokma: i see two ways: you could append another menu to that item, so you fake it:) or you could use expAll but disable showing of items you do not want to be shown (i think this is more difficult)
12:06 m4rtijn yeah I would also make that menu entry a sepperate menu
12:06 m4rtijn with expall
12:06 m4rtijn its a bit stupid that expall is available but not.. exp = id
12:09 Hulle hi whats up
12:33 maholtz|WORK hi hulle, i updated the typo3 browser search: http://www.martinholtz.de/index.php?id=219 you can use "snip" for searching in snippets and "mysql" for mysql.com
12:45 andi001 -> m4rtijn, maholtz|WORK : Is it possible that the markers doen't work with six times ###### ??? Look here: http://paste.phlogi.net/-6d86f63139/
12:47 maholtz|WORK i would think the markers are replaced at once, so ###marker_###dyn###_asdf### would replace "###dyn###" and leaves then ###marker_...asdf###
12:48 maholtz|WORK it makes no sense. afaik it is possible to fille the markers with typoscript - am i wrong?
12:48 beli moin
12:49 andi001 this is the question?! in wich way? (typosript)
12:50 maholtz|WORK nothing in the manual?
12:51 andi001 the value of "select" and "value" must be the same
12:52 andi001 if it's not the same - it does not work... an for multilanguage you need a marker in selected...
12:54 maholtz|WORK can you fill it with typoscript or not?
12:54 andi001 i think no way...
12:54 andi001 the form has 4 pages in 20 languages!
12:55 maholtz|WORK that does not matter how many pages or languages, i thought there was much possible with typoscript
12:56 andi001 okay... yes we have test it - same bug!
12:57 maholtz|WORK if you can change the value via typoscript, you can use condition for each language
12:58 andi001 yes, but the value will not be hold...
13:03 Hulle hallo nochmal wie gehts ?
13:04 PiMB @ Hulle
13:04 PiMB gut, aber alles in English bitte :)
13:04 Hulle ok allright :-)
13:23 m4rtijn re
13:34 beli wb
14:45 animan hi. i've been looking TSref but don't understand is there a way to exclude the active PID from HMENU
14:46 animan i'm sure someone here knows it right away
14:56 Casp Hi
14:57 Casp Can you get a template from the network someware set up in templa without my help?
14:58 nkuttler hm, can't i make pages _and_ their subpages invisible?
14:58 Casp Yes you can
14:58 Casp just set it to hide
14:59 nkuttler the subpages are still accessible then
14:59 nkuttler just not in the menu
14:59 Casp if you have the id number to it yes
15:00 nkuttler yeah
15:00 nkuttler which means... the are not invisible
15:00 m4rtijn yay
15:01 m4rtijn just close your eyes if u want them invisible
15:01 Casp If you make it invisible you can not see it in the menu, but you can access it from the url to the hidden page
15:01 nkuttler oh wait, there is an include subpages option
15:02 nkuttler i meant hide page, incorrect translation
15:06 theconic hi all, now someone here who has an idea how to check whether a file exists or not?
15:07 Casp what kind of file?
15:08 theconic in my case a pdf
15:08 theconic if that makes any difference...
15:08 Casp do you have you own server?
15:08 theconic yes
15:08 Casp then search the server for it
15:08 theconic i forgot to say that i want to do this via TS ;)
15:08 _pedda_ does anyone use filelist CE's in his projects with filesize displaying in FE ?
15:09 Casp via ts i dont know
15:09 Casp My TS and templa + templates are not good
15:09 Casp i need help for that
15:10 theconic then ask for it ;)
15:10 Casp I need help to setup som simpel design on a page
15:11 theconic where's the prob?
15:11 Casp something you can?
15:11 Casp the problem is to make it
15:11 theconic to make the design?
15:11 Casp i have the idear, but the setup in T i dont know
15:11 Casp 2 sek
15:12 Casp http://imp-081008-02.kursus.linkfactory.dk/
15:12 Casp something like the top of this
15:12 Casp the menu is side1 side2
15:12 Casp the rest is dummy
15:13 Casp And the word forside is the content
15:13 theconic is this your site?
15:13 Casp It is from a erly work from me
15:14 Casp but i have to set it up on http://217.195.180.47
15:14 theconic ok, and where exactly is the problem
15:14 Casp o move it
15:15 theconic are both pages controlled by T3?
15:15 _pedda_ why don't you use a tutorial
15:15 theconic or only the new one
15:16 Casp it is t3
15:16 Casp both
15:16 theconic what "it"? ;)
15:16 theconic ok
15:18 theconic then you can go to the Page-Module, click on the page icon that you want to transfer and click on more settings and then "export in t3d"
15:18 theconic or are both sites controlled by the same t3 installation?
15:23 Casp no it is not
15:45 maholtz|WORK re
15:55 _pedda_ wb
16:19 tf anyone knows how i can make the catlist in my newsletterregistration (direct_mail_subscription) with radiobuttons instead of checkboxes?
17:18 eeos hi there!
17:19 eeos strange thing happening: we migrated a site from one server to another, everything is fine, but two images still point to the old server! Those are the icons with for the languages (it is a multilanguage website)
17:19 eeos any clue?
17:20 maholtz|WORK hardcoded path
17:21 eeos maholtz|WORK: what is it? we never had the problem before ....
17:22 maholtz|WORK sounds like hartcoded path your configuration
17:22 maholtz|WORK +in
17:22 maholtz|WORK check configuration of your language menu
17:23 eeos maholtz|WORK: yes, I did .... what should I look for? it looks ok to me ....
17:24 maholtz|WORK show it in pastebin
17:25 eeos maholtz|WORK: what should I show, the setup typoscript code for the language?
17:25 maholtz|WORK yep
17:25 maholtz|WORK that was renders the wrong links
17:27 eeos here it is http://paste.phlogi.net/-a2cf051f6c/
17:27 eeos maholtz|WORK: what do you think?
17:28 maholtz|WORK again, what is rendered wrong?
17:28 maholtz|WORK that code does not show the icon rendering
17:28 eeos maholtz|WORK: the icons of the two flags are still linked to the old server ....
17:29 maholtz|WORK but someone has defined that - via typoscript or an extension or template...
17:29 eeos maholtz|WORK: wait
17:29 maholtz|WORK so you have to dig into the code and find the point where it will ber endered
17:33 eeos maholtz|WORK: thanks a lot .... sorry, I am debugging someone else's code, so it is particularly difficult ....
17:33 maholtz|WORK np
17:35 eeos maholtz|WORK: I found the problem and fixed it .... :D .... they generated the language menu using an external .php file .... is there not an easier way of doing it?
17:37 maholtz|WORK i think it should be possible with typoscript
17:39 eeos maholtz|WORK: thnks!
17:39 maholtz|WORK :)
17:41 m4rtijn yes thanks maholtz|WORK
17:41 maholtz|WORK wb
17:42 m4rtijn indesign deinstall restarted me
17:42 m4rtijn stupid deinstall
17:42 m4rtijn uninstall..*
17:42 maholtz|WORK do you change do gimp + scribus?
17:42 m4rtijn nah.. it was the 30-day trial version :p
17:42 m4rtijn I tested gimp.. but hmmmmm
17:43 m4rtijn i wouldnt say it sucks.. but it comes close
17:43 maholtz|WORK if you do not know photoshop, it is not easier than gimp
17:43 m4rtijn but quite a bit more powerfull then gimp
17:43 HardPhuc_ guys how do i get FE user language
17:44 HardPhuc_ i mean in the plugin
17:44 HardPhuc_ if ($language == '')...
17:44 eeos m4rtijn: I find gimp pretty good
17:45 maholtz|WORK @hardPhuc: recordoverlay
17:47 HardPhuc_ ?
17:49 dinsdale07 HardPhuc_, Is it not part of the $GLOBALS array?
17:49 HardPhuc_ it is, but what is it :)
17:50 m4rtijn eeos - do you have any website online designed with gimp?
17:50 eeos m4rtijn: well .... I design everythig with it ....
17:51 m4rtijn any nice example online?
17:51 maholtz|WORK @HardPhuck: some snippets: http://wiki.typo3.org/User:Maholtz#Mehrsprachige_Extensions_entwickeln
17:51 dinsdale07 HardPhuc_, can you maybe use debug($TSFE).
17:51 maholtz|WORK and check piBase -> getWhere
17:53 eeos m4rtijn: well I do not understand .... websites online are not implemented in gimp .... we desig the blueprints and the proposal for customers .... on the websites only the logos and the images are made with gimp, not the websites ....
17:53 m4rtijn the layout is graphical as well.. or not
17:54 eeos m4rtijn: yes, but that does not go online .... goes to customer for approval!
17:54 dinsdale07 out of interest - what do you use to develop T3 extensions @ HardPhuc_
17:54 eeos m4rtijn: example http://www.refocus-network.net/
17:56 m4rtijn hehe eeos - now I understand your point of view :p
17:56 m4rtijn only logo is image.. rest is html /css
17:57 maholtz|WORK have to go - bye
18:03 eeos m4rtijn: yes
20:17 dinsdale07 Is there a Typo3 extension to send the link of the current page and a message to an e-mail address?
20:54 HardPhuck how do i get current FE language
20:54 HardPhuck from $GLOBALS?
20:59 sorenmalling HardPhuck: $GLOBALS['TSFE']->sys_language_uid
21:01 sorenmalling And then you can use pi_getrecord to get the language name from what ever table is needed --> http://typo3.org/fileadmin/typo3api-4.0.0/df/d32/classtslib__pibase.html#5363f5c51736d72401e505c1fa33e057
21:03 HardPhuck this always gets me 0
21:03 HardPhuck debug
21:03 HardPhuck even if L=1 in url
21:04 HardPhuck [globalVar = GP:L=0]
21:04 HardPhuck config.sys_language_uid = 0
21:04 HardPhuck i have the same two lines if L=1
21:09 sorenmalling if it's 0, it's because the language id of the shown page is in the standard language. I think that you can out L=1 in the url as much as you like, but if the language isn't configured, you won't get a new output from the GLOBALS variable
21:11 HardPhuck $_GET['L'];
21:11 HardPhuck this also works then :)
21:12 HardPhuck but i dunno if enter the realurl on... will it still work?
21:21 sorenmalling Well, you can always do the _GET thing, but that doesn't give you the correct sys_language_id of the current page, it just gives you what ever you got in the URL.
22:05 lubosz hi
22:06 lubosz how do i get a page url by id or whatever for all languages?
23:30 ckuhn hey guys. i know there was an extension / way to create a basic page structure with content in one click, but i can't remember how ... any ideas?
23:31 ckuhn just to get some basic frontend output from a freshly installed dummy install
23:35 Rialto bonsoir

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.