Search the website and IRC logs

#TYPO3 IRC log from : Thursday 16 October 2008

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:58 nhaskins I'm getting some weird behavior from realurl
01:58 nhaskins I got my setup from http://typo3bloke.net/post-details/realurl_made_easy_part_2/
01:58 nhaskins Code follows
01:58 nhaskins $tx_realurl_config = array(
01:58 nhaskins 'init' => array(
01:58 nhaskins 'enableCHashCache' => true,
01:58 nhaskins 'appendMissingSlash' => 'ifNotFile',
01:58 nhaskins 'enableUrlDecodeCache' => true,
01:58 nhaskins 'enableUrlEncodeCache' => true,
01:58 nhaskins ),
01:58 nhaskins 'preVars' => array(
01:58 nhaskins ),
01:58 nhaskins 'postVarSets' => array(
01:58 nhaskins '_DEFAULT' => array(
01:58 nhaskins ),
01:58 nhaskins ),
01:58 nhaskins 'pagePath' => array(
01:58 nhaskins 'type' => 'user',
01:58 nhaskins 'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
01:58 nhaskins 'spaceCharacter' => '_',
01:58 nhaskins 'languageGetVar' => 'L',
01:58 nhaskins 'expireDays' => 3,
01:58 nhaskins ),
01:58 nhaskins 'fileName' => array (
01:58 nhaskins 'defaultToHTMLsuffixOnPrev' => 1,
01:58 nhaskins ),
01:58 nhaskins );
01:58 nhaskins $TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
01:58 nhaskins 'oasisoflove.ca' => $tx_realurl_config,
01:58 nhaskins 'www.oasisoflove.ca' => 'oasisoflove.ca',
01:59 nhaskins 'evertonweekes.org' => $tx_realurl_config,
01:59 nhaskins 'www.evertonweekes.org' => 'evertonweekes.org',
01:59 nhaskins );
01:59 nhaskins $TYPO3_CONF_VARS['EXTCONF']['realurl']['oasisoflove.ca']['pagePath']['rootpage_id'] = 1;
01:59 nhaskins $TYPO3_CONF_VARS['EXTCONF']['realurl']['evertonweekes.org']['pagePath']['rootpage_id'] = 12;
01:59 nhaskins unset($tx_realurl_config);
01:59 nhaskins You'll see I have 2 sites, oasisoflove.ca and evertonweekes.org.
01:59 nhaskins When I access oasisoflove.ca or www.oasisoflove.ca it works fine.
01:59 nhaskins When I access evertonweekes.org it works fine, but when I access www.evertonweekes.org I get redirected to www.evertonweekes.org/evertonweekes.org and I get an error "Reason: Segment "evertonweekes.org" was not a keyword for a postVarSet as expected!"
01:59 nhaskins I can't see what is any different.
01:59 nhaskins Only thing is I had forgot to set the line $TYPO3_CONF_VARS['EXTCONF']['realurl']['evertonweekes.org']['pagePath']['rootpage_id'] = 12;
01:59 nhaskins and that was causing me to get just a blank page instead of the error message.
01:59 nhaskins thanks
02:01 nkuttler nhaskins: you could put a redirect inside a vhost that catches the unwanted domain. just a thought.
02:04 nhaskins nkuttler: I'm sorry, I don't understand how that would work
02:13 nhaskins sorry, I looked up vhost and wikipedia gave me "vhost (IRC)" so I was confused.
02:13 nhaskins You're just suggesting I set up a redirect on my web host for www.evertonweekes.org to evertonweekes.org right?
02:14 nhaskins I'll try that now
02:16 nhaskins OK, my webhost doesn't seem to have the capability to redirect from www. to without www.
02:59 nhaskins I called my webhost and they think it's a server error.
02:59 nhaskins G'night
06:02 srixmk /quit
06:10 d|g hi all
08:40 just2b good morning people!
09:25 nd__ Aloha...
09:55 NMB anybody knows the solution for this http://bugs.typo3.org/view.php?id=9544
09:55 NMB as i am also encountering the same issue
09:56 NMB suddenly all was queries are not running any more
09:56 NMB Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /site/t3lib/class.t3lib_db.php
09:56 NMB these kind of errors are appearing evertwhere
09:56 NMB i didnt change anything in the db and not even in the queries
09:56 NMB i m running typo3 4.1
09:57 NMB on php 5.2.5
09:57 NMB does anybody have a solution for that?
10:02 nd__ hmm, we had that too on some systems
10:03 nd__ but I'm afraid I have no solution
10:04 NMB :(
10:04 NMB it just seems to be araised out of now where
10:05 nd__ Yes... same on one or two test-systems of ours...
10:06 NMB have u tried to figure it out why it happens?
10:06 NMB is it because of mysql, php version ?
10:06 nd__ At least on our sys none of these things changed
10:06 nd__ Did you install any ext lately?
10:06 NMB hmm no not really
10:07 nd__ you sure? :)
10:07 NMB i have just made some couple of my own extensions
10:07 NMB but these were working fine
10:08 NMB until just now
10:08 nd__ well, maybe somebody else has a clue... I dont
10:09 NMB thanks anyway
10:09 nd__ welcome
10:09 nd__ though Id like to get the solution if you get it
10:09 nd__ :)
10:12 NMB http://typo3.toaster-schwerin.de/typo3_english/2008_01/msg00094.html
10:12 NMB nd__: have u tried that?
10:12 nd__ No, did not
10:43 NMB nd__: i have fixed that issue
10:43 NMB have u tried running the compare wizard in the install tool
10:45 Woody4u hi
11:11 m4rtijn hi all
12:02 m4rtijn zzzzZZ
12:07 m4rtijn I think its possible in tt_news to only show the "more" link if the text is long enough.. does anybody know how?
12:07 m4rtijn ah, its in the manual :)
12:10 m4rtijn hmm
12:15 m4rtijn i feel kinda lonely here.. :p
12:21 pmk65 m4rtijn: A simpler approach to your "more" link question, can be found in the Snippets lib -> http://snippets.typo3.org/snippets/c/80/?L=1%2Fe&cHash=127ce10c60
12:25 m4rtijn thx pmk65
12:50 lnd i intend to make a download page for download document and software, it seem like download.com but more simple, also include top download, analytics
12:50 lnd what extension should i use?
12:50 lnd can i do that in typo3
12:51 lnd please help me, guys
12:51 m4rtijn did u browse the ext. rep?
12:51 lnd yes
12:52 lnd there are many , i don't know to choose what
12:52 m4rtijn just try the one with the most downloads
13:01 lnd have you tried any of them?
13:01 lnd i research what the extension can do to design suitable layout?
13:06 fred^^ is it possible to add the page title of the menu elements in a HMENU to the class name of the link?
13:07 fred^^ so <li><a href="home">Home</a></li> becomes <li><a href="home" class="home">Home</a></li>
13:10 m4rtijn fred^^ should be possible..
13:10 m4rtijn with field:title
13:17 Woody4u hi, i have a short question about extension development
13:17 Woody4u i have created a smal extension for adding addresses
13:18 Woody4u now i want to add georeferences latitude/longitude
13:18 Woody4u kan i add georeferencing via google maps in the backend formular?
13:19 Woody4u i have some fields for postalcode, strett city and want do some georeferencing with this data to lat and long
13:19 Woody4u at the moment i just do this via maps.google.com
13:19 m4rtijn Woody4u - there are some extensions for typo3 with google maps stuff..
13:19 Woody4u i know
13:19 m4rtijn U could check them out.. and implement the feature u like
13:20 Woody4u but i dont know how to integrate this extension in my own extension
13:22 m4rtijn just use the code..
13:22 m4rtijn check out the source
13:24 m4rtijn .. or do it the other way around.. take their extension and implement your code
13:24 m4rtijn or.. just use an extension and fill out the stuff manually
13:25 MyGoddess hello
13:25 m4rtijn hi YourGoddess
13:31 pmk65 Woody4u: Take a look at Georg Ringer's rggooglemaps ext. I think you can set it up to use custom tables instead of tt_address/fe_users.
13:31 pmk65 http://www.rggooglemap.com/dev/rgsimplegooglemaps.html
13:36 Woody4u pmk65: i know, but i must point the points on a map via mouse
13:36 Woody4u i want to georeference streetnames+cities
13:36 Woody4u this is posibill with google maps
13:37 Woody4u but i dont know how to ad a button or something to the backend add item formular
13:39 pmk65 Woody4u: that's why I reccomended you to use rggooglemaps. Once a address is created , it does an automatic lookup on the streetaddress etc.
13:39 pmk65 you can also point/click on the map to set locations manually.
13:39 fred^^ did anyone get my message earlier? i pinged out or something
13:44 fred^^ is it possible to add the page title of the menu elements in a HMENU to the class name of the link? so <li><a href="home">Home</a></li> becomes <li><a href="home" class="home">Home</a></li>
13:44 fred^^ i tried {page:title} and {title} without any luck
13:45 pmk65 fred^^: Try: allWrap.dataWrap = <li class="{field:title}">|</li>
13:49 m4rtijn thats what I said..
13:51 m4rtijn you should read the answers if u ask smth fred^^ :pp
13:59 fred^^ it did not process it - in the source its output as plaintext, pmk65
14:09 m4rtijn fred - check the object browser if its there also
14:11 pmk65 fred^^: using the title as classname might give you problems in many cases. (like when the title is made up of more than one word.) A better solution would be to make a classname based on the UID of the page.
14:12 pmk65 And that is also much easier, as you can use the "subst_elementUid" property for that.
14:15 idevelop hi guys
14:15 idevelop can anyone help me get sr_feuserregister to use md5 ?
14:15 idevelop i can't get it to work :(
14:16 idevelop all the passwords in fe_users table are plaintext
14:16 idevelop (not to mention there's some strange shit happening there, there are multiple users with same username)
14:17 idevelop please? :(
14:18 just2b hi peter, are you there`?`
14:18 fred^^ http://paste.phlogi.net/-22d7703f51/
14:18 fred^^ this doesnt process either
14:19 fred^^ oh, major lag
14:24 fred^^ pmk65: Thats a good advice, but at the same time, using IDs for styling is not as practical, and you have to look up the page id if you want to add a style for that page
14:24 fred^^ What about using the title, but replacing the space with hyphens?
14:24 fred^^ like page_title
14:24 fred^^ Without having thought about it too much, that seems like a even better solution that IDs
14:25 fred^^ Except for the part where I didnt get the title to insert
14:25 pmk65 then you'll have to write a userfunc I think, as it's nut just spaces you'll have to filter out.
14:25 fred^^ Yeah, thats tru
14:25 fred^^ Hmm, Ill use ID for now
14:30 Denyerec hey PMK
14:30 Denyerec lo chaps
14:31 Denyerec busy day in here it seems
14:32 m4rtijn hi deny
14:34 fred^^ Problem is that I can not get it to process it
14:34 fred^^ http://paste.phlogi.net/-fc9e978dcd/
14:34 fred^^ Theres my menu code. It outputs it as <li id="side_{elementUid}"><a href="forside/slicing/">Slicing</a></li>
14:35 fred^^ Are anyone else experiencing the lag?
14:35 idevelop oh shit
14:36 idevelop don't tell me the "forgot password" only works by actually sending your password by email
14:36 idevelop in clear text
14:38 fred^^ maybe
14:42 lilalinux How do I create a link to a dynamically created image? i.e. I know how to create an image with cObj->IMAGE(), but how do I create a link for 'standalone use' on a different site?
14:44 idevelop ok, i got the md5 passwords to work, in a way, but there's still one thing missing
14:44 idevelop when i login and try to change my password
14:44 idevelop it saves it in cleartext
14:44 idevelop in the db
14:48 idevelop apparently the js doesn't get inserted into the header
14:49 idevelop the one that changes the password upon submittion
14:52 fred^^ is it possible to use conditions to check if there in a TT_NEWS list is more than two elements, and if there are: add a spacer html after each following set of two
15:02 m4rtijn fred^^ - maybe u could use wrap with optionsplit on the records..
15:11 maholtz|WORK hi
15:18 m4rtijn hi maholtz
15:19 maholtz|WORK hey m4rtijn:)
15:21 m4rtijn sup buddy
15:22 m4rtijn I think I'll go on a killing spree soon.. visit some customers.. :p
15:22 lilalinux How can I instantiate a cObj? $this->cObj is not available is not available and I need it only for image resizing
15:22 m4rtijn somehow the weather change in germany doesnt do them good..
15:23 m4rtijn http://www.urbandictionary.com/define.php?term=killing+spree
15:23 m4rtijn i dont think leo knows that
15:23 maholtz|WORK yep, leo knows that:)
15:23 m4rtijn rly? :) fun
15:30 idevelop HAH
15:30 idevelop i did it
15:30 idevelop had to edit the feuser_register plugin
15:30 idevelop but i did it
15:30 idevelop i can has md5 passwords in db now
15:30 idevelop kthxbye
15:31 idevelop anyway, what kind of half-assed programmer chooses to hash the password through javascript?
15:31 idevelop jeez
15:33 maholtz|WORK @lilalinux: why is $this->cObj not available - frontend or backend plugin?
15:35 pmk65 lilalinux: It's only available for FE plugins, if it's a BE module you are making, you need to initiate it yourself, which is a pain, as not everything works in BE. I think there's some BE specific functions that can do the same.
15:38 lilalinux maholtz|WORK: It's inside a view of ecorss (so a FEP). makeInstance('tslib_cObj') works fine
15:39 lilalinux I know, I shouldn't mess MVC, but time is ticking ;-)
15:39 pmk65 If you want I can post a snippet from one of my ext, that initiates the cObj (I used it in an eID plugin, where I needed acces to the IMAGE function. It should be same approch if you are using it from BE)
15:39 m4rtijn does anyone know the syntax for replacing tt_news more with an image..
15:39 m4rtijn somehow google doesnt show me usefull results
15:39 m4rtijn the "more-link"
15:40 pmk65 if you just do a makeInstance('tslib_cObj'), you might get into problems vith various vars/libs not defined.
15:41 lilalinux pmk65: the one-liner t3lib_div::makeInstance('tslib_cObj') works fine
15:41 lilalinux thx nevertheless
15:41 pmk65 m4rtijn: Use the same method as the one I posted on the snippetslib, but instead build your own register value, containing image+link to singleview.
15:44 m4rtijn hmm..
15:58 maholtz|WORK @pmk65: can you put your snippet into snippets.typo3.org?
16:04 fred^^ hmm, how can i make a link based on the article title from tt_news
16:07 pmk65 maholtz|WORK: Which snippet?
16:09 pmk65 m4rtijn: It doesn't look like you can do it with a register value, as it's not possible to change "subheader_stdWrap" to a COA object. But you could change the label of the "More" word, into a <IMG> tag. That should work
16:10 pmk65 plugin.tt_news._LOCAL_LANG.dk.more = <img src="myimage.gif" />
16:10 pmk65 remember to change the "dk" to your lang code.
16:19 dokma anyone tried 4.2.2?
16:20 m4rtijn afaik its buggy
16:20 pmk65 dokma: Yes I have installed locally. But I won't update any of my sites to 4.2.2, as there's too many anoying bugs.
16:20 dokma I read the changelog
16:20 dokma and seems like all that was changed was a bunch of bugfixes
16:20 pmk65 m4rtijn: Did you try the renaming of the More label?
16:20 dokma so it should be less buggy than 4.2.1
16:20 dokma or am I wrong?
16:21 dokma you guys still using 4.1 branch?
16:21 pmk65 dokma: it's not, they have introduce more bugs in this version.
16:21 dokma pmk65: how did you find this out?
16:22 dokma pmk65: you using 4.2.1 or 4.1.7 ?
16:23 pmk65 mailinglist.. One of the bugs is that you can't change user pw in BE. (Thatone was reported on the dev mailinglist)
16:23 dokma darn
16:23 pmk65 4.2.1 on a couple sites, the rest is still using 4.1 (or older, if the customer won't pay for an update)
16:24 dokma I see
16:24 pmk65 but IMHO all the 4.x is buggy.
16:25 m4rtijn pmk65 im stil trying
16:25 pmk65 They keep adding new features to the new updates, but neglect fixing old bugs first. as a result the new features inherit the old bugs.
16:25 pmk65 m4rtijn: This worked perfectly for me -> plugin.tt_news._LOCAL_LANG.dk.more = <img src="myimage.gif" />
16:26 pmk65 change "dk" to your language code.
16:26 m4rtijn also when I use this conditional "more" link?
16:27 m4rtijn hehe, yep worked
16:27 m4rtijn I knew there was some easy way.. thanks a lot pmk
16:27 pmk65 it will replace the "Read more" text with the image. So it should work everywhere (providing it is not passed through htmlspecialchars)
16:29 pmk65 dokma: if you check http://bugs.typo3.org there might be some of the new 4.2.2 bugs listed.
16:29 dokma pmk65: I noticed one pretty obvious one
16:30 dokma my non latin1 characters are htmlentitiezed
16:30 dokma so my menu in the be looks like this:
16:30 dokma # Dnevna odje&#263;a
16:30 dokma # Radna odje&#263;a
16:30 dokma # Povijesna odje&#263;a
16:30 dokma probably one of the new ones as it does not do that in 4.2.1
16:32 pmk65 the tt_news on TER is also filled with bugs, making it totally useless. (I spent 2 days trying to get the archive to work, which is impossible in the version on TER) :(
16:34 pmk65 the archive not only doesn't work, but some of it's settings prevents tt_news from making RSS feeds.
16:42 m4rtijn is the project which was finished on the hackontest in 4.2.2 ?
16:58 fred^^ hmm, how can i make a link based on the article title from tt_news?
17:17 maholtz|WORK @fred: you want to make an link to an tt_news record?
17:21 fred^^ no, i want to link to a contact form. i am gonna use the title as the subject
17:56 maholtz|WORK in an news record?
17:57 maholtz|WORK you could use stdWrap to append or prepend an TEXT element with an link - that link could be configured via typoscript
17:58 maholtz|WORK use additionalParams with uid of the news item
17:58 maholtz|WORK or title or
17:58 maholtz|WORK ...
18:06 flipmoe hi
18:06 flipmoe i got some problems regarding the rollover function in a gmenu
18:06 flipmoe but the js is written in the source code
18:07 flipmoe gm is installed correctly
18:07 flipmoe images are there
18:07 flipmoe anyone ani idea?
18:07 maholtz|WORK what is the problem?
18:07 flipmoe http://webmail.solomo.de/cms/index.php?id=4
18:07 flipmoe the rollover function isn't working
18:08 flipmoe although the js and images are there
18:08 theconic hi all
18:08 theconic i don't understand the following:
18:09 flipmoe http://pastie.org/293987
18:09 theconic when i create a text element on my page it automatically has a reference (tx_templavoila_flex)
18:09 theconic can someone tell me what this is?
18:11 maholtz|WORK @flipmoe: there is a javascript error - you should search for the reason
18:11 flipmoe hmm ok
18:12 flipmoe can you tell me where the error is?
18:12 flipmoe my firebug says everthing is ok
18:13 flipmoe got it
18:14 flipmoe thx
18:14 maholtz|WORK you got the error or the solution?
18:14 maholtz|WORK if solution, please tell me:)
18:17 maholtz|WORK is it possible to have some fields (f.e. "title") on each tab edit mode?
18:24 flipmoe solution
18:25 flipmoe i had config.removeDefaultJS = 0
18:25 flipmoe commented it out and now it works
18:25 flipmoe little strange that the inline script doesn't work
18:32 fred^^ maholtz|WORK: thanks, ill try to look what i can do with that
18:54 tomyN Hi, http://pastebin.com/m5dc385c6, I try to include some javascript, this is what I put into setup but it doesn't work, anyone?
19:00 tomyN hello
19:24 tomyN no-one here? This channel used to be busy ..?!?!
19:24 tomyN I think I'd better change to Drupal
19:25 just2b it is friday evening.. sorry for havening a life
19:26 just2b you override with the 2nd+3rd one the 1st one
19:27 tomyN it's still Thursday in the US
19:28 tomyN nothing to do with having a life, I am trying to get a project done and Typo3 support isn't very impressive, really
19:37 tomyN evening ... that's exactly the problem with Typo3, it's being used only in Europe
19:37 just2b that is not the prob of TYPO3
19:37 tomyN is is, check on the Drupal channel, it's crowed like hell
19:38 just2b so switch.. nobodoy will hold you back.. but i guess you chose typo3 because of a certain reason
19:38 just2b or use english mailinglist for support
19:38 tomyN I googled on some info on how to implement js into my template, it's all non-sense that doesn't work
19:39 tomyN tell me about a manual or something I could study it myself
19:39 tomyN it cannot be so difficult
19:40 just2b paste your ts
19:40 just2b not here ;)
19:40 tomyN my javascript is in the template, ..., right after the page title ... hold on... will copy it
19:40 just2b as i said.. you cant define page.10 twice... you can but you only get the ast one
19:41 tomyN ok, here it is, all in setup.txt http://pastebin.com/m2064a69f
19:41 tomyN I understood the numbering of the definitions now
19:42 tomyN but should this be in setup at all?
19:42 just2b yeah sure
19:42 tomyN ok, perhaps it should go into the settings for a specific style?
19:42 tomyN this works with a style switcher
19:43 tomyN or at the bottom?
19:44 just2b mom phone
19:44 tomyN k
19:50 just2b why not just use the page.includeJS.file9 = ...
19:51 tomyN dunno how this works
19:51 tomyN hold on ...
19:51 just2b same as with page.includeCSS.file1
19:51 just2b just page.includeJS.file1
19:52 tomyN it is included now, but it looks unorganized to me: http://pastebin.com/m647ab4f8
19:53 tomyN will try your other method
20:30 tomyN is it possible to setup Typo3 so that I works with a php menu and a static menu?
21:00 untouch anyone still there
21:00 untouch ?
21:10 nd_ sure
23:58 tomyN hello, can I refer from a static menu within a Typo3 page to a dynamic link? would this cause problems, or should I use everything as html setup?

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.