Search the website and IRC logs

#TYPO3 IRC log from : Sunday 20 June 2010

Year: 2007 2008 2009 2010 2011 2012
Month: Jan Feb Mar Apr May Jun Jul 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
00:00 Frimp098s can i put these [] expressions anywhere?
00:00 Frimp098s i see them on the root level only - i mean not nested in code
00:01 ironm only the highest level
00:02 Frimp098s how about this, shouldnt this work: http://pastebin.org/344231 ?
00:05 ironm I wouldn't expect ;)
00:06 Frimp098s hmm. i changed the if to ifEmpty.data
00:07 Frimp098s the code im using *is* working if the field is set correctly
00:07 Frimp098s im just short of a way to deal with empty fields in the table
00:08 Frimp098s .. at least it was working before i flipped in the if conditionals
00:10 ironm no idea .. have you cleared all caches etc ... ?
00:14 Frimp098s yes.
00:14 Frimp098s i guess its a syntax thingy
00:36 ironm gn8
00:36 ironm and good luck Frimp098s ,)
00:36 ironm ;)
00:40 Frimp098s thank you :)
00:40 Frimp098s for you too
00:40 ironm bis bald *g*
00:44 Frimp098s ja, genau
08:03 Frimp098s good morning
08:04 Frimp098s i need to fill a db field value into a template.file property, if this field in the db is 0 or "" i need the file to get a default value.
08:05 Frimp098s could anybody point me to a working example fo something similar?
08:05 Frimp098s i lost quite a bit of hair over the last night trying...
08:33 MindSpark hi, I am taking over a system from a previous webmaster who apparently switched off the automatic link update function. I have changed the location of a page and now all the links are giving 404 errors. The link update function is deactivated, any idea how I can reactivate it ?
09:09 Frimp098s why doesnt this work? http://pastebin.com/3CChxBCp
09:23 cooperbear Frimp098s: How about so? template.file = fileadmin/templates/main/master.html
09:24 Frimp098s how can i dynamically set the file variable for my template
09:24 Frimp098s i cant seem to combine if conditionals with the value of the file
09:25 Frimp098s cooperbear: yes, but this is the default, i cant get the if conditionakl straight so that this line jums in the moment fiel pages:something is empty
09:25 cooperbear Frimp098s: hmm.. I don't think you have stdWrap functions on file ( http://typo3.org/documentation/document-library/references/doc_core_tsref/4.3.2/view/1/2/#id2634966 )
09:26 cooperbear @see 'resource'
09:26 cooperbear or here: http://typo3.org/documentation/document-library/references/doc_core_tsref/4.3.2/view/1/7/#id2518940
09:26 cooperbear if there is stdWrap it will tell you in te 'Data type' column
09:27 cooperbear so to be able to dynamically change the value of file, you will need a [globalVar = ] or something like that wrapped around it
09:27 Frimp098s ok, but how do i get the file resource set according to the value in the db? i can only manage this with dataWrap
09:28 Frimp098s (whoithout the if offcourse)
09:29 cooperbear hmm.. is the value part of the current page in the db?
09:29 Frimp098s yes.
09:30 cooperbear oke, that makes things easier :) - you can acces it using [globalVar = TSFE:field_name = something] file.template = something.html [/end]
09:31 cooperbear it's not fully dynamic.. but would this be workable?
09:32 cooperbear or TSFE:page|your_field
09:32 Frimp098s hmm, cant use [], since its nested
09:33 cooperbear am affraid you need to de-nest it a bit then...
09:33 Frimp098s wait a minute, my whole script carries a nasty bug..
09:33 Frimp098s ill have to check for this first
09:33 cooperbear alright
09:33 cooperbear sure
09:37 Frimp098s i was wrong, the field im looking for has to be accessed via the full path, like DB:pages:{page:uid}:myfield
09:38 Frimp098s if i just point to pages:myfield it seems to get lost
09:38 cooperbear ah oke.. hmmm
09:38 cooperbear maybe a [userFunc = user_myCheckFunction()] then?
09:39 cooperbear u can access the database in your own PHP function then
09:39 Frimp098s yes, but that woul require me to dig into php interfaces to ts
09:40 Frimp098s there must be a simper way
09:40 Frimp098s the task appears to me as something that must be common in the ts univers
09:41 cooperbear hmm yeah it would be.. if not for the fact 'file' does not support stdWrap ... hmm let me think for a moment.. what is it exactly you want todo?
09:42 Frimp098s i have a TEMMPLATE thingy
09:43 Frimp098s i want to set its template property to either the value in the page table for it or to a default
09:44 Frimp098s look: http://pastebin.com/hdYiMHkv
09:44 Frimp098s this is my TEMPLATE variable
09:44 Frimp098s this way it does work
09:45 Frimp098s but, offcourse, only if the main_tmpl field is set to a correct filename
09:46 cooperbear okay, am suprised that works, that means stdWrap _is_ available?
09:46 Frimp098s template is cObject
09:46 Frimp098s (i mean the template property to TEMPLATE)
09:46 Frimp098s maybe that's why...
09:48 cooperbear an ifEmpty on template.file does not work I presume?
09:49 Frimp098s where to put that? inside the braces?
09:49 cooperbear yeah, below insertData=1
09:49 cooperbear hmm wait..
09:50 flobbie What do you do against the chaos with mootools and jquery?
09:51 Frimp098s no, wont help..
09:52 cooperbear hmm okay.. was affraid so.. nasty little problem hehe :)
09:53 cooperbear what if you make 'template.file' into 'template.file.cObject' and only set the attribute 'value' to a template that works, does it work?
09:54 Frimp098s ill try
09:55 Frimp098s that looks good
09:55 Frimp098s template.file.cObject {value = fileadmin/templates/main/master.html}
09:56 Frimp098s for static assignment
09:56 cooperbear allright, in here you should have if.value.field etc
09:56 cooperbear would that work?
09:58 Frimp098s hmm.. i did : template.file.cObject = TEXT
09:58 cooperbear perhaps you could also try and set the value in here to value.cObject and use that to just fetch the filename of the template and use the outer cObject to wrap the path around it
09:58 Frimp098s i should use CONTENT right?
09:58 cooperbear no, TEXT is good
09:58 cooperbear I think :)
09:59 cooperbear hmm but the field was in another record right?
09:59 cooperbear maybe you should use CONTENT yes..
10:00 Frimp098s look: http://pastebin.com/hdYiMHkv
10:00 Frimp098s gives a nasty typo3 error
10:00 cooperbear I get the same page
10:00 cooperbear the old code
10:01 Frimp098s oops
10:01 Frimp098s http://pastebin.com/xcH3JCML
10:04 cooperbear maybe like so? http://pastebin.com/BdzE38Lm
10:04 Frimp098s well, no the error stems from a code leftover, so please ignore. it still doesnt work., i guess i have to break up the dataWrap since i cant deal with the content in wrap3
10:07 cooperbear Frimp098s: did you try my suggestion?
10:09 Frimp098s looked promising, but doesnt do the trick
10:09 cooperbear ah shoot :(
10:10 cooperbear I'll try it out local here, 1 mom
10:10 Frimp098s :)
10:10 Frimp098s thank you
10:18 Frimp098s .. left out the PidInList bit... http://pastebin.com/R7QGBvRw this is my adaption..
10:20 cooperbear did you replace {page_uid} with an actual id? and pidInList will the the current page if you leave it out..
10:24 Frimp098s sorry, i meant {page:uid}
10:25 Frimp098s the page:uid is pointing to the unique record oin the pages table, o i guess i need not to limit pid too, or?
10:25 Frimp098s oin = in
10:28 cooperbear better replace select.uidInList with select.andWhere.dataWrap = uid={field:uid} then uidInList does not have stdWrap and cannot access other data
10:29 cooperbear though cookie..
10:31 Frimp098s ok
10:32 cooperbear but the page that the template-name is in, that isn't the current page or is it?
10:32 cooperbear is in the rootline?
10:34 Frimp098s holy shit
10:34 Frimp098s its the pidInList
10:34 Frimp098s if i leave it out, the query gets like pages.uid=0 !!
10:35 cooperbear yeah, pidInList is a bitch ...
10:36 Frimp098s when i do pidInList=1 my query gets SELECT * FROM pages WHERE pages.uid=0 AND uid=10+0 ...
10:36 Frimp098s (i added +0 to the uid bit
10:36 cooperbear okay, that's weird...
10:37 cooperbear but a question.. the main_tmpl field, am I correct you want to be able to set a different template on each page, and use the one in the rootline if no template was set?
10:38 Frimp098s yes, each page in my pages table may contain such info
10:39 Frimp098s i used mtb tut to create a managin extension
10:39 Frimp098s works as described
10:39 Frimp098s it seems i must not leave out uidInList
10:40 cooperbear hmm alright..
10:41 Frimp098s select.pidInList=1 | select.uidInList=10 | select.andWhere.dataWrap = uid=10 (pipe is newline) i get SELECT * FROM pages WHERE pages.uid=10 AND pages.uid=0 AND uid=10
10:41 Frimp098s so something ugly adds pages.uid=0
10:44 Frimp098s ok, if i hardcode the respective pid and uid into the lists it works
10:44 Frimp098s kind of
10:46 Frimp098s select.pidInList.dataWrap={page:pid} | select.uidInList.dataWrap={page:uid}
10:46 cooperbear Frimp098s: I tested something, and this seems to work for me: http://pastebin.com/TCT0U51G
10:46 Frimp098s this interpolates the pid perfectly but drops out the uid :(
10:47 cooperbear the only thing you also need to do is add the following line to you typo3conf/localconf.php
10:47 cooperbear $TYPO3_CONF_VARS['FE']['addRootLineFields'] = 'your_field';
10:51 cooperbear this should work and is much cleaner then the whole CONTENT and renderObj :)
10:54 Frimp098s i prefer your previous script. it does work, if only i get the select right. hardcoding the respective uid and pid does the trick
10:54 Frimp098s if i can get these numbers to reflect the props of the current page im done
10:54 cooperbear hmm oke
10:55 cooperbear the only problem is the pidInList
10:55 cooperbear it needs to be there, so you always need to find out it's value
10:55 cooperbear this kinda sucks
10:57 cooperbear so for example if you have a root page (1) and a homepage (2) that has root as parent. The uidInList you can leave out and do it via andWhere.dataWrap = uid=(TSFE:uid) for the current page uid ... but pidInList always gets configure..
10:58 cooperbear even if you leave out pidInList, pages.pid gets filled in the query
10:58 cooperbear if I'm not mistaking.. perhaps if you do select.pidInList > it is not used in the query?
11:01 Frimp098s nope, wont do
11:01 Frimp098s hmm
11:01 Frimp098s it s so strange.
11:01 Frimp098s if i hardcode both it works, if i put anything to go dynamic it screws
11:02 cooperbear maybe select.pidInList.data = TSFE:pid ?
11:02 cooperbear of TSFE:page|pid
11:02 cooperbear or*
11:03 cooperbear that way it should get the pid dynamically
11:03 cooperbear hmm maybe there is a way ... :)
11:03 Frimp098s aah no. sorry. i have to go for t30 mins
11:03 Frimp098s obligations
11:03 cooperbear ah okay.. np..
11:03 Frimp098s if you come up with something, feel free to post :)
11:03 Frimp098s i ll gladly pick up afterwards :)
11:04 cooperbear alright I will :) see you around
11:39 cooperbear Frimp098s: I've tried to make it work, but I'm not sure if this can be done while also being able to slide.. I think the 'slide' property for CONTENT is meant for tt_content table or anything else that is put onto a page, not a property of a page. ( http://wiki.typo3.org/index.php/Content_Slide ). This means you'll have to create a record on each page, that has a property to set the template.
12:01 Denyerec Guten morgen alles!
12:01 bern Mahlzeit
12:08 Denyerec Working on a Typo3 site after a long time working on someone elses home-made CMS.
12:09 Denyerec Makes me realise *just* how good Typo3 really is.
12:12 cooperbear Denyerec: It's one bad-ass cms isn't it B)
12:12 Denyerec Very much so.
12:12 Denyerec And All the things I do, I've never even written and extension!
12:12 Denyerec This makes me feel bad... but at the same time, impressed that I never had to.
12:13 Denyerec Going to try and get into this ExtBase thing over the coming weeks as a workup to Phoenix
12:13 Denyerec And, in 5 years, the same things that sucked then still suck now about Typo3. Marketting.
12:13 Denyerec Everyone bangs on about Drupal and Joomla.... Makes me sick.
12:13 Denyerec *shudders*
12:14 cooperbear Denyerec: Ghehe, yeah indeed..
12:15 cooperbear Denyerec: Not comparable
12:15 Denyerec NOt at ALL
12:15 Denyerec yet their marketting and community base is huge.
12:15 Denyerec Everyone's heard of them
12:15 Denyerec (For better, and usually worse)
12:16 cooperbear yeah true.. maybe it is also to do with how easy it is to get going with those cms's, while Typo3 has more of a learning curve
12:16 Denyerec Yes, again very true
12:16 Denyerec Althouuuuuuuuugh
12:16 Denyerec 4.4's install process and default site could change that
12:17 Denyerec They've done some really smart things with it, not tried it end-to-end yet but the screens I saw were very positive.
12:18 cooperbear Okay, haven't looked at it yet. But there is still the many locations and types of configuration everywhere.. so I think that remains to be a problem for a lot of users
12:18 cooperbear Maybe Flow3 and Typo3 5 will be better..
12:18 cooperbear I heared configs would be more the same there
12:18 cooperbear more php
12:19 cooperbear But I agree, a default site and easier install-tool helps also
12:20 bern Someone knows a good book about cms comparison? (lang: eng and/or ger)
12:23 cooperbear bern: Nope, why would you want to compare ;)
12:24 bern At the moment I'm learning typo3 (atm getting familiar with extensions, extension programming and getting feeling for the system) - but I want to know, why typo3 and not $otherCMS :D
12:26 bern I am using it for ~1 Month, so I can't call me typo3 professional - maybe I need a feeling like programming languages: where to use which and why. I am sure, there are reasons why using $specialCMS
12:27 bern Maybe I have just to get familiar with all of the most famous =)
12:29 Denyerec Bern : It's simple really
12:29 Denyerec 5 years ago we did a CMS feasibility study
12:29 cooperbear aha okay :D well for 1 Typo3 is and Enterprise CMS, not just an CMS. This results in more advanced functions being available for content editors, managers but also the developer :) On the other hand, it's indeed good to know some other cms's as well to get a broader view on programming .. I would suggest trying Drupal and maybe even Wordpress (not really a CMS, but it gets used A-LOT these days)
12:29 Denyerec Of all the CMSs available at the time
12:29 Denyerec Drupal, Mambo, Joomla, EE etc.
12:29 Denyerec THe only two that even ticked most of the boxes for "Features required by a serious business" were EE and TYpo3
12:30 Denyerec And EE is not free.
12:30 Denyerec (EE is not expensive, but it does have a cost, which puts off some clients as they want to know they are free from costs forever)
12:30 Denyerec (EE == Expression Engine)
12:30 Denyerec Some features that make Typo3 awesome:
12:31 Denyerec TemplateVoila / Flexible Content Elemtents / Workflow and Workspaces / Backups / Record Management / Translation / Super granular user access control / Security
12:32 Denyerec Some people I know "jumped ship" to Django/Plone in Pythonland.
12:32 Denyerec Some have picked up and enjoyed EE
12:32 bern Thanks; well first of all, I have to get deep into the typo3 system, because we use it in the company. The thing about nother cms is just for me to know why and so on. Anyway, I have to know only typo3 very well =). Thanks for the participation.
12:32 bern By now, I have only used Plone before
12:32 Denyerec Plone is supposed to be pretty good.
12:33 Denyerec Never used it, but I did read up on it. The thing that stopped me was that I don't know Python :(
12:33 bern It was my first and I jumped into it in 2006, it was quite nice. I also had to learn python - difficult of python was for me like learning php.
12:34 bern And ... I used php after python xD
12:35 Denyerec You foun Python difficult?
12:35 bern It was very easy for me. But I've learned c/c++ and little bit java before.
12:35 Denyerec I must have mis-read you
12:36 Denyerec So python was easy to learn?
12:37 bern For me, it was not that dificult, but "easy to learn, hard to master maybe". I don't want to say, that I am a programmer/python-professional
12:37 Denyerec I see, I see.
12:37 Denyerec I look at it often, but never made the jump.
12:38 Denyerec But recently I have written some standalone scripts in PHP to do site conversion and some other tasks, and I think it might be good to try and write them again in Python to learn.
12:38 Denyerec Can't stop learning!
12:38 Denyerec :)
12:38 cooperbear It's good too learn new languages :)
12:38 Denyerec unless it's PASCAL, perhaps.
12:38 Denyerec ¬_¬
12:39 cooperbear oops: to* :)
12:39 bern On my toLearn-list there is: lua, perl(only now very few basics, irssi~), pascal(never used it)
12:39 cooperbear hehe, or basic :P
12:40 bern But the decision is hard to lern more languages or getting very deep into 2-3! :D
12:40 cooperbear I would suggest the latter
12:40 Denyerec Either of you guys know if there's a way to apply user TS Config to all users?
12:42 cooperbear Denyerec: Via a BE usergroup
12:42 Denyerec Hmm Ok.
12:42 Denyerec I shall create a "Widescreen" group :)
12:42 cooperbear hehe :D
12:45 cooperbear Does anyone here play poker by any chance hehe? :)
12:48 Denyerec Not for money, can't afford it! :)
12:48 cooperbear heh, I do mostly play money as well :)
12:48 cooperbear Denyerec: u one pokerstars?
12:49 Denyerec ?
12:49 cooperbear or do you play offline?
12:49 Denyerec Just with friends every now and then
12:49 Denyerec nothing serious
12:49 cooperbear ah oke :)
12:53 cooperbear What editor do you guys use for Typo3 development? Just curious, I'm on Aptana/Eclipse atm
12:54 Denyerec notepad++
12:54 Denyerec for PHP dev I use Netbeans
12:54 Denyerec 6.9 is reall nice
12:56 pgampe Netbeans: is ok, but does not show hints (just black box) on Ubuntu 10.04
12:59 cooperbear Alright, yeah I've been on Netbeans as well.. didn't tried 6.9 yet.. what made you decide on netbeans vs eclipse? The speed or also other things?
13:05 cooperbear I seem to be always switching between Eclipse and Netbeans, never fully satisfied hehe
13:06 cooperbear I liked the old Zend Studio (the one not using Eclipse)
13:06 Frimp098s i am back (tammtamm)
13:06 cooperbear Frimp098s: Yo, check the pm :)
13:07 cooperbear Frimp098s: Affraid it gets a bit ugly if you would want to use a CONTENT
13:07 cooperbear Frimp098s You'll need to put records on each page for defining the template
13:08 cooperbear Frimp098s: Instead of just adding and using a custom field in the pages-table
13:10 Denyerec Netbeans : Free
13:11 Denyerec I'm not convinced by the free module for Eclipse.
13:11 Denyerec Hints, code completion, css , insight... all those seem better in Netbeans to me
13:11 Denyerec (WIndows)
13:19 pgampe nd__: freak :D
13:19 nd___ Maybe
13:19 cooperbear nd___: I sometimes use vim (osx) but just for quick-fixing hehe, not building it all
13:20 cooperbear but it's whatever works for you, vim can do alot
13:20 cooperbear copy/pasting just seems to be a hassle hehe :)
13:20 nd___ cooperbear: Get yourself MacVim, nerdtree (plugin for vim) and probably zencoding for templating.. so you can the work while eclipse/netbeans is starting up :)
13:21 cooperbear nd___: hehe okay, will have a look at it :)
13:26 Denyerec anyone here good at configuring the RTE ?
13:26 Denyerec I can't get the damn thing to pick up my inline styles.
13:26 Denyerec I can populate a list with block styles
13:26 Denyerec but it's not picking up my span.highlight {...} rules from the CSS shee
13:26 Denyerec *sheet
13:26 Frimp098s how can i check what variables "page" holds (like {page:uid}...)
13:26 Frimp098s ?
13:35 Frimp098s weired. http://pastebin.com/BqZN3kCv
13:35 cooperbear Frimp098s: Page generally holds all fields from the current page-record
13:36 Frimp098s the uid of the page is 10, the pid 8
13:36 cooperbear Frimp098s: change page:uid to field:uid
13:36 cooperbear I think
13:36 cooperbear or guess
13:38 cooperbear nvm, see the query now..
13:39 Frimp098s select.uidInList.dataWrap = page.uid = {field:uid}
13:39 Frimp098s kills the uid, its ignored now and the query returns all child pages of 8
13:40 cooperbear yeah that seems correct, because uidInList can only hold a value, no stdWrap
13:40 Frimp098s when adding the uidInList like "select.uidInList=10" its all fine (with the dynamic pid)
13:40 Frimp098s aah ok
13:40 Frimp098s good point
13:41 Frimp098s now - how do i get a propper value for uid in here :) andWhere doesnt do the trick, neither with page:uid nor with field:uid
13:41 Denyerec cooperbear - Done much work with the RTE?
13:44 cooperbear Denyerec: Not that much I'm affraid. I usually use my own renderObj when a special markup somewhere is needed.
13:44 Denyerec ah
13:45 cooperbear Frimp098s: Why not go with the levelfield -script ? :)
13:46 cooperbear http://pastebin.com/TCT0U51G
13:47 cooperbear it looks for a value in your_field, looking up in the page tree untill it find, and if nothing was found it will default to the value in ifEmpty
13:47 Frimp098s since that fist solution is only short of how to feed typo3 the right uid i think it is the better way, plus what do you mean by an extra record per page?
13:50 cooperbear Well the solution with the levelfield will use the current page it is on, and then look up the rootline/pagetree. // When you need to use the CONTENT-object, you will need to set a content-record on each page that will hold your template-field. For example, you need to create a table tx_your_template_table that hols the field uid, pid, tmpl_main. Then put such a record on the pages you need it.
13:52 Frimp098s some mapping
13:52 cooperbear what I try to say is ithat it is not meant for traversing the pages-table..
13:53 cooperbear it can do it on a basic level, but it is meant for records being referenced to the pages-table (via the pid-field)
13:58 Frimp098s but, correct me if im wrong. i have a simple page here, the page-object contains all the data i nead, i mean i should not even need pid, since i want the uid i am on. using the "DB:pages:{page:uid}:main_tmpl dataWrap works like a charm
13:59 Frimp098s so i think there is very little left for getting this silly pag:uid to get into the uidInList var, or
13:59 Frimp098s ?
14:01 cooperbear yeah, but only the levelfield will already have the currentpage set internally, so you don't have to bother about pid or uid :)
14:02 Frimp098s but that would require me to create an extra mapping, extra code
14:02 cooperbear just one line in the localconf.php to tell typo3 that this new field should be in the internal rootline
14:03 Frimp098s i thought we were talking about a table?
14:03 cooperbear yeah, in the other case :)
14:06 cooperbear I'm sorry if I confused you...
14:06 Frimp098s i've read something about somebody suffering the same problems here. they poindet out that the solution would be cObj RECORS.
14:06 Frimp098s how does that fit in here?
14:09 cooperbear hmm, it could work
14:10 Frimp098s solved :)
14:10 Frimp098s oh joy
14:11 Frimp098s thanks big time
14:11 Frimp098s "this" is the magic key
14:11 Frimp098s i will post the solution, man this was a hell of a nut to crack
14:11 cooperbear hehe alright :)
14:11 cooperbear ghehehe :D
14:11 cooperbear I'm curious, let me know when u have it online :)
14:12 cooperbear never used RECORDS to be honest :)
14:12 Frimp098s http://pastebin.com/K436cBYq
14:13 Frimp098s thank you for yor snippet, it took the right f****ng var to get this straight
14:13 cooperbear ha :D all it needed was 'this' for uidInList? Do I see it correctly? :| :D
14:13 Frimp098s yes
14:14 cooperbear damn....
14:14 cooperbear how unbelievable :P
14:14 cooperbear heehe :D
14:14 Frimp098s i found it in a ceched forum post in line 3242344234
14:14 Frimp098s this should go into the documentation
14:15 cooperbear okay, yes indeed
14:22 ironm hi Frimp098s .. have you solved your issue from yesterday?
14:26 Frimp098s yes :)
14:27 Frimp098s or rather cooperbear solved it
14:27 ironm what was the point?
14:27 cooperbear ah well, I helped :)
14:27 ironm hi cooperbear :)
14:27 cooperbear Hi ironm
14:27 Frimp098s i tried to get a conditional to allow me to set a default template file if there is none in the table
14:27 cooperbear Yeah, we struggled long for the issue :)
14:28 Frimp098s http://pastebin.com/K436cBYq
14:28 ironm interesting ..
14:28 ironm typo3 is quite complex .. I have to learn every day something new Frimp098s & cooperbear
14:28 Frimp098s the problem was uidInList, it kept us busy since it only worked if i set a fixed uid
14:30 ironm Frimp098s: nice example :)
14:32 cooperbear ironm It was interesting to see that cObject worked on 'file' :)
14:32 cooperbear If it didn't, we weren't as far
14:33 ironm how to say cooperbear .. I didn't know that ...
14:35 cooperbear ironm: Typo3 has many secrets :D
14:35 ironm cooperbear: how long do you work already with typo3 ?
14:35 ironm yes cooperbear .. I am afraid A LOT ! ;)
14:36 cooperbear heh :) I use it for quite some time now, I think 4 years or so. The 1st year was the worst hehe :P I could net get over the fact that TypoScript was such a big part of the cms, I hated it hehe.. and now I love :D
14:37 cooperbear it *
14:37 ironm hmm ... I am still not very happy with TypoScript ..
14:38 ironm cooperbear: but there are some more issues than typoscript ..
14:38 cooperbear the debugging of it is sometimes a bitch, but when you have some experience with it it gets nicer :) the only thing is, it's yet another layer on top of it all
14:39 cooperbear but things such as Gifbuilder Hmenu and Gmenu make it wonderful :D and on top of that the nice getText features and stdWrap and easy copying of elements
14:41 ironm do you use cc-debug or/and the typo3 own debug function cooperbear ?
14:41 ironm well .. I am still not familiar enough with Gifbuilder Hmenu and Gmenu
14:42 cooperbear ironm: No, I setup the localconf.php to spit out errors into a typo3.log file and 'tail -f' that (linux/osx)
14:43 cooperbear so database and php and typo3 errors/logs get in the commandline window right away when loading a page
14:43 ironm what is the line from your localconf.php for setting the logfile cooperbear ?
14:44 cooperbear it could use some tweaking still, but it use this: $TYPO3_CONF_VARS['SYS']['systemLog'] = 'file,/Users/<removed>/Sites/geboortekreet.nl/website/typo3_system.log;';
14:44 ironm I set some ebug in the all_config (install tool) and used debug / cc-debug ..
14:44 cooperbear oops :)
14:44 cooperbear anyway, that is an example site in there ghehe
14:45 ironm thank you very much cooperbear :)
14:45 cooperbear np
14:45 ironm did you need to make some further settings for debugging?
14:45 cooperbear also you can use this line to disable deprecated warnings: $TYPO3_CONF_VARS['SYS']['errorHandlerErrors'] = 22519; // E_ALL ^ E_DEPRECATED ^ E_NOTICE (everything except deprecated-msgs and notices)
14:46 Denyerec Hmm.
14:46 cooperbear some older extensions use functions that will not work in future versions of PHP
14:46 cooperbear but for now, this is the easiest fix :)
14:46 ironm cooperbear: I am getting some deprecated warnings in typo3conf
14:47 ironm I will check it .. to see if I have some further errors/warnings
14:48 cooperbear okay, you might need some other value if you have a different php version.. to get the correct number you can echo the constants in the comment via commandline php -r
14:48 ironm cooperbear: php 5.3.2-1
14:49 cooperbear ironm: it should be okay then
14:49 ironm merci :)
14:49 cooperbear np :)
14:51 cooperbear here's the complete setup I currently use for debugging / local dev: http://pastebin.com/csf5LajC
14:52 cooperbear if anyone has any enhancements, feel free to post :)
14:52 cooperbear the debug-vars print on screen btw
14:52 cooperbear you can set them to 1
14:52 ironm great cooperbear :) .. I have checked my setup: $TYPO3_CONF_VARS['SYS']['systemLog'] = 'file,/var/www/itinfra_comch/typo3conf/logfile;error_log'; // Modified or inserted by TYPO3 Install Tool.
14:53 ironm will check the rest now
14:57 cooperbear alright, well if u find anything else that might be interesting for debugging purposes then I hear gladly :) I need to go in a few, see you all later
14:59 ironm see you later cooperbear :)
14:59 cooperbear yeah you 2 ironm and Frimp098s - later!
15:12 Denyerec Right.
15:12 Denyerec My RTE has STRONG tags in
15:12 Denyerec My body content ends up with <b> tags.
15:12 Denyerec Any offers as to how or why that is happening and how to stop it ?
15:12 Frimp098s is it possible to create a breadcrumb menu leaving out hidden parent pages in the middle?
15:20 Denyerec When you build the menu I think you can supply a list of page IDs to hide
15:25 Denyerec GODVERDOMME
15:25 Denyerec BLoody Typo3 sometimes makes me want to scream.
15:25 Denyerec In my RTE, <b> is shown as <strong> just fine.
15:25 Denyerec But on the actual HTML OUTPUT, it renders as <b>
15:26 Denyerec ?!??!?!
15:26 Denyerec wtf
15:31 Frimp098s i'm too fresh on this, hardly know what RTE stnds for, sorry
15:35 Chili sup
15:35 Chili mm_forum sucks at configuring
15:36 Guest44205 i had it good for a lil bit yesterday... then i changed something in my template, and boom... no workie again
15:36 Guest44205 wait a min.. i'm as guest?
15:36 ironm yes
15:40 Denyerec 's ok Frimp098s
15:40 Denyerec Typo3 can sometimes make your blood boil
15:40 Nveid2 ya
15:40 Denyerec usually it's PEBCAK too, which is even worse ;)
15:40 Denyerec (Problem Existing Between Chair and Keyboard)
15:40 Denyerec biab... need a rest :)
15:40 Nveid2 i really don't understand why typo3 does somethings..
15:41 Nveid2 its almost as typo3 has a mind of its own
15:41 ironm *g* @ Denyerec ;)
15:43 ironm Nveid2: it sometimes difficult to follow what typo3 does .. but it is mostly NOT a typo3 issue ;)
15:43 Nveid2 any idea why ${plugin.tx_mmforum.pageTitleWrap} would show in my title?
15:43 ironm +is
15:43 Nveid2 the mm_forum isn't working on the page i added the plugin too.. and that is showing in the title of that page
15:44 ironm have you checked the mm_forum-manual Nveid2 ?
15:44 Nveid2 its almost as if.. the mm_forum static template is there.. but for some reason possibly... it won't actually apply the plugin to the page
15:44 Nveid2 i'm guessing
15:45 ironm see you later ;)
15:47 Frimp098s what are the 1.NO and 1.CUR exactly below TMENU? i cant find any documentation.
15:50 Nveid2 bleh
15:54 Nveid2 i need a typo3 genie
15:54 Nveid2 :(
16:13 nveid hey.. any possible freelancers in here willing to fix my typo3 site?
16:22 nveid No freelancers hanging out here?
16:24 pgampe nveid: ask on t.jobs
16:26 nveid t.jobs?
16:27 pgampe http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-jobs
16:29 nveid cool, thanx for the tip
16:32 Frimp098s i need some conditional hiding in my breadcrumbs tmenu. http://pastebin.com/6MtinZA1
16:32 Frimp098s i'm stuck
16:34 Frimp098s objective: i want pages that lie in the page path to be skipped over/not shown
16:35 Frimp098s in the pastebin snippet i replaces tzhe title field with the nav_hide field to see if this would work at all
16:45 nveid typo3 needs a forum..
16:47 nveid well.. seems there is one for germans, just none for us english speaking folks
16:48 nveid foudn typo3forum.net.. have to use google translate on it
16:56 ries nveid: what's the advantage of a forum?
17:12 nveid provides easily searchable information, with better categories & what not...
17:12 nveid organization is much better than a mailing list
17:12 nveid plus.. more people in general join forums, not mailing lists, cause they hate getting spam in their inbox
17:13 nveid i know thats me personally.. many mailing lists i join, sometimes i cancel out of them cause I hate my blackberry making noise 24/7
17:24 ries nveid: there is a news server
17:24 ries the problem (for me) with a forum is that it's hard to search in, everybody just created news threads with the same questions
17:25 ries so you are 'forced' to go to the forum all teh time to see if there is anything new
17:26 ries I am a active member of one forum, because that's a hobby (www.mechmate.com) but as a professional.. I would't go to forum.typo3.org to check if there is something I am interested in, or to answer questions
17:31 Frimp098s solved. http://pastebin.com/cPwdPFA5
17:31 nveid i usually find the best solutions to things in forums however
17:33 proserion hey friends, is there an extension, that shows who is logged in in typo3?
17:33 nveid search the extention repoistory?
17:34 proserion checking
17:34 Frimp098s aaargh. notInMenu=0 does the same. hour wasted. shit!
17:36 proserion well logged in resulted in nothing usefull. There are ext. that show frontend Users, but not BE users
17:37 nveid oh.. back end users... thats usually not shown in the front end
17:37 nveid but.. you can see that in the back end
17:37 nveid goto user admin -> List users online
17:40 proserion I ment the Backend, excuse me. That's the only way to show them? Cool would be something like a ticker or something like that
17:42 nveid i don't there is an extention for that... u can search the extention repoistory though
17:42 nveid i don't believe there is one even
17:42 proserion didn't find one
17:43 nveid on another note.. any mm_forum users in here? I'm having alot of trouble getting it working right
17:43 nveid it doesn't show on the frontend
17:43 nveid i had it working for a second, but then i change what template the page is working off of... and it disappeared
17:43 nveid i changed it back to the previous template as well.. no dice in bringing it back
17:50 ries proserion: I think Dmitry explains that in his book
18:04 nveid whats dmitries book ries?
18:12 ludbA hello, if anyone has experience with the extension rggooglemap, for some reason when trying to create a POI (inside a sysfolder container), I always get the error message: SQL error: 'Unknown column 'pid' in 'field list''. this is a standard, latest version, install so I can't figure out what's wrong nor am I really experienced with typo3
18:32 Denyerec hey ries
18:33 ries Hey Denyerec , long time no speak!
18:33 Denyerec No kiddin
18:34 Denyerec I finally got the energy to develop something outside of my contract, so kinda woke up again.
18:34 ries nveid: https://www.packtpub.com/typo3-extension-development/book
18:34 Denyerec That said, a text message I just received looks set to kill that energy.
18:34 ries Denyerec: good... tell me!
18:34 Denyerec just a website for a friend: www.cfaccessories.com
18:34 Denyerec Just trying to fix a weird UTF-8 problem :(
18:40 Denyerec Seems my RTE is determined to save to the DB at Western, not UTF8 :(
18:48 ries Denyerec: you did set the mysql client connection?
18:48 ries last week I hade something like that aswell
18:48 nveid cool.. think i'll order that ries..
18:48 Denyerec Hmmmmmng
18:48 Denyerec just checking the install tool now ries
18:48 nveid on another note.. decided to delete my whole typo3 website & try again.. maybe something i did along the way screwed up my typo3 site
18:49 ries Checking for SET DB init (or something like that)
18:49 nveid consider i'm not too far into it.. figure ain't too bad of an idea
18:49 ries nveid: I did that to when I started with T3
18:49 nveid i first started T3.. back in 03.. but haven't messed with it in 3 years now
18:51 Denyerec You hack working with T3 these days ries?
18:51 Denyerec *back
18:54 ries Denyerec: it's a bit of everything still
18:54 Denyerec Any python ?
18:54 ries I had to make a import tool for a company that loads products from Microsoft AX into TYPO3
18:54 Denyerec Ooof.
18:55 ries The tool to do that was build in Flex
18:55 Denyerec Into Commerce or something?
18:55 ries I couldn't imagine doing that in javacrap
18:55 Denyerec hehehe
18:55 ries no, into it's own tables...
18:55 ries I was thinking of doing it in commerce, but that would just overcomplex things
18:55 Denyerec Flex certarinly looks good for places where huge amounts of javacrap would just be a pure headache
18:55 ries later this month I hope to get the job that displays the products
20:33 jackyD91 anybody know any good examples of typo3 sites? i heard airbus was using typo3 framework for part of their site, and this is one of the best i've seen so far, it's a shopping http://www.superstoresearch.com/ price comparison site.
20:40 exs hi
20:41 exs i want to create a textmenu which shall the structure of a text menu
20:46 Frimp098s how do i debug logins?
20:47 Frimp098s i mean fe-user logins
20:47 SargoDarya jackyD91: What example sites are you searching for?
20:48 SargoDarya oh, he left already..
21:01 pgampe Frimp098s: use a log extension
21:04 Frimp098s any recommendation?
21:22 HardPhuck hey
21:30 Frimp098s strange. i have set up the login page. users sysfolder and stuff. when i login i get an error, but no logs, no traces
21:31 Frimp098s i suspect i have the wrong login target, but the target should be the page with the restricted access, or?
21:40 pgampe1 Frimp098s: login target?
21:40 Frimp098s ... the Access tab in the backend is only relevant for backend users, or?
21:40 Frimp098s pgampe1: set to my root members page
21:40 Frimp098s (short cut to members index)
21:41 pgampe1 access tab is for FE-user access
21:41 Frimp098s sorry, i meant the access link below info top left in backend
21:42 pgampe1 yes, this is for BE user only
21:43 Frimp098s ive installed devlog and left default settings on
21:43 Frimp098s now when i login i get the error message for invalid login, but no trace that there was an unsuccessful try
21:44 pgampe1 maybe wrong user/pass?
21:44 pgampe1 what typo3 version?
21:44 Frimp098s 4.3.3.
21:44 Frimp098s yes, sure, but why no logging?
21:45 pgampe1 I'll test, wait a minute
21:46 ries Frimp098s: what's the problem?
21:46 Frimp098s thank you :)
21:46 ries Ahh I did read back ... nm
21:48 Denyerec ROARRRRRRRRRRRR
21:49 Denyerec Ries - rather embarrassingly I hadn't set forceBEcharset... ¬_¬
21:50 Frimp098s ries, typo3 is dead silent about my fe user login attempts
21:51 Denyerec If you're really quiet, perhaps?
21:51 ries Denyerec: On teh windows machine I was working on, they also had set BE charset, yet one table (sys_languages) still had a entry in a windows-XXXX entry in there
21:51 Denyerec Hmm.
21:51 pgampe1 what did you set for starting point in your login form?
21:51 Denyerec So you forced it with a pre-connect DB param?
21:51 Frimp098s good question
21:51 Frimp098s sec
21:51 ries Frimp098s: ususally the issue is that the login plugin doesn't know where to find teh FE users
21:52 Frimp098s pgampe1: my Members Area Root page
21:52 Frimp098s ries: i've set the resouce page to the sysfolder
21:52 ries Denyerec: No, it wasn't my system, the plugin I was working on needed to get data for that table so I forced it to a other charset then the rest so that teh data showed up correctly
21:52 pgampe1 ic,
21:53 Denyerec Ah ok
21:53 ries Frimp098s: if I am not mistaken, you need to set it for the plugin to
21:53 pgampe1 Frimp098s: set it to your fe user record storage folder
21:54 pgampe1 starting point refers to where to search for fe-user records
21:54 Frimp098s ries: "General Record Storage page" -> my Sysfolder
21:54 Frimp098s aaaah ok
21:55 Frimp098s confusing caption then
21:55 pgampe1 Frimp098s: put your fe.user root page in redirect options on successful redirect
21:55 Frimp098s oh joy, it was the wrong "Starting Point"
21:56 pgampe ;)
21:56 Frimp098s so it works, strange that typo3 doesnt bother to coplain about the attempts
21:57 pgampe it was no error ... the fe-user did not match one of the found (zero) fe-users
21:57 ries Frimp098s: TYPO3 can't really complain, I wonder though if it does output something to a log...
21:57 ries it could for example log somewhere 'user XXX not found in storage folder XXX., something like that....
21:57 pgampe ries: can't because it would trigger a log for each wrong login attemp
21:58 pgampe this would spam log very fast
21:58 ries pgampe: that's what logs are for...
21:58 ries and log s levels
21:59 Frimp098s ries, i cant agree more
21:59 Frimp098s would have saved me siome time
21:59 pgampe true
22:00 pgampe I was just thinking about high traffic sites ...
22:02 Frimp098s they could use log levels too...
22:02 Frimp098s what is the best approach to form managementin typo3?
22:03 Frimp098s is there a comprehensive form managing, field editing extension available?
22:03 ries pgampe: in the case of high traffic sites, then you would still have a huge anouth of logins before it comes a problem
22:03 ries and you can always log to syslog if the system would be really fancy
22:06 Frimp098s oops, sorry, fr
22:06 Frimp098s formhanlder
22:06 Frimp098s just steen
22:10 Denyerec Anyone know how I generate a preview link to a draft workspace page ?
22:12 Frimp098s hmm, i cant seem to get rid of the email config for that form... what is the best approach to deal with these forms locally, i am used to form processing, just dont know how to sort this out using typo3
22:29 Frimp098s what is the best approach to create a datab table in typo3?
22:29 Frimp098s i need to store requests there
22:30 Frimp098s must i create an extension for that?
23:08 pgampe Frimp098s: best way is to create an extension using the kickstarter
23:20 Frimp098s http://typo3.org/documentation/document-library/extension-manuals/formhandler/0.9.4/view/1/5/
23:20 Frimp098s mentions a finisherdb
23:20 Frimp098s i cant find the extension
23:22 Frimp098s oops forget it
23:22 Frimp098s google told me
23:24 pgampe :)
23:27 Denyerec *phew*
23:27 Denyerec http://www.cfaccessories.com/
23:27 Denyerec Done for the night.
23:30 pgampe :) looks good

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.