Search the website and IRC logs

#TYPO3 IRC log from : Sunday 15 March 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
00:00 nkuttler lilalinux: er, if you build the template in ts directly you can do page.10 < .foo etc
00:00 lilalinux I've written some extensions with kickstarter, mainly just as custom datastructures. But there is no mechanism to add files to extensions via kickstarter only
00:01 nkuttler no idea
00:02 lilalinux This is how my TS template looks like: http://paste.phlogi.net/-9012756439/
00:03 lilalinux I wonder if that is ok, or if a "real" template would be much more efficient
00:03 nkuttler that's a template for an extension?
00:03 lilalinux yes
00:04 nkuttler hm, how does a user edit that?
00:04 lilalinux do you mean the template or the data?
00:04 nkuttler the template. i hate hardcoded templates in exts
00:04 lilalinux the user isn't supposd to change the template at all
00:04 lilalinux there is enough css to fit everybodies needs
00:05 lilalinux s/is/should be/
00:05 nkuttler yeah, in your case it looks ok
00:05 lilalinux actually, the extension is only for one customer
00:05 nkuttler and your question was how to get that into the main page template?
00:06 lilalinux no, the question was, if COA is ok for that purpose, or if TEMPLATE would be better
00:07 nkuttler hm, no idea. just put the COA inside a TEMPLATE?
00:07 lilalinux that would be even more complex :-)
00:08 lilalinux I'm trying to reduce complexity
00:41 lilalinux Isn't it possible to nest conditions [globalVar = GP:foo > 0][globalVar = GP:bar = 1]...[else]...[end][else]...[end]?
09:33 lilalinux Isn't it possible to nest conditions [globalVar = GP:foo > 0][globalVar = GP:bar = 1]...[else]...[end][else]...[end]?
10:36 HardPhuck how do i put a linebreak into the locallang.xml
12:25 nd_ If I want to get a menu of all subpages of pid-35, how would I do that?
12:32 Recnelis TS or in a extension?
12:35 nkuttler nd_: see tsref, HMENU and TMENU (special iirc)
12:39 nd_ yeah, the question was about which special type to choose for that...
12:39 nd_ Recnelis: TS
12:39 nd_ I don't see any special where I can specify a starting point... only individual pids to list... which is a pain in the arse in my case
12:40 Recnelis nkuttler: Although I love the fact that you want ppl to learn.. telling them to reading the manual isn't exactly helpful imho.. rather give them a snippet if possible...
12:40 Recnelis nd_: Looking for a snippet I saw.. hang on..
12:40 nd_ Well, I'm already looking in tsref, so I only search for the special type to use.
12:41 Recnelis nd_: U basically need a menu to start from pid-35 and down right?
12:42 nd_ excluding pid-35, right... just subpages of it
12:42 nkuttler Recnelis: i think it is wrong to spoon feed people and do their work. i really don't have the time for that.
12:43 nkuttler nd_: special directory iirc
12:43 Recnelis nkuttler: Well, then why post anything at all? I think anyone can figure out they've gotta look at the tsref and menu and such - But it's not always u have the time or can actually find the information you need
12:43 Recnelis nd_: http://paste.phlogi.net/menu_starting_from_a_special_p/
12:43 Recnelis nd_: That's what i use on a page I've made..
12:44 nd_ Recnelis: Thanks
12:44 nkuttler Recnelis: it's my experience that many people don't know where to look. I think you are very wrong about that.
12:44 nd_ To your discussion: I see no problem in refering to the manual... in my case I read it and didn't find what I was looking for, so I asked in here. No harm done.
12:45 Recnelis nkuttler: My experiance, including my own headaches with typo3 is that there so much information that you can't chew through it all.. but mostly I can't find the exact thing I need...
12:45 Recnelis But hey, each person has their own way of helping.. :) Do what u feel is right
12:46 Recnelis I was merely stating my opinion on the matter...
12:46 nkuttler even when i know the exact solution i prefer to point to the right docs. it's how i learned things, and it was good.
12:46 Recnelis Fair enough - At least ur helping in some way..
12:47 nkuttler actually, i think that i'm helping more. teaching how to fish vs. feeding etc. have a nice day :)
12:48 Recnelis U2 :)
13:00 nd_ Bad example of special menu directory in tsref IMHO
13:08 Recnelis The snippet I gave is hopefully more usefull? ^^
13:09 nd_ It is... it's what I would assume of a directory...
15:24 untouch_ hi
15:25 untouch_ http://www.typo3.liquidc.net/ycspo
15:25 untouch_ does anyone know where
15:25 untouch_ <script src="typo3conf/ext/rgaccordion/res/rgaccordion1.js" type="text/javascript"></script>
15:25 untouch_ at the top is defined
15:25 untouch_ i need to insert mootools js before that one
15:25 untouch_ cant find it
15:26 untouch_ searched the whole accordion extension
15:26 untouch_ is had to disable the t3 mootools extension cus its version is too old
16:06 untouch_ nevermind
16:06 untouch_ im stupid
17:24 Pepelargo hi all
17:26 Pepelargo I am sick and tired trying to see why Typo3 is not adding the anchors to the elements of one of my pages, I am trying to add a unroderd list with links to diferent places in this page, but I cant because the achors are missing; All the elements have the "index" property enabled, can anyone help me please??
17:40 Pepelargo hello?
17:45 Pepelargo IT IS VERY SAD to have to add MANUALLY a stupid anchor because Typo3, a CMS, is nod doing so, and more when NO GOOGLE info found, no forum answers anothing
17:48 akkolady|clt09 Pepelargo: The anchors are really not set? Do you have a link to that page to show?
17:51 Pepelargo akkolady|clt09, http://www.innerspec.com/index.php?id=81
17:51 Pepelargo akkolady|clt09, in other pages the anchors are set, but not in this one
17:52 Pepelargo akkolady|clt09, The upper links list is intended to link to the content bellow, but it is not working because no anchors are created by typo3 for this page
17:53 Pepelargo akkolady|clt09, I checked everything and nothing found so far
17:54 Pepelargo Anybody can check my issue please?
17:55 Pepelargo No anchors are created by Typo3 in one of my pages
17:55 Pepelargo The index property is set up though
17:56 Pepelargo nkuttler, are you there?
17:56 Pepelargo anybody here???
18:09 Pepelargo akkolady|clt09, The upper links list is intended to link to the content bellow, but it is not working because no anchors are created by typo3 for this page
18:09 Pepelargo I am sick and tired trying to see why Typo3 is not adding the anchors to the elements of one of my pages, I am trying to add a unroderd list with links to diferent places in this page, but I cant because the achors are missing; All the elements have the "index" property enabled, can anyone help me please??
18:12 Pepelargo ANYBODY there please?
18:30 Pepelargo FUCK YOU ALL BASTARDS
19:03 nkuttler oh right, that was him. always the same quit line
19:26 lilalinux lol
19:48 pmk65 has anyone here any experience in creating wizards for TSConfig?
19:58 ndee is it just me or does typo3.org has some problems the last couple of weeks?
20:06 pmk65 I do have now.
20:07 pmk65 I = It.
20:16 Denyerec hey Pmk
20:42 hawkeye78 hello
20:43 hawkeye78 i have a little problem. can someone please explain me how i embadded some html Code in a template so that the html file substitute an existing marker?
20:57 timdeluxe hawkeye78: that sounds crazy. why dont you put your html code directly into the template?
20:58 hawkeye78 yes i think about this option. But i am not sure if i should template and code mixed up
20:59 timdeluxe ah my fault
20:59 timdeluxe i mixed two things
20:59 pmk65 Has anyone here any experience in creating wizards for TSConfig?
21:00 hawkeye78 if i don't find another way to do this i will do this. But at the moment i try another way
21:02 timdeluxe hawkeye78: i mixed it up... so how do you create your pages? complete TS? templavoila? oldskool marker-substition? autotemplate?
21:02 timdeluxe pmk65: no, sorry
21:04 hawkeye78 at the moment i defined a template.html in which are the div's and markers
21:05 hawkeye78 after this i create a template in the backend where i fill up the marker with the information of the database
21:05 hawkeye78 linke menus and page content
21:05 timdeluxe yeah ok
21:05 hawkeye78 and in one of the divs i would like to insert a little form
21:05 timdeluxe and now you want to put html code into the template instead of putting it into template.html?
21:05 hawkeye78 right
21:05 timdeluxe why?
21:06 timdeluxe because it will only be on special pages?
21:06 hawkeye78 no it will be show always on every page
21:06 timdeluxe so simply put it into template.html?
21:07 timdeluxe or is there something dynamic?
21:07 pmk65 hawkeye78: What kind of form? A searchbox?
21:07 hawkeye78 but i think the layout should seperate from the content. But maybe i am wrong
21:07 hawkeye78 pmk65, a dropdown list and a button to change direkt the page...
21:08 hawkeye78 timdeluxe, no it's complety static
21:08 timdeluxe so put into template.html
21:08 hawkeye78 ok
21:08 pmk65 hawkeye78: Create it using typoscript, and then insert it in a marker.
21:08 timdeluxe you are right, thats the correct way of thinking
21:08 timdeluxe but in this case that is the best solution
21:08 timdeluxe and the most performant one
21:09 hawkeye78 pmk65, thats exactly what i try but i don't know how to fill the marker with the html code
21:09 hawkeye78 timdeluxe, thanks for your advice :)
21:09 pmk65 hawkeye78: here's a snippet I wrote a while ago that creates a search box for indexed_search using Typoscript. -> hawkeye78
21:10 pmk65 To insert that in a marker you just do the same as you do with menus etc.... marker < lib.searchbox
21:10 hawkeye78 did you write the searchbox with typoscript or html?
21:11 hawkeye78 thats i read the second time today but i don't understand the content
21:11 pmk65 It's written using TS, but it generate HTML output.
21:11 hawkeye78 i'm a complety noob in typo3
21:11 hawkeye78 maybe you can show me the code part?
21:11 hawkeye78 i am just looking for an example how to do it
21:12 pmk65 that is the code part..
21:12 hawkeye78 marker < lib.searchbox?
21:14 pmk65 A really simple example.. -- > http://paste.phlogi.net/-a1c8b34380/
21:15 hawkeye78 thanks thats exactly what i looking for :)
21:16 pmk65 Forgot to post link to the snippet for indexed search.. -> http://www.typo3wizard.com/en/snippets/cool-stuff-typoscript/ts-based-searchbox-for-indexed-search.html
21:17 hawkeye78 maybe this it the next one i must implent
21:17 pmk65 That's a more advanced example, as it also uses GP vars, to preserve the input
21:18 hawkeye78 i will look at if i am next time on work
21:18 hawkeye78 my boss pay me only 8 hours a week
21:18 hawkeye78 and this week i work 15 i think thats enough for one week ;)
21:19 pmk65 If you are new to Typoscript, I can reccomend reading this one. -> http://typo3.org/documentation/document-library/core-documentation/doc_core_tsbyex/current/
21:20 hawkeye78 but i have also another problem, maybe you can help me too. How can i create some pages which are look exactly the same. I have the Problem that i work at the university and every science should get his own subpage
21:20 pmk65 For some reason it doesn't show up in the list of TYPO3 doecumentations, but it's still online.
21:20 hawkeye78 now i try to find a way to generate a template for the content so that the users only can fill in with the information
21:21 hawkeye78 i have read this should work with templavoila
21:21 hawkeye78 right?
21:21 pmk65 I don't use the marker method myself. I prefer using TemplaVoila as it gives you much more control over content and templates.
21:22 pmk65 Using TemplaVoila, you can create several templates to choose from
21:23 _pedda_ good evening
21:24 hawkeye78 hi _pedda_
21:24 _pedda_ pmk did you ever configured indexed search with categories and crawler for one of your customers ?
21:24 _pedda_ or projects
21:24 _pedda_ hi hawkeye78
21:25 pmk65 _pedda_: No I never succeed in getting IS to do anything else but search the entire site. A lot of the config options have no effect.
21:26 _pedda_ me neither
21:26 pmk65 you can get it to search branches of a site, but that usually had strange sideeffects.
21:27 _pedda_ it seems as if nobody would use is for his projects if the config ord requested features get a bit more advanced than the std functionality
21:27 pmk65 And I was never able to get it to not index hidden pages. No matter what I put in the config.
21:28 _pedda_ my problem is, i created a set of indexing configurations and the indexing works quite fine (until now) but the cfg uid is not written into db by the crawler
21:29 _pedda_ and there is just a bug request about it.. there seems to be nothing on the web in except of setting up crawler and enabling indexed search
21:29 _pedda_ which search engine ord software do you use in your projects instead of IS ?
21:29 pmk65 I haven't tried it myself, but from what I have heard then the best search ext for a large site is this http://typo3.org/extensions/repository/view/mnogosearch/current/
21:30 pmk65 but's it's not that easy to install
21:30 _pedda_ i know
21:30 _pedda_ it has to be compiled on the hosting webserver
21:30 pmk65 but I am goint to try it sooner or later, because IS is pretty useless for big sites.
21:30 _pedda_ im quite often in the situation to have not enough acces to the server in order to being able to compile sth
21:31 _pedda_ true
21:31 pmk65 isn't it possible to compile it locally and then upload it?
21:31 _pedda_ as far as i know it's not
21:31 pmk65 :(
21:31 _pedda_ it has to be compiled on the server it is running
21:31 _pedda_ hehe
21:32 _pedda_ i can't believe
21:33 _pedda_ a cms like t3 has no proper search engine serving some more feature than just searching the content of the website
21:33 pmk65 there's a lot of alternate search extensions on TER, but I don't know if they are any good. (And you can't see how many people have downoaded each of them, as the counter on TER have been broken for the last 6 months..)
21:34 _pedda_ i ony know of IS
21:34 _pedda_ and MNOGOsearch
21:34 _pedda_ *only
21:34 pmk65 http://typo3.org/extensions/repository/?tx_terfe_pi1[view]=search&no_cache=1&tx_terfe_pi1[sword]=search
21:36 pmk65 mh_ajaxsearch , google_api_search, sg_search, an_searchit , fesearchintable , pp_searchengine <-- Just a couple of the ones found
21:37 _pedda_ did you tried one of these already ?
21:38 pmk65 1 or 2, can't remember which. But in one of them you could setup which tables/fields you wanted searchable, so it worked with tt_news etc. (Which most of the others didn't)
21:39 _pedda_ ajaxsearch seems to offer different tables...
21:39 pmk65 I think it was this one (fesearchintable ) <-- http://typo3.org/extensions/repository/view/fesearchintable/current/
21:39 _pedda_ hmm i should take more care in futer of what i'm offering to my customer
21:40 pmk65 but it's pretty old, so I would suggest trying the newest one 1st..
21:40 pmk65 Unless its written by some complete idiot ;)
21:40 _pedda_ hehe
21:41 pmk65 but ajaxsearch looks promising
21:42 pmk65 I usually say to customers. Installing/styling IS = 2 hours, Configuring IS = 6 hours extra..
21:45 _pedda_ but what if a feature seems to be provided, and it comes out , it's not working properly for a certain project
21:45 _pedda_ that's the situation i'm in actually
21:47 pmk65 You could try writing a bugreport, but that never worked for me when it comes to core or core ext bugs. (Even if I post solutions to fix the bugs)
21:47 pmk65 If the ext is maintained by an active programmer, the bugs are usually fixed in a couple days.
21:48 pmk65 but it looks like IS is getting updated. Last bugfix is from 12/3-09
21:49 pmk65 so you could try grabbing the latest version from SVN
21:53 pmk65 Check here and see if your problem might have been fixed. -> https://svn.typo3.org/TYPO3v4/Core/trunk/typo3/sysext/indexed_search/ChangeLog
21:54 pmk65 You might also find some config options listed, which is not present in the official manual.
21:56 pmk65 That is getting more and more common, regarding all the TYPO3 documentation. The new features doesn't get described in the manuals, so only the developer knows how to use it..
21:56 pmk65 Or if you are lucky to know pages like this.. http://wiki.typo3.org/index.php/Pending_Documentation
21:58 hawkeye78 good night and thanks for your help
22:17 _pedda_ hmm thanks for your advices.. i think i'll contact some people regarding this issue tomorrow..
22:17 _pedda_ leaders of projects in forge f.e.
22:17 _pedda_ perhaps this might help
22:17 _pedda_ :)
22:33 pmk65 I don't think development of IS is using forge. As the forge IS section is completely empty. but if you go to bugs.typo3.org, then there's a lot of activity
22:37 _pedda_ the bug i'm talking about affects the crawler
22:37 _pedda_ tx_crawler
22:37 _pedda_ http://bugs.typo3.org/view.php?id=5115
22:38 lilalinux Is there a way to negate a globalvar condition?
22:38 lilalinux or to test for existance of a GET parameter?
22:38 lilalinux aloha _pedda_
22:38 _pedda_ ;)
22:42 pmk65 lilalinux: I think conditions has an [ELSE] option.
22:44 lilalinux pmk65: yes, i use that already in one case, but it's only usefull if you have exactly 2 states
22:44 lilalinux Now I need a condition with 3 states
22:44 pmk65 what states..
22:44 lilalinux id_foo>0 && id_bar=1 , id_foo>0 && id_bar!=1, id_foo <=0
22:45 lilalinux GP:id_foo etc.
22:45 pmk65 ok
22:45 lilalinux #1 and #3 are no problem
22:45 lilalinux but in #2 the GET parameter id_bar might not exist
22:45 pmk65 you should be able to use unlimited number of [ELSE].
22:46 lilalinux that would require an else if
22:46 lilalinux and you can't nest conditions
22:48 pmk65 how about writing a userfunc to test it? but you still can't nest that. :/
22:58 lilalinux pmk65: I still can't believe that such a simple functionality is not supported
22:58 Denyerec ?
22:58 Denyerec how about a CAS E?
22:59 lilalinux Denyerec: CASE isn't for [CONDITIONS]
22:59 lilalinux afaik
22:59 lilalinux correct me if i'm wrong
22:59 Denyerec Figured you might be able to case on the GET param
22:59 Denyerec I'm just guessing
22:59 pmk65 but it still might be the only way to do it. Use CASE, and define the parts that needs to be different there. (unless its major codeparts.)
23:00 lilalinux it looks like I need to check .if et al, up to know I tried to survive with [conditions] only
23:00 pmk65 Buy you can write a userfunc and use that for parsing your conditions.
23:00 pmk65 Buy = But
23:00 lilalinux a userfunc here, a userfunc there :-)
23:01 lilalinux I just switched from a custom made CMS to typo3 :-)
23:01 lilalinux don't want to reinvent everything again :-)
23:02 pmk65 I rarely use conditions, and if I do, it's mostly for simple things.
23:02 lilalinux I'll have a look into .conditions
23:02 pmk65 I once wrote some extended userfunc condition checking for the WURFL ext. (For WAP pages)
23:03 Denyerec userfuncs, if you contain them to one file, it's often the easiest way to save major TS headache
23:03 Denyerec so you end up with a "helper" userfuncs file
23:03 pmk65 As I need to check more that just = vars.
23:03 Denyerec I have one for trimming whilst keeping HTML tags valid
23:03 Denyerec for example
23:03 lilalinux yeah
23:03 lilalinux maybe I'm writing a general comparison userfunc
23:04 lilalinux thx
23:04 pmk65 Maybe you can find something useful by looking at my WURFL modifications? -> http://www.sharemation.com/typo3test/T3X_wurfl2-0_8_1-z-200708202303.t3x
23:04 pmk65 List of changes: http://www.sharemation.com/typo3test/wurfl2_update.txt
23:05 lilalinux got it
23:06 lilalinux I can assign a default to the variable I'm creating conditionally
23:06 pmk65 If anyone is using TinyMCE RTE, I just made a small utility to configure it visually. ;) -> http://sharemation.com/typo3test/tbe.html
23:07 lilalinux I'm using htmlarea
23:07 lilalinux is tinymce better? (htmlarea is crap)
23:09 pmk65 much better and faster. Jus be sure you get the correct TYPO3 TinyMCE implementation, as there's quite a few. The best one is "TinyMCE RTE" (But I'm biased, as I'm part of the dev. team hehe )
23:10 pmk65 http://typo3.org/extensions/repository/view/tinymce_rte/current/
23:11 pmk65 The main code is only loade once (in the top frame), so it loads extremely fast. HTMLArea load all the code every time you access it.. (And the code for htmlarea is HUGE)
23:12 pmk65 And you can link to non content records, like tt_news records, without any extra plugins.
23:39 _pedda_ i'm gonna leave and read a bt ...#
23:39 _pedda_ it
23:39 _pedda_ cu all
23:39 _pedda_ have a good night
23:45 lilalinux pmk65: interesting
23:45 lilalinux I'll give it try
23:45 lilalinux ttfn

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.