Search the website and IRC logs

#TYPO3 IRC log from : Friday 6 February 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 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
00:35 [Francesco] how can i get the news date value in typoscript ?
00:35 [Francesco] in the $TCA, in the tt_news root, i found a crtime.
00:35 [Francesco] crdate
00:35 [Francesco] which's the syntax to get this value ?
00:35 [Francesco] and store in a COA
01:19 [Francesco] dinsdale i think the solution was the simplest i could imagine......
01:20 [Francesco] when you set displayList.date_stdWrap.strftime = %d.%m.%y (for example)
01:20 [Francesco] you can add there html, for example: displayList.date_stdWrap.strftime = <b> %d </b>.%m.%y
01:56 dinsdale07 [Francesco], I guess strftime is type TEXT?
02:02 [Francesco] err i dunno :P
02:02 [Francesco] strftime is a function
02:03 [Francesco] you set up the date template following php rules about date. but i found you can insert html there
07:13 Kokloco Hi all
07:14 Kokloco How can I set the bakground;url (....) attrubute of a DIV from templavoila so I can change it dinamically for every page but using only one template? Thanks
09:01 _pedda_ hi all
09:02 dec_ lo
09:43 Rapp hi everyone!
09:44 dec_ lo
09:44 Rapp where do i set the template for a new site in my typo3 installation? i already have 2 sites running, and added another site, which complains about "no template found". i just want to reuse the template that i use for my other two sites
09:44 dec_ do you mean the html file or the typoscript template?
09:44 Rapp i guess the latter one...
09:44 dec_ what's your structure like?
09:44 dec_ like: root -> site1/site2/site3
09:45 Rapp yeah, site1 to site 3 are children of my root
09:45 dec_ the template is not set in your root then? but on the root of each specific site
09:45 Rapp might be :)
09:45 dec_ k, you'll simply have to create a template for your new site then
09:49 Rapp another question: in an empty news storage folder, how do i create an initial news item? because i only see the page content records, not the news records...
09:50 dec_ click on your storage folder, choose list
09:50 dec_ click the add button on the top row
09:50 dec_ 'create new record'
09:50 dec_ should be something like News item in that list, if youre using tt_news
09:50 Rapp yeah, it works :) thanks
09:53 michel1986 hello
09:53 Rapp ok, now i still have a "the page is not configured" error. what is that supposed to mean?
09:53 dec_ are you using templavoila?
09:53 michel1986 you dont have a template set
09:54 dec_ youll have to place something like this in your SETUP field of your site's root template
09:54 Rapp hm, i just copied the template from my other site...
09:54 dec_ page = PAGE
09:54 dec_ page {
09:54 dec_ typenum = 0
09:54 dec_ 10 = USER
09:55 dec_ 10.userFunc = tx_templavoila_pi1->main_page
09:55 dec_ }
09:55 dec_ assuming you're using templavoila, ofcourse
09:57 Rapp i think i don't use templavoila... but let me check... i'll try to figure out how i configured the other two sites :) too bad i only fiddle with this backend stuff only twice a year...
09:57 michel1986 otherwise page.10< styles.content.get
09:57 michel1986 and include css content
09:58 Rapp ok, got it! thanks
09:59 michel1986 you dont have the error anymore?
10:00 Rapp no :)
10:00 Rapp i have set the template in the list view, obviously you can edit it there too... did not know that before
10:00 zilenCe hello
10:00 dec_ lo
10:00 zilenCe I recently upgraded typo3 and switched to tinyrte
10:01 zilenCe however the editor only works for the admin user account but not for all of the other backend users, I double checked the settings, does not workforme
10:01 zilenCe all have the setting to enable rte
10:03 dec_ zilenCe: no idea, nut used tinyrte myself
10:07 michel1986 I am using indexed_search, it is working properly only i want that page titles DON NOT get indexed by my crawler.. How do i do that?
10:09 michel1986 do not*
10:23 tobi_t3w michel1986: wrap the content that should be searched in <!--TYPO3SEARCH_begin--> and <!--TYPO3SEARCH_end-->
10:28 michel1986 tobi_t3w i did that wtih many tt_content items. But now i want the page titles not to be indexed
10:28 michel1986 I am currently using a crawler, maybe i can change the settings there so that it doesnt index my page titles?
10:39 swemark Hello, can i via typoscript check if a page has subpages?
10:43 michel1986 yes
10:45 swemark any tips on howto do it?
10:45 swemark i was thinking something like [globalVar = TSFE:sub = 1]
10:49 michel1986 hmm maybe what is more easier to do is:
10:51 dec_ quitting seems to be much easier
10:51 maholtz|WORK @swemark: you can use numRows but i do not know an solution to use it in conditiosn
11:04 HardPhuck guys, if i need to make a really simple search, what is the best ways
11:04 HardPhuck way
11:06 _pedda_ what are the requirements
11:06 _pedda_ ?
11:06 pulponair hi there
11:06 dec_ lo
11:14 _pedda_ hi
11:14 swemark dec_: lol :)
11:15 swemark maholtz|WORK: what i want to do is to set hmenu-entrylevel depending on wether a page has subpages or not
11:18 maholtz|WORK ? perhaps entrylevel = -1 helps?
11:19 maholtz|WORK has entryLevel stdWrap?
11:19 nd maholtz|WORK: About yesterday... I did it the typo3temp way in the end.. thanks alot
11:23 maholtz|WORK @nd: thanks:)
11:25 pontecorvo Hello all. For some reason on the few pages of my site in top-right connor appear gray window with template debugging info. I can't contact with site developers but need to disable this window. Any advice?
11:26 pontecorvo typo3 4.2, templavoila
11:30 pulponair pontecorvo: could you provide me with a screenshot?
11:30 pontecorvo pulponair: Yep, 2 min
11:31 dec_ they probably left debug() in the code somewhere
11:31 pulponair dec_: i suppose, yes
11:31 dec_ you can disable debug info in the install tool, or make it only display when ip matches the whitelist
11:32 pulponair dec_: lets wait for the screenshot to clarify things ;)
11:32 dec_ >:)
11:40 pontecorvo pulponair: http://img111.imageshack.us/my.php?image=dumprc1.png
11:41 pulponair pontecorvo: it's part of the admin panel. it should disapear as soons as you logout from the backend.
11:42 pontecorvo pulponair: Wrong. Have tried. No effect.
11:42 pulponair pontecorvo: my fault....TV version?
11:43 pontecorvo pulponair: Sorry, have just found. Developer who made this site copied html then he was logged and use it as new html template for TV. So js code for this window was included in each page based on this template.
11:44 pontecorvo pulponair: Anyway, thx for help :)
11:44 pulponair pontecorvo: ok ;)
11:45 pulponair pontecorvo: so i was partly right ;). Hardcoded admin panel ;>
11:45 pontecorvo pulponair: Yeah )
11:45 pulponair pontecorvo: never seen that before :)
11:46 dec_ lol
11:46 dec_ amazing
11:46 pulponair dec_: yes quite funny
11:47 dec_ i was almost right ;(
11:47 pulponair dec_: at least the "left code.." ;)
11:47 dec_ :P
11:48 pulponair dec_: though the developer did that accidentally, i suppose
11:49 dec_ yeah
12:27 HardPhuck ugh sorry, i need a simple search to search my custom table
12:28 HardPhuck so i have a form that defines 'sword'
12:28 HardPhuck i think i need to define which fields to look in, right?
12:33 dec_ you handle that in your query
12:33 dec_ select WHAT from TABLE where FIELD 1 like %sword% OR FIELD2 like %sword%
12:33 dec_ etc
12:33 HardPhuck yes, but that is the long vay
12:33 HardPhuck i think there is a shorter one
12:33 dec_ is there any other way?
12:33 HardPhuck built in typo3
12:33 HardPhuck yes
12:34 HardPhuck check the feuserlisting extension
12:34 HardPhuck $this->internal['searchFieldList'] = 'username,name,email,country,city,zip,telephone,address,title';
12:34 HardPhuck and then you define the 'sword' in your form
12:34 dec_ o.O
12:34 HardPhuck and those fields get search
12:34 HardPhuck searched
12:36 _pedda_ hmm wait
12:36 _pedda_ first of all there is an extension
12:37 _pedda_ search anywhere or something
12:37 _pedda_ you can set it up to search a table you want
12:37 _pedda_ and the second way would be doing it via ts
12:37 _pedda_ this is possible too
12:38 _pedda_ @HardPhuck
12:38 HardPhuck yes, but i need to add the results
12:38 HardPhuck to my custom view
12:39 _pedda_ your custom view ? take the ts soulution then
12:39 HardPhuck well,... it's a bit complicated :)
12:39 _pedda_ well explain then :)
12:40 HardPhuck this is a custom search that has input fields and select boxes
12:40 HardPhuck like 6 fields
12:40 HardPhuck testing this->
12:40 HardPhuck $WHERE.=$this->cObj->searchWhere($this->piVars['sword'],$this->internal['searchFieldList'],$table).chr(10);
12:40 HardPhuck what does chr(10) mean?
12:41 _pedda_ chr(10) is . as far as i remember
12:41 _pedda_ wait i can look this up
12:42 HardPhuck ok
12:42 _pedda_ first look at this: http://typo3.org/extensions/repository/view/an_searchit/current/
12:44 HardPhuck thanx
12:45 _pedda_ does this suite your needs ?
12:45 HardPhuck to soon to tell
12:45 _pedda_ k
12:48 _pedda_ HardPhuck: chr(10) stands for br/
12:48 _pedda_ linebreak
12:48 HardPhuck thanx
12:49 dokma hi guys
12:50 _pedda_ hi dokma
12:50 dokma ;)
12:50 dokma what's new?
12:50 dokma other than 4.2.5
12:51 dokma ohhh and what happened to 4.2.4
13:14 swemark Anyone ever had the problem of height:70%; not working in Firefox?
13:18 HardPhuck _pedda_ i fixed my search
13:18 HardPhuck $this->cObj->searchWhere works like a charm
13:41 Kokloco Hi to everyone
13:43 Kokloco How can I map the "background" style of a DIV from TemplaVoila? I tryied doing so creating a ATTRIBUTE as LISt in my TO and then editing the ds TO ADD OPTIONS TO THE SELECT AS "background:url(....)" but doesnt work...: Can anybody PLEASE give e a hand? Thanks
13:47 Kokloco Hello?
13:52 Kokloco Does anybody read me? I should I be resigetered or what? Since I cant read anything so far in the channel?
13:54 Kokloco hello?
13:56 krutt|work yes we can read you
13:58 maholtz|WORK indeed
14:02 razer hiho
14:02 razer does anyone know a good tutorial for realurl with multible languages?
14:04 maholtz|WORK nothing in the realurl manual?
14:08 maholtz|WORK @razer: put everthing helpfull in http://wiki.typo3.org/Realurl please... thanks:)
14:09 dec_ can php do simple calculations with comma seperated values rather than dot seperated values? (1.2 + 1.3 and 1,2 + 1,3?)
14:15 ries Denyerec: Dude, have you been using the commerce extension?
14:15 ries dec_: No... using a , with floating points is not standard, you need to parse them first and convert them to floats
14:17 ries Denyerec: I know you are there... I see your mails in TYPO3-50-general ;)
14:19 tobi_t3w ries: im using the commerce extension now in a project for the first time, maybe i can answer your question
14:19 ries tobi_t3w: How many times do you implement commerce?
14:21 tobi_t3w first time now
14:22 maholtz|WORK @ries: what is your question?
14:22 ries I am looking for somebody that can write a book about it :D
14:23 ries packt publishing keeps on bugging me to write a book about it, my buddy Den has been using it I believe... so I wanted to ask him to contact packt.... may be it's something for him to write about it
14:24 maholtz|WORK why didnt they asked in commerce newsgroup? or ingo perhaps he would be interested or he knows someone...?
14:24 tobi_t3w i am not really convinced about commerce .. way to much globals->tsfe->nocache
14:25 dec_ i have a question.. i use values from a <span> to calculate stuff with, like <span>1.22</span and <span>1.23</span>, with javascript i select the inner html and do 1.22 + 1.23... now my boss wants the numbers to look like 1,22 and 1,23... since it will calculate something alot different, how will i achieve this?
14:25 ries maholtz|WORK: I have no idea.... this is teh second mail I already got from them
14:26 tobi_t3w dec_ just replace , with . before doing the calculation
14:28 ries tobi_t3w: that can be dangerous in this case '10,12.00'
14:28 ries better is to parse it properly
14:28 Kokloco Hi again
14:28 Kokloco How can I set the bakground;url (....) attrubute of a DIV from templavoila so I can change it dinamically for every page but using only one template? Thanks
14:29 ries sorry... I did mean to say this case '10.12,00'
14:29 ries arg... again wrong.. well you get the idea :D
14:30 Kokloco ries, could you please vie me a hand?
14:30 Rapp how can i tell the RTE /not/ to convert a text like "http://www.x.org/" into an "a href" element?
14:30 Rapp i just want it verbatim in the text...
14:30 tobi_t3w Kokloco: use a case like in this example: http://www.phlogi.net/t3/tspastebin/
14:31 ries Kokloco: what are you input values???
14:31 nkuttler Rapp: the rte does that? you could switch to html view i guess
14:32 tobi_t3w hm wrong link .. http://paste.phlogi.net/-663a49460d/
14:32 Rapp well, i dont think the RTE per se does that...
14:32 Rapp because i tried the HTML view
14:32 Rapp so maybe rather t3 itself does that
14:32 nkuttler Rapp: yeah, i would have guessed it's some TS thing
14:32 nkuttler Rapp: check your TS, template, site config etc
14:32 Rapp so, anyone got an idea? it is pretty annoying...
14:33 Kokloco tobi_t3w, I am going to try
14:34 maholtz|WORK @Rapp: you can delete such urls via rte - right click and remove that link
14:34 maholtz|WORK if you do not want any link in an rte element, you could alter lib.parseFunc_RTE
14:35 nkuttler Rapp: i'd check the tt_content db table to see if it's really the rte doing this
14:36 Kokloco tobi_t3w, but, what exactly is field_img? I mean, which type of element did you use to map it?
14:36 dokma hey guys
14:36 Rapp maholtz|WORK, actually no. they are still shown as text in the RTW
14:36 dokma you know where to find realurl for typo3 3.8.0 ?
14:36 Rapp RTE
14:36 tobi_t3w Kokloco i mapped the image field as attribute on <div style="imagefiled">
14:37 tobi_t3w altering lib.parseFunc_RTE.tags.link similar to http://www.typo3wizard.com/en/snippets/general-config/different-formating-for-internal-and-external-links.html shouldnt be that hard
14:37 Kokloco tobi_t3w, ah ok I see, I was putting "background:url(....)" insed the options tang into the select
14:40 Kokloco tobi_t3w, so this will be correct, tight?http://paste.phlogi.net/-d693448e50/
14:41 maholtz|WORK @Rapp: disable rte on that page (there is a checkbox for that) and look how the url is rendered. as http://example.com or as <link http://example.com">http://example.com>http://example.com ?
14:41 tobi_t3w looks ok Kokloco
14:41 Rapp the first
14:42 maholtz|WORK and than it appears at link on your website?
14:42 Kokloco tobi_t3w, ok, I am going to try it .. let's wee what happens
14:44 Rapp maholtz|WORK, exactly
14:50 Kokloco tobi_t3w, this is actually my real DS with your propossal, does it look ok? http://paste.phlogi.net/-5700bcb409/
14:54 tobi_t3w Kokloco <numIndex index="1">V2</numIndex> doesnt, rest looks good ;)
14:55 Kokloco tobi_t3w, yeha you're right, I fixe dit
14:55 dec_ var currentPrice = document.getElementById(priceSpanId).innerHTML; currentPrice = currentPrice.replace(',', '.'); why does tihs tell me currentPrice.replace is not a function ?
14:56 dokma it's not of type string
14:57 dokma try alert typeof
14:57 dec_ its a string when i alert it
14:58 dokma alert the typeof
14:58 dokma you might be surprised
14:59 dec_ actually yeah its a number
14:59 dokma ;)
14:59 dec_ can i convert it somehow?
14:59 dokma you can
14:59 dec_ i know i can pu tqoutes around it but i need it for maths
14:59 dokma google it
14:59 dokma I don't know it by heart
15:00 netxguy Hi all.
15:00 netxguy I actually need your help guysss
15:01 netxguy how can i login to undernet, when irc is telling me that my ip address has been g lined??
15:04 Kokloco tobi_t3w, doesnt write anything in the style section of the DIV
15:07 Kokloco tobi_t3w, http://paste.phlogi.net/-70e99aeee3/
15:12 Kokloco tobi_t3w, I mean, is it the code correctly placed ?
15:17 maholtz|WORK @dec_: use reg exp for that
15:18 Kokloco It doesnt wirte anything to the attribute,...I mapped it as attribute, and style, the SELECT works perfectly form TV, but when loading the page in the browser with firebug I see that style is empty: style=""
15:18 Kokloco Any ideas please=
15:19 chefan checked for na overriding style?
15:19 chefan an
15:19 chefan even
15:20 Kokloco chefan, there is a style overriden that DIV but not for the background property
15:21 chefan sec, you are looking in the style attribute in an element with a template built by tv?
15:21 Kokloco ChanServ, yes, I am trying to map the "background" property of a template, look at the end of my DS script: http://paste.phlogi.net/-70e99aeee3/
15:22 Kokloco chefan, , yes, I am trying to map the "background" property of a template, look at the end of my DS script: http://paste.phlogi.net/-70e99aeee3/
15:22 chefan np, i have a highligt on chanserv and nickserv too. you never know if you can make good use of the passwords :D
15:23 Kokloco chefan, from TV page editor the selctor is working prety good, no errors, but in the browser nothing is in style wirtten,
15:24 chefan hmm, silly try
15:25 chefan separate the endbracket from the cdata tag and put the next tag in a separate line
15:25 chefan iirc it should not matter, but i am not sure which xml parser will parse the data and how
15:25 chefan some have their peculiarities
15:26 Kokloco chefan, I will try
15:28 Kokloco chefan, I mapped again the DIV but now the DS is like this: http://paste.phlogi.net/-fad5c372f9/
15:28 Kokloco chefan, no CDATA
15:28 chefan oh, not even a peculiarity :)
15:28 chefan The "]]>" that marks the end of the CDATA section cannot contain spaces or line breaks.
15:28 dec_ anyoen can recommend a good pdf to html tool?
15:29 chefan openoffice headless should be able to do that just fine
15:30 Kokloco chefan, like this? http://paste.phlogi.net/-44bc84693b/
15:31 chefan if you add the closing > afrer the ]] maybe ;)
15:32 Kokloco chefan, XD
15:32 chefan just take a look at your own paste ;) it conveniently marks you the problematic parts with a yellow floating label ;)
15:32 Kokloco chefan, still style="" (empty)
15:33 chefan cache cleared?
15:33 chefan tempfiles removed in typo3conf?
15:33 Kokloco chefan, cahce cleared
15:33 Kokloco chefan, removing nos tempfiles
15:34 Kokloco and still the same, style="" just remains empty
15:35 Kokloco it is not aproblem of urls, or wahtever, it just doesnt write anythign to th emapped attribute
15:35 Kokloco otherwise I should see it in firebug
15:36 Kokloco chefan, here is my last updated script:http://paste.phlogi.net/-c4fa869322/
15:38 Kokloco chefan, Ohhh, the options were all deleted!
15:38 Kokloco chefan, just a second
15:40 chefan could you throw that at pastebin please?
15:40 chefan this one inconveniently includes the warnings in the source ;)
15:41 Kokloco chefan, ok, look at: http://pastebin.com/m52db395
15:46 Kokloco chefan, did you find anything wrong?
15:47 Kokloco chefan, also I mapped the element as "attribute" and as "select", selecting the DIV ocntainer of the bacjground
15:47 Kokloco chefan, and I called it "field_header"
15:47 Kokloco in fact it is wrriting VOID, that's why why the 'style=""' appears
15:48 Kokloco chefan, the problem is why it is writing "" instead of "bajkcgorund..."
15:50 chefan hmm, i shot the xml through a pipe converter, which should puke up if there is something wrong with it
15:50 chefan the xml seems to be ok though
15:51 Kokloco chefan, could be something wrong with th emapping?
15:51 chefan actually, the prettyprinter plays even more rough with the cdata formatting
15:51 Kokloco chefan, but I can see the style="" in the correct DIV so it is working
15:52 chefan http://pastebin.com/d7bb7a6ff
15:53 Kokloco chefan, line 192, you have added [10=CASE
15:53 Kokloco chefan, I dont have that
15:53 Kokloco chefan, in the same line I mean..should it?
15:53 flowdab hello
15:54 flowdab is there a typo3 visitor counter which is shown in the backend only
15:54 flowdab but counts the visitors from the frontend
15:54 tD|Daniel hi guys, maybe you got a little hint for me... i got one flashbanner on my startsite and i wanna track/log the klicks on it... does anybody know an extension or ts?
15:56 Kokloco chefan, I dont know what more to try
15:56 chefan flowdab: i am not sure if there is, but it's a nobrainer to implement it with a hook if needed. do you need precise numbers? caching might spoil your day if you do
15:56 Kokloco chefan, man, I just want to add a variable in my template and substitute it by a value! Is that so difficulkt to do in typo3? I can do it in 3 sec using CakePHp
15:57 flowdab chefan: i need a module
15:58 chefan Kokloco: it is less difficult than complicated ;) sorry, i am more backendian, my knowledge of TV and TS is limited
15:58 flowdab does someone know this one: http://typo3.org/extensions/repository/view/ke_stats/current/
15:58 chefan once you get the hang of it, it is not difficult, our trmplaters do that regularly and quick
15:59 Kokloco chefan, ok,np, I appreciate your help
15:59 Kokloco So is there anyone who knows well template voila to give me a hand in such simple aide (substitute an attribute in a tmeplate)?
16:00 Kokloco chefan, the problem is also that there is nothing outhere to lern from, I am sick and tired looking at the tutorials and nothing
16:02 Kokloco nobody suses TemplaVoila? Xd
16:03 chefan welcome to the foss world :D seems like developers hate documentation ;)
16:03 chefan maybe they are busy putting variable fields in templates ;)
16:03 Kokloco chefan, seriously, is it so weird what I am asking?
16:03 chefan did you read futuristic template building?
16:04 Kokloco chefan, yes I did, nothing about this
16:04 chefan no, the weird thing is a cms like typo3 done in php ;)
16:05 Kokloco chefan, the weird think is a CMS where to do the minum thing you have to script, in that case is better going directly from sscarctch using PHP and any of the most popular Frameworks outhtere
16:05 chefan but keep asking, a couple of questions more like that and i sacrifice a couple of weekends to tame TS and TV ;) i hate not to know something
16:06 chefan Kokloco: i agree. i don't work with typo3 as a matter of choice, the company i work for employs it
16:06 chefan it might be a lot of things, but it is not simple
16:06 Kokloco chefan, the same happens to me, if I had the decission I would go directly from scratch using CakePHP, is faster, is easier, and is more powerfull
16:07 chefan and i am VERY happy that the templating stuff is done by others ;)
16:07 chefan hmm, not sure about the more powerfull
16:07 Kokloco chefan, can't you ask one of those colleagues about my question XD?
16:07 chefan typo3 is tremendously powerfull, it is more the question how to control that power
16:07 Kokloco chefan, PHP+Framework is more powerfull than Typo3
16:08 chefan don't get religious with me ;)
16:08 chefan or i'll start a discussion about how php is a bloated templating script language with limited oop support ;)
16:09 chefan it's not called hypertext preprocessor for no reason
16:10 Kokloco chefan, XD
16:10 Kokloco chefan, I wil be really happy now if just I get an answer to my problem with the attribute issue...
16:11 Kokloco Pleeeeasssseee I beg you guys your help!!!! XD
16:12 chefan ah, wait
16:12 chefan sec, i have a suspicion here
16:12 Kokloco GOOD!
16:13 chefan you want to put a style attribute into a tag, right?
16:13 Kokloco yes
16:13 Kokloco It is my dream right now
16:14 chefan which in the final page should look like <foo style="bar; ..."/>
16:14 Kokloco chefan, exactly
16:14 chefan ok, typo3 aims to be "clean"
16:14 Kokloco chefan, yes
16:15 chefan so it's well possible that typo3 just cleans up stuff like that
16:15 chefan since style does not belong into the html, but rather in a css
16:15 Kokloco chefan, mmmm, that makes sense
16:15 chefan sec
16:16 Kokloco chefan, but in that case How can I change the background image of a DIV on the fly from TemlaVoila?
16:18 chefan the div has an id?
16:18 Kokloco chefan, yes
16:18 Kokloco chefan, I think I know what is happening
16:18 Kokloco chefan, I should map the "class" instead of the "style"
16:19 Kokloco chefan, and then in the CSS style sheet have all those classes with tthe background stuffs I guess
16:20 chefan exaqctly
16:20 chefan just got that confirmed from my templater
16:21 Kokloco chefan, I will try, just a second..
16:21 chefan what happens is, that templavoila religiously tries to separate style from content
16:21 chefan so you will get the patched up style cleaned up
16:21 Kokloco chefan, yeah...TemplaVOila is a fanatic of the well an dclean script XD
16:21 Kokloco I will try, just a second
16:22 chefan what you have to do is define an alternative style and just switch the style locally for the element
16:25 theconic hi all, i have a question about the HMENU
16:26 theconic usually only the submenu is shown of the current page
16:26 Kokloco chefan, but what I dont understand is that "class" is not part of "style" and what the mapped element does is writing into the "stlye", so how I am gooign to write into "class"=
16:26 theconic can i let the submenu of all pages always be displayed?
16:26 theconic that it looks like a list?
16:28 Kokloco chefan, forget that last stupid question!...XD
16:31 theconic ok i found it ;)
16:31 theconic problem solved
16:32 chefan lol, Kokloco , don't get confused with css now ;) you are almost there
16:35 Kokloco chefan, still the same man, now it writes class=""
16:37 Kokloco I cant understand this
16:38 Kokloco it JUST doesnt write what is in 10.x.value=header_image_main
16:38 Kokloco whatever I put in 10.x.value=..., is not written then to the finel HTML
16:44 Kokloco Is that sinmtom og anything guys?
16:45 Kokloco shoud be 10.value in ".." =?
16:46 Kokloco I wil lbe asking until I get it..
16:48 dinsdale07 Kokloco, has "x" a typo3? 10 = TEXT; 10.value = This is the text.
16:49 dinsdale07 damn, all the time I want to write type, typed, I write typo3 - it's just this pattern is so present :-)
16:49 chefan i am not sure what is the state of your config yet, Kokloco but if i got my templater right, you want to define styles for two classes and use the ts to select the class locally for the element as needed
16:49 chefan lol
16:49 Kokloco dinsdale07, yes it has, please take a look to my DS script at the end (field_header); http://pastebin.com/m39810b4e
16:50 chefan yep, typo3 slowly drives us all mad
16:50 Kokloco chefan, but it is not a matter of good or bad classes selection, it is just no thing written into the attributed that is mapped
16:52 chefan did you check in firebug if the classes exist in the css and just not get mapped, or if the classes don't exist in the first place?
16:52 dinsdale07 Kokloco, I think I see what you're trying to do, I've never tried it. typoscript in TV xml is an ugly thing and badly documented.
16:53 Kokloco dinsdale07, well what I want to do is quite simple, I wan tto change the backgorund image of a DIV depending the page I am...is that weird??
16:53 dinsdale07 have you thought about swapping out the css definition and retaining the class?
16:54 chefan dinsdale07: carefull, if the class is used elsewhere too, that would not keep the change local for the element
16:54 Kokloco chefan, the classes are defined in the main style.css of my designs, and Firebug dont track them since the final HTML is just putting <div id="header" class="">...
16:55 chefan hmm
16:55 Kokloco the problem is the class=""
16:55 Kokloco it is empty
16:55 Kokloco and the smae whas happening with style=""
16:55 chefan when you are ready for evil hacks, tell me
16:57 chefan contentPostProc-output
16:57 chefan ok, in that case you will ask yourself why you used typo3 in the first plave, but if you just have to get it to work... ;)
16:57 Kokloco chefan, I just want to solve this, no matter what is needed
16:57 chefan place
16:58 chefan ok, contentPostProc-output is a hook that allows you to work on the rendered content after processing, just before output
16:58 Kokloco chefan, and How can I use that?
16:59 chefan check the sections about hooks
17:00 chefan you create a class which patches up your content and register it to hook into the frontend rendering process
17:01 chefan http://typo3.org/development/articles/how-to-use-existing-hooks/page/1/
17:02 Kokloco ooooo, and all this to just do : <div class="<?php echo $class; ?>"></div> ???
17:02 chefan http://buzz.typo3.org/people/stucki/article/typo3-frontend-rendering-explained/
17:02 chefan lol, exactly :D
17:02 Kokloco and then from your PHP source.. $mytemplate->set("class","myclass");
17:03 Kokloco lol
17:03 chefan as i said, evil hacks ;)
17:03 Kokloco and this is a CMS? XD
17:03 chefan yes it is
17:03 Kokloco Xd
17:03 chefan well, there is a way to do what you intend to do for sure
17:04 Kokloco chefan, defining several templates with the diferent backgrounds I know
17:04 Kokloco but that is not efficent
17:04 chefan the hack wasn't offered because you don't have a "proper" way to do it
17:04 chefan you want efficiency?
17:04 Kokloco chefan, no, I dont know how many pages the project will have
17:04 Rapp can i set a link (href) in a news item?
17:05 Kokloco chefan, that is why U cand create in advance X templates with different pictures
17:05 Kokloco LOL, I JUST WANT to change the CLASS attribute of a DIV...is that so weird in TemplaVoila????
17:06 chefan i am sure there is a proper way to do it with templavoila, the problem is less one of capability but more one of documentation and examples
17:06 Kokloco chefan, I know
17:06 Kokloco chefan, the first problem is MY IGNORANCE
17:06 Kokloco chefan, Eventhoug I gooled for the entire day of yesterday, nothing. That's the second problem
17:06 chefan lol, there are things that make you wonder if you don't want to keep your ignorance :D
17:07 chefan i still regret the first day i browsed through t3lib source code :D
17:07 Kokloco XD
17:07 Kokloco chefan, and the 3rd problem is that nobody seems to know anything
17:08 chefan the funny thing is, what you try to do is almost a no brainer with pure ts, without tv
17:08 chefan lol, the people who know are just busy writing consultancy invoices :D
17:08 chefan gotta love foss
17:13 _pedda_ cu all
17:20 dinsdale07 I need DAM because an extension won't work without it. I want the old "filelist" way though of selecting files in the backend, how can I get it back?
17:25 nd Go to EM and select `keep old Web->File blah` (at least that worked before the latest DAM release)
17:26 Kokloco NO SOLVED YET
17:26 Kokloco My style sheet is in the body set, does it have something to do with tthe wrong behavour????
17:26 Kokloco I am getting mad with this, I need to solve it before afternoon
17:27 Kokloco 1 day and a half just figuring out how to nap the bakground style of a DIV
17:27 Kokloco no docs, no forums, nothing
17:27 Kokloco nobody has tried to do this before or what?
17:28 dinsdale07 nd, I have that already select. The problem is that if I want to select an image anywhere in a plugin in the backend it now opens the new DAM window and the folders in which my images are neatly organized display as empty.
17:28 Kokloco I mean, if no documentation about templavoila, and no help in the #typo3 chat, where is it supossed that I have to go for help???
17:28 nd dinsdale07: Ah, I see.. I can't help there
17:29 dinsdale07 Kokloco, have you tried the mailing lists. Dimitry is usually quite active responding to questions regarding templavoila. there is also a TV mailing list
17:30 Kokloco dinsdale07, but seriously, none of you guys have tried to map an attribute of a DIV=???
17:31 dinsdale07 nd, well, thanks anyway for trying :-) DAM just gets into my way - anoying since I don't need it.
17:38 Kokloco pffffffff
17:39 dinsdale07 personally I didn't come across the challenge yet. I agree that the xml in TV is not very well documented. I guess people will have to get annoyed enough with the status quo to start creating documentation about this topic.
17:39 Kokloco yeah...
17:39 Kokloco is this correct?:10.1=TEXT
17:39 Kokloco 10.1.value=header_image_main
17:39 Kokloco or 10.1=TEXT
17:39 Kokloco 10.1.value="header_image_main "
17:40 Kokloco just whatever I pu tinto 10.1.value is not written finally i nthe HTML created
17:41 dinsdale07 I remember something similar ...
17:46 dinsdale07 and it doesn't work either. I think I tried to override a link field with a default value for the Text.
17:47 nd dinsdale07: yes, anoying it is - most of the time
17:47 dinsdale07 Kokloco, have you tried 10.1.required = 1 ?
18:01 Denyerec ries
18:01 Denyerec Hehe @ your reply to Dmitry
18:01 Denyerec I was on-site today working for that webdev company tying up some loose ends
18:01 Denyerec So was checking the mailling list when short on work
18:01 ries Ahhh ok....
18:03 Kokloco dinsdale07, sorry, whaat?
18:07 Kokloco dinsdale07, HEEEEYYYY!!!! Trying 10.1.required = 1 now ti writes SOMETHING into class=""...but not what I want, it actuall writes "index.php?id=1", but 1 is actually the option 1 into my classes list..
18:09 Kokloco I cant even place the picture as an element into the TV page editor, becuase IT IS A BACKGROUND
18:09 Kokloco so I am in a DEADEND I dont see any solution to this
18:11 Kokloco is there any chat for templavoila?
18:13 Kokloco OK, let's put the problem from another point of view: HOW can I set up a variable in a template, and fill it with a text depeneding in which page I am?
18:13 Kokloco I mean something like this: <div class="<?php echo $class; ?>"></div> ???
18:14 Kokloco And then: $mytemplate->set($class,'whatever');
18:14 Kokloco How can I do that in TemplaVoila?
18:18 Kokloco smux`, do you know anything about TemplaVila?
18:20 Kokloco Nothing that I triy works
18:25 Kokloco Anyone WHO Works with TemplaVoila??????
18:26 Kokloco Anyone who uses templates in typo3???
18:27 Nekdy templavoila is the way
18:27 Kokloco Nekdy, really?? so how can I mapp the class attribute of a DIV ? because so FAR anything that I didi worked
18:28 Kokloco Nekdy, can you help me please?
18:28 Nekdy there is dropdown
18:28 Nekdy wait
18:29 Nekdy Mapping Type: attribute
18:29 Nekdy then you select class
18:30 Kokloco Nekdy, I have done all the mapping, and added the options in the DS, and all that but doesn write anything in the class=".."
18:30 Nekdy well how did you map it?
18:30 Kokloco Nekdy, I beg you to take a look to my DS, please: http://pastebin.com/m7c7c06dc
18:31 Kokloco Nekdy, Attribute-List
18:31 Kokloco Nekdy, then class=".."
18:31 Kokloco Nekdy, in the DS take a look to the end, the field_header element
18:32 Nekdy what you get is class=""
18:32 Nekdy ?
18:32 Kokloco Nekdy, yes
18:33 Kokloco Nekdy, empty
18:33 Kokloco Nekdy, nothing is written into it
18:34 Nekdy #
18:34 Nekdy <numIndex index="0">Main</numIndex>
18:34 Nekdy #
18:34 Nekdy <numIndex index="1">1</numIndex>
18:34 Nekdy the first one is what is seen in backend
18:34 Nekdy and the second one is the value
18:34 Nekdy so your current value is 1
18:34 Kokloco Yes, no but should be selected from the CDATA?
18:35 Kokloco is the value 1 into the array of 10.X..
18:36 Nekdy i have no idea what you are saying
18:36 Kokloco Nekdy, Am I right?
18:36 Nekdy if you want class="Main"
18:37 Nekdy <numIndex index="0">Main</numIndex>
18:37 Nekdy <numIndex index="1">Main</numIndex>
18:37 Kokloco Nekdy, ok, do you see the lines between 182 and 199=
18:37 Kokloco ?
18:37 Kokloco Nekdy, they are supossed to be the real vlues of the list
18:37 Kokloco Nekdy, Or at least I was told to do it that way
18:37 Kokloco in this same channel
18:38 Nekdy huh
18:38 Nekdy i never did it that way :)
18:38 Kokloco Nekdy, I will try yours, I hope it works
18:38 Kokloco just a second
18:38 Nekdy of course it works :)
18:38 Nekdy the first one is label for BE
18:38 Nekdy and second one is value
18:40 Nekdy or the other way around
18:41 Kokloco no work
18:41 Kokloco the class="" still empty
18:43 Nekdy maybe you mixed something up
18:44 Nekdy when you map element as list you will see that templavoila makes 3 options in DS by default
18:44 Nekdy which you can then just change
18:44 Kokloco I ll paste you again the new DS
18:44 Kokloco http://pastebin.com/m2969bbe4
18:45 Kokloco I appreciate your patience
18:45 Kokloco Nekdy, but belive me I have been since yesterday trying to make this work
18:48 Nekdy looks good
18:48 Kokloco Nekdy, so the class="" is empty
18:48 Nekdy you can try comparing it to this
18:48 Kokloco Nekdy, ok
18:48 Nekdy http://pastebin.com/d7af24598
18:51 Kokloco let's see
18:52 Kokloco Nekdy, but what are you mapping there?
18:52 Kokloco Nekdy, I am mapping the classs attribute of a DIV
18:53 Nekdy it's a FCE
18:54 Nekdy i can paste you html
18:54 Nekdy it's really a school one
18:54 Nekdy http://pastebin.com/d95174d9
18:54 Nekdy there
18:55 Nekdy i'm mapping a class of div too
18:55 Nekdy class="class"
18:55 Nekdy that one
18:55 Nekdy now i really have to go eat
18:55 Kokloco Nekdy, the only diference between yours and mine are the lines between 177 and 179 (my code)
18:55 Nekdy coz im very hungry
18:55 Nekdy you can try creating a new fce
18:55 Kokloco :(
18:56 Nekdy paste my code into DS
18:56 Nekdy and map it
18:56 Nekdy and try if it works
18:56 Kokloco NOW WORKS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
18:56 Kokloco I took out: <TypoScript>
18:56 Kokloco 10 = TEXT
18:56 Kokloco 10.typolink.parameter.current = 1
18:56 Kokloco 10.typolink.returnLast = url
18:56 Kokloco </TypoScript>
18:57 Kokloco It was there created by TemplaVoila...and I dont understand what that code does?
18:57 Nekdy it was?
18:57 Nekdy huh
18:57 Nekdy i don't have that there in any of my DS
18:58 Kokloco Well I am a noob, I aca asure you that I dont mess up woith DS, so it was created by Templa
18:58 Nekdy maybe it's some old TV
19:02 Kokloco Nekdy, no, lsta version
19:05 voidus Denyerec: yeah, i'm still alive =)
19:06 Denyerec Good good!
19:07 voidus studying at post-graduate and making very large project on django
19:08 Denyerec How is that treating you ?
19:13 voidus dunno.. fine enough, but i think about immigration to some country without conscription
20:52 porkpie Hi guy's has anyone here had trouble with gh_randomcontent producing random blank content
20:53 porkpie i.e it rotates and then I get know content until I refresh a few times
21:14 u38381 Hello all, I'm trying to set up a HMENU reading menu item from special directory. (sysfolder) But for some reason It's not listing the contents of the sysfolder. I'm using latest typo3 and latest templavoila. Template record setup Typoscript: http://pastebin.com/d6f53db83 . XML config of templavoila DS is verified correct. Does anyone has any idea?
21:34 gehdan Hi, i played around with my tt_news (using rgsmoothgallery) and the tt_news-template. Now everything is how it should be, but the images in the small gallery-window are missing. You can still open lightbox and see the images, so i don't know ehere to look
21:34 gehdan any ideas
23:06 u38381 Hello all, could anyone help me out with creating a TS menu
23:35 sorenmalling Can someone point me to the correct documentation page, telling me how to create a image from/with a text string?
23:41 [Francesco] Hi, there's a way to have HTMLAREA RTE in tt_news subheader ? Or at least import the bodytext (html formatted) in subheader ?
23:42 [Francesco] It's a so silly feature but it seems is not available in typo3 tt_news -_-"

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.