Search the website and IRC logs

#TYPO3 IRC log from : Friday 19 February 2010

Year: 2007 2008 2009 2010 2011 2012
Month: Jan Feb Mar Apr May Jun Jul 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
07:31 BejjWrk morning
08:00 sorenmalling Morning
08:43 marcuslind hi guys, client just called and told me that TODAY at 12:00 people will recieve a poster telling them to go to their site. So I got 2h to create a redirect. How do I do this? They want me to fix so that if the user browse to http://domain/race it will be redirected to http://anotherdomain/signup
08:43 marcuslind Is there possible to do this without creating a new frontend extension and insert a PHP header(location: http://anotherdomain/signup/);
08:43 marcuslind `
08:43 marcuslind ?
08:45 PiMB why not do it via htaccess?
08:45 PiMB something like:
08:45 sorenmalling marcuslind: Do you have access to the apache vhost file?
08:45 sorenmalling Or htaccess as PiMB writes :)
08:45 marcuslind No I dont have access to it
08:45 marcuslind I dont have FTP access or root access.
08:46 marcuslind I only have admin access to the site itself.
08:46 PiMB damn mate.
08:46 sorenmalling http://www.javascriptkit.com/howto/htaccess7.shtml
08:46 sorenmalling If you got FTP access do it the htaccess way
08:46 marcuslind ye the site is located at another company (bad client...) and usually it takes them 2-3 days to make changes.
08:46 marcuslind I dont have FTP access.
08:46 PiMB hm, you might be able to install quikxplorer or something similar in TYPO3. this will add a 'ftp'account to TYPO3 backend.
08:46 marcuslind Is it possible to do it in TS template?
08:46 marcuslind someway.
08:47 PiMB marcuslind, are the 2 sites the same? but different name?
08:47 PiMB or 2 different sites all together?
08:47 marcuslind Nope
08:47 marcuslind 1 is our client site, the other one is another company.
08:47 marcuslind and our client is making commercial together with this other company
08:47 marcuslind and they didnt tell us
08:47 PiMB you might be able to use a meta refresh?
08:48 marcuslind so now 2-3h in advance they told us about it and asked us to set up a redirect.
08:48 PiMB meta data is easily set in TS.
08:48 PiMB <meta http-equiv="refresh" content="0;url=http://example.com/" />
08:48 marcuslind I'll check it out.
08:48 PiMB page.headerData.1 = TEXT
08:48 PiMB page.headerData.1.value = <meta http-equiv="refresh" content="0;url=http://example.com/" />
08:48 sorenmalling marcuslind: Did you try to follow PiMB solution with quixplorer and htaccess`?
08:48 marcuslind sorenmalling: nope. Wont I need FTP Password and a user
08:48 marcuslind for that?
08:49 marcuslind PiMB: but that TS needs to be ONLY set for the page http://domain/race
08:49 marcuslind it cant be global on the whole site.
08:50 PiMB marcuslind, no quickxplorer just acts as an ftp browser in the backend. no need for ftp account.
08:50 marcuslind Aha ok sweet.
08:50 PiMB but I believe the /race page is a single page right?
08:50 PiMB then create a TS template there./
08:50 sorenmalling You don't need FTP access to install a TYPO3 extension?
08:50 PiMB and set the typoscript
08:50 PiMB sorenmalling, no you don't
08:50 marcuslind But bah, I think the easiest way is to create a new extension and just set a PHP header in it.
08:50 PiMB via ext.manager you can import it without using ftp.
08:50 marcuslind easiest for me anyway.
08:50 PiMB :)
08:51 PiMB not the way to go mate ;)
08:51 marcuslind Why?
08:51 PiMB because it'
08:51 PiMB because it's faster, better and cleaner to do it in TS.
08:52 marcuslind ye ok i give it a try.
09:03 marcuslind Hahaha, great... just great.
09:03 marcuslind I set up the meta refresh locally to test it out. Worked like a charm
09:03 marcuslind then when I tried to login to my client site I got redirected to the hosting company
09:03 marcuslind telling me they had a security breach
09:03 marcuslind and they turned off ALL clients login.
09:03 marcuslind Great!
09:04 PiMB :D
09:04 PiMB n00bs
09:04 marcuslind True story.
09:04 marcuslind Well I called them and forced them to set everything up.
09:04 marcuslind Hopefully they will do it before noon.
09:05 marcuslind Thanks for the help anyway with the meta refresh. It worked great.
09:08 BejjWrk lol security breach
09:24 marcuslind Harry Potter Quidditch in real life! http://www.youtube.com/watch?v=5UfPij5ABdo
09:24 marcuslind Got to love those people!
09:24 marcuslind :D
09:51 FloLeBlanc hi all
10:17 FloLeBlanc anyone who updated to tt_news 3.0.X and experienced the LIST view not being up to date?
10:27 FloLeBlanc hi pmk65
10:27 pmk65 hi
10:27 Bitcrusher hi folks
10:28 FloLeBlanc hi bit
10:28 Bitcrusher 'ello Flo
10:31 FloLeBlanc anyone of you using tt_news 3.0.X by chance?
10:35 Bitcrusher sorry, not yet
10:36 Bitcrusher im gonna throw one out there as well ;)
10:36 Bitcrusher anyone know how to make the image from "text /w image" open in a new window?
10:37 FloLeBlanc check "click to enlarge"
10:38 FloLeBlanc no sorry it is called "Click-enlarge:"
10:38 FloLeBlanc I for myself use a lightbox extension - the popup image uses javascript anyways so why not take a "nicer" solution
10:43 Bitcrusher yeah, but the situation is a bit different, as its pdf files that are used in the text /w image
10:44 Bitcrusher so i want the pdfs to open in a new window
10:53 FloLeBlanc inserting the pdf as media file is not sufficient?
10:53 FloLeBlanc never tried it with an image, we use ours with "filelink"
10:53 FloLeBlanc content type
10:53 FloLeBlanc you can also click on "Image Links" and set the link to the pdf there
10:53 FloLeBlanc this should give the user the option to save or open the pdf like with a filelink
10:53 pmk65 if you insert a pdf as image, then the 1st page of the pdf is used for generating the image. So it's no longer a pdf file, but an image.
10:54 FloLeBlanc pmk65: also if you use the pdf as media file and link to the file via "image links" afterwards?
10:54 pmk65 no then the link will be to the pdf file.
10:55 FloLeBlanc then bit should be able to integrate it that way :)
10:55 FloLeBlanc damn why is only the list view not up to date after the update *reads the tt_news manual again*
10:56 pmk65 Another solution is to use one of my plugins "pmkfdl" It uses an eID script for pushing files to the browser. With that you can make links to pdf files, that prompts the user if they want to download it, instead of opening it directly in the browser.
10:57 pmk65 http://forge.typo3.org/projects/show/extension-pmkfdl
11:02 Prot0 hola
11:08 FloLeBlanc hi prot0
11:12 jessicaD Hi people, I am struggling with tt_news feeder
11:12 jessicaD Can someone help me with that?
11:28 FloLeBlanc jessicaD: depends on your question, I'm fighting with the LIST view atm :)
12:15 FloLeBlanc everyone who upgraded to tt_news 3.0.X like me from 2.X.X and does have a list view and latest view on one page mind the "excludeAlreadyDisplayedNews = 0" setting, that will save you tons of time hehe
12:16 jessicaD FloLeBlanc: Is there a way (for the latest view) to display the first item with description and link and the other items only the news link?
12:16 FloLeBlanc tt_news 3.0.1 allows for option split, it should be possible i think
12:22 pmk65 tt_news 3.0.1 also have several extra views: LIST2,LIST3,HEADER_LIST & SINGLE2
13:07 david_b is there a way to install a wordpress installation in a subdirectory of typo3? because right now i have a t3 installation with realurl on the server - and i can't access the posts of the wordpress installation
13:08 Prot0 well
13:08 Prot0 if you look in your htaccess
13:09 david_b i mean i already modified my htaccess a little bit.
13:09 david_b this way i can access the subdirectory
13:09 Prot0 RewriteRule ^path/to/wp/installation/.*$ - [L]
13:09 Prot0 because everything else is redirected to index.php
13:10 Prot0 (so put it before there, not after ;])
13:12 david_b mh.. i just tried different kombinations like:
13:12 david_b RewriteRule ^http://www.mydomain.de/blog/.*$ - [L]
13:12 david_b or RewriteRule ^/blog/.*$ - [L]
13:13 PiMB change it to RewriteRule ^blog/(.*)$ - [L]
13:13 PiMB that should work.
13:13 Prot0 indeed
13:13 david_b and all kinds of different other versions of /blog/ or /blog
13:14 david_b mh one moment
13:14 PiMB (domain is never checked in rewriterule, you'll a rewriteCond for that)
13:14 PiMB you'll *need* a...
13:14 david_b yeah i guessed so
13:14 david_b but your RewriteRule ^blog/(.*)$ - [L] also won't work
13:15 david_b it's the first line after "RewriteEnginge On"
13:15 david_b is this maybe the wrong position for this rewrite rule? or should i try a rewritecond?
13:16 PiMB no it's the correct position.
13:17 PiMB david_b try this: http://www.jfoobar.org/labs/code-snippets/96-exclude-folder-from-htaccess-rewrites.html
13:20 david_b mh what if my RewriteBase is not active but a comment? is this correct if i use RealURL?
13:20 PiMB sure.
13:20 PiMB if you have a base_url set in your website
13:20 david_b jup i have
13:22 david_b ok the snippet also won't work
13:22 david_b i will copy my whole htaccess to one piece maybe this is more helpful
13:23 PiMB is your htaccess file workgin?
13:23 PiMB working?
13:23 david_b jup the rest of the htaccess is working
13:27 david_b http://paste.phlogi.net/-1306230df3/
13:27 david_b this would be the essential parts of the .htaccess file
13:28 PiMB RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l
13:28 PiMB these rewriteCond should be just before the last line.
13:28 PiMB and add there the snippet
13:28 PiMB these should be the last thing to check for before sending it to index.php
13:29 david_b add the snippet before or after the 3 rewriteConds?
13:31 PiMB doesn't matter.
13:31 PiMB it's a condition so it's added to the list of conditions
13:34 david_b my htaccess now looks like: http://paste.phlogi.net/-fef20fb019/
13:34 david_b but it still won't work
13:35 PiMB change to RewriteCond %{REQUEST_URI} !^/(blog|blog/.*)$
13:36 david_b darn.. the error still appears
13:36 PiMB which error?
13:36 DonQuijote Hello
13:36 david_b error 404 - page not found
13:36 PiMB url?
13:36 david_b http://www.spanien-mit-flair.de/blog/impressum
13:37 david_b if you delete the impressum it works
13:37 david_b but only if i add "blog" in this line: RewriteRule ^(typo3/|t3lib/|tslib/|fileadmin/|typo3conf/|typo3temp/|uploads/|blog/|showpic\.php|favicon\.ico) - [L]
13:37 PiMB that;s normal.
13:38 PiMB same thing
13:38 david_b what is normal? the error or the rewriterule?
13:38 PiMB that the blog/ is working with the blog added to that rewriterule
13:38 DonQuijote I want to create an extension with the kickstarter for a travelportal, now there shall be something like a category-system with subcategories, but I don't know how to realize this, because until now with kickstarter I've only made listview/detailview-plugins, so how can I do such a category-system?
13:39 david_b yeah i guessed so
13:39 PiMB so if you let this rule in RewriteCond %{REQUEST_URI} !^/(blog|blog/.*)$ and remove the blog/ from the long list of directorys?
13:40 david_b neither spanien-mit-flair.de/blog nor spanien-mit-flair.de/blog/impressum works
13:41 PiMB well, then I'm stunned mate.
13:41 PiMB I don't have any problems with it what so ever
13:41 david_b DonQuijote: you have to create more than one table in the kickstarter. and then make a "Database Relation" field where you link to the second table
13:43 DonQuijote okay, I yet did this, but I don't know how to realize this sub-categories in the php-code
13:43 david_b oh sry PiMB: i was wrong
13:43 david_b if i let this rule in RewriteCond %{REQUEST_URI} !^/(blog|blog/.*)$ and remove the blog/ from the long list of directorys:
13:44 david_b spanien-mit-flair.de/blog works but spanien-mit-flair.de/blog/impressum still won't work
13:44 PiMB that's strange mate
13:44 david_b mh darn..
13:46 david_b mittwald said, that it's because i use realurl in my typo3-installation. and that realurl won't find the directory if it's not existent on the ftp server
13:48 david_b but what puzzles me is, that first of all i defined in realurl a 404error page - http://www.spanien-mit-flair.de/sitethatdontexists
13:48 PiMB I know, but the line with the RewriteCond should prefend the realurl to kick in
13:48 DonQuijote @david_b: until now I have URLs like this in my PHP-Code: array($this->prefixId.'[continent]'=> $row['uid']) but finally there should be not the uid, but the realurl-path, how to do this?
13:48 david_b and if i open up http://www.spanien-mit-flair.de/blog/impressum it's a different error page
13:49 pmk65 DonQuijote: Kickstarter can't make that type of field. You'll have to manually edit the various setup files and add the correct wizard ext. Look at either tt_news or tt_address and see how it's implemented there..
13:49 david_b @DonQuijote: so you want typolinks to be created? or what?
13:50 pmk65 DonQuijote: I suggest you read some of the docs, like this -> http://typo3.org/documentation/document-library/tutorials/doc_tut_frontend/0.0.1/view/
13:50 pmk65 and this -> http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.2.0/view/
13:51 DonQuijote know I want to create the url structure that it look e.g. like this: mysite.com/europe/spain/madrid/images/12345/
13:51 PiMB DonQuijote, if you use the proper link creation typo3 does that for you.
13:51 pmk65 its explained in the above manuals..
13:51 DonQuijote right, but the thing is the output with my own extension
13:52 david_b DonQuijote: if you use typolink typo3 make proper links for you
13:52 david_b if you want certain database fields to appear in your url you have to modify your real-url settings
13:53 DonQuijote but beach section like 'spain' should be like a normal page in my page-tree, so that one can add any type of content
13:53 DonQuijote sorry: each
13:53 david_b then make a field in your extension where you can choose which category belongs to which page
13:54 DonQuijote what do you mean with page now?
13:55 PiMB DonQuijote, take a look at available TYPO3 classes for link generation in your extensions via http://www.typo3-unleashed.net/typo3apidocs/latest/df/d32/classtslib__pibase.html#a72289c43af50e07f7c9b1c22d50431b6
13:55 david_b as far as i understood all your list entries for you own extension are on one single page. is this correct?
13:55 PiMB start with linkToPage and work your way down.
13:55 DonQuijote yes they are all on a single page called 'world'
13:56 pmk65 DonQuijote: Any reason why you won't read the docs?
13:57 DonQuijote I've already more or less read them, but what new for this topic is in there?
13:57 david_b ok so you have to define which entry belongs to which page - so you make a new field in you extension - again a database relation - choose the table "pages" - and then you make a "linktopage" like PiMB suggested
13:57 pmk65 if you read the FE programming guide, you'll know how to make correct links etc.
13:58 DonQuijote but then I have to create normal pages for each 'category'?
13:58 david_b yes
14:00 pmk65 DonQuijote: Or do as I told you earlier, look at some of the ext that has pagetree feature, and see how they do it..
14:00 DonQuijote I thought it is possible to do this more dynamically
14:00 DonQuijote @pmk65: okay I will do this as well
14:01 DonQuijote bacuase there should be the possibility for each country to add images, resturants, places, events, ...
14:02 jessicaD Ok, I have (may be a simple) a question. I have made a latest view for TT_news... Only I want the first Item to contain the subheader, but the rest of the items should only display a news title
14:02 jessicaD Does someone know how to wrap that, I am kinda stuck
14:04 jessicaD anyone?
14:04 jessicaD it's tt_news plugin. I know a lot of you all use that
14:04 DonQuijote look at the ext-repository-urls: http://typo3.org/extensions/repository/view/realurl/current/info/ there are also kind of categories, I wonder how it's done?
14:07 david_b @PiMB: it seems that my typo3 htaccess is correct.
14:07 david_b i was missing a htaccess in the WP-folder
14:10 DonQuijote okay thanks so far for your help!
14:22 jessicaD How can I say only display first item and then don't display in stdWrap?
14:28 FloLeBlanc jessicaD: the answer hasn't changed sorry. It's imho either option split or according to pmk65 the different LIST templates
14:28 porkpie Hi guy's ..... can anyone tell me how I get the images below the last paragraph in a row http://www.walkingholidaysspain.eu/comfortable-to-moderate/day-5-you-choose/
14:29 jessicaD FloLeBlank: The List templates are not really an option for me, cause that will only effect all entries. Can you give me an optionsplit example? Cause I don't know where to start with that
14:30 FloLeBlanc yep, it's in the manual.. just a second
14:32 FloLeBlanc http://typo3.org/extensions/repository/view/tt_news/current/info/?tx_terfe_pi1%5BdownloadFile%5D=doc%252Ftt_news_3.0_changes.sxw&cHash=91de1f37c8
14:32 FloLeBlanc page 14 and 15
14:32 FloLeBlanc has option split examples
14:33 FloLeBlanc I guess you need the stdWrap example on the top of page 15
14:33 jessicaD Okay I will look in to that. Thank you for all your help FloLeBlanc
14:34 porkpie Hey Denyerec
14:35 FloLeBlanc the other example on page 15 is a combination of pmk65's and my suggestion btw. you can option split to have entries use specific parts of your template
14:38 jessicaD I see it, but the altLayoutsOptionSplit is for all the layouts right. I cant specify only displayLatest
14:39 FloLeBlanc hmm don't know for sure you'd have to check the object browser for that
14:40 porkpie Is the an ext that will allow me to display image in a row
14:44 porkpie I have set the content to display 3 columns but it's still showing as http://www.walkingholidaysspain.eu/comfortable-to-moderate/day-5-you-choose/
14:46 PiMB he only sets 3 images in 1 div.
14:46 PiMB you still need to add the proper css.
14:47 PiMB something like div.csc-textpic img { float: left; margin: 10px; }
14:48 porkpie PiMB:How do I apply CSS... I am new to this and not sure what I need to edit .... is it the main template?
14:49 porkpie PiMB: do I put that in my css file ... how do I apply the class to the content though
14:53 porkpie PiMB:found the current CSS enrty
15:07 FloLeBlanc does someone know how to config the imagelinks in the plaintext version of direct_mail when including tt_news articles?
15:28 mmm2m Hey ho!
15:29 PiMB hi mate
15:29 mmm2m I've installed realURL and it looks not that bad :-), but...
15:29 PiMB :)
15:30 mmm2m If I'm at page with id 13 then all Links will look like https://my.domain.com/13/15/
15:30 mmm2m And that will fail.
15:30 mmm2m It should be https://my.domain.com/15/
15:32 PiMB true.
15:32 PiMB did you set a baseurl?
15:32 mmm2m config.baseURL = my.domain.com
15:32 mmm2m well not really :-)
15:33 PiMB config.baseURL = https://my.domain.com/
15:33 PiMB (don't forget the trailing slash)
15:33 PiMB realurl generates relative urls like /15/
15:33 PiMB sorry 15/
15:33 mmm2m Ah - ok
15:33 PiMB so if you're at page my.domain.com/13 without base url it will add it to the back of the url (like normal behaviour with relative links(
15:34 PiMB base url changes this.
15:34 mmm2m is there a warkaround if you want to provide both https and http?
15:34 PiMB sure.
15:34 PiMB you can have TS condition to select which one to set.
15:34 mmm2m *googledidou*
15:34 No5251 hi
15:34 PiMB are there specific pages that are https?
15:35 PiMB you might want to take a look at the https_enforcer
15:35 PiMB http://typo3.org/extensions/repository/view/https_enforcer/current/
15:35 PiMB mmm2m, did it for me :)
15:36 mmm2m PiMB: Very Nice.
15:36 mmm2m Thank you for the help!
15:36 PiMB no problem mate
15:39 jessicaD Can someone explain the altLayoutsOptionSplit?
15:39 No5251 how can i combine X tt_news in an extra div?
15:39 jessicaD Cause I know have altLayoutsOptionSplit = 0||1|*|1||0||0|*|0||0||1
15:39 jessicaD and it's now working
15:56 FloLeBlanc jessicaD: http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/3/1/ => optionsplit
16:00 jessicaD FloLeBlanc, Thanks again
16:00 jessicaD I now have
16:00 jessicaD plugin.tt_news.altLayoutsOptionSplit = 1|*|2
16:00 jessicaD so the first item will display the template1 and the rest should display template2
16:00 jessicaD but that isn;t working
16:00 jessicaD Do you have any idea
16:00 jessicaD s?
16:02 pmk65 Try plugin.tt_news.altLayoutsOptionSplit = 1|*||*|2
16:04 jessicaD pmk65: Ok I will try, do I have to set a limit?
16:05 jessicaD pmk65: that doesn't work either. I have the limit set to 5
16:06 jessicaD I have this as my template: http://paste.phlogi.net/template_tt_news/
16:06 jessicaD is that wrong?
16:08 pmk65 dunno. But you could also try adding alternate teplate layouts to the HTML, and then use the option "alternatingLayouts" to set the different layouts.
16:08 jessicaD This is what I set to the HTML
16:10 pmk65 if you add 5 layouts to your HTML (2-5 should be identical) and then set alternatingLayouts=5
16:11 pmk65 there's an example here: http://www.typo3.net/index.php?id=13&action=list_post&tid=4609
16:12 jessicaD So I should do something like this http://paste.phlogi.net/template_tt_news-1/
16:12 jessicaD in the news_template.html
16:13 jessicaD wow it's in german
16:13 jessicaD confusing :S
16:24 ndee is it possible to have a CE with 2 images and those two images link to different URLs?
16:34 porkpie PiMB: Hi ..... thanks for the pointer .... all working now http://www.walkingholidaysspain.eu/comfortable-to-moderate/day-5-you-choose/
16:34 FloLeBlanc jessicaD: there is a demo template in your tt_news directory on the server where you installed it
17:21 FloLeBlanc anyone who knows how to format the plaintext links of direct_mail plaintext?
17:21 FloLeBlanc (for images)
17:41 Denyerec hey mark
17:42 porkpie Hey .... Denyerec ...
17:42 porkpie Denyerec: I sort it :)
17:42 Denyerec COol
17:42 porkpie sorted even
17:42 porkpie Denyerec: what you up to man
17:42 Denyerec Workin :(
17:43 Denyerec As usual
17:43 Denyerec Just had the on-site contract cut to a 3-day week though, so got to find more work.
17:43 porkpie I am broadcasting cool tunes again http://chillville.costaeye.com:8000/
17:43 porkpie you will find loads mate ... you are da man
17:55 flops12312 are there already typo3-api-functions to create zip-files?
17:55 flops12312 hi @all btw :)
17:56 FloLeBlanc hi flops
18:16 TheEternalAbyss would there be a reason typo3/imagemagick refuses to resize and image even though it's a proper installation of everything?
18:16 FloLeBlanc the tests in the install tool work?
18:17 TheEternalAbyss yes
18:17 TheEternalAbyss nvm it started behaving again
18:17 TheEternalAbyss i do have a question about inherited content tho
18:18 TheEternalAbyss I have this contact information that many pages apparently inherit if there is no content in a specific div container
18:18 TheEternalAbyss for some reason I get an extra </div> tag which I suspect is the reason my contact information does not appear on other pages
18:19 TheEternalAbyss anyone can offer some insight as to where the problem is?
18:28 TheEternalAbyss no clue huh?
20:04 flops12312 TheEternalAbyss: somewhere in your templatecode i guess
20:46 TheEternalAbyss in the TO and DS area?
23:01 lindbergh anyone can help me with typo3 conditions
23:01 lindbergh in typoscript

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.