Search the website and IRC logs

#TYPO3 IRC log from : Wednesday 9 December 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
08:38 PiMB hi all
08:49 BenjaminS yo PiMP
09:09 BejjWrk morning
09:34 xaver Good morning
09:34 xaver i use page.10.marks.UNTERMENU.stdWrap.ifEmpty.cObject = HMENU
09:34 xaver page.10.marks.UNTERMENU.stdWrap.ifEmpty.cObject < page.10.marks.NEWS
09:34 menak hi
09:34 xaver it run perfect now i need the same if empty for a other object
09:34 xaver for the title
09:35 menak How can I disable clickmenu entries for the whole site or per user group?
09:40 menak or isn't that possible?
09:41 FloLeBlanc hi all
09:42 menak hi
09:42 FloLeBlanc does anyone know a good fe_user management tool? (extension?)
09:42 FloLeBlanc the list view just can't filter by groups or precheck boxes on new records (or I'm too stupid to do it with pageTS - I only managed to disable fields)
09:43 menak you can sort by groups
09:43 menak no, sorry, never needed such a tool
09:43 FloLeBlanc menak: yes I can sort, but if I have a usergroup "in the middle" I have to click through pages until I find the group I need
09:49 menak yes, true. there is a proposal for a new list module with filters, but AFAIK no work has been done so far
09:49 FloLeBlanc *sigh*
09:49 FloLeBlanc *searching for an extended list view in extensions*
09:51 Prot0 morning
09:54 xaver hi Prot0 ;)
09:54 FloLeBlanc hi Prot0
09:56 xaver anyone a idear http://nopaste.chaoz-irc.net/f6b7b3a432.html ?
09:58 FloLeBlanc xaver: do I get this right that you want to show a submenu entry only if there is a mainmenu entry for it?
09:59 xaver no that run already
09:59 FloLeBlanc hmm ok
09:59 xaver i want a submenu titel (title from the main menu) if the hemu not empty -> else in NEWS is already a title
10:00 xaver <h1> tag with the undermenutitle -> i tried a lot of things
10:00 FloLeBlanc perhaps with a query?
10:00 xaver FloLeBlanc: can you give me an example
10:01 FloLeBlanc I'll try to find one :)
10:01 FloLeBlanc ah I guess it's even easier
10:01 xaver i search maybe 30 min in google and tried nearly everything i found... maybe i search with the keywords
10:02 FloLeBlanc have you tried [nameofthehmenu=*] that whathappensthen [global]
10:02 FloLeBlanc I'll post you my username example
10:04 FloLeBlanc xaver: http://www.phlogi.net/f/t3/tsp/sp/-231a818547/
10:04 FloLeBlanc that is a condition that either shows the username if logged in or an alternative text if the user is not logged in
10:06 FloLeBlanc should work for your hmenu too
10:12 xaver http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/4/1/#id3526749
10:12 xaver i found nothing
10:26 Jippi How do I log stuff to the Admin tools => log table ?
10:27 Prot0 Check anywhere in the core yet?
10:28 Jippi hmm?
10:28 Jippi I have tried both t3lib_div::devLog and sysLog methods - none of them seems to do the trick
10:35 SargoDarya Do you have set a log file?
10:36 SargoDarya Btw. the Admin Tools log is only for changes and user log in and out
10:48 unbob1 Hey, I have version 4.3 and I'm trying to create an extension with the kickstarter, but it generates code with a lot of errors. Mainly arrays not opened/closed correctly(in ext_tables.php and tca.php). Have any of you heard about this before?
10:57 SargoDarya unbob1: pastebin please with error message
10:59 unbob1 ok, this is an example of the tca.php it produces
10:59 unbob1 http://pastebin.com/m10a3c6a2
11:00 unbob1 as you can see it works fine until the hidden-field
11:01 unbob1 all fields after that get no key->value array opening
11:01 unbob1 it starts directly on the 'exclude' => 1,
11:02 unbob1 it should have been:
11:02 unbob1 'name' => array (
11:02 unbob1 'exclude' => 1,
11:09 marcuslind In tt_news when pressing the "Read more" button to go to the SINGLE view I get a ugly URL. It's http://mysite/blogg-entry.html?tx_tt_news[backPid]=37&cHash=ee5008278vf893klg. How do I remove that ugly URL and make it more SEO friendly? I'm using realURL atm, works fine with all pages except this "Read more" button.
11:09 PiMB cHash is added because there are variables in the url
11:09 PiMB so get rid of those and the chash will dissappear
11:09 PiMB you could do that by adding backPid to your realurl conf array
11:10 PiMB or by disabling the backPid alltogether in tt_news (there is a constants for this I believe)
11:10 marcuslind But what's backPid for? I mean if it's there for a reason what happens if I disable it?
11:11 PiMB to be honest..
11:12 PiMB I never use it, so don't really now :)
11:12 PiMB maybe to generate some links back to where you came from, but I just use the 'back to list' functionality
11:12 many_ backpid is either for the <<<Back Link
11:12 marcuslind OK so you always disable it by the constant in the EXT manager?
11:12 many_ or the PID of the current news page
11:12 many_ im not quite sure
11:12 PiMB might be usefull if you have several pages with listings, to redirect back to the proper location
11:13 PiMB I always disable it true.
11:13 Provito the cHash change in 4.3 caught me out with realurl, spent a while working out why the cHash's were not matching
11:14 Provito if you upgrade typo3 to 4.3, always upgrade RealUrl as well
11:15 marcuslind Provito: So with the latest realURL it hides the cHash string in the end?
11:15 marcuslind I dont mind using it, I just want to hide it because of SEO reasons.
11:15 Provito no the cHash string has been extended in 4.3 to full md5 length, the old realUrl uses the previous shortned cHash
11:16 Provito the cHash if you use realurl postVarSets the cHash will be hidden
11:17 unbob1 I found a solution to my problem with the kickstartert, if anybody is interested. I had to replace all ereg and split function calls with preg and preg_split. I'm not really sure why that made a difference, because the old functions should still have worked, right? But anyway, I'm satisfied
11:17 marcuslind I hate realURL configuration. Took a torn on me the first time but I'll try to do it again then with the postVarSets
11:17 Provito by looking at the realurl tt_news config you can change this for your own extensions clean urls without a cHash but the cHash is still passed via realUrl to provide unique aliases
11:21 marcuslind So for the postVarSets => array(). What should I set to hide the cHash?
11:25 Provito have a look at the tt_news and realurl config, once it matches and you have useUniqueCache enabled it will be hidden
11:25 Provito so you will get clean urls without parameters or the cHash
11:28 FloLeBlanc anyone using the "SQL Frontend" extension?
11:39 marcuslind Anyone recognize the following bug? My client got a login for employees with some restricted sites. Now when I log in and press any restricted site I get redirected to the index page. If I log out it initially say that I have logged out but I can still see the restricted sites and when I go back to the "Log out" it says that I'm still logged in. Everything is just SUPER weird and I just wonder if anyone recognize these bugs? Just throw me into the
11:40 marcuslind I successfully got into 1 restricted page once but all tries after that one got redirected to the first indexpage.
11:40 marcuslind :S
11:40 PiMB all browsers? because I've seen some weird stuff with IE 8
11:43 marcuslind Im using FF
11:44 marcuslind And when I'm on the "Login page" i cant see the restricted pages. But when I go back to the Index page I can see them. But I have to click on it twice for them to appear
11:44 marcuslind it's just WEIRD
11:44 marcuslind To appear in the menu
11:45 PiMB caching?
11:46 marcuslind I've cleared it
11:46 marcuslind and cleared the browser
11:46 marcuslind rebooted the browser too
11:46 marcuslind and I cant logout either as I said in a previous message. When I press "logout" it tells me that I have but I'm still logged in. I have to clear my cookies to actually logout from the site.
11:47 marcuslind We havent touched this site at all. I don't know if the client has done anything (they only have editor access).
11:48 marcuslind We created a plugin a few weeks ago for them that we implemented on the intranet. Everything has worked fine
11:48 marcuslind for weeks
11:48 marcuslind I dont understand why suddently the menu stops working? :S
11:50 SargoDarya marcuslind: server provider changed some software?
11:50 marcuslind SargoDarya: I don't know. Could that change the way the restricted sites work?
11:51 marcuslind They havent told us about any updates.
11:52 marcuslind I uninstalled the extension that we created (that worked fine for weeks). Still the same problem. That should hint that it's not about the extension right?
11:55 PiMB you sure only the extension has changed?
11:55 PiMB nothing with new T3 versions?
11:55 marcuslind It's not updated to the latest T3 version
11:55 marcuslind It's running on 4.2.10
11:56 PiMB when did it occur
11:56 PiMB ?
11:56 marcuslind I just found out.
11:56 marcuslind Last time I checked the site was last week
11:56 PiMB check the log for any irregularities
11:56 marcuslind and then it was fine.
11:56 PiMB on all users
12:00 marcuslind According to the log I installed the extension 23-11-09. From that til now there has only been tt_content updates.
12:03 PiMB then it has nothing to do with TYPO3
12:04 PiMB did you try different browsers, and maybe even other pc
12:04 PiMB ?
12:06 marcuslind PiMB: I found the problem and I've fixed it for now. I deleted the page where we've inserted the extension. Everything worked fine. Now I reinstalled the extension and I recreated the page where it was inserted. IT works now
12:06 marcuslind but...
12:07 marcuslind This is exactly how it was the last weeks. It has been working all the time so far but one day (today) everything just got fucked up.
12:07 marcuslind Dont want that to happen again, what could be the reason?
12:07 marcuslind Ofc it's hard for you to say but have ANY idea what would screw it up like that?
12:08 marcuslind Plugin installed and published = OK, WORKS FINE! But after a few weeks it just crash the whole intranet system.
12:10 PiMB some table that got filled or something?
12:13 marcuslind I never removed the tables or the databases when reinstalling the plugin
12:14 marcuslind It's the same DB
12:14 marcuslind and now it's working.
12:14 marcuslind ><'
12:29 Denjerek Anyone here used to working with PHP PDO ?
12:30 Provito Denjerek, what's the problem?
12:42 Denjerek Lo Provito
12:42 Denjerek I think I may have figured it out... I'm just getting started with the whole thing, so it's been a bit confusing.
12:42 menak How can I disable clickmenu entries for the whole site or per user group?
12:42 Denjerek My main confusion surrounds the use of try...catch
12:43 Denjerek as I'm just not sure how much to do in the catch block, should an error occur
12:43 Denjerek I suppose cleaning up and setting flags should be about it
12:50 Denjerek Thing is Provito, I am calling a function "GetRow" which , as you can expect, gets a row from the DB
12:50 Denjerek Now, if it can't find a row, it returns false.
12:50 Denjerek Fair enough, I thought.
12:50 Denjerek However, if the DB connection fails or the query is malformed, it'll hit the catch{} block
12:50 Denjerek if I return false, my calling function won't know it was an error
12:51 Denjerek But then... should it care? It didn't get its result back.
12:51 Denjerek So should I store the $e->getCode() somewhere in the catch{} and just return false?
12:51 Denjerek Then I can show the error message/code in debug if necessary?
12:54 Denjerek Also... why would something inside a try{} block cause a fatal error and stop the script, if there's a matching catch{}
12:54 Denjerek or do fatal errors stop you regardless?
12:55 Denjerek Here's the code:
12:55 Denjerek http://pastebin.com/m29f5fb67
13:02 SargoDarya Denjerek: There are 2 types of fatal errors
13:03 SargoDarya Standard fatal errors and catchable fatal errors
13:34 Denjerek I'm guessing this one was standard :)
13:34 Denjerek It's OK as I've started using PDO::prepare() which returns false if the query is malformed
16:02 PiMB hi all, got a strange problem.
16:02 PiMB Directmail has no subject and no <from name> just the from email.
16:02 PiMB body is fine. (except that markers are not rendered)
16:03 PiMB and I think it's a server issue.
16:03 PiMB anybody any idea?
16:05 SargoDarya PiMB, how's your configuration
16:08 PiMB sorry for not telling.
16:08 PiMB but config for the Dmail is ofc all filled with correct data.
16:08 PiMB headers of the mail are not set tot he proper value.
16:10 xaver i like to set a link with pi_linkToPage in a file witch only request with ajax direct
16:10 mcoca1 Hello
16:10 xaver $cObj = t3lib_div::makeInstance('tslib_cObj'); $feUserObj = tslib_eidtools::initFeUser(); .... already in the script
16:11 mcoca1 I have a sorting content element problem with templa voila
16:11 xaver witch function need i for pi_linkToPage
16:11 mcoca1 I need to order the menu "pagecontent w/Index checked
16:11 mcoca1 - liststyle", I want to see in order to appear in the page module, but
16:11 mcoca1 it show in order to appear in list module, any ideas?
16:12 PiMB SargoDarya, it seems like something is wrong with the charset
16:16 marcuslind How do I set the number of words to be displayed before the "Read more" in the "LATEST" part of tt_news?
16:16 marcuslind Atm it's 1 line then "..."
16:17 Prot0 its not a number of words
16:17 Prot0 its a number of characters
16:17 marcuslind OK, where do I set it?
16:19 Prot0 plugin.tt_news.displayList.subheader_stdWrap.crop =
16:19 Prot0 ts setup
16:19 marcuslind OK thanks
16:19 marcuslind What is the default? You know that?
16:19 Prot0 230 | ... | 1
16:19 Prot0 look inside typoscript object browser
16:23 erank I use a flexform in a extbase extension, but how do I access the values of the flexform???
16:24 marcuslind Prot0: Thanks for the help.
16:28 Prot0 np
16:31 SargoDarya I have a problem regarding an external internal link
16:31 SargoDarya My customer wants to link to a news
16:31 SargoDarya so I told him he should write index.php?id...... as external url but this doesn't work
16:32 SargoDarya it say http://index.php now.
16:32 dokma hi guys!
16:32 dokma anyone seen an extension that can display a page in lightbox instead of a full page load?
16:32 Prot0 lol
16:33 Prot0 SargoDarya: there is an ext that allows you to link to records, like tt_news
16:33 dokma I don't think there is a need to load for example my contact/legal/login pages in a full page load
16:34 Prot0 dokma: No, but shouldnt be to hard since most of the lightboxes/shadowboxes etc just use the rel="" attribute to open a lightbox
16:34 SargoDarya What is it called?
16:34 dokma Prot0: ahhh... I didn't know that one
16:34 dokma I guess I should be able to do it easily then
16:35 dokma Prot0: I assume that if lightbox is not available then the page operates normally?
16:35 dokma or if javascript is not on
16:35 Prot0 you should use one that supports this option
16:35 Prot0 got no clue which one that would be hehe
16:35 Prot0 rarely use them but know that its possible
16:36 PiMB SargoDarya ch_rterecords or something
16:36 Prot0 (was still looking that up :P)
16:39 PiMB still no luck on the charset of my directmail thing
16:40 SargoDarya nothing
16:41 SargoDarya found it
16:44 SargoDarya doesn't work. Broken like fallen glass
16:45 Prot0 did you configure it?
16:45 SargoDarya There wasn't any configuration
16:45 SargoDarya ouh... ts config...
16:46 Prot0 ;]
16:47 SargoDarya why is it so complicated -.-
16:48 Prot0 hehe
16:48 Prot0 good luck
16:48 Prot0 ;]
16:49 PiMB it's not complicated, just need to know the trick to it
16:49 SargoDarya screw that... it must be possible to just put it as external url
17:07 PiMB \quit
17:07 erank anyone around who has build an extbase extension
17:07 erank ?
18:26 Golgata how comes indexed search indexes lots of pages which later can't be found?
18:43 Lind--- Hello guys. Do anyone have the slightest idea on how to reset the fe_users table? I installed the fe user registration extension but now I decided to create my own instead.
18:43 Lind--- and ofc I want the default fe_users table to work with.
19:26 phil1 remove any ext
19:26 phil1 you used
19:26 phil1 the use install tool and compare
19:34 Lind--- phil1 Compare with the TCA?
19:36 Lind--- If i'm on the "Compare" tab I dont see anything about fe_users. When I press "Write to Database" and then go into phpMyAdmin to check if it's been updated nothing has happend
19:52 phil1 Lind---: you can try to set up a fresh instance and compare both tables ...
19:52 phil1 Lind---: meant "compare"
20:45 erank how do I get flexform values within a extbase plugin?
21:06 kraftb t3lib_div::xml2array ...
21:06 kraftb but what does it have to do with extbase ? ;)
21:32 erank kraftb: allready found it ;-) you don't have to load it anymore, but you just have to make the xml right ;-)
21:32 erank couldn't find how to access the data, or even retrieve it from the cObj :D
21:33 kraftb hmm ... yes. probably it is stored in $this->cObj->data['pi_flexform'] already as an arrays
21:33 erank yeah, it is
21:33 kraftb but anyways: the xml2array array2xml methods of t3lib_div are for converting between both representations
21:34 erank but I had to name my field something like 'settings.key' to get the value in my $settings array
21:34 erank without xml2array
21:39 uoziod Hi. Anybody know this problem - Parse error: syntax error, unexpected T_STRING in /www/typo/typo3/sysext/cms/tslib/index_ts.php on line 344
21:39 uoziod ?
21:39 uoziod just upload Typo3 4.3 on server and ... this
21:42 uoziod knock...
21:47 erank line 344 is adminpanel... did you unpack the source on the server? and did you try to upload it again?
21:51 uoziod tried many times. unpacked source+dummy on server
21:56 erank and if you edit (in vi for example) the file, what does line 344 say???
22:13 kraftb did you ever notice FLOW becomes WOLF if you read it from backward ...
22:13 kraftb E-WOLF ;)
22:13 kraftb or ¬-WOLF .. or Epsilon-WOLF
22:13 kraftb depends on who you read it ;)
22:17 phil1 lol :D
23:45 Golgata hi guys! hope there's help - indexed_search indexes all pages (as i can see in the info), but when searching in the fe, it finds results only in a limited depth... someone can tell me how in the fe, i can search in "unlimited tree depth"?
23:59 nhaskins I'm trying to set up a login form, and restrict certain page elements to certain usergroups. I page where I've placed a login form and an element restricted to the admin group.
23:59 nhaskins I can login with the form, and it displays that I'm logged in, and shows me a logout button, but I can't see the restricted access element.
23:59 nhaskins Even if anybody knows where I could find appropriate documentation that would be awesome (yes I've looked)

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.