Search the website and IRC logs

#TYPO3 IRC log from : Thursday 22 April 2010

Year: 2007 2008 2009 2010 2011 2012
Month: Jan Feb Mar Apr May Jun Jul Sep Oct Nov Dec
Day: 4 5 8 9 10 11 12 13 14 15 16 17 18 19 22 23 24 25 26 27 28 29 30
15:40 whirl I guess I'm just hoping somebody has made this connection before and can point me in the right direction. All I have been able to do so far is simply include the index.php file from zend into a page, then using realurl to prettify urls this will call the appropriate zend controller.. but this only allows 1 dynamic content block per page
15:45 ries whirl: I don't know Zend because I stayed away from it, but doesn't zend allow you to have a better hook in then just using a index.php file?
15:45 ries mourique: how do you define 'custom link' ?
15:48 mourique ries: the normal link generated by GMENU looks like this <a href="index.php?id=23"> i want it to look like <a href="#link23">. i know i could do it with noLink and wrap the a container myself but i want to keep the RO
15:48 mourique /ries: you understand it a bit? :)
15:49 ries so you want to link a anchor?
15:49 mourique yes
15:49 ries How did you setup your pages, also as shortcuts to anchors?
15:52 mourique no they are regular pages
15:54 ries so, how would it know what anchor to use?
15:54 mourique maybe from the title?
15:55 mourique i had something like this allWrap.dataWrap = <li><a href="#{field:title}" class="link">|</a></li> working but it depended on noLink
15:55 whirl thanks ries, I'm trying to figure out how exactly zend allows me to do this.
16:00 ries mourique: I am not sure there is a way actually... so you want to anchor to the first link?
16:04 TheEternalAbyss Hi, i was wondering if someone could help me out with templavoila
16:04 TheEternalAbyss I'm having an issue and I'm not sure what I'm doing wrong
16:05 TheEternalAbyss I'm trying to build a template that has nested divs
16:07 mourique ries: No, actually its a bit complicated, the links in the GMENU are all anchors to DIV Layers on the same page
16:07 TheEternalAbyss suchs as <content_bottom><gallery><gtitle></gtitle><gbody><gleft></gleft><gright></gright></gbody></gallery></content_bottom>
16:08 TheEternalAbyss the problem I've run into that no matter what I do in mapping and defining my TO and DS
16:08 TheEternalAbyss I can map everything except the nested gleft and gright divs
16:09 TheEternalAbyss cause it always says it can't find any content for it
16:09 maholtz|WORK perhaps they are empty? did you try to give them some input?
16:09 TheEternalAbyss yea I did, but still says it can't find content
16:09 TheEternalAbyss I can paste my DS and template html if u guys want to look
16:09 maholtz|WORK typo? templavoila caching?
16:10 TheEternalAbyss I cleared cache 20 times
16:10 mourique the divs have a names like ARTISTS and i want the GMENU to generate a link like #ARTISTS instead of index.php?id=23. The content in the div ARTISTS is actually pulled from the page with id=23 but i dont want to link ther
16:10 TheEternalAbyss even cleared browser history
16:10 ries mourique: I have never done that myself...
16:11 mourique ries: too bad
16:11 ries mourique: and I am not sure what your situation really is HMENU/TMENU basicly creates a menu that links to pages and it doesn't know about the content
16:12 ries typolink itself is capable of generating links to anchors though
16:12 ries I am wondering if you can solve it with a custom menu, this can be done with PHP it sounds like there is something special going on
16:13 mourique do you maybe have some good examples of using typolink?
16:13 mourique but id like to use the GIFBUILDER and the RO capabilities of GMENU. can i do that solely with typolink?
16:13 ries mourique: http://typo3.org/documentation/document-library/core-documentation/doc_core_tsref/4.3.1/view/1/5/#id2507528
16:14 TheEternalAbyss http://pastebin.com/pMtF4xsh
16:14 TheEternalAbyss here's my typoDS and html template is after the DS
16:14 ries mourique: see also : Using link handlers, nit needs some custom programming btu I am not sure how it exactly is going to apply to you
16:14 mourique ries: thanks but ive been there ;) i meant like a working example which i could maybe adapt
16:15 mourique can't i manipulate the typolink output of a GMENU?
16:17 mourique tsref says something about parameter but i dont know how to use it
16:19 TheEternalAbyss am I just defining them incorrectly in by DS?
16:19 TheEternalAbyss I just need those divs on every page that uses that template
16:46 mourique leave
16:51 TheEternalAbyss so no suggestions? :(
17:10 SargoDarya Is it possible to get 2 preview images served by tt_news?
17:14 ironm hi guys :-) .. is there more simple multilingual footer than the TS code inside? http://paste.phlogi.net/footer_multi/
17:14 ironm thank you in advance for any hints ;-)
17:19 maholtz|WORK lib.footer.100.lang.de = Alle Rechte vorbehalten
17:19 ironm thanks a lot maholtz|WORK :-)
17:20 maholtz|WORK your welcome:)
17:20 maholtz|WORK bye all
17:21 ironm see you maholtz|WORK
17:28 TheEternalAbyss nobody can help me wih mapping?
17:33 TheEternalAbyss right
17:33 TheEternalAbyss -_-;;
17:39 SargoDarya TheEternalAbyss: What mapping?
17:45 TheEternalAbyss templavoila insists it can't find content for nested divs I'm trying to map
17:46 TheEternalAbyss i think i'm having some issue with either my DS for the template
17:46 TheEternalAbyss or while mapping, I'm just not using the right settings for the element
17:56 TheEternalAbyss screw this I'll just add the nested divs as html content elements since t3 insists on being stupid
19:06 eezee319 TheEternalAbyss: What version of TV are you using? I recently had issues getting my template mappings to work on the latest TV versions (1.4 family) and had to revert to v 1.3.7 to make my site work. I did not spend time trying to troubleshoot the issue so not sure what part of my set-up was causing the issue...
19:07 TheEternalAbyss not sure lemme check
19:08 TheEternalAbyss 1.3.7
19:14 TheEternalAbyss why can't this stupid thing mapped nested divs. ugh
19:14 TheEternalAbyss map*
19:14 eezee319 hmmm... in that case I'm out of ideas... 1.3.7 seems to work fine on my set-up and manages nested divs with no issues...
19:15 TheEternalAbyss well I mapped it but it's not really displaying the nested divs
19:16 eezee319 Can you paste your template again (the previous link has expired)
19:16 eezee319 ?
19:16 TheEternalAbyss sure give me a sec
19:16 eezee319 I just want to check my understanding of what you are trying to do...
19:18 TheEternalAbyss http://pastebin.com/t52t2HCg
19:19 TheEternalAbyss basically PG is a content object
19:19 TheEternalAbyss it contains everything since I need a ROOT element
19:19 TheEternalAbyss title is an element
19:20 TheEternalAbyss body is an object and left and right are elements
19:20 TheEternalAbyss I mapped all this, it finds the content
19:20 TheEternalAbyss I go to my page add this fce (cause I saved it as a flexible content element)
19:20 TheEternalAbyss it shows title and body
19:21 TheEternalAbyss the left and right only show up as text underneath in the backend
19:45 TheEternalAbyss http://i490.photobucket.com/albums/rr262/TheEternalAbyss/Picture2.png <-- this is what i mean
19:46 eezee319 trying to replicate this on my dev system
19:47 TheEternalAbyss k
19:48 TheEternalAbyss my general template seems messed up too. I keep clearing the cache but it's like i'm doing nothing
19:50 SargoDarya2 awesome... forgot to logoff at work.
19:50 ironm it looks like SargoDarya2 ;-)
19:51 SargoDarya Did I mention registering on IRC has a lot of benefits like kicking your GHOST?
19:54 eezee319 I have a feeling it is to do with the DS... what about loosing the grouping for body and just leaving title, left and right col?
19:56 eezee319 TheEternalAbyss: http://pastebin.com/ZEnLCnRH
19:56 eezee319 TheEternalAbyss: Amended version of DS
19:56 eezee319 TheEternalAbyss: seems to work fine
19:57 TheEternalAbyss k I'll test it out on my system
19:58 eezee319 TheEternalAbyss: Map the tile and columns to the relevant divs... the body div will be included as a part of the FCE anyway
19:58 eezee319 TheEternalAbyss: in the BE you will see 3 cols... one for each of mapped elements
19:59 TheEternalAbyss 3 columns?
19:59 eezee319 yes...
19:59 TheEternalAbyss why 3 columns
19:59 eezee319 one for title, one for left col and one for right col
20:00 TheEternalAbyss ok.
20:00 eezee319 that's in BE... in FE you will get your nested div structure... let me get you a pic to show what I have at my end
20:00 TheEternalAbyss only title shows up
20:01 TheEternalAbyss i think I need to updat emy mapping maybe
20:02 eezee319 yes... mapping needs to be updated too
20:03 TheEternalAbyss k, i see the 3 columns
20:03 TheEternalAbyss I really appreciate the help
20:06 eezee319 No, problem... it was a nice refresher on FCEs...:)
20:07 TheEternalAbyss lol
20:07 eezee319 but as I said... the solution was to remove that extra grouping you had in your DS
20:09 TheEternalAbyss well the reason I had put that grouping was that typo3 kept saying it found no content when I was mapping them
20:09 TheEternalAbyss http://chriscastiglione.com/index.php?id=273
20:09 TheEternalAbyss ok 2 questions
20:09 TheEternalAbyss wheretf is that "gallery body"
20:09 TheEternalAbyss coming from? it's not in ay template
20:10 TheEternalAbyss the other is, those tabs up top. it lost to divs in rendering the page (which contain the text that goes in those tabs) wtf
20:20 TheEternalAbyss argh
20:20 eezee319 ok... the text comes from the original template file...
20:20 eezee319 at least on my system...
20:21 eezee319 for some reason the original set of nested divs appears in the final output...
20:27 foertel hi
20:30 TheEternalAbyss i removed them though -_-;;
20:31 eezee319 Ok...
20:31 eezee319 I moved the set of nested divs within another div which is being replaced by content
20:32 eezee319 and now they do not show up...
20:32 TheEternalAbyss hmm
20:32 eezee319 unless added through backend
20:32 TheEternalAbyss which divs
20:32 eezee319 previously I just chucked them in as a part of a template not covered by any mapped divs
20:32 eezee319 your set of divs
20:33 eezee319 were added in my template outside any other divs which are mapped...
20:33 eezee319 to different objects
20:33 eezee319 and text was showing up in the FE
20:33 TheEternalAbyss well on a side note
20:33 TheEternalAbyss <div id="language"></div>
20:34 TheEternalAbyss i mapped to those
20:34 TheEternalAbyss but inside I have another div
20:34 TheEternalAbyss inside the other div are two more
20:34 TheEternalAbyss none show up and that's where the text for those tabs are
20:34 TheEternalAbyss *sigh*
20:34 eezee319 That's correct
20:34 eezee319 and that is the fix for FCE text showing up
20:34 eezee319 :)
20:35 eezee319 basically anything within mapped DIV is removed and replaced with whatever you have mapped it to...
20:35 TheEternalAbyss so if I want content to show i have to map to div with content
20:35 eezee319 so if you want to have divs inside mapped div you need to set up TS object and then feed it to the parent div...
20:36 eezee319 or feed content to the lowest level of div
20:36 eezee319 that way nothing will be rewritten...
20:36 TheEternalAbyss see this is why i hate CMS's
20:36 TheEternalAbyss somthing so stupidly simple tunred into something incredibly complex and dumb
20:36 TheEternalAbyss turned*
20:36 TheEternalAbyss I've spent all day working on these (not to mention part of yrsterday
20:36 TheEternalAbyss )
20:37 TheEternalAbyss when i could have just done this by hand in 2 minutes, maybe less
20:39 eezee319 I think TYPO3 is like that... initially can take ages to do simple things... but once you learn how it functions you can do complex stuff as fast...
20:39 eezee319 if not faster as doing it by hand
20:41 TheEternalAbyss i haven't seen that as of yet and I've been using it since January
20:41 TheEternalAbyss the only thing it's been useful for to me is that my bosses can edit content without me dealing with it
20:41 TheEternalAbyss which in essence is the whole point
20:42 TheEternalAbyss so my bosses are happy, and they don't care or even understand the torture I go through at times dealing with this system (not always, I'll be fair, I've had some smooth moments with typo3)
20:43 eezee319 I have been using it for a couple of years now and still sometimes feel like a beginner... but its nothing that some googling cannot fix... :)
20:43 TheEternalAbyss hehe
20:43 TheEternalAbyss yep
20:43 TheEternalAbyss but anyways, I thank you again man. I appreciate all the assistance
20:43 TheEternalAbyss I think I'm all squared away now
20:44 eezee319 :) No prob... as I said... was useful for me to brush up on FCEs,,,
20:44 TheEternalAbyss http://chriscastiglione.com/index.php?id=273
20:44 TheEternalAbyss yup no strange content
20:44 TheEternalAbyss :D
20:44 TheEternalAbyss now i go to the bathroom lol brb
20:58 foertel o_O
21:08 milpoer Hi.. i'm about to make a new website there has to be a right column with regular elements, i want to have a storefolder or container BE which contains the elements posible to select for the given site.. the elements should be inherit down in the tree until new elements are select for eg. a subpage.
21:08 milpoer any hints on how to solve that ?
21:08 foertel this isn't a simple task ;)
21:08 milpoer foertel: i know..
21:08 milpoer i consider FCE elements
21:09 foertel i would not try that without propper TS knowledge
21:09 milpoer foertel: i think a have a propper TS knowledge.. :)
21:09 foertel ok ;)
21:10 milpoer =)
21:30 milpoer foertel: found it :) http://www.acqal.com/blog/a/article/include-content-elements-in-a-template-via-typoscript/
21:36 milpoer is there an easy way to convert from subpart (templates) to templavoila?

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.