Search the website and IRC logs

#TYPO3 IRC log from : Tuesday 8 September 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
07:45 ZaFantasy how I cann get data from one plugin in TS? I have created some lib.object in TV and now I want to fill data from one plugin from pi1.. How I can do this? lib.someObject < plugin.pluginname.pi1 does not work. Any tip?
07:46 ZaFantasy when I load it from TS $this->cObj->data['pi_flexform'] is empty. Why ?
08:15 jodaiber hey guys. I seem to have some sort of domain misconfig. I have two domains pointing at the same TYPO3 installation, the first works fine but when I go to domain2.tld/typo3 I can see TYPO3 but I can only see icons and no text in the menu bar!
08:15 jodaiber The search field above the page tree just shows \"\"
08:20 jodaiber could that be a htaccess thing?
08:26 jodaiber there is this error (firebug) on the problematic domain: element has no properties
08:26 jodaiber [Break on this error] if (element._prototypeEventID) return element._prototypeEventID[0];
08:32 jodaiber any ideas?
08:41 jodaiber This is how it looks like on domain2: http://jodaiber.de/errorDomain.png the same TYPO3 install works just fine, when I use access it via domain1
08:51 louS Hey
08:52 louS i want to use "nc_staticfilecache" but i get on every page "page has INTincScript". And i found out that macina_banner is the problem, cause i use that on every site "libxxx < plugin.tx_macinabanners_pi1"
08:52 louS anyone knows how to solve that?
09:22 _pedda_ hi all
09:26 maholtz|WORK morning
09:33 louS hey
09:33 louS i want to use "nc_staticfilecache" but i get on every page "page has INTincScript". And i found out that macina_banner is the problem, cause i use that on every site "libxxx < plugin.tx_macinabanners_pi1"
09:41 maholtz|WORK @louS: makes sense, use something which inserts the banner via javascript
09:44 louS so i should not better use macina banner?
09:44 louS sorry maholtz|WORK as far as you maybe know, im not that good right now and before in t3 :D
09:49 nd_ Does anyone of a fe_login which forwards me to the site I wanted to go to after login?
09:54 maholtz|WORK @louS: well, i do not know macina banner, afaik you want to count how many times it has been shown - but if you deliver static pages, you need javascript to count
09:54 Mephisto_ hello everybody here
09:54 Mephisto_ i need help please
09:56 Mephisto_ no one can help me please ? i'm looking to integrate a personalised indexed search form
09:59 maholtz|WORK @Mephisto_: reread what you posted, read channel topic, than ask your question
10:00 maholtz|WORK ups i meant: then
10:00 Mephisto_ maholtz|WORK: ok
10:01 Mephisto_ how can i integrate an indexed search form ?
10:15 maholtz|WORK @Mephisto_: there ... upds, he has disconnected
10:24 MarkusH hello there
10:24 MarkusH is there a documentation how to load a part of a homepage with ajax in typo3
10:27 maholtz|WORK there are a few extensions which are doing that.
10:27 sorenmalling MarkusH: Look at the eId functionality
10:27 sorenmalling http://www.webmasterpro.de/coding/article/cms-typo3-eid-mechanismus.html
10:27 MarkusH maholtz|WORK: do you have a name
10:28 maholtz|WORK afaik rgtabs f.e. has the possibility
10:28 sorenmalling http://www.sk-typo3.de/Ajax-mit-prototype-und-eID.328.0.html
10:30 MarkusH thanks
10:30 MarkusH i will look at that
10:31 maholtz|WORK i tried to sum up a few things, people at this channel should now, to get not frustrated in the wiki: http://wiki.typo3.org/index.php/IRC perhaps you could edit was is missing?
10:38 MarkusH maholtz|WORK: i added the port information
10:38 maholtz|WORK thx:)
10:39 MarkusH one of the channel-operators should add this link to the topic
10:40 maholtz|WORK @ries: can you add http://wiki.typo3.org/index.php/IRC to the topic? please:)
11:09 BejjWrk Hi, Im trying to figure out where the reference to typo3temp/pics/randomletters.jpg in the typo3database, but so far without luck, any ideas ?
11:11 maholtz|WORK afaik cache_imagesizes ?
11:15 BejjWrk the md5hashes in there are longer (32 characters) than the filename haches, so no
11:16 BejjWrk I have been digging around alot without finding any sane references
11:23 schabracke hi!
11:26 schabracke one question: i got the am_ct extension (display new comments) on my startpage which works flawless except that if i click on a comment the tt_news story wont open: error "no news id"
11:27 schabracke does that mean i need a hook for am_ct to tt_news content? if yes, how to?
11:27 BejjWrk maholtz|WORK: this brings me a little closer "The second example has the filename "typo3temp/3de305c72b.jpg". The filename is the cropped result of a md5-hash made
11:27 BejjWrk on the serialized TypoScript configuration for the image."
11:32 maholtz|WORK @BejjWrk: perhaps, if the image size is not changed, there is no entry there?
11:37 schabracke hos nonone got an idea?
11:38 maholtz|WORK @schabracke: so your link does not have the tt_news parameters for detail view
11:40 schabracke @maholtz|WORK yes the error is (in german sorry) "Keine news_id übergeben."
11:41 schabracke so there is a "link" missing between the comments an the corresponding news
11:45 schabracke and its the same with indexed search - always "Keine news_id übergeben."
11:47 dec___ how do you give a normal user the permission to clear backend cache?
11:53 schabracke @maholtz|WORK du you know a solution?
11:54 maholtz|WORK you have to add them in that extension, afaik extension "comments" manages that by default
11:54 maholtz|WORK @dec__: nope
11:54 maholtz|WORK use TCEMAIN.clearCacheCmd in Page-TS
12:07 schabracke @maholtz|WORK how can i add it to that extension?
12:38 yuno is there a way to add the lang attribute to the html tag?
12:38 yuno (there is page.bodyTag - is there also page.htmlTag?)
12:40 yuno right. there is no page.htmlTag
12:42 yuno config.htmlTag_setParams
12:43 yuno config.htmlTag_setParams = xmlns="http://www.w3.org/1999/xhtml" xml:lang="..." lang="..."
12:43 yuno works :)
12:50 dokma yuno: I have it on this site: www.evorion.hr
12:50 dokma here is the relevant TS
12:51 dokma config {
12:51 dokma sys_language_uid = 0
12:51 dokma language = hr
12:51 dokma locale_all = hr_HR
12:52 dokma htmlTag_langKey = hr
12:52 dokma baseURL = http://www.evorion.hr/
12:52 dokma }
12:52 dokma page.config.language = hr
12:52 dokma page.meta.language = hr
12:52 dokma yuno: you are probably looking for htmlTag_langKey
12:58 yuno i also set that one... right after setting the params... doesn't seem to have an effect
13:00 yuno it's probably because i set the doctype to html5
13:00 yuno like this:
13:00 yuno config.doctype = <!DOCTYPE html>
13:00 yuno hard to tell with typo3 :>
13:01 yuno if i only set the langkey the lang attributes aren't added
13:03 maholtz|WORK @yuno: "Allows you to set the language value for the attributes "xml:lang" and "lang" in the <html> tag (when using "config.doctype = xhtml*"). "
13:03 yuno right... well, i need html5 ;)
13:03 maholtz|WORK did you tried config.htmlTag_setParams =
13:04 yuno [12:43] <yuno> config.htmlTag_setParams = xmlns="http://www.w3.org/1999/xhtml" xml:lang="..." lang="..." [12:43] <yuno> works :)
13:04 maholtz|WORK ok, so everything works like you want?
13:05 yuno apparently .)
13:09 maholtz|WORK can you paste the whole html5 config you did...?
13:10 maholtz|WORK or put it into the wiki: http://wiki.typo3.org/index.php/TSref/CONFIG
13:10 maholtz|WORK ?
13:10 maholtz|WORK would be nice
13:10 yuno it's just:
13:10 yuno config.doctype = <!DOCTYPE html>
13:10 yuno and:
13:10 yuno config.htmlTag_setParams = xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"
13:10 yuno (i need the language stuff for some script)
13:11 yuno (hyphenator)
13:11 maholtz|WORK ok, thats all for HTML5?
13:11 yuno ye
13:11 maholtz|WORK thx
13:11 maholtz|WORK but HTML5 is not allready released.. or is it?
13:12 yuno ye, and the validator is experimental
13:12 pulponair hi there
13:12 yuno and that xml namespace over there is sorta... wrong :>
13:12 yuno but not really harmful
13:13 yuno since it matches the tags i'm currently using
13:13 yuno i.e. there is no <aside> or <section> etc
13:13 yuno so, this namespace is fine (in my case)
13:14 yuno the big plus of html5 is that it allows me to put block-level elements (such as divs) into a-elements
13:15 yuno well... that is... without having some validator complain
13:15 jbaptiste_j I guess you could obtain a similar result using CSS Yuno
13:15 yuno doing so works fine in about every browser out there - it just wasn't valid
13:15 yuno sure
13:15 yuno it's just far more messy
13:15 yuno <;
13:16 yuno this way i can use some container, add some headline, some image, some additional text... and then wrap all of that with a link. can't get much easier than that :)
13:18 maholtz|WORK sounds nice
13:18 jbaptiste_j I'll msg you some css that allow a <a> in a div to be a link on the whole surface of the div
13:19 yuno works fine. even in ie6. the only small thing you need to add for ie6 is a non-nop rule for the hover of the link itself if you want to use hover on sub elements (like .linky:hover img{border...})
13:19 yuno e.g. background:transparent wont work, but voice-family:inherit; does
13:21 yuno sorta silly, but ie6 doesn't think there is a need to hand the hover down to childs if there isn't a basic hover rule in first place (no idea what they were thinking)
13:22 paese is someone here who already got certified as t3 integrator?
13:24 _pedda_ yuno: you can use a span within an a-tagfor all that stuff as well
13:25 _pedda_ and it's still valid (now)
13:25 yuno i'd rather use markup which reflects the structure more closely (semantic markup)
13:26 _pedda_ hmm ok
13:26 _pedda_ what would be wrong using span for this ?
13:26 _pedda_ is span some kind of reserved for special cases ?
13:26 yuno a span isn't a headline
13:26 _pedda_ hmm ok
13:26 _pedda_ :)
13:27 zed_devil hi
13:27 _pedda_ hi
13:31 zed_devil can someone tell me how the percent hits of indexed search works. i have a page with 100% but there are only 2 hits, and a nother page has only 83% with 5 hits of the same word
13:36 maholtz|WORK @zed_devil: title, meta-tags, content
13:37 maholtz|WORK check extension configuration (after install) imho there was an option what to use etc
13:37 zed_devil ok thx
13:39 paese no one certified here? my boss enrolled me in a certification in 2 weeks,.. -.-
13:39 paese and i need some hints what to check up before certification. i realised a lot of pages but i want to know some caveats and things
13:42 pmk65 yuno: if you use SPAN instead of DIV, and then set "display:block;" on the SPANs, then they will act as blocklevel elements, but with valid html.
13:48 yuno so? if i use spans for my headline, setting display to block won't turn em into headlines
13:48 yuno putting block level elements into links is fine with html5. so, i'll just do that.
13:53 ZaFantasy is possible to create two images on upload ? So typo3 should create one image with one size and other one with second size. Is it possible ?
13:55 jjulian_ hi does typo3 has a development environment? like i can change templates without them to be live just to be in the draft view?
13:56 jjulian_ or do i have to install a staging server?
13:57 maholtz|WORK @jjulian_: you can using workspace for that
13:58 jjulian_ how? or where can i read about it?
14:00 maholtz|WORK are you german?
14:01 maholtz|WORK well, can you read german is important
14:01 maholtz|WORK then http://typo3.org/documentation/document-library/extension-manuals/doc_v4_workspace/current/
14:01 maholtz|WORK would help you
14:02 jjulian_ japp bin deutsch :D ich will halt nen redesign von ner Seite machen, die ich von nem Freund übernommen habe und dabei nicht unbedingt am live system basteln :D wobei der komplette Content so bestehen bleiben soll wie er ist halt nur in den Templates neu angeordnet werden soll
14:02 maholtz|WORK so that document could help you
14:03 pmk65 rødgrød med fløde
14:03 maholtz|WORK @pmk65 i didnt understand... ;)
14:03 _pedda_ heh
14:03 _pedda_ e
14:04 pmk65 I didn't understand the german question either :D
14:05 _pedda_ he was asking for a freelancer ... he is willing to spent 10 000 ¬ on a project..
14:05 _pedda_ .-D
14:05 maholtz|WORK but 10 hours to work for that money
14:05 _pedda_ nicht unbedingt = 10 000 ¬
14:06 _pedda_ mmmh 1000 ¬/h .. sounds nice
14:06 _pedda_ i would work only 100 hours a year then..
14:06 _pedda_ approx 5 days :>
14:06 maholtz|WORK hehe, perhaps you would work only 50 hours, but sell 2000
14:07 _pedda_ hehe
14:09 _pedda_ i'm trying to figure out how the width of my click enlarge image is set..
14:10 jjulian_ maholtz|WORK: is there a way to copy the actually live system as it is into the staging environment?
14:11 _pedda_ tar cfz /path/to/rootfolder/of/your/project name_of_tar_file.tar.gz
14:12 _pedda_ tar gz the project folder and move it to your staging environment
14:12 _pedda_ extract it, adjust the typo3_src symlink (you have to extract the typo3 source package before)
14:13 _pedda_ and dump the database on live environment and import it on the staging one again.
14:13 jjulian_ pedda: i mean in the same system. im trying to use the workspace. i dont want to install another typo3 system
14:14 _pedda_ what do you mean by staging environment then ?
14:14 jjulian_ the draft system of typo
14:17 pmk65 _pedda_: The image displayed in the popup is usually the original image.
14:17 _pedda_ my original image is 640 x ... the one in the popup is 600 x 600
14:22 pmk65 _pedda_ : check the following constants and register values, and see if any of those are set to 600.. http://paste.phlogi.net/-41123a5de4/
14:22 _pedda_ the static of css_styled_content says
14:22 _pedda_ .width = {$styles.content.imgtext.linkWrap.width}
14:27 zed_devil i try to add a news headline like this http://paste.phlogi.net/-5370fb85ae/ i can choose the headline in the BE but in FE its not shown. is there something missing??
14:33 pmk65 zed_devil: your code is a mix of TSConfig and Typoscript, so it won't work.. Check the manuals
14:35 zed_devil ah ok i think i should but the lib.code in the template
14:35 maholtz|WORK @jjulian_: first: dont use the draft, create a new workspace
14:35 maholtz|WORK second: you do not need to copy the live system, just switch to your workspace and edit, it is seperated then
14:37 yuno http://typo3.org/documentation/document-library/extension-manuals/template_basics_doc/0.0.3/view/1/5/ <- is there a new/other version of that part of the documentation... with like... non-broken markup?
14:38 maholtz|WORK @jjulian_: you should use an 4.2 installation if you want to change page-structure
14:39 yuno http://typo3.org/documentation/document-library/extension-manuals/template_basics_doc/0.0.3/view/1/3/ <- or that one... also horrible broken
14:49 pmk65 zed_devil: http://lists.netfielders.de/pipermail/typo3-english/2009-September/063509.html
14:50 jjulian_ it seems that workspace isnt working correct! i have my templates in fileadmin/templates i created a new folder fileadmin/templates_stage/ copied all files into that. changed to workspace draft and changed the main page template file from fileadmin/templates/main.html to fileadmin/templates_staging/main.html after editing some of the main.html nothing changed. but if i change the main.html in the original folder. it chnages on the live system (of course) an
14:51 pmk65 yuno: download the openoffice version of the manuals. they usually looks better when it comes to source examples.
14:51 zed_devil @pmk65 thanks
14:54 maholtz|WORK @jjulian: which version you are working with?
14:54 maholtz|WORK and dont use default draft workspace
14:54 jjulian_ TYPO3 Ver. 4.2.8
14:54 maholtz|WORK hm, should be ok then
14:55 jjulian_ why not using default draft? its the most easiest way. :D
14:55 maholtz|WORK because its buggy
14:56 maholtz|WORK afaik it is ok in 4.3, but i would not bet on it. there are some strange issues, perhaps it is ok for you but... i would not use it
14:56 maholtz|WORK but you got the workspace preview?
14:57 jjulian_ it gives me a preview
14:57 jjulian_ but it seems that it takes the wrong template file
14:57 jjulian_ if i change the css file to the new folder in the workspace its working great but it just uses the wrong .html
14:58 maholtz|WORK ok, so workspace seems to work, perhaps you overlocked something?
14:58 nd_ hey maholtz|WORK
14:58 nd_ you did the certification, didn't you?
14:58 maholtz|WORK hey nd_: yep
14:59 nd_ How many of the questions do I have to have right?
14:59 nd_ Thinking about trying to do it on friday
15:00 maholtz|WORK imho about 60% but that depends on the questions too, they have different weights
15:01 jjulian_ maholtz|WORK: template.file = fileadmin/templates_staging/main.html i changed that line
15:01 nd_ maholtz|WORK: Ah, ok
15:01 nd_ maholtz|WORK: Thanks
15:01 jjulian_ and maholtz|WORK im unable to add a new workspace
15:09 jjulian_ thats impossible :/
15:13 SEBAR1 Hi everybody. How can I setup a TV template to change the css background image for each categorie?
15:14 maholtz|WORK @jjulian_: well, you are using draft for your own, if you get no strange effects, it is enough perhaps
15:16 jjulian_ i have strange effects
15:16 jjulian_ like its not displaying my changes
15:17 jjulian_ just the changes in the template system. its not showing any changes in the main.html
15:17 jjulian_ even if i now gave him a main.html which not exists like template.file = fileadmin/templates_staging/main.html--NOT-EXISTENT
15:17 jjulian_ its show properly the old main.html nice one
15:18 MarkusH jjulian_: what's your problem?
15:26 SEBAR1 It think he has a cache problem
15:32 jjulian_ the problem is i tried to use the draft workspace
15:32 maholtz|WORK @jjulian_: i assume you have an typoscript problem, not an workspace issue
15:33 jjulian_ i dont know if you say so :D
15:33 jjulian_ there is only one line in my isRoot template and i changed that line but it still greps the old main.html
15:34 maholtz|WORK can you change anything else, to see if something changes?
15:34 maholtz|WORK so, if it is really an workspace problem or not?
15:34 zed_devil @sebar http://tinyurl.com/muwlff
15:38 jjulian_ maholtz|WORK i changed the line of the css
15:38 jjulian_ and there got the right css file included of the new folder
15:38 jjulian_ so: file1 = fileadmin/templates/css/style.css to file1 = fileadmin/templates_staging/css/style.css
15:39 jjulian_ and now the templates_staging/style.css gets included and just on the preview not on the live page
15:44 maholtz|WORK so, it is not an workspace problem
15:45 maholtz|WORK so check if the html-template gets inserted at another place
15:45 jjulian_ hm ive no clue how to do that :D
15:46 maholtz|WORK try the object browser to figur out
15:49 fuchur n
15:52 jjulian_ theres nothing
16:55 Rapp hi everyone
16:56 Rapp my news content block started showing the oldest news first suddenly. or rather, i noticed it today. what possible reasons could there be? i did not touch the news stuff in a while,
16:56 maholtz|WORK php update?
16:56 maholtz|WORK mysql update
16:57 maholtz|WORK afaik mysql
16:58 maholtz|WORK imho - it does not depend on the time, but only on the order in which they were created
16:58 Rapp hm, it seems some releases ago there was a new option to make the news items be sorted
16:58 Rapp i now set it sort by date, descending
16:58 Rapp now everything is fine :)
16:59 zed_devil cu
17:03 Howard hello
17:03 Howard question for you guys...I have test environment on remote server
17:03 Howard which tool you use for developing and editing plugins and changing TS?
17:04 Howard which tools I meant
17:04 Howard PSPad and then Ftp?
17:04 maholtz|WORK eclipse for plugins
17:05 Howard but I guess that then I need zend debugger instaled on server?
17:05 maholtz|WORK usually i avoid to devlope remote
17:06 Howard me also....but situation is that I don't have local test environment
17:07 Howard any advices for TS editing? I found dev3 plugin for eclipse, but that is more for ts2 extensions
17:12 Rapp Howard: why don't you set up a local test environment?
17:18 SEBAR1 I have a problem with a extended template with the following code: http://paste.phlogi.net/-682c664f0c/
17:19 SEBAR1 The idea is to include some images declared in the page settings
17:20 SEBAR1 Everthing works fine with the only problem that the image variable outputted only returns the image name and not the whole path. That is a problem when the images are not in the predefined folder as you can see in the source.
17:20 SEBAR1 Does anyone have a idea what I need to change in order to have the full path of the images?
17:32 pulponair SEBAR1: actually the images get save to upload/pics internally
17:33 pulponair SEBAR1: regardless of what their original location has been
17:33 pulponair so use uploads/pics
17:33 pulponair for all images and it will work
17:36 SEBAR1 I have nothing in the upload pics folder
17:36 pulponair SEBAR1: sorry i am a damn lyer acctually its uploads/media
17:36 pulponair SEBAR1: (at least for the pages media field)
17:37 SEBAR1 Nice, it works
17:37 SEBAR1 thanks a lot
17:37 pulponair SEBAR1: no problem you are welcome
17:39 SEBAR1 I just seen that even if the bg image is the same there is a new version generated/duplicated in the media folder?!
17:40 pulponair SEBAR1: yes right ....suffixed by a number
17:41 SEBAR1 yes
17:42 pulponair SEBAR1: yes right thats how T3 tries to insure consistence...
17:42 pulponair SEBAR1: (a little ugly but so what)
17:42 pulponair s/insure/ensure
17:43 pulponair SEBAR1: it's better to consinder editors as idiots instead of having them calling one all day long complaining about having changed all pictures of a website at once ;>
17:43 _pedda_ cu all
17:45 SEBAR1 okay :)
17:46 SEBAR1 only thing is that the media folder will become giant for a big site
17:46 pulponair SEBAR1: not really ....but if you worry about it's size there are several cleanup tools avaible...
17:47 SEBAR1 @pulponair: merci beaucoup
17:48 pulponair SEBAR1: just a did a du -hs on a large site running for years without any cleanup : 299M ..nothing to worry about ;)
19:06 jb_ test, can you read me ?
19:06 phil1 sure
19:07 phil1 ?
19:07 jbaptiste_j I had some issues with IRC it seems it is fixed then
19:08 jbaptiste_j one of my ethernet slots dcannot handle some ports...
19:09 phil1 sure it is ethernet ???
19:09 phil1 it simply does not care about ports
19:10 phil1 so I guess it was the firewall
19:11 jbaptiste_j no I have no firewall configured
19:11 jbaptiste_j and my computer is in DMZ
19:11 jbaptiste_j I just took the cable from one card to the other and now 6667 works...
19:13 phil1 what is your OS?
19:13 jbaptiste_j vista 64 :{
19:13 jbaptiste_j both network slots are handled by the motherboard
19:14 jbaptiste_j maybe there is some filter in the bios
19:14 phil1 or in vista firewall
19:14 jbaptiste_j vista firewall is off
19:15 phil1 maybe another programm just blocked the port which might have been synced to a specific slot
19:15 phil1 as I said, ethernet does not know anything about ports or protokolls :)
19:15 phil1 btw. we are far off topic xD
19:16 jbaptiste_j you are right , I can now speak here, which matters to me
19:17 jbaptiste_j now to be more in topic, I learnt here that styles.content.links.extTarget = _blank will make every outside link open in na new window, what about opening every FILES in a new window ?
19:21 phil1 I am not sure
19:24 pmk65 styles.content.links.target = _blank
19:25 phil1 isn't this for all links ?
19:32 jbaptiste_j I want internal pages to stay in current window
19:32 jbaptiste_j _blank only for outside urls and files
19:32 jbaptiste_j including local files hosted on typo
19:35 pmk65 it depends on how you file links are generated.
19:36 pmk65 if thet are generated by the typolink function, setting target = _blang on those typolink objects will make it open in new window.
19:37 pmk65 but if you wan the file to open the browser's download requestor, you need to "push" the file directly to the browser.
19:38 SEBAR1 How can I define the length of ###MORE### in tt_news?
19:39 jbaptiste_j pmk they are generated by creating links in the RTE, adding blank to the link manually for each link will work but I would prefer not to ask my users to type any code
19:39 pmk65 SEBAR1: its a language label, check the tt_news manual for how to override the current word/sentence.
19:40 SEBAR1 pardon wrong item
19:40 SEBAR1 ###NEWS_CONTENT
19:40 phil1 jbaptiste_j: you can try setting a condition within tt_content
19:40 phil1 jbaptiste_j: use crop
19:41 phil1 SEBAR1: use crop
19:41 phil1 sorry jbaptiste_j
19:41 pmk65 jbaptiste_j: a VERY LONG time ago I wrote some TS that put different icons beside the links. it used different icons for internal & external links + file links.
19:41 jbaptiste_j sounds interesting
19:43 pmk65 I just can't find the TS snippet, but it was something like this. http://www.typo3wizard.com/en/snippets/general-config/different-formating-for-internal-and-external-links.html
19:49 jbaptiste_j thanks pmk65
19:53 pmk65 I guess the easiest way to do it would be to write a small userfunction for tt_content.text.20.parseFunc.tags.link, that checks if the url is numeric (internal link) or not (external or file) . Then checks if the url contains a known extension (pdf,zip,rar etc.) and then return that value to TS. then you could create a CASE object for the various types.
19:58 pmk65 If you need some example code, then take a look at the tinymce_rte ext., it contains some parseFunc userfunctions I wrote. They are extremely simple..
20:11 jbaptiste_j by the way does this rte have a french translation ?
20:28 pmk65 yes. if you install the additional language pack
20:28 pmk65 http://typo3.org/extensions/repository/view/tinymce_languages/current/
20:29 schabracke hey there! i instaled mm_forum ext i created a category and after that a forum in this category and than that error came up when i looked at the site: Fatal error: Call to undefined function imagecreate() in /var/www/umat/t3lib/class.t3lib_stdgraphic.php on line 2864
20:34 pmk65 schabracke: sounds like your PHP is broken.. http://us3.php.net/manual/en/function.imagecreate.php#41714
20:35 pmk65 or your gd lib is not configured correctly
20:36 schabracke hmm strange, it only happens if i add a Forum to a category??!
20:58 schabracke @pmk65 have you got mm_forum running on your site?

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.