Search the website and IRC logs

#TYPO3 IRC log from : Thursday 9 April 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
08:58 lilalinux Goooooooooooooooood Moooooooooooooooorning Typo3
09:16 _pedda_ hi all
09:16 _pedda_ :)
09:21 kraftb morning !
09:28 maholtz|WORK morning
09:36 lilalinux hola maholtz|WORK
09:38 m0oman moo,
10:15 _pedda_ moin maholtz|WORK
10:16 Cavallo is possible to get db object in file which one is not included with typo3?
10:26 FloLeBlanc hi all
10:26 FloLeBlanc does anyone know by chance if you can exchange the required fields markup in sr_feuser_register from an asterix to a wrap (<b> | </b>)?
10:38 _pedda_ FloLeBlanc: what do you want exactly ?
10:38 _pedda_ <b>first name</b> : ?
10:39 FloLeBlanc _pedda_: yes
10:39 FloLeBlanc only for required fields
10:41 _pedda_ you can define in template <b>###LABEL_FIRST_NAME###:</b>
10:41 _pedda_ and leave the ###REQUIRED_FIRST_NAME### out
10:41 _pedda_ this field will still remain required (as far as it is set to required via ts)
10:42 _pedda_ or do you need this featur dinamically .. in order to being editable for beusers ?
10:42 _pedda_ do they create own forms ?
10:44 tPl0ch hi, how can I rid of this message: Cannot find configuration. This file is probably executed from the wrong location.
10:45 tPl0ch i have a shared typo3 core on our servers, from main domain, i get this message, from subdomains it works like a charm
10:45 FloLeBlanc _pedda_: I wanted to avoid hardcoding it in the template :)
10:45 FloLeBlanc and there is a TS var for almost everything so I thought it would be possible perhaps
10:45 _pedda_ hardcoding in template ? therefore you have the option to set new templateFile via ts
10:45 tPl0ch ownership and groups seem right (typo3_src) owned by root:www-data
10:46 _pedda_ just create a copy of the original template file
10:46 _pedda_ specify the new path to your template copy and modify it
10:46 FloLeBlanc _pedda_: thank you I know how to set the template, but why did they create the dynamic asterix for required fields in the first place then?
10:47 _pedda_ hmm i can't tell you
10:47 _pedda_ ask mr holzinger :)
10:47 FloLeBlanc atm it is nicely linked: you set the required field in TS - you get the asterix, if I edit the template I'll have to edit 2 positions each time a required field changes (that won't happen often I know)
10:48 FloLeBlanc _pedda_: btw. never try to run md5 passwords with typo3 4.0.X - currently that crashes the code because mr. holzinger uses a function that is only present in 4.1.X+ (in t3lib_db)
10:48 _pedda_ and because this will not happen that offen you should consider if it is necessary to spend that time on traying to solve this without editing the html file
10:49 FloLeBlanc _pedda_: transparent and logically good designed interactions are seldom not worth the effort, but I know what you mean :) (but I think I'll stick to the *)
10:49 _pedda_ ok :)
10:50 FloLeBlanc thank you
11:04 tf good morning @all.
11:05 _pedda_ hi tf
11:05 tf is it possible to delete the localized child element of an record automatically when the parent record is deleted?
11:06 tf i mean with deleted = 1 in the DB
11:09 tf i have an extension and when the user deletes the parent record, the child record (localization) is not really deleted.
11:43 snoy_ms tf: iam also new to ext. dev, does the t3lib_refindex help you ?
11:44 pulponair hi there
11:45 pulponair anyone familiar with BE Ajax using the ajax.php dispatcher?
11:49 Bluespuke howdy folks
11:53 _pedda_ howdx Bluespuke
11:53 _pedda_ y
11:57 FloLeBlanc hi bluespuke
12:05 zadmalck salut tout le monde. Hello everybody
12:05 zadmalck :-p ;-)
12:08 _pedda_ hi
12:13 Bluespuke is it perhaps possible that a server doesn't take the .htaccess file?
12:43 Bluespuke_ nick Bluespuke
13:09 maholtz|WORK @Bluespuke: .htaccess must be enabled
13:57 Bluespuke i'm working on my first project with translations :D so far so good, everything works well, but the menu doesn't take the current language to create the menu
13:57 Bluespuke i'm working with realURL
14:01 Bluespuke ok, i figured out that only the active menu point is translated :s
14:07 Bluespuke noone has an idea what i'm doing wrong?
14:07 Bluespuke or is everybody afk? ^^
14:17 FloLeBlanc in my sr_feuser_register I get: <p><select size="1" name="FE[fe_users][static_info_country]" onchange='javascript:window.document.forms[\&quot;tx-srfeuserregister-pi1-fe_users_form\&quot;].submit();'> for static info tables (the \&quot; causes the JS to malfunction) - is this fixed in a future version of static_info_tables?
14:32 maholtz|WORK @Bluespuke: i was afk:) any if only the active menu point is translated, it sounds as it is the same in backend..?
14:32 maholtz|WORK your pages are not translated yet?
14:32 Bluespuke maholtz|WORK: i got my error :p
14:33 Bluespuke as you say, my pages aren't translated and i set up sys_language_mode to 0:1 insteat of content_fallback...
14:33 Bluespuke damn, sometimes i need somebody to hit me for such stupid errors :@
14:34 Bluespuke thank you anyway maholtz|WORK
14:38 maholtz|WORK np:)
14:39 Bluespuke i think i need more freetime to read the TYPO3 cookbook xD
14:44 lous does anyone know, how i could secure a file on my server, where just logged in FE users can view it? without htaccess. I got FElogin also in my site
14:45 maholtz|WORK you could put that file outside the serverroot
14:45 maholtz|WORK and why "without htaccess"?
14:46 lous cause htaccess is kind of oldschool
14:46 lous dont know how to explain
14:46 FloLeBlanc is there a way to get older versions of extensions? (the newest static info tables requires php5)
14:46 lous i just wanna make it comfortable for my users
14:47 lous once they loged in, they should have access
14:47 lous those files are in fileadmin/......
14:47 lous i heard from the extension kw_secdir, but its just with htaccess
14:49 lous maholtz|WORK : you got an idea?
14:52 Bluespuke is there a way to check if a column is empty and include a css-file if true?
14:53 Bluespuke ifEmpty just assigns a new value to the property (when i got the idea of ifEmpty right)...
14:55 maholtz|WORK @lous: take securedownloads (there is an extension). think about two things: direct file access via fileadmin/... is protected via .htaccess, BUT your users will get the files via php-download. you have to use than content element filelinks.
14:56 maholtz|WORK @Bluespuke: TS - numRows
14:57 lous thanks alot maholtz
15:01 Bluespuke maholtz|WORK: ty, that was all i needed ;)
15:02 maholtz|WORK htht
15:17 Bluespuke the more i learn, the more i love typoscript :p
15:22 Bluespuke someone knows an extension or similiar how i could control thumbnails?
15:22 maholtz|WORK "control thumbnails"? what do you want to do?
15:23 maholtz|WORK and yes, typoscript is a friendly ghost
15:23 Bluespuke control the zone where thumbnails are cropped or crop thumbnails with photoshop and define the right image files...
15:23 FloLeBlanc maholtz: sorry to contradict, I use it - but imho it is not very good. some giant PHP array :)
15:24 maholtz|WORK well, without TYPO3 i would not use it too, but it makes TYPO3 so powerfull
15:24 FloLeBlanc maholtz: I agree on this point
15:24 maholtz|WORK @bluespuke: you can set width = 100c-50 to center etc.
15:25 maholtz|WORK but, php itselft is not such a nice programming language....
15:26 Bluespuke maholtz|WORK: for sure... but i want to control image for image :s
15:26 maholtz|WORK so, if you use an IMAGE-Content Element?
15:28 Bluespuke i need to display 4 images and all of them should be accessible by the same lightbox
15:28 Bluespuke and load the real image instead of the thumbnail
15:28 maholtz|WORK well, use f.e. perfectlightbox - works out of the box
15:29 maholtz|WORK as an example: http://www.elemente-websolutions.ms/referenzen/deutscher-fassadenpreis.html
15:30 Bluespuke maholtz|WORK: that's what i mean :p
15:31 maholtz|WORK perfectlightbox
15:31 Bluespuke just one more issue: is there a way to use 'different' lightboxes for the main image and the previews? :s
15:32 Bluespuke like to limit the navigation on content elements
15:32 maholtz|WORK usually the lightbox works per content element, so for each content element a new lightbox
15:33 maholtz|WORK but we wanted to have one lightbox for all images - there is a constant to activate that
15:48 mapixu Hello there!.I need help with my tinyRTE
15:49 mapixu Anyone willing to help
15:52 Bluespuke maholtz|WORK: you still there? may i ask you one more question?
15:53 maholtz|WORK ask, perhaps some other has an answer
15:56 Bluespuke just a question about the perfectlightbox... the 6 thumbnails you use on the right, are they 1 content element or 6 different?
15:56 maholtz|WORK i think only one
15:56 maholtz|WORK why should i take 6?
15:57 maholtz|WORK you can check that yourself: look if there are 6 anchors or only one:)
15:57 Bluespuke and how you can link every thumbnail to a different pic?
15:58 maholtz|WORK do not use the link-field:)
16:01 Bluespuke so the thumbs are auto-created?
16:01 maholtz|WORK sure
16:02 Bluespuke I see...
16:15 Bluespuke how can i define to crop thumbnails depending on the column the CE is in?
16:15 FloLeBlanc cya all have a nice day
16:16 maholtz|WORK cya
16:16 Bluespuke bye flo
16:16 maholtz|WORK @bluespuke: RIGHT_MARKER < styles.content.getLEFT
16:16 maholtz|WORK RIGHT_MARKER.renderObj.20.image....
16:17 maholtz|WORK sth. like that
16:17 Bluespuke ok, i search for the right syntax
16:17 maholtz|WORK there is tt_content copied into renderObj by default
16:17 maholtz|WORK so you have to check in tt_content and adapt that for your specific renderObj
16:34 maholtz|WORK should i use ETags in combination with expires header far in the future? or should i avoid that. i am not sure if i understand that issues right. if i have an expires header - there will be no http-request? but with ETags it will have allways an http-request?
17:09 spabhat hi all...
17:09 spabhat mailformplus or powermail - which one is preferred?
17:19 teppi|work i can only say that powermail makes some truely annoying xclasses ..
17:19 teppi|work spabhat,
17:21 teppi|work no .. i was wrong
17:22 teppi|work it was some crappy stuff regarding real url
17:22 teppi|work hard to debug etc.
17:22 maholtz|WORK @spabhat: depends on what you need
17:22 maholtz|WORK powermail is great for small forms which should be editable via backendusers
17:23 maholtz|WORK mailformplus is great if you need an extrem customized form whithout the need that an editor could change it
17:23 spabhat teppi|work: and maholtz|WORK: so you think mailformplus still has it'sadvantages :)
17:24 teppi|work spabhat, i cant say anything about mailformplus
17:25 spabhat any specific reason?
17:26 spabhat is there any form designer for mailformplus? or would any such extension be useful?
17:37 maholtz|WORK @spabhat: nope, if you want to do it by hand, use mailformplus - you work with templates there
17:42 spabhat maholtz|WORK: one my my co-worker has written such a code... do you think it might be useful if it is released as a module?
17:45 _pedda_ cu all
17:45 _pedda_ happy easter and all that stuff ;)
17:46 spabhat _pedda_: happy easter 8-)
17:47 maholtz|WORK @spabhat: well, i would ask the author of mailformplus if its possible to include there - and then, yes i think it would be usefull
18:02 mfr hello all, I have a question that must really be simple for you: how can I hide a navigation element for one single page with a specific id? thanks
18:06 maholtz|WORK excludeuid check TSref on HMENu
18:06 maholtz|WORK or set page to "not in menu"
18:09 mfr I want to only hide the navigation on one special page
18:13 mfr maybe its so simple that nobody understands my question :D
18:14 mfr basically I have some typoscript that I want to be skipped if user is on a certain page
18:14 mfr only how :/
18:23 pmk65 Does anyone know how to include output from another extension, inside own extension?
18:24 pmk65 I want to display the felogin box, if a user is not logged in.. I have tried this, but it doesn't quite wrk.. -> http://pastie.org/441943
18:25 maholtz @pmk65: do it via typoscript
18:26 maholtz so make $this->cObj->COBJ_ARRAY f.e.
18:26 maholtz or cObjGetSingle
18:26 maholtz and put there in tsconfig
18:27 maholtz cObjGetSingle('USER',$this->conf['felogin']);
18:27 maholtz and in typoscript felogin < plugin.tx_felogin_pi1
18:27 maholtz something like that
18:27 maholtz imho would be the easiest
18:28 mfr nobody help me? I look for something like "if (page has not id 74) { some typoscript }" .. how can I do this in TS? :(
18:29 maholtz thanks for listening mfr
18:29 mfr It has nothing to do with a menu
18:30 maholtz use condition
18:30 maholtz [globalVar: TSFE:id = 74]
18:30 maholtz perhaps?
18:30 maholtz well of use if
18:30 maholtz if.value.field = uid
18:30 maholtz if.equals = 74
18:30 maholtz depends on where you want to do what
18:31 mfr okay [globalVar: TSFE:id = 74] look like what I want to do, except I want to do it for all pages except 74
18:32 maholtz easiest way: use [else] :)
18:32 pmk65 maholtz: I'll try that.
18:49 pmk65 maholtz: Your idea worked.. (Took a little while to get it working, as my plugin is a bit special. As it swithes between USEr and USER_INT, depending on the view selected.)
18:49 maholtz wow
18:50 maholtz if 20min means took a little while...
18:50 maholtz what means fast then:)
18:51 pmk65 I was also down at the shop getting some cigarettes ;)
18:51 maholtz :p
18:53 pmk65 it was more or less a "one-liner", but I had the wrong $conf array, that's why it didn't work right away.
18:53 pmk65 In PHP -> return $this->cObj->cObjGetSingle($this->conf['felogin'],$this->conf['felogin.']);
18:53 pmk65 just as you suggested.
18:54 maholtz yeah;)
18:54 mfr maholtz, its [globalVar = TSFE:id = 74], not [globalVar: TSFE:id = 74]
18:54 mfr but works not, thanks
18:54 maholtz works, or works not...? :)
18:55 mfr now I mean, works now :)
18:57 maholtz great:)
19:01 mfr I wish you nice easter mahotz, thanks again
19:01 maholtz thanks, nice easter too:)
19:06 maholtz have to go now, bye

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.