Search the website and IRC logs

#TYPO3 IRC log from : Monday 10 August 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
03:13 Bitcrusher evening
03:51 ries hey Bitcrusher
03:51 Bitcrusher hi there ries
03:52 Bitcrusher damn its quiet here at night
03:52 ries heya Bitcrusher
03:52 ries Bitcrusher: yeaaa.... always around this time
09:06 iamjay hi there :)
09:12 sorenmalling Morning :)
10:51 dokma (msg nickserv identify m3k4d15h
10:51 dokma bugger
10:51 maholtz|WORK morning
11:01 _pedda_ moin
11:36 kinea someone knows, how i can retrieve the url of the folder of an extension inside the extension with php?
11:38 kinea or i better ask: is there a standard way to use images in templates of a selfmade extension? (regarding the folder)
11:39 kinea is it ok to keep the images in the ext folder?
11:39 kinea so the user does not have to copy them to the fileadmin or upload folder.
11:42 kinea or: can the image src url be a relative one (relative to the template file)? or must it be relative to the index.php?
11:43 maholtz|WORK relative to index.php
11:45 maholtz|WORK imho hardcode should be ok: typo3conf/ext/ext_key/res/image1.jpg
11:45 maholtz|WORK if someone uses that extension, he should copy template and images so he can update the extension without harm
11:47 kinea i see. i better use a ts property of the plugin to let the user set the image path.
11:47 kinea thanx maholtz|WORK
11:48 maholtz|WORK nope, to let the user change the html-template
11:48 maholtz|WORK would be better
11:48 maholtz|WORK so he could change in the template the image-path
11:50 kinea right
11:52 der_einzige mornin'
11:53 der_einzige Does anyone have experience with multisite typo3 installations?
11:54 _pedda_ yes: what is the problem ?
11:54 der_einzige I have problems with links, going from one domain to another
11:54 der_einzige Which are all part of the same multisite
11:54 _pedda_ in how far ?
11:54 der_einzige So, that the domain isn't correct
11:55 _pedda_ do you have domain records on the rootpages of each "subproject" ?
11:55 der_einzige This link describes it quiet well: http://typo3-cms.at/newsgroups/artikel/typo3.english-96131.html
11:55 der_einzige uhm
11:55 der_einzige yes
11:55 der_einzige I think
11:55 der_einzige mom
11:55 der_einzige config.baseURL = http://www.etc.com
11:56 der_einzige Did you mean this?
11:56 _pedda_ no i'm talking about domain records in be
11:56 _pedda_ go to web -> list -> some rootpage
11:56 _pedda_ click add and select domain record
11:56 der_einzige ok. mom
11:56 _pedda_ type in your domain for that rootpage
11:56 der_einzige ah, yes i have
11:56 _pedda_ repeat this for all rootpages within your pagetree
11:57 der_einzige yes, those are set
11:57 _pedda_ ok
11:57 _pedda_ mom .. 5 sec afk
11:57 der_einzige thx
12:58 enmerkar c
13:10 kinea how can i retrieve the results of a typoscript RECORDS object in an exension plugin? i know that i can access the typoscript of the plugin with $this->conf['property.'], but this gives me only "Array" as a result and not the RECORDS themself.
13:23 kinea would be great to have a way to let users of the extension define their own typoscript for that extension.
13:30 MasterYin Hello everyone, anybody allready uses Georg Ringers categorize extension from forge?
13:41 maholtz|WORK @kinea: http://www.typo3-unleashed.net/typo3apidocs/typo3api_4.2.1/html/df/d65/classtslib__cObj.html#a94e6032ac0c46385aedbd23259731b9
13:41 maholtz|WORK $this->cObj->cObjGetSingle('RECORDS',$this->conf['property.']);
13:42 maholtz|WORK sth like that... could help you
14:02 kinea|afk maholtz|WORK: thank you. that works
14:05 gehdan how can I add metadata to a page of type "reference link" (for use in a sitemap)
14:06 _pedda_ page.headerData.anynumber = <meta....>
14:07 _pedda_ page.headerData.1000 = ...
14:07 _pedda_ for example
14:09 gehdan thhm, well, I meant the "metadata"-tab in normal pages. I'd like to add a description for search-engines and the sitemap (with description) functionality
14:09 pmk65 I need a google sitemap on one of my pages. I tried searching on TER, bug that gives me 20+ results, and I really don't want to test them all. Can anyone reccomend a good Google sitemap extension?
14:11 _pedda_ gehdan: you have to modify the tca array in extTables.php (in your typo3conf directory) for this
14:11 _pedda_ the tabs in be are created from the tca array
14:11 Nekdy does anyone know how to link to a tt_news record in tinymce?
14:11 gehdan _pedda_, ok, thanks
14:12 pmk65 Nekdy: configure the uild-in linkhandler. Then you can link to all kinds of records. like tt_news records.
14:13 pmk65 Nekdy: http://forge.typo3.org/wiki/extension-tinymce_rte/Linkhandler_support
14:13 Nekdy i have that config
14:13 pmk65 better check the TinyMCe manual too, as I modded the linkhandler code, so in TinyMCe 0.40 its possible to have multiple tt_news locations, so the setup is a bit different.
14:14 Nekdy but when i click on the page where tt_news records are stored it doesn't show me the records
14:14 Nekdy do i have to apply any of that patches there?
14:15 pmk65 no. if you have 0.40 installed, you just need to modify your linkhandler setup, similar to this: http://forge.typo3.org/issues/show/2940
14:16 Nekdy ok but then i in rte
14:16 Nekdy i navigate to tt_news folder
14:17 Nekdy and it should show me the tt_news records?
14:17 Nekdy i click that red arrow on the right?
14:17 Nekdy and yes i have the very latest version
14:22 gehdan _pedda_, do you know what I would neet to modify/insert in the tca by any chance?
14:25 _pedda_ gehdan: http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.2.0/view/4/2/
14:25 _pedda_ search for dividers2tabs
14:25 gehdan thanks
14:25 _pedda_ --div-- creates a new tab
14:27 kinea|afk are there also more general objects which i can use instead of cObj->RECORDS?
14:28 kinea|afk COA doesnt seem to work
14:28 _pedda_ all TLO's should work
14:28 _pedda_ they don't if your TLO contains a typo
14:30 maholtz|WORK @kinea|afk: well, search in api: http://www.typo3-unleashed.net/typo3apidocs/typo3api_4.2.1/html/df/d65/classtslib__cObj.html#a94e6032ac0c46385aedbd23259731b9
14:32 pmk65 kinea|afk: It is much smarter to use those objects from Typoscript rather than from PHP.
14:32 kinea|afk pmk65: i want to give the use the chance to decide, which typoscript object to use. so he has the greatest flexibility to configure the extension.
14:33 kinea|afk so i need a way to read the rendered results of that typoscript objects.
14:33 kinea|afk for RECORDS it works great. but would be better to generalize it.
14:34 kinea|afk so the use could use TEXT or other objects
14:34 kinea|afk even CONTENT would be great
14:34 maholtz|WORK @kinea|afk: but you can with the function i told you?
14:34 kinea|afk ah. maybe i try it with that function. i had used the RECORDS function of cObj before.
14:35 maholtz|WORK cObjGetSingle('TEXT',$conf['myxy']);
14:36 pmk65 kinea|afk: Read this: -> http://wiki.typo3.org/index.php/TypoScript_-_PHP_Interaction
14:36 pmk65 It explains how to setup Ts objects and pass them to PHP
14:37 ManDay After loading entries into tt_address I'd like rggooglemaps to aquire the according locations - any idea how?
14:37 kinea|afk pmk65: the part about the COA method is exactly what i need, thanx
14:46 kinea|afk pmk65: that works like a charm. now my bookmark extension is very flexible in the way, that the user can define with typoscript, how the titles of the bookmarks are generated (page title, tt_news title, or other custom ts)
14:48 kinea|afk i upload it when tested. by the way: is the counter of the ter working again?
14:55 _pedda_ any ideas on how to put the whole glossary extension into a lightbox ?
14:55 _pedda_ hmm i need ajax for this right ?
15:01 pmk65 kinea|afk: The counter haven't worked for the last year or so. I don't think it's fixed.
15:05 gehdan how can I enable definition lists in the RTE?
15:05 ManDay After loading entries into tt_address I'd like rggooglemaps to aquire the according locations - any idea how?
15:06 _pedda_ add dl to allowed tags for your rte setup
15:06 _pedda_ in pageTS of rootsite
15:12 gehdan that's all?
15:13 _pedda_ should be
15:13 gehdan I downloaded an extension that should allow me the use of dl's (with buttons to create them out of <p>'s and <h*>'s, but it's only working in the BE
15:14 _pedda_ or do you need the button ?
15:14 _pedda_ yes
15:14 _pedda_ because the dl#s get stripped because they're not allowed ;)
15:14 gehdan hm
15:15 _pedda_ should be described in the documentation of the extension you used to add dl's
15:31 gehdan doesn't work
15:32 ManDay Can anyone tell me what's the difference between TSConfig and Templates?
15:33 _pedda_ tsconfig and Templates has nothing in common
15:34 _pedda_ it depends on what you mean by templates
15:34 gehdan _pedda_, that should work, shouldn't it?: RTE.default.proc.allowTags := addToList(dl,dt,dd)
15:34 gehdan (in the page template setup)
15:34 _pedda_ i'm not that into rte configuration.. check the wiki for examples please
15:35 _pedda_ there are TSconfig, pageTS, and TypoScript Setup + Constants
15:35 _pedda_ TypoScript Setup + Constants "can" be interpreted as Template
15:35 _pedda_ shouldn't though
15:37 _pedda_ what difference are you asking for ManDay ?
15:37 ManDay Well, whether there is any besides it being displayed in different places
15:38 _pedda_ yes there is
15:38 _pedda_ you cant configure a plugin like Search-extension ord Gallery-extension via pageTS or TSconfig
15:39 _pedda_ the whole configuration has to go into the TypoScript Setup of a template (or a seperate template record for each extension collected within one sysfolder)
15:39 _pedda_ pageTS is for let's say backend related configuration
15:39 _pedda_ configuration of rte editor
15:40 _pedda_ enabling/disabling/renaming/extending of BE fields
15:40 _pedda_ filling these fields with default values for example
15:40 _pedda_ but only in BE
15:40 _pedda_ this is done via pageTS
15:40 _pedda_ TSconfig is similar to pageTS
15:49 _pedda_ some of the pageTS properties can be used in TSconfig as well but have to be prepended by "page."
15:56 gehdan hm, does anyone know what I need to do to enable definition lists in the RTE? Don't find any information that really helps
15:57 gehdan hm
15:57 gehdan maybe that's because I was searching for RTE and not HTMLArea
16:17 ManDay I'm having serious troubles getting custom tags to be accepted by RTE
16:17 ManDay I set
16:17 ManDay RTE.default.proc.allowTags := addToList(LEX)
16:17 ManDay RTE.default.proc.allowTagsOutside := addToList(LEX)
16:17 ManDay in my TSConfig of the rootpage yet LEX-tags get turned into htmlentities
16:18 _pedda_ ManDay: sggallery ?
16:18 ManDay ?
16:18 ManDay sgglossar
16:18 _pedda_ Lex Tag comes with sg gallery extension
16:18 ManDay y
16:18 _pedda_ erm
16:18 _pedda_ yes sorry
16:18 _pedda_ sg glossary
16:18 _pedda_ :-P
16:18 _pedda_ ok
16:18 _pedda_ did you include the static template files ?
16:18 ManDay regardless
16:18 ManDay no, _pedda_
16:19 _pedda_ then do so
16:19 ManDay ermmm wait!
16:19 ManDay yep let me look
16:20 _pedda_ did you notice the static typoscript setup txt file within the sg glossary folder on your webservers filesystem ?
16:22 _pedda_ there is some more typoscript setup for you
16:22 _pedda_ including a part for the pagets to enable the LEX tag
16:24 _pedda_ typo3conf/ext/sg_gallery/
16:25 _pedda_ erm
16:25 _pedda_ typo3conf/ext/sg_glossary/
16:25 _pedda_ damnit :-P
16:30 _pedda_ iamjay: ?
16:39 Aradhion Hi everybody, can anyone please tell me how I get rid of the timestamp in sr_feuser_register adminsitrator email and get the normal date of birth instead?
16:39 ManDay lol, thank you very much _pedda_ I'll sure figure it out
16:39 ManDay give me a minute
16:40 _pedda_ you have 16
16:40 _pedda_ i'll leave then :)
16:43 ManDay _pedda_, just to make sure: should I put all this stuff in my root page's TEMPLATE or TSCONFIG?
16:43 _pedda_ the config of rte goes into pageTS
16:44 ManDay ok, just to make sure: why?
16:44 ManDay *to understand
16:44 _pedda_ because it affects the way rte behaves if you give some input to it in the BE
16:45 ManDay ah, ok
16:46 ManDay so, i still have to alter the static template, eh?
16:48 _pedda_ have you taken a look into that setup file i told you ?
16:48 _pedda_ # For RTE:
16:49 _pedda_ this part has to be commented out
16:49 ManDay by setup file you are reffering to the static template?
16:49 ManDay namely:
16:49 ManDay ext_conf_template.txt
16:49 ManDay ?
16:49 _pedda_ nope
16:49 ManDay Thats what I found in the extension folder
16:49 ManDay oh
16:49 ManDay so what then?
16:49 _pedda_ ext_typoscript_setup.txt
16:50 ManDay d'oh
16:50 _pedda_ pn
16:51 ManDay ill just take the whole thing into my root's tsconf?
16:55 m4rtijn hi all
17:00 _pedda_ hello m4rtijn
17:01 maholtz|WORK hi m4rtijn
17:07 _pedda_ i'm gonna leave now
17:07 _pedda_ cu all
17:39 gehdan what's the best way to add a sitemap about the content (<h*>) to all pages below a specific page in the tree?
17:40 mechanical_man How can I add the column for the ID to the csv-export of a list-view?
18:25 ManDay Hi
18:25 ManDay Major problem with localization
18:25 ManDay as soon as I pass typo3 a type=500 paramter the language gets ignored
18:30 ManDay anyone?
18:46 ManDay I take it if set to type=500 mode, Typo3 gives a shit about templates, amiright?
19:12 mechanical_man How can I add the column for the ID to the csv-export of a list-view?
20:09 ManDay Can anyone tell me the difference between Template CONSTANTS and Template SETUP?
20:45 ManDay Can I add content to a template without actually putting it into the Setup of the template?
20:45 ManDay So I have content for my template in a file somewhere, can I refer to this file in typo3?
20:46 mechanical_man ManDay: whats the format of the content?
20:46 ManDay text/typoscript
20:47 mechanical_man then you can import it
20:47 ManDay how?
20:47 mechanical_man so you could use e.g. a local editor with typoscript-highlighting and safe your files via ftp. then they get importet into you ts
20:48 mechanical_man ManDay: I have to search, wait a moment
20:48 ManDay wait
20:48 ManDay you may make things easier than that
20:48 ManDay I just need to figure out the how
20:48 ManDay And I think my original attempt is not the best approach
20:49 ManDay My actual problem is that I can't get custom tags to work. RTE keeps turning them into HTMLentities
20:49 ManDay At the end of my root-template (setup) I put:
20:50 ManDay lib.parseFunc_RTE.tags {
20:50 ManDay lex.stripNL = 0
20:50 ManDay lex = PHP_SCRIPT
20:50 ManDay lex.file = EXT:sg_glossary/prg/lexlink.inc
20:50 ManDay }
20:50 ManDay Infact, I wonder why I wouldn't have to do anything to RTE.default.proc.allowTags
20:50 ManDay But you may help me
20:51 mechanical_man ManDay: whats your problem? RTE or including ts from a file?
20:52 ManDay RTE
20:55 mechanical_man ManDay: I'm no RTE guru, can't help there
20:55 ManDay thx
20:57 mechanical_man ManDay:
20:57 mechanical_man An include-instruction looks like this:
20:57 mechanical_man <INCLUDE_TYPOSCRIPT: source="FILE: fileadmin/html/mainmenu_typoscript.txt">
20:58 mechanical_man ManDay: This line must have a own line in ts setup field
20:59 mechanical_man The path has to be relative to PATH_site, without any ../
20:59 mechanical_man and myx. 100kb
20:59 mechanical_man sorry, max 100kB
20:59 ManDay thx
21:00 mechanical_man but if your files are inside fileadmin/ then they they are can be read from the internet
21:02 mechanical_man ManDay: and also important: no nesting and no conditions are allowed
21:03 ManDay thanks
21:04 ManDay i must say though, that typo is about the crappiest documented popular thingy that i have ever seen
21:04 ManDay its really a pain in the ass
21:07 mechanical_man ManDay: No, I think typoscript is completely documented, but you can't await a solution for every problem in documentation. The documentation is there, and has to be used ;-)
21:07 ManDay you are misunderstanding me. im not refering to my specific problem. typo3's documentation is overall awful
21:07 ManDay its not agains typo3
21:08 ManDay its rather against incapable authors
21:08 ManDay documentation is 40% of the work
21:08 ManDay you cant expect any credits if you just skip it or do it like that
21:08 ManDay just to give you a single example
21:08 ManDay try to find a reference on the configuration of the RTE
21:09 ManDay you wont find any
21:09 ManDay the bollocks is dispersed over dozens of pages and not even complete then
21:09 ManDay there is some typo3 slogan which says "the code is the documentation"
21:09 ManDay bullshit!
21:10 void that's not typo3's slogan
21:10 void it's the perfect rule of open source
21:11 void "Use the Code, Luke")
21:11 ManDay its a perfect rule of lazy people
21:11 ManDay *for
21:11 ManDay its a poor excuse for those who are not willing to do the necessary effor, nor to admit that they arent
21:11 mechanical_man ManDay: i don't know your specific RTE problem, but is this helpful? http://typo3.org/documentation/document-library/extension-manuals/rtehtmlarea/1.4.4/view/3/9/
21:12 ManDay besodes, the code isnt even documentend in most of the places
21:12 ManDay thank you mechanical_man - thats one of the pages i came across. yet i need to find the right place to put this (besides other configuration)
21:12 ManDay ill try
21:13 mechanical_man ManDay: Add the following lines to your Page TSConfig:
21:13 mechanical_man its not for the typoscript SETUP-field
21:13 mechanical_man its for the TS-field of a page record
21:15 ManDay i know
21:15 ManDay i managed to get it to work now
21:15 ManDay copied the whole bunch of 100 lines from another typo3 system
21:15 ManDay thank you
21:18 Geison Hello everybody
21:19 Geison someone know how can I read constants templates inside of the ext_tables.php
21:22 Geison ?
21:27 void Geison: what do you mean at contants templates?
21:28 Geison in my START PAGE there is a constant with a value, and now, I need ready this value on ext_table.php to filter some data for mount a combo box
21:29 Geison *read
21:29 ManDay Can I add an additional button to the RTE to insert a certain tag WITHOUT installing the custom_tags extension?
21:30 void Geison: ext_tables.php is cached. that is not a good place for finding out a constant
21:31 void ManDay: i think no
21:32 ManDay thanks void
21:33 Geison you are right, I will think in another solution
21:33 void Geison: describe your problem, maybe?
21:46 ManDay void:
21:46 ManDay The running PHP version (5.2.6) is higher than allowed (4.3.10)
21:46 ManDay Ignore this version requirement
21:46 ManDay The running TYPO3 version (4.2.6) is higher than allowed (4.0.0)
21:46 ManDay Ignore this version requirement
21:46 ManDay ?
21:46 ManDay what u say
21:47 void what extension do you install?
21:48 ManDay the custom tags one
21:48 ManDay @ void
21:49 void hm.. try. it may work.
21:49 void (and may not, aha)
21:56 ManDay ok
21:56 ManDay :P
22:01 ManDay so, how is this custom tags things sposed to wokr?
22:01 ManDay i installed it but my rte still looks the very same

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.