Re: [TYPO3-english] pt_extlist with condition if else
Am 31.03.15 um 09:07 schrieb Sebastian Gärtner: Hello I have the following typoscript setup for pt_extlist was soll denn 10 innerhalb von TEXT sein? 15{ label = UNTIL columnIdentifier = years_paid fieldIdentifier = years_paid renderObj = TEXT renderObj { field = years_paid soweit sieht das ok aus 10 = TEXT du bist innerhalb von TEXT, da gibt es kein .10 (also diese Zeile weg) 10.value = strong|/strong du möchtest einen Wrap machen: wrap = strong|/strong 10.if { der dann bedingt sein soll: wrap.if { der rest sollte dann passen value = 2016 isInList.field = years_paid } } } BUt its not working. I want to basically wrap something around if the value of years_paid is 2016 bernd -- http://www.pi-phi.de/cheatsheet.html ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
[TYPO3-english] Re: GraphicMagick Thumbs transparant
Seemed to be a problem with gifs. [GFX][thumbnails_png] = 1 solved it for me ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
[TYPO3-english] pt_extlist with condition if else
Hello I have the following typoscript setup for pt_extlist 15{ label = UNTIL columnIdentifier = years_paid fieldIdentifier = years_paid renderObj = TEXT renderObj { field = years_paid 10 = TEXT 10.value = strong|/strong 10.if { value = 2016 isInList.field = years_paid } } } BUt its not working. I want to basically wrap something around if the value of years_paid is 2016 ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] pt_extlist with condition if else
Am 31.03.2015 um 09:07 schrieb Sebastian Gärtner: BUt its not working. I want to basically wrap something around if the value of years_paid is 2016 i think this is what you need: renderObj = TEXT renderObj { field = years_paid wrap = strong|/strong wrap.if { value = 2016 isInList.field = years_paid } } posibly you need a wrap.stdWrap.if (but i think it will work without it) -- image[FORMAT] - Ralf-René Schröder http://www.image-format.eu ... Wir geben Ihrem Image das richtige Format ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] installation errors
Hello! l lin wrote: I installed a fresh new Typo3 6.2.11, but I wouldn't be able to create pages, and got the following errors. Could you please help me out? Also, I attached a screenshot of the admin page. Firsts, do not attach screenshots, please, because it heavily increases traffic. If you ned to post a screenshot, upload it somewhere and post a link instead. Secondly, the warning tells you what you should do: To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini Just do it. -- Dmitry Dulepov Today is a good day to have a good day. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
[TYPO3-english] extbase create/update @dontvalidate
Hallo. In my EXT I have some fields which are not representet directly in the database as there are: image0, image1 and imagecaption0, imagecaption1 This images are NOT FAL images, I use the uploads folder instead. in DB I'd like to have a CSV list. Problem: The Form sends image1, image2 and the captions in separate fields, but the Domain does not have this fields. - Error, the property mapper fails. I have read a lot about the property mapper but still have no idea how to work around my problem. latest try was in /** * initialize create action * @return void * @dontvalidate image0 * @dontvalidate image1 * @dontvalidate imagecaption0 * @dontvalidate imagecaption1 */ public function initializeCreateAction(\Tmd\Screenprinting\Domain\Model\Printitem $newPrintitem) { debug($this-request-getArgument('newPrintitem')); } But this @dontvalidate does not help. in the initializeCreateAction() I can see the submitted values. How can I delete the helper Methods (image* and imagecaptioin*) and remap this field so that the createAction is satisfied. So far i didn't find a suitable example in my brain/books/google :-( Any help is welcome, Christian. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
[TYPO3-english] Social media
Hello all, I am seeking support on how to create links between my Website and Facebook etc. Ideally I would like a post I pre-load on my website to be automatically post to my Facebook page. So far I have not been successful in find a way... Does anyone have a answer? Thanks in advance Steve ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
[TYPO3-english] Extbase/Fluid extension: clear caches for all pages containing a plugin on records data update?
Hi everybody, I am looking for a way to automatically clear the caches of all pages containing a plugin of my calendar extension every time I update the calendar data records. I tried to implement what I think does the job in tx_news, but it does not work. I must have missed something obviously. /mycalendar/ext_localconf.php: $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearCachePostProc'][$_EXTKEY.'_clearcache'] = 'Vendor\Mycalendar\Utility\Tcemain-clearCachePostProc'; /mycalendar/Classes/Utility/Tcemain.php: ?php namespace Vendor\Mycalendar\Utility\; class Tcemain { /** * Flushes the cache if a calendar record was edited. * * @param array $params * @return void */ public function clearCachePostProc(array $params) { if(isset($params['table']) isset($params['uid'])) { $cacheTag = $params['table'].'_'.$params['uid']; /** @var $cacheManager \TYPO3\CMS\Core\Cache\CacheManager */ $cacheManager = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Cache\\CacheManager'); $cacheManager-getCache('cache_pages')-flushByTag($cacheTag); $cacheManager-getCache('cache_pagesection')-flushByTag($cacheTag); $cacheManager-getCache('cache_pages')-flushByTag('tx_mycalendar'); $cacheManager-getCache('cache_pagesection')-flushByTag('tx_mycalendar'); } } } ? The class method is being called, it obviously also gets the $params array correctly (if I put a php error somewhere into the method it gets reported). Thanks a lot in advance! Cheers, Hagen. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
[TYPO3-english] Re: installation errors
Thanks Dmitry for your reply. That's very helpful overall. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
[TYPO3-english] Aimeos 2.2. LTS web shop extension
Hi there We've upload version 2.2 of the Aimeos TYPO3 extension today. It will be supported for at least one year and is also officially available for TYPO3 7.1 now. A very special thanks goes to Selim who contributed the Turkish translation and increased the supported languages to 10. Many other developers helped us to fixe remaining bugs in the last weeks and we added a few small features like MySQL sockets, partials and canonical URLs. The new version can be downloaded from the TER: http://typo3.org/extensions/repository/view/aimeos If you would like to know more about Aimeos then please visit http://aimeos.org/TYPO3 -- Aimeos web shop extension http://aimeos.org/TYPO3 News: https://facebook.com/Aimeos Twitter: @aimeos ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Social media
Steve, If you want to post to a Facebook page (not group) then you can set up an RSS feed from your news pages and use Twitterfeed. Graham On 31/03/15 13:51, steve Ant wrote: Hello all, I am seeking support on how to create links between my Website and Facebook etc. Ideally I would like a post I pre-load on my website to be automatically post to my Facebook page. So far I have not been successful in find a way... Does anyone have a answer? Thanks in advance Steve ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] 4.5 - filename is not sanitized
1. you might try to upload the file in the file - filelist module. the result may differ using the flash module or not. (configure in user settings) Well, editors would like direct upload in news record (standard file widget). 2. you may sanitize the filename by your own before uploading it: be sure to replace also the blanks in the filename, so you end up with a file matching [a-z][a-z_0-9.]* Not really good option. Sure, that's what they are doing, but I believe TYPO3 used to do it own it's own. I have no idea what has changed. Jan ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] extbase create/update @dontvalidate
Hi, Changed to ignorevalidation. https://forum.typo3.org/index.php?t=msgth=196975goto=686194#msg_686194 I haven't played with the validation but I think you'd only be able to ignore validation on a whole parameter, not part of the parameter. Richard On 1 April 2015 at 00:36, Christian Tauscher christian.tausc...@media-distillery.de wrote: Hallo. In my EXT I have some fields which are not representet directly in the database as there are: image0, image1 and imagecaption0, imagecaption1 This images are NOT FAL images, I use the uploads folder instead. in DB I'd like to have a CSV list. Problem: The Form sends image1, image2 and the captions in separate fields, but the Domain does not have this fields. - Error, the property mapper fails. I have read a lot about the property mapper but still have no idea how to work around my problem. latest try was in /** * initialize create action * @return void * @dontvalidate image0 * @dontvalidate image1 * @dontvalidate imagecaption0 * @dontvalidate imagecaption1 */ public function initializeCreateAction(\Tmd\Screenprinting\Domain\Model\Printitem $newPrintitem) { debug($this-request-getArgument('newPrintitem')); } But this @dontvalidate does not help. in the initializeCreateAction() I can see the submitted values. How can I delete the helper Methods (image* and imagecaptioin*) and remap this field so that the createAction is satisfied. So far i didn't find a suitable example in my brain/books/google :-( Any help is welcome, Christian. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english