Search the website and IRC logs

#TYPO3 IRC log from : Saturday 27 September 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 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
00:06 ries Denyerec: does the dutch thing still apply¿
00:06 Denyerec hey ries
00:06 Denyerec um
00:06 Denyerec well, I think I know what the code is trying to do now.
00:06 ries I was making a BBQ :)
00:06 Denyerec I just don't know if it's receiving the right information BACK
00:06 Denyerec as I'm getting no response from the fsock
00:06 Denyerec no error... just nothing...
00:07 Denyerec So now the script is "almost OK" i think I need to shove it into a fe plugin extension.
00:07 ries k
00:08 Denyerec So I need to figure out first how to handle the POST in an extension
00:09 Denyerec this script currently uses GET, but that's not hard to change.
00:09 Denyerec However getting THAT to work inside Typo plugin is obviously new tome.
00:10 mushr00m your plugin class has a member variable $this->piVars
00:10 mushr00m it is an array
00:10 mushr00m and contains the GET/POST vars
00:11 mushr00m and you have to take care that you name the input fields like: <input name="tx_yourplugin_pi1[varname]" ...>
00:11 mushr00m then you can access them with $this->piVars['varname']
00:12 mushr00m you can also check t3lib_div::GPvar()
00:12 mushr00m but i prefer the first method
00:13 Denyerec Handy...
00:14 Denyerec so if the plugin is called user_domainchecker
00:14 Denyerec then I'd name the postvar fields tx_user_domainchecker_pi1Name
00:14 Denyerec or
00:14 mushr00m check the member variable $prefixId
00:14 Denyerec tx_user_domainchecker_pi1_Name
00:14 mushr00m inside your pi1
00:14 mushr00m class
00:15 Denyerec user_domainlookup_pi1
00:15 mushr00m yap
00:15 Denyerec so do I just append immediate:
00:15 Denyerec user_domainlookup_pi1Name
00:15 Denyerec or
00:15 Denyerec user_domainlookup_pi1_Name
00:15 mushr00m to the input field name?
00:16 Denyerec yeh
00:16 mushr00m <input name="user_domainlookup_pi1[varname]" ...>
00:16 mushr00m that would be the input field's name
00:16 Denyerec with a tx_
00:16 mushr00m can you see the [] chars ?
00:16 mushr00m without tx
00:16 Denyerec Oh
00:16 mushr00m just like the $prefixId
00:16 Denyerec Right
00:16 Denyerec and what replaces [varname] if the var is called DomainName
00:17 mushr00m thats how typo3 detects, "ah this variables are going to this plugin"
00:17 Denyerec user_domainlookup_pi1[DomainName] or user_domainlookup_pi1DomainName
00:17 mushr00m if you have a field <input name="tx_yourplugin_pi1[xyz123]" ...>
00:17 mushr00m then you have inside the plugin $this->piVars['xyz123']
00:17 mushr00m got it?
00:18 mushr00m tx_yourplugin_pi1[xyz123]
00:18 pmk65 easiest way to do it, is to create an extension using the kickstarter, and then move the code from your userfunc over in the ext. (that way you get a working plugin, without having to create every file manually.0)
00:18 Denyerec yeah Pmk
00:18 mushr00m the bold text is the key which is set to $this->piVars
00:18 Denyerec I got the kickstarter thing done
00:18 Denyerec ah right
00:19 Denyerec See mushr00m, I was thinking to replace [varname] completely, but you actually include the [] :)
00:19 pmk65 and the default plugin created with the kickstarter has a dummy form setup, where you can copy the parts you need. like the action url.
00:19 Denyerec that's where I got confused.
00:19 mushr00m Denyerec: thats a typo3 convention
00:19 Denyerec So I have learned.
00:19 Denyerec And yes pmk, looking at the class.plugin.php now
00:19 mushr00m if you have user_domainlookup_pi1DomainName you cant access the variable through $this->piVars
00:20 mushr00m then you have to use $_POST directly or t3lib_div::GPvars
00:20 pmk65 it's done that way tx_yourplugin_pi1[xyz123], in order to prevent multiple plugins from sharing the same get/post vars
00:20 Denyerec Yeah
00:20 Denyerec that would cause a real headache
00:20 Denyerec good system, I approve.
00:20 Denyerec :)
00:20 mushr00m ;)
00:20 Denyerec So then $this->piVars['DomainName'] and all is, theoretically, well.
00:21 mushr00m exactly
00:21 Denyerec Right.
00:21 mushr00m give em hell ,)
00:21 Denyerec If only I could verify the script behaviour standalone...
00:21 Denyerec the fact the socket returns nothing is disturbing me.
00:21 Denyerec But without more docs from the other side of the fence, I'm a bit lost on how to verify it.
00:21 mushr00m you could pastebin the script
00:22 mushr00m so we can take a look
00:39 tomyN hi, I have a question about template records, anyone here?
00:39 Denyerec Hola tomy
00:39 Denyerec lets hope it is as easy as yesterday's CSS :)
00:46 tomyN hey
00:46 tomyN wassup?
00:46 Denyerec you had a question?
00:47 tomyN ahh
00:47 tomyN lol
00:47 tomyN k
00:47 tomyN actually, I was playing with some functions, no more questions.
00:47 tomyN I was just wondering how I could have different designs within the same web site ...
00:48 tomyN with template records I guess, and referrals to different CSS files, or so .... playing with it ...
00:53 tomyN is it possible to define links to different CSS files or would I need to create a full template for each site I want to design different?
00:54 Denyerec um
00:54 Denyerec well
00:54 Denyerec if they're in the tree
00:54 Denyerec then you could have a master template on the root
00:54 tomyN go on
00:54 Denyerec and then just use an extension template to overload the CSS file used
00:54 Denyerec on each branch where you need differenct CSS
00:54 tomyN lemme see
00:55 Denyerec extension templates literally extend the templates above them in the heirarchy
00:55 tomyN I thought I could select templates if I have more than one ...
00:58 tomyN in template tools, shows me only the template I just created, what if want to have me root/master template back?
01:00 tomyN I have vers 4.2.1
01:01 mushr00m templavoila is pretty cool
01:02 tomyN is that an extension?
01:02 Denyerec TV is awesome :)
01:03 Denyerec Yeah
01:03 Denyerec it replaces doing things the "autoparser" way
01:03 Denyerec and is really really nice
01:03 tomyN time to get started with it, huh?
10:34 foool I am trying to save (Export to TD3) and getting error, can I fix this?
10:34 foool Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 55821720 bytes)
10:41 ndee http://www.daihatsu.ch/index.php?id=1&L=1 <-- on the top left side, there is a gmenu. Some single navigation points don't get created. Anyone encountered a similar problem before?
10:43 ndee cache problem, nice.
11:09 nd_ foool: Increase max memory of php
11:10 foool where do I do that? what size is good to increase it to
11:10 nd_ Something bigger than you have now and smaller than your amount of ram in the box. Adjust it in php.ini
11:12 foool can I make a file php.ini, if so which folder should I put it in, and say make it 128m, how do I do that?
11:12 foool sorry for my ignorance nd_
11:13 foool I have memory_limit = 64M in root of typo3 installation right now
11:21 nd_ foool: Search your box for an existing php.ini and adjust it there.
11:21 nd_ The location depends on your OS etc.
11:21 foool ah! what do you need to know
11:22 nd_ Nothing. You need to know your system.
11:24 foool okay thanks - sorry to bother you, obviously I am
11:24 nd_ Welcome. I guess you should just find out some basics about your system.. you will need them anyway.
12:01 Tharallah Hello
12:12 Ahmad HELLLLLLLLLLLLLLLLLLLLOW
12:15 Ahmad actionscript
12:16 Ahmad typoscript
12:16 Ahmad hello
12:16 Ahmad Is there anyone here?
12:19 nkuttler Ahmad: do you have any typo3 related questions?
12:19 nkuttler and see /topic
12:21 Ahmad I am typo3 user and this is first time using this IRC channel or even an IRC channel , I'm testing this , excuse me for sending non-related terms.
12:21 Ahmad Why this channel is very quiet ?
12:24 nkuttler i guess people are busy
12:25 Ahmad Ok , thank you , so I didnt become at false place ... :)
12:34 Ahmad A question : What is advantages of using Typo3 instead of PHP itself ?
12:35 Ahmad .... as Typo3 has hard learning process ?
12:35 nkuttler i guess that depends on your needs
12:35 nkuttler kind of. it's rewarding though.
12:37 Ahmad Rewarding what ?
12:41 xsebi Somebody experienced with DirectMail Newsletter subscription + RealUrl ?
12:46 Ahmad Unfortunately I have not experience about that
12:46 Ahmad Appreciated for knowing this place ... Goodlock all ...
13:35 nkuttler hrm, how can i move multiple pages at once? they are on the same level..
14:17 Denyerec mmm
14:17 Denyerec nkuttler - move the parent, then delete the parent /
14:17 Denyerec ?
14:19 nkuttler i thought deleting pages with subpages doesn't work? anyway, they are already moved
14:21 Denyerec did you do them manually?
14:21 nkuttler it was only like 10, not a big deal
14:23 nkuttler seems to delete subpages. i guess that must be some recursive setting i put somewhere tough
14:25 Denyerec Does raise the question of how you're supposed to move a large number of pages...
14:25 Denyerec should that task ever arise
14:26 nkuttler content editing slaves
14:26 nkuttler :D
14:26 nkuttler well, i guess you could probably hack a script that does it in the db directly
14:29 nkuttler gee, that pages table is huge. is pid=parent id? any clue?
14:29 nkuttler looks like it
14:47 anton hi, i´m still trying to realize listview vs. single view with a fce ... can i insert conditions in the TS areas of the Elements Datastructure to look for GlobalVars ?
15:12 uschi hello all
15:12 uschi morning Denyerec :-)
15:12 uschi well, it is not exactly morning anymore
15:22 nkuttler depends on where you are
15:28 Denyerec hey uschi
15:28 Denyerec I really wish it was morning
15:28 Denyerec I need a LOTmore sleep
15:28 uschi so do I (and more time)
15:38 uschi I need a little help with CSH
15:39 uschi A) where do I find the original CSH files for tt_content and pages?
15:39 uschi B) How can I add some more CSH or remove an entry?
15:41 anton hello, i try to use outputyourtable extension to realize a listview-singleview of fce´s, has anyone experiences ?
16:13 d|g hi all =)
18:48 tomyN hi, I just installed Templa Voila, cannot find the contents of my right column ... :-( where did this go?
18:52 tomyN the right column shows on the site, but how can I navigated to this in the backend?
19:46 Phlogi hi guys
19:48 _mac3 hi

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.