Re: [TYPO3-english] EXT:form redirect
Hi, Christian. I found in Ressources/Private/Language/locallang_controller.xlf this part: trans-unit id=tx_form_view_mail.success xml:space=preserve sourceThe form has been sent successfully by mail/source /trans-unit plugin.tx_form_pi1._LOCAL_LANG.default.tx_form_view_mail.success = text or plugin.tx_form._LOCAL_LANG.default.tx_form_view_mail.success = text or plugin.tx_form._LOCAL_LANG.default.success = text Just a suggestion: what if you try tt_content.mailform.20._LOCAL_LANG ? Btw, once I've had a problem with _LOCAL_LANG.default, - it also made no effect, but using direct language code helps: _LOCAL_LANG.en. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] flux and fed with image preview in BE
Hi, Alexander I solved it this way: img src=/{f:uri.image(src:'uploads/tx_foo/{image}', maxWidth: 100, maxHeight: 100)} alt= / Ah, yes, that makes sence. Thank you for a hint! ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Mail Forms
Hi, Paolo. You better switch to powermail for your task, since following is not possible with default TYPO3 form. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Fed how to use Fluid Content Elements
I've had a similar issue and I found the reason. In my case my root page was defined as root (globe icon in page-tree), it was a shortcut to first subpage, which contained a rootlevel TS template - this was blocking TS configuration to be read and that's why nothing appeared in FCE dropdown. So, I changed my structure: moved rootlevel TS template to my root page (globe icon) and after that FCE appeared perfectly in dropdown. That's interesting, I'll try and look at that angle. I have some older sites that use that structure, however most of the current sites use either a root that is the homepage with a shortcut back to the root, or don't have a 'home' shortcut page back to the root domain in the page tree (its in the template). But there is a mix of both structures in the multi-site installation that has the issues. I'll let you know what happens. Yes, thank you - that would be interesting. As far as I understood, rootlevel TS template must be located at so-called root page, due to some ExtBase's way of reading TS setup. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Fed how to use Fluid Content Elements
Hi, Mark. I've had a similar issue and I found the reason. In my case my root page was defined as root (globe icon in page-tree), it was a shortcut to first subpage, which contained a rootlevel TS template - this was blocking TS configuration to be read and that's why nothing appeared in FCE dropdown. So, I changed my structure: moved rootlevel TS template to my root page (globe icon) and after that FCE appeared perfectly in dropdown. Hope that helps. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Why are my Backend Layouts not inherited?
Hi, Oliver. I usually create a Storage Folder and set root page to use it is storage page. Later I put my BE layouts into that folder and then they are available everywhere ;) ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Extension development (database fields question)
Hi, Ahmed. The problem I have is that after I have created the skelton structure of the extension using kick starter and I have added a few records in the backend the uid of the record is always on the left, and any other fields from the database table I select to show are always on the right, I would like to be able to show one of the description fields on the left before the uid for completetion sake. I have attached a screen shot of the issue. I can't understand, what do you mean by on the left and on the right. Attachements are not available in mailing lists, so post your screenshot somewhere and give us a link ;) ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] (beginer) How to transform tt_news catMenu (nested mode) in a html select dropdown with link to category ?
Hi, Vincent. Nice to hear, that I was helpful :) it's better but there are still two problems :( 1./ the typolink are not good 2./ there are not categories titles between option... and /option Yes, that's a bit tricky part. These 'field' things tells the core, that it should take value from field, called, i.e. 'category_uid'. These fieldnames totally depend on extension developer, but you may take a look at DB fields of the table, you're working with - in 99% of cases fieldnames in TS will be the same, as fieldnames in db (maybe, some will be missing or some new added, which, actually, should be reflected in extension documentation). So, in your case [category-id] would be simple 'uid' (don't put quotes in TS); [category-title] = 'title' or 'name' (take a look at DB better). Hope it helps ;) ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Using different domains for different languages
Hi, Stephen. Is it possible to set up hmenus to show link to different domains based on the L var? You may use RealURL for this purpose. Check it's manual about '_DOMAINS' section. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Using different domains for different languages
Is it possible to set up hmenus to show link to different domains based on the L var? You may use RealURL for this purpose. Check it's manual about '_DOMAINS' section. Sorry, I didn't see your answer, that you're not using RealURL. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] indexed_search no results found
Hi, Matthew. Where else might I look to undo no cache options Site Crawler may have set? Take a look at at EM - indexed_search - configuration - disbaleFrontedIndexing option. It must be unset. Since, you say, that titles are getting to index, then your pages are cached, just not indexed due to this option :) ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] indexed_search no results found
Hi, Jigal. The best tutorial for getting indexed_search running is: http://xavier.perseguers.ch/en/tutorials/typo3/articles/indexed-search-crawler.html Wow! Really great tutorial. I didn't even know, that it is possible to index database records, which are not cached! Thank you for a link. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] indexed_search no results found
Hi, Matthew. Thanks for your reply. It seems that it is *sort of* working. I discovered that you can do a search on the title of any page and get a result, but it doesn't seem any of the page contents are being indexed. I have tried to add !--TYPO3SEARCH_begin--!--TYPO3SEARCH_end-- flags around the content, but that doesn't seem to help. Why wouldn't page content get indexed, but the title tag content is? indexed_search searches only in indexed content (sounds weird :) ), and TYPO3 indexer indexes only cacheable content. Maybe, you've disabled page cache or you have USER_INT plugins, which output some non-cached content, or some of plugins sets $GLOBALS['TSFE']-no_cache = 1 ? ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] (beginer) How to transform tt_news catMenu (nested mode) in a html select dropdown with link to category ?
Hi, Vincent. plugin.tt_news { displayCatMenu { catmenu_stdWrap.wrap = div class=trieurselect id=categoryTrieur|/select/div catmenuHeader_stdWrap.wrap = option value= select a category /option catmenuItem_ACT_stdWrap.wrap = option value=| selected=true|/option catmenuLevel1_stdWrap.wrap = option value=||/option } } I don't understand how to replace the first pipe (the first wrap) with the good link to the current category ? Btw i don't really know how-to/where generate the good typolink to put in the value param ? If tt_news supports stdWrap fully, you may do it like this: catmenuItem_ACT_stdWrap.cObject = COA catmenuItem_ACT_stdWrap.cObject.10 = TEXT catmenuItem_ACT_stdWrap.cObject.10.typolink { parameter = [page-id] additionalParams.field = [category-id] additionalParams.wrap = tx_ttnews[cat]=| returnLast = url } catmenuItem_ACT_stdWrap.cObject.10.wrap = option value=| catmenuItem_ACT_stdWrap.cObject.20 = TEXT catmenuItem_ACT_stdWrap.cObject.20 { field = [category-title] wrap = |/option } Just replace values in [] with correct numbers and fieldnames. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Re trieve the stored data from back end module and displayed in frontend
Hi. Please help somebody to solve my problem. I created one back end module through extension builder. I want to retrieve the data and wrap to the particular div using typo script. Is it possible to access the created table data directly through typo script or need to create new front end plugin for that. If I need to create front end plugin how I need to call the function through typo script. You may use CONTENT cObject for this purpose. Just do something, like: lib.my_content = CONTENT lib.my_content { table = tx_mytable select { pidInList = ... selectFields = myfield1, myfield2 where = ... } renderObj = COA renderObj.10 = TEXT renderObj.10.field = myfield1 renderObj.20 = TEXT renderObj.20.field = myfield1 renderObj.20.wrap = div class=my-class|/div } ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] about Futuristic Template Building
Hi, tom Can you give me a link of the introduction(documentation) for the one you mentioned? You can check this website: http://fedext.net/ - it is about FED framework, which uses 'gridelements' as well. But first you should learn some basics about FLUIDTEMPLATE: http://typo3.org/documentation/article/the-fluidtemplate-cobject/ ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] TYPO3 Multilanguage configuration with multiple domains
Hi, Riccardo. This configuration works fine everywhere, except... the home page, where the language menu: Still has this behavior: when I am in italian (L=0): ul class=clearer clearfix id=langMenu listrong Italiano /strong/li li a href= http://en.mysite.dev.com/;English/a /li li a href= http://pt.mysite.dev.com//;Português brasileiro/a /li /ul When I switch to english: ul id=langMenu class=clearer clearfix li a href= http://en.mysite.dev.com/; Italiano/a /li listrong English /strong/li li a href= http://pt.mysite.dev.com/; Português brasileiro/a /li /ul I walked through your configuration and can't see any issues there... Maybe, try to disable and see at links, that your language menu generates at the home page? Check, if L-param passed then correctly. The only dirty solution, that I see - just use condition for a home page and put there static menu, since links will be always same anyway. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] How can to use the extension Front End UserRegistration?
Hi, Jost. a good alternative might be datamints_feuser. Its quite easy to set up and should have the features you need in most cases. I agree, really nice extension. The only big disadvantage - HTML code is hardcoded in PHP, so it is a nightmare for HTML/CSS people to make it look different, than it is. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Formhandler: no email is sent
Hi, Lamb. finishers.1.class = Finisher_Mail finishers.1.config { admin { templateFile = TEXT templateFile.value = fileadmin/template/main/html_forms/email.html to_email = myem...@mydomain.com sender_email = email subject = subject } } finishers.2.class = Finisher_Redirect finishers.2.config.redirectPage = 179 } And the form will correctly submit but no email is sent to my email address. What am I doing incorrectly?= Maybe, you've not configured mailing transport in Install Tool or it simply doesn't work? Try to send a test mail from Install Tool and see, if it works. Also I usually add following to configuration of formhandler: finishers.1.class = Finisher_Mail finishers.1.config { mailer.class = Mailer_TYPO3Mailer ... } ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Scriptmerger extension not working for css filestypo3 v 4.5.3
Hi, I am currently running typo3 4.5.3 version. My script merger version is 3.2.4. As far, as I remember, there was such an issue in early 4.5 releases, so just update to the latest minor version of 4.5 brunch. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Changing adding order of new items in multipleselect box
Hi, Is it possible to change adding order of new items in select box with Tsconfig? Insted to add on bottom - add them on top. Or it is only possible with ItemsProcFunc? I'm not sure about your case, but, probably, you're using: someObject.value := addToList(4,5) You may try to use: someObject.value := prependString(4,5) ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
[TYPO3-english] TCA type=group, internal_type=db, show records from current language only
Hi, list. Recently I run into a problem: extension has a flexform, where user selects a category (db record), which should be operated at FE. I'm using type=group with internal_type=db. No MM relations here is set, since I need only one category selected at FF. Website has 5 languages and there are more to come. Categories are localized. And I want BE editor user to see only categories in browser wizard, that are in same language as CE's language is. Is it possible? If not, maybe I can show flags near the records? Thank you in advance. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Wrong path for css files when merged usingscriptmerger extension
Hi. If I'm right, it was some core issue of old releases. Try to update your TYPO3 core to the latest version in the branch. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] dd_googlesitemap help
Hi, Stewart. My homepage is a shortcut going from id=1 to id=6 and I don’t understand what to do below: If your home page is a shortcut, TYPO3 will automatically load Google sitemap in the context of the shortcut destination. Typically it results in a trucated sitemap (only pages below the shortcut destination). In order to fix this problem, set the tx_ddgooglesitemap.forceStartPid TypoScript option to the page ID where the sitemap should really start. It means, that you have to set: tx_ddgooglesitemap.forceStartPid = 6 in your TS setup. Try it ;) ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
[TYPO3-english] Usage of stdWrap cache in TYPO3 4.7
Hi, List. Today I played a little with new TYPO3 4.7 feature of caching via stdWrap. Quite nice and tasty feature, but after a while I realized, that it's not so useful, as I thought. My first intention was to implement it for HMENUs on the website, but later I found, that TYPO3 already stores HMENUs in cache_hash, so it's not needed. My second try was for common content elements, used on an every page. Here is a scheme: - I have 3 common content elements, which are stored in Content Storage sysfolder. - These elements are inserted on every page, so I have to set TCEMAIN.clearCacheCmd = pages at Content Storage sysfolder for clearing whole cache, whenever content of some of these elements changes. It would be really nice, if I could store these elements in separate cache and clear only this cache, whenever change is made. And here is a problem, since stdWrap.cache stores data in cache_hash and there is no way (except hooks and clearCacheCmd = all) to clear that cache automatically on record update. So, my question: is it possible to automatize stdWrap's cache clearing? ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] typo3 4.7.x; how to install local t3x
Hi, Mohamed. http://www.easymoments.de/uploads/media/typo3-4.7-neuerungen.pdf there is all what´s new in typo3 4.7.0 Really nice article. But I'm missing one thing: page 44 shows, that it's possible to add cache tags to a page. However, I can’t see such a field in my page properties at 4.7.0. Can you see it? ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Caching Framework questions
Hi, Jigal. If you need caching in your extension enetcache [1] can be useful for you. It makes the caching framework available for extensions. [1] http://typo3.org/extensions/repository/view/enetcache Thank you for the link. I read the manual, and it seems to be a really great tool for extension developers. Anyway, I always prefer use core functionality whenever possible, but this time I can make an exception. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Split within menu
Hi, Jan. You may do that a bit different: 1.NO.stdWrap.override.cObject = COA 1.NO.stdWrap.override.cObject { 10 = IMAGE 10 { params = class=fst file.import = uploads/media/ file.import.field = media file.import.listNum = 0 file.height = 252 file.width = 252 } 20 .10 20.params = class=snd 20.import.listNum = 1 30 .10 30.params = class=trd 30.import.listNum = 2 } Have not trued this code, but you shoould get the idea. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
[TYPO3-english] Caching Framework questions
Hi, list. I've faced a problem, when I need to reuse results of resource-eating processing multiple times with multiple page-loads. Since I don’t want to reinvent the wheel, I decided to try caching framework possibilities. http://wiki.typo3.org/Caching_framework#How_to_use_the_caching_framework_in_extensions describes the process of usage really good, but here is another article: http://wiki.typo3.org/Cache#Example_for_using_cache_for_own_Extensions and it looks simpler, than first one. As far, as I see, the benefits of first method are: - you can configure different caching backend and frontend for your own extension, non-depending on 'cache_hash' configuration; - you can use tagging and later clear caches by tags. Are there any other benefits? Or even, what is more important: is it bad to use system's 'cache_hash' instead of own one? ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] can anyone help me to check this php code?
But the thing is: When get the keyword, it never be an array, so is_array($this-piVars['keyword']) always returns false. Use t3lib_div::trimExplode(' ', $this-piVars['keyword']); ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] pagebrowse
Hi, Robert. Can anybody please point me to a step-by-step tutorial of how to implement Dmitiris pagebrowse - or even the TYPO3-regular one from the piBase? I really don't know how to search anymore... Simply use code of method 'getListGetPageBrowser()' from manual and pass number of pages as reference. You can calculate number of pages, by selecting count of your records and dividing it to number of results per page. Really simple. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] pagebrowse
Hi, Robert. Well... really simple ... probably for an experienced EXT developer, but not for a newbie. EG: where is one expected to put that code snippet of getListGetPageBrowser? When I put it in my pi1-class, I get an error about some undefined class. But pagebrowse is installed, and - if I understand the code correctly, I do not have to include anymore classes at the top of my extention class, right? Okay... Yes, you shouldn't include any other class. Your pi-class should look like this: class tx_myext_pi1 extends tslib_pibase { ... } Put inside that method (getListGetPageBrowser). /** * Gets list of pages from 'pagebrowse' ext. * * @return string Pagebrowser's content. * @param int $numberOfPages Full number of pages. * @param string $pageVar Name of 'page' in piVars. */ function getListGetPageBrowser($numberOfPages, $pageVar = 'page' ) { $conf = $GLOBALS['TSFE']-tmpl-setup['plugin.']['tx_pagebrowse_pi1.']; $conf['pageParameterName'] = $this-prefixId . '|'. $pageVar; $conf['numberOfPages'] = $numberOfPages; $conf['disableCacheHash'] = 1; $cObj = t3lib_div::makeInstance('tslib_cObj'); /* @var $cObj tslib_cObj */ $cObj-start(array(), ''); return $cObj-cObjGetSingle('USER_INT', $conf); } In your main() method you may do this: $recordsList = $GLOBALS['TYPO3_DB']-exec_SELECTgetRows($select, $from, $where, $groupBy, $orderBy, $limit); $fullRecCount = count($recordsList ); $recordsList = array_slice($recordsList, $this-piVars['page'] * $this-conf['listView.']['limit'], $this-conf['listView.']['limit']); First line selects records from db and puts them into array (you mey read more about db related TYPO3 functions by looking inside t3lib/t3lib_db.php class). Second line finds quantity of all the records (if you didn’t set limit, obviously). Third line gets that piece of records, that are requested by user, using pagebrowser. Current page number is stored in $this-piVars['page'], $this-conf['listView.']['limit'] takes amount of records per page from TS of your extension (you should, probably, know, how to set some TS options for extensions). After that you may do the output: foreach($announcementsList as $announcement) { // your code, that makes output of every record comes here } And finally you call your pagebrowser method: $this- content .= $this-getListGetPageBrowser(ceil($fullRecCount / $this-conf['listView.']['limit'])); And surely, best practice is to: 1) Play with extension kickstarter to see, what basic options are offered by TYPO3 API. 2) Read official API documents. 3) Look at other similar to yours extensions code to see, what methods do authors use and how do they use them. 4) Look at TYPO3 source code (Dmitry's book already gives directions, what to read). Good luck! ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] TCA type-field and required fields
you should open a report here: http://forge.typo3.org/projects/typo3v4-core/issues Here it is: http://forge.typo3.org/issues/36660 Added more detailed description, so it will be easy to catch the issue. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
[TYPO3-english] HTML5 File Upload at BE in 4.7
Hi, List. As 4.7 release notes says, there is now a possibility to use new'n'cool HTML 5 file uploader at BE. Maybe, I'm too stupid, but I can't find, where I can use it... I checked Filelist module as well, as TCE forms upload fields. Tried in latest FF and Chrome. Activated and de-actibated Flash Uploader in User Settings, but I always get only standard file upload possibility (or Flash Uploader, if activated). Can someone, please, point me into right direction? ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] HTML5 File Upload at BE in 4.7
Hi, Stefan. As 4.7 release notes says, there is now a possibility to use new'n'cool HTML 5 file uploader at BE. Maybe, I'm too stupid, but I can't find, where I can use it... I checked Filelist module as well, as TCE forms upload fields. Tried in latest FF and Chrome. Activated and de-actibated Flash Uploader in User Settings, but I always get only standard file upload possibility (or Flash Uploader, if activated). It's the regular (non-Flash) upload but now allows you to upload multiple files at once (select more files in one go). That's what the changelog wanted to say about the multiple-keyword in HTML afaik. Ah, that's really it! Thank you - now life seems better :) ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] TCA type-field and required fields
Is there any way to tell the core do not allow user switch the type, until he has filled required fields? Or disallow core to save record, when type is switched? Forgot to mention: TYPO3 4.7.0 Maybe, I'm wrong, but some older releases (4.2.x) were not allowing switch type, unless required fields were not filled up. Is it correct? ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] TCA type-field and required fields
Hi, Kay. Maybe, I'm wrong, but some older releases (4.2.x) were not allowing switch type, unless required fields were not filled up. Is it correct? No they just told about unsaved changes and asked the user to save before switch ;) Yeah, you're right! So, there is no way to switch the type without saving a form? If this is a bug, I'll open report for it. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Content showing inside div element problem
Hi, Toni. What i want is when i add new content in BE below existing one to see that new content in ANOTHER div id=box col2/div which have float left on em so they nest on each other 4 boxes in row. Let’s assume, that you're adding content via subparts, like this: page.10.subarts.CONTENT styles.content.get Then you can wrap each element in your div by adding this line: page.10.subarts.CONTENT.renderObj.stdWrap.wrap = div id=box col2|/div BTW, you shouldn't use same id's on single HTML page - use classes instead: div class=box col2 ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
[TYPO3-english] TCA type-field and required fields
Hi, list. I'm using a TCE type-feature, when some table contains so called type-field, which defines different views of same record at BE and in FE as well. When such a type field is changed, whole form is reloaded and record saved, but here comes a problem: record is saved on form reload, even, if there are some required fields! Is there any way to tell the core do not allow user switch the type, until he has filled required fields? Or disallow core to save record, when type is switched? Thank you in advance. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Typoscript insertData language issue
Hi, Peter. My configuration: page.40 = TEXT page.40 { value = Author: {page:author} lang.nl = Auteur: {page:author} insertData =1 typolink.parameter.field = author_email } Is this because there is no getText function possible with the lang property? Do I have to break the language depended code apart from the data requesting part to get the stuff work or is there one thing I'm overlooking? Seems, that you're right - insertData doesn't work with language overridings. You may try such a solution: page.40 = TEXT page.40 { value.field = author dataWrap = {LLL:fileadmin/locallang.xml:page.author}: | typolink.parameter.field = author_email } So, you'll hold your language related data not in TS, but in external llxml file. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Exclude from speaking URL won't work.
Hi, Jeppe. http://www.domain.com/web2012/news/single-news/archive/a-story.html This is what I get out of tt_news. single-news is the page title. I would like to hide as much as posible. I would like to do something likes this: http://www.domain.com/web2012/news/a-story.html You can't exclude 'single-news', because it gets translated to page-id, which holds your tt_news plugin. If you want to short the path, read the RealUrl manual section about fixedPostVars - that will help you ;) ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] FLUIDTEMPLATE f:translate and XLIFF
Hi, Chris. it seems to be a bug. I reported a similar issue some days ago with Typoscript: http://forge.typo3.org/issues/35093 Yes, your issue seems to be related to mine. Here is the one, I've created: http://forge.typo3.org/issues/35830 ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] New typo3.org extension repository
Hi, Steffen. Thank you for an answer. Nice to know, that problem is known and will be solved :) Regards. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
[TYPO3-english] FLUIDTEMPLATE f:translate and XLIFF
Hi, list. Once again I have a question about fluid. Is it possible to use .xlf files in FLUIDTEMPLATE f:translate viewHelper? If so, what filepath should I specify for multilanguage website? I.e., I have two xlf files: fileadmin/locallang.xlf ?xml version=1.0 encoding=utf-8 standalone=yes ? xliff version=1.0 file source-language=en datatype=htmlbody original=messages date=2012-04-06T11:48:07Z product-name=fluid xml:space=preserve header/ body trans-unit id=page.logo.title sourceHome (orig)/source /trans-unit /body /file /xliff fileadmin/de.locallang.xlf ?xml version=1.0 encoding=utf-8 standalone=yes ? xliff version=1.0 file source-language=en target-language=de datatype=htmlbody original=messages date=2012-04-06T11:48:07Z product-name=fluid xml:space=preserve header/ body trans-unit id=page.logo.title approved=yes sourceHome (en)/source targetHome (de)/target /trans-unit /body /file /xliff If I specify original file in a path like this: {f:translate(key: 'LLL:fileadmin/locallang.xlf:page.logo.title', default: 'Home')} Then FE output is same for both languages: Home (orig) If I specify a path like this: {f:translate(key: 'LLL:fileadmin/de.locallang.xlf:page.logo.title', default: 'Home')} Then FE output is always: Home (en) German label is never fetched. Am I doing something wrong? ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] language switcher with typoscript :: prevar gets lost if linked to default language
if i visit www.domain.com/de/myPage/ everything woks fine - also the links in my menues and all the links inserted by editors via RTE link to pages like www.domain.com/de/anotherPage/. so there the language prevar does not get lost. any clues, why my language switcher doesn't work like i expected it? Hi, Roland. Try to disable RealUrl and check, if L-param is passed via GET. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Passing dynamic data to FLUIDTEMPLATE
Tried to make it this way: variables { ccId = TEXT ccId.value = 272 } f:cObject typoscriptObjectPath=lib.single_content data={ccId} / but this code doesn't work. So, as I understand, it is not possible to pass TS objects to fluid? Well, after two days of fighting I found, what was the reason: variables are NOT visible in partials. If I put variable into layout or into template, it is outputted, but not in partial! Don't know, is it a bug or a feature? TYPO3 4.6.4 I wonder, if it is mentioned in some documentation about Fluid?.. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Passing dynamic data to FLUIDTEMPLATE
Hi, Kay. you may pass TS Objects to fluid with f:cObject, but the way back is not known to me. BUT you may create a custom viewHelper, which contains your cObject ;), then you can pass whatever param you like :) Thank you for the answer! I recently found the reason of an issue - it is in my previous comment. I know about custom viewHelpers, but I want to achieve such a thing: develop a website without any line of php code for trivial tasks. That's why I'm using the power of Fluid: FLUIDTEMPLATE and flux with fed extensions - solutions look really cool and modern :) ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Passing dynamic data to FLUIDTEMPLATE
Hi, Sören You have to pass the variables as arguments to the partial: f:render partial=Xyc/Properties arguments={myvar:myvalue} / See: http://wiki.typo3.org/Fluid#f:render Ah! That was the missing brick in my Fluid knowledge's wall. Thank you so much! ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
[TYPO3-english] Passing dynamic data to FLUIDTEMPLATE
Hi, lsit. I'm developing a website with FLUIDTEMPLATE and would like to pass some data, that comes from TS. F.e. I have following setup: lib.single_content = RECORDS lib.single_content.tables = tt_content lib.single_content.source.current = 1 With such a line in my template content element is fetched successfully: f:cObject typoscriptObjectPath=lib.single_content data=272 / But I want to pass data from TS and use lib.single_content in a couple of other places on a page, but with different source parameter. Tried to make it this way: variables { ccId = TEXT ccId.value = 272 } f:cObject typoscriptObjectPath=lib.single_content data={ccId} / but this code doesn't work. How can I properly do that? ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] FED Fluid Content Elements appearance
Is it possible to deactivate default FCEs (Display: Geocoded Address and Map, Layout: Columns, etc.) and activate custom ones instead in New Content Element wizard? Found related issue: http://forge.typo3.org/issues/34538 For those, who might need this feature, you can see temporary workaround in my comment there. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
[TYPO3-english] FED Fluid Content Elements appearance
Hi, list. I continue my experiments with fed and flux, and I love it more and more :) The only question I have now: Is it possible to deactivate default FCEs (Display: Geocoded Address and Map, Layout: Columns, etc.) and activate custom ones instead in New Content Element wizard? Now I have to select some default element, and only then I can switch it to custom one in Content Settings tab - not obvious for an editor. Can you give me a hint on this, please? ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Multilanguage tag attributes in FLUIDTEMPLATE
Hi, Kay use f:translate viewhelper inline. wiki.typo3.org/Fluid Didn't knew about inline usage. Thank you for pointing me up! Actually, more useful website for me became today fedex.net, since wiki doesn't have description of all attributes and usage cases. And for those, who might looking for same solution, here is my code: f:link.page pageUid=6 class=sprite-logo title={f:translate(key: 'LLL:fileadmin/templates/locallang.xml:logo.title', default: 'Home')} /f:link.page ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
[TYPO3-english] Multilanguage tag attributes in FLUIDTEMPLATE
Hi, list. I'm building website using FLUIDTEMPLATE. And I want to create a homepage link by using f:link.page viewHelper: f:link.page pageUid=6 class=sprite-logo title=Home Page /f:link.page The question is: how can I make title=Home Page be translatable? Thank you in advance. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
[TYPO3-english] BE record localization with related records
Hi, List. I'm looking for an obvious thing, but can't understand, is it my fault or missing core feature. I have an extension, which consists of couple of tables, which are linked to each other via MM and not-MM relations. TCA: 'system_category_id' = array ( 'exclude' = 0, 'label' = 'LLL:EXT:px_systems/locallang_db.xml:tx_pxsystems_systems.system_category_id', 'config' = array ( 'type' = 'select', 'items' = array ( array('',0), ), 'foreign_table' = 'tx_pxsystems_system_categories', 'foreign_table_where' = 'AND tx_pxsystems_system_categories.pid=###CURRENT_PID### AND tx_pxsystems_system_categories.sys_language_uid=###REC_FIELD_sys_language_uid### ORDER BY tx_pxsystems_system_categories.uid', 'size' = 1, 'minitems' = 0, 'maxitems' = 1, ) ), 'component_id' = array ( 'exclude' = 0, 'label' = 'LLL:EXT:px_systems/locallang_db.xml:tx_pxsystems_systems.component_id', 'config' = array ( 'type' = 'select', 'foreign_table' = 'tx_pxsystems_components', 'foreign_table_where' = 'AND tx_pxsystems_components.pid=###CURRENT_PID### AND tx_pxsystems_components.sys_language_uid=###REC_FIELD_sys_language_uid### ORDER BY tx_pxsystems_components.uid', 'size' = 10, 'minitems' = 0, 'maxitems' = 10, MM = tx_pxsystems_systems_component_id_mm, ) ), As you see, 'system_category_id' is 1:n relation, while 'component_id' is m:n relation. I want to make it possible to create relations to localized related records on main record localization - not leave linked records from default language version. So, f.e., if I have category 1 with category 1 de localization in 'tx_pxsystems_system_categories', and I link category 1 to my record, then I localize the record, and I should see category 1 de in Categories drop-down instead of INVALID VALUE Is it possible out-of-the-box or I chould use some hooks to extend core saving mechanism? Thank you in advance. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Extend menu only for subitems on a specific ID
Hi, Morten. I have a menu that extends 3 levels, but for a page on level 3 (ID: 166) I want the menu to be extended with that page's subitems so it will extend to level 4. Sounds, like you should use 'alwaysActivePIDlist' property of HMENU object. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] marker to fill with content or imagecycle?
Hi, Axel. to fetch this as a content element from an other page (this page contains a content element with this extension in an configured form)like this: 20 = CONTENT 20 { table = tt_content select { # where = pid=288 AND uid=603 } } Default value of 'pidInList' property of 'select' is set to 'this', so it tries to take records from current page. You need to configure this in a such way: 20 = CONTENT 20 { table = tt_content select { pidInList = 288 uidInList = 603 } } ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Redirection of login page
Hi, Colin. It appears that the extension 'redirection' for redirecting a login page is no longer available. How do I handle login re-direction now ? All the redirection handlers are now inside of system login extension (starting from TYPO3 4.3, I guess). ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Synchronising front-end and back-end layouts
Hi, Graham. Our pages use 3 layouts selectable by individual editors. Under 4.5 editors currently see both front-end and back-end selector boxes. I would like to remove this duplication and just show the back-end selectors. I would then refer to the back-end selector when rendering the page. My problem is that our existing pages do not have back-end layouts set. Is there a way I can set these by reference to the existing layout fields? Sure, you can. have a look at this piece of TS code: page.10 = TEMPLATE page.10.template = FILE page.10.template.file.cObject = CASE page.10.template.file.cObject { key.data = levelfield:-1,backend_layout_next_level,slide key.override.field = backend_layout 1 = TEXT 1.value = fileadmin/templates/home.html 2 = TEXT 2.value = fileadmin/templates/inner_main.html 3 = TEXT 3.value = fileadmin/templates/inner_secondary.html } This code makes template file be changeable, depending on user's selection of BE layout (regarding both fields: BE layout for current page and for child pages). Key here is the uid of backend layout record. Enjoy ;) ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Synchronising front-end and back-end layouts
Sorry, I've read your post more careful and got the real problem. I con see only one way: run MySQL UPDATE on 'pages', where you'll set backend_layout field accordingly to layout field. Something, like this: UPDATE pages SET backend_layout=1 WHERE layout=1 (surely you need to use correct ids here) And after that you may use TS code, I provided. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Variables in RTE?
Hi, David. Thank you Xavier but where can I find this documentation related to that feature? Is it in RTE documentation or in TYPO3 one? Googling for typo3 rte markers gave me this: http://typo3.sfroemken.de/typo3-tutorials/tipps-und-tricks/variablen-im-rte.html It is in German, but code is understandable. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
[TYPO3-english] config.absRefPrefix and minificator script
Hi, list. I'm using TYPO3 4.6.3 and due to changes at RealURL manual, I've exchanged config.baseURL = http://{$BaseUrl}/ with config.absRefPrefix = http://{$BaseUrl}/ So far so good, but after some time I've found, that default CSS and JS isn't inside merged and minifed css and js files (I have settings for that: config.compressJs = 1, config.compressCss = 1, config.concatenateJs = 1, config.concatenateCss = 1). Here is what I see at the log: Core: Error handler (FE): PHP Warning: filesize(): stat failed for /path-to-document-root/absRefPrefix-value/typo3temp/stylesheet_0bb18ca76c.css in /path-to-document-root/t3lib/class.t3lib_compressor.php line 295 Core: Error handler (FE): PHP Warning: filemtime(): stat failed for /path-to-document-root/absRefPrefix-value/typo3temp/stylesheet_0bb18ca76c.css in /path-to-document-root/t3lib/class.t3lib_compressor.php line 295 As you see, function fails, because path to CSS file in typo3temp isn't valid, since it contains value from config.absRefPrefix right between document root path and 'typo3temp'. So, I set: config.absRefPrefix = / and that doesn't make functions to fail. I want to know, is it a bug or I did something wrong? And is it secure to have only slash without any domain name in config.absRefPrefix? ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] config.absRefPrefix and minificator script
Hi, Steffen. baseURL and absRefPrefix aren't the same options with distinct names ;) absRefPrefix is independent of your host name, so it's / in case your TYPO3 installation is in your document root, /foo/bar/ in case if it's reachable through http://example.org/foo/bar/ etc. Thank you for an explanation! Now I got the idea. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] tt_products: overwrite page's title with product title
Hi. Here is my TypoScript: page.headerData.10 = TEXT page.headerData.10 { field = ###PRODUCT_TITLE### noTrimWrap = |title|/title| stdWrap.htmlSpecialChars = 1 } I'm sure, there is no field ###PRODUCT_TITLE### in current cObject. You should fetch the title from tt_products table yourself with f.e. RECORDS cObject with a code, like this: page.headerData.10 = RECORDS page.headerData.10 { # next line may be different, because I don't know, how tt_products passes record's uid in url source.data = GP : tx_ttproducts|uid tables = tt_products conf.tt_products conf.tt_products = TEXT # also not sure about next line - check, what column stores the title of product conf.tt_products.field = title stdWrap.noTrimWrap = |title|/title| stdWrap.htmlSpecialChars = 1 } ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Salted hashes and security
Hi, Philipp. Yes, this message is partly wrong. Can you open an issue on http://forge.typo3.org/projects/typo3v4-core/issues Here is the issue, opened: http://forge.typo3.org/issues/32650 ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Salted hashes and security
Hi, Markus. What is the exact message shown by the report? The message is shown in Security section: Backend user password hashes - Insecure During the configuration check of saltedpasswords the following issues have been found: Warnings about your configuration SaltedPasswords might behave different than expected: The backend is configured to use SaltedPasswords with RSA authentication. SaltedPasswords has been configured to enforce salted passwords (forceSalted). This means that only passwords in the format of this extension will succeed for login. IMPORTANT: This has the effect that passwords that are set from the Install Tool will not work! Note, that a wrong configuration might have impact on the security of your TYPO3 installation and the usability of the backend. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Problems with locallang.xml translation since 4.6
Hi, Sören. Simplified xml file (for formhandler): ?xml version=1.0 encoding=utf-8 standalone=yes ? T3locallang meta type=array typemodule/type descriptionLanguage labels for plugin tx_formhandler/description /meta data type=array languageKey index=default type=array label index=resetZurücksetzen/label /languageKey languageKey index=en type=array label index=resetReset/label /languageKey languageKey index=en type=array label index=resetReset/label /languageKey /data /T3locallang Is it misspell in the mail or you really have two en sections in your locallang.xml file? Maybe this causes a problem? ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
[TYPO3-english] Salted hashes and security
Hi, List. I just started using TYPO3 4.6, where 'rsaauth' and 'saltedpasswords' extensions are installed from very beginning. That's nice and good for security. But I can't understand, why system report claims, that website is insecure, when I set BE.forceSalted and unset BE.updatePasswd? Yes, I know, that user, created by Install Tool will no longer be able to log in with this configuration - but this only increases security, since, even if someone gets access to Install Tool, he still will not be able to get to BE. Or I don't understand something? ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Clear FE user session data on logoff
Hi, Jigal. If you want to store data about a logged in user you can use setKey('user', $name, $data). This will even survive between logins. Yes, I also was looking into this, but I don't need so long life of data, so I rejected this way and made it a bit different: $name variable contains uid of current FE user appended - this makes sure, that only concrete user will see his related data. As far as I could see in the code if a FE user logs off the session data should be removed. However, if you want to be absolutely sure, there is a hook $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'] inside the logoff() function. You could make a hook subscriber which calls $GLOBALS['TSFE']-fe_user-removeSessionData() . Thank you! That sounds good, so I'll make an implementation :) ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Strange RealUrl multiple domain problem
Hi, Marieke. Just a general question: are you using '_DEFAULT' configuration? If so, it may be your problem. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
[TYPO3-english] Clear FE user session data on logoff
Hi, list. I wonder, if there is a way to instruct the core to remove session data of current FE user, when he logs of? I'm intensively using at one of the webs: $GLOBALS['TSFE']-fe_user-setKey('ses', $name, $data); and that data stays in a session even, if user logs out. So, if another user logs in (without closing browser, which kills a whole session), he may see some temporary stuff, related to previously logged in user. Can this somehow be avoided? Thank you in advance. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Powermail scrambling message text
Hi, Celso. The problem seems to be in Typo3 as a general. I have just tested using the Typo3 built-in Form system and still get the double encoded message... Not sure, that this is the reason, but try to play with 'transport' settings in install tool - maybe change to sendmail or smtp. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Facebook connect
Hi, Jan. is there a working extension that would allow users to login via Facebook and it would create fe_user records? Looked at today's TER updates and found 'dix_easylogin' - I think, it may be good for you ;) ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] cHash removed from backlink
Hi, Morten. Can I by mistake have made a setup that have removed it, either in TS or in my gallery plugin? I have set; var $pi_checkCHash = true; and my backlink is being generated with $this-pi_linkToPage($this-pi_getLL(back), $this-conf[cats.][pid_cats], '', array('tx_projgallery_pi1[cat]' = $row[main_cat])); I may be wrong, but pi_linkToPage() method can’t generate links with cHash. If you look at TYPO3 source code, you'll see, that this method simply calls getTypoLink() from tslib_content, which also calls typolink() from same class, but adjusts couple of configuration options, where there is no 'useCacheHash' option. So, you better call typolink() method directly, which in general cases may be found in $this-cObj object in your pi1 class methods. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] extenstion generate thumbnails
Hi, Morten. It should be USER. Is there a simple way to check it? You can have a look at TSOB in Template menu - there you'll see, how your plugin is defined. Also for USER objects you should have: $this-pi_checkCHash = true; in your PHP code. Can it be that I hadn't set $TYPO3_CONF_VARS['GFX']['im_version_5'] $TYPO3_CONF_VARS['GFX']['im_path_lzw'] in the localconf? It look like the pictures very being generated almost right away after I set it, but I am not sure if it just my imagination? Hm... Can't say anything about this, sorry. But why you don't set it, if you see, that it helps? ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Help with multilingual TYPO
Hi, Felix. I hope my screenshot clears it up for you: http://img202.imageshack.us/img202/6335/typo3multilingual.jpg Try to play with config.sys_language_mode and config.sys_language_overlay In most cases my setup uses this: config.sys_language_mode = content_fallback config.sys_language_overlay = hideNonTranslated Also for TV I usually set this in page TS config: # make records be only translatable mod.web_layout.defLangBinding = 1 # allow FCE be localized as well from Page module mod.web_txtemplavoilaM1.enableLocalizationLinkForFCEs = 1 ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] mailformplus - change mail address
Hi, Kay. Can someone lead me to the front door for this task in version 4.0.15 of mailformplus and 4.5.3 of TYPO3? Well, you better switch to 'fromhandler' extension, which is a successor of 'mailformplus'. And it contains 'Tx_Formhandler_Finisher_Mail' class, where you can set up needed stuff in your TS. I don't remember, if mailformplus contains this finisher class alerady or it was added in formhandler, but you may have a look at the source code anyway. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] extenstion generate thumbnails
Hi, Morten. But it look like that will run every time I click an image for a large view and that takes a very long time. Are you running your plugin as USER or USER_INT object? I see, that you generate cHash in your links, but may be your plugin is accidentally defined as USER_INT and therefore code runs on each call. Also you may set [GFX][enable_typo3temp_db_tracking] = 1 (look at Install Tool), so you'll get your generated images logged into db and prevent same image generation by different processes. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] FW: DAM File Secuirty
Hi, Colin. I am wanting to use DAM in a situation that needs good security. IF DAM doesn't allow me to set File access on each file per user, then I'll have to write an extension. Have a look at dam_frontend extension - it should fit your needs. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] custom TS conditions
Hi, Tomasz. From TS syntax in-depth study I know that I can parse my TS and add custom conditions like [TYPO3 IS GREAT]. The problem is that I don't know how to tell TYPO3 about my class. Such conditions looks more interesting to me than userFunc. Can you help me? As far, as I understood this may be used in your custom TS area - not in global TS templates. F.e. you have some textarea in flexform of your extension, where you allow editors to put raw TS. So, you can access this field from your PHP code and invoke t3lib_tsparser with your conditions checker object. You can find a real-life example in tt_news extension - there is an area on last tab of FF, where you can put TS code (but tt_news doesn't have some special conditions defined fot this purpose). So, conclusion: custom conditions may be used only in your own extensions, userFunc should be used in normal TS. Correct me somebody, if I'm wrong, ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Very huge realurl Table
For those, who will find this thread and have same issue. I've meet it too. And in my case problem was in 'wfqbe' extension, which is inserted on every page and displays only last 5 records from external db. But table, that 'wfqbe' uses from that external db is really huge, so extension generated a big amount of pagebrowser links (that are not displayed at the website) on every single page and every single view of 'tt_news' items. My solution was to switch from query builder to raw query input and add LIMIT 0,5 to the end of query, since I don't need anyway all other entries. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Realurl broken after moving site to new domain
Hi, Oliver. Have a look at your realurl configuration (typically, typo3conf/realurl_conf.php) and change the old domain name to a new one. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] file upload in FE
Hi, Leen. At this time I can not get the value of from the file upload field to be remembered. Just a suggestion: do you have enctype=multipart/form-data in your form-tag? ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
[TYPO3-english] current property of stdWrap
Hi, list. I've started re-reading of TS manuals - want to improve the way, I'm using it :) And I'm stuck with current value - I don't get, how can I use it? I found this article [1] of Dmitry, that explains a meaning of this value and how to manipulate it, but I still can't see an advantage of using it. And here are my questions: 1. Why should I use setContentToCurrent, if I can directly operate the content without setting/getting it to/from current value. 2. TS Syntax and In-depth study document contains such code at the end of one chapter [2]: styles.content.bulletlist = TEXT styles.content.bulletlist { current = 1 trim = 1 if.isTrue.current = 1 # Copying the object styles.content.parseFunc to this position parseFunc styles.content.parseFunc split { token.char = 10 cObjNum = 1 1.current .cObjNum 1.wrap = li } # Setting wrapping value: fontTag = ol type=1 | /ol textStyle.altWrap = {$styles.content.bulletlist.altWrap} } I can understand, what it is doing, but I can't understand meaning of some lines. styles.content.bulletlist.current = 1 - where the current values was filled from, so we can copy it to our current content? How can I know, that in my, f.e. TEXT object, current value already contains something? styles.content.bulletlist.split.1.current .cObjNum - this line I can't understand at all... copying 1 instead of normal assigning it? 3. Is the current value is shared among all objects or each object has it's own current value? Thank you in advance. [1] http://dmitry-dulepov.com/article/typo3-stdwrap-explained-part-1.html [2] http://typo3.org/documentation/document-library/core-documentation/doc_core_ts/4.6.0/view/1/4/ ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] SYS_LASTCHANGED vs. tstamp
Hi, Marco. So what is the difference between SYS_LASTCHANGED and tstamp. When will those fields update? I also was interesting in this and found a method in class.tslib_content.php called: function lastChanged($tstamp). Here are lines from it's description: * Sets the SYS_LASTCHANGED timestamp if input timestamp is larger than current value. * The SYS_LASTCHANGED timestamp can be used by various caching/indexing applications to determine if the page has new content. * Therefore you should call this function with the last-changed timestamp of any element you display. So, as you see, SYS_LASTCHANGED is used for caching/indexing and should be changed by extensions (however, I've never seen, that people are using it...), and tstamp, I guess, should be changed by core, when you, f.e., change page properties or make some changes of content on a page. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] microdata inside of htmlarea
thanks for your help. The span class is inside, but I dont get it managed, to include microdata, they get filtered out. Is there a way to disable this, or can I add the microdata keywords into the rte? Ah, now I 've got, what you need. Sorry, didn't understand from the very beginning. Actually, I've never tried something like this, but you may find the problem, like your in this thread: http://lists.typo3.org/pipermail/typo3-project-rte/2008-October/001319.html ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Category menu for contents belonging to more than 1 category
Hi, Robert. Check any tagging extension, like 'tagpack' or 'vge_tagcloud'. It should fit your needs ;) ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Max image width constant
Hi, Stephen. My preffered way is: # Different MaxW for different columns tt_content.image.20 { maxW maxW.cObject = CASE maxW.cObject { key.field = colPos 0 = TEXT 0.value = {$styles.content.imgtext.maxWNormal} 1 = TEXT 1.value = {$styles.content.imgtext.maxWLeft} 2 = TEXT 2.value = {$styles.content.imgtext.maxWRight} } } Surely, you need to define styles.content.imgtext.maxWNormal, styles.content.imgtext.maxWLeft, styles.content.imgtext.maxWRight in your TS constants. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] microdata inside of htmlarea
Hi. I want to use the htmlarea to insert predefined textstyle tags for the insert of microdata in my RTE. I created the class = micro which is selectable through the RTE but how can I wrap the microdata inside the span? Here is the way: First, create some rte.css: span.blue { color:#15A4CD; } Next add this to root page TS Config: RTE { default { contentCSS = fileadmin/templates/css/rte.css classesCharacter = blue proc.allowedClasses := addToList(blue) } } This will make sure, that your class will appear at classesCharacter selector of RTE, and RTE itself will add span tag for the text, that you will mark with your class (blue in case above). ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Templavoila 1.6
Fatal error: Class 'tx_templavoila_div' not found in /my/path/to/typo3conf/temp_CACHED_psc27a_ext_tables.php on line 1647 Thry to kill manually all temp_CACHED_* files in your typo3conf dir. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Slow Queries From TT-News
Hi, Louis. As far, as I understood, these part of queries are generated by enableFields() of tslib_cObj class, which comes from core, and, I believe, core members know, what they are doing. Most I'm scared about AND tt_news.pid IN(835,2905,...) - there is really large number of pids. You better place all of your news records into one folder and set pid to it with zero recursion level. Also you should install 'typo3profiler' extension and see, what queries are really slowing down your page. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Going to the login page
Hi, Colin. How do I make every page go to the 'login' page if a user hasn't logged in ? You may allow access for every page (except one with login form) only for some FE usergroup, and use config.typolinkLinkAccessRestrictedPages TS option. See more in TSref [1] [1]: http://typo3.org/documentation/document-library/references/doc_core_tsref/4.5.1/view/1/6/#id2626469 ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Front end editing embarrasment
Thank you so much. I'll re do my page with templa volia, add a login and then give myself admin rights in both fe be. Hopefully, it will all come alive. :) You don't need to be logged in at FE to see the frontend editing options. You just need to be logged in at BE from same domain and use same browser (your BE session will be checked) for logged BE and your FE. Possible way, you don’t see a FE editing options is, that your CSS may somehow hide them. I remember, I've had that in one of websites, where HTML/CSS guy was using position:absolute a lot, and header of the website became on top of mentioned black button, that activates the editing. Try to deactivate all of your CSS for a while and check, what you see. And I assume, that you installed 'feeditadvanced' extension and read it's manual, especially this section: [1] [1]: http://typo3.org/documentation/document-library/extension-manuals/feeditadvanced/1.5.0/view/1/2/ ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] RealURL Configuration Help
Hi, Rod. Possible solutions: 1. Read the manual of realurl. 2. Use some pre-configuration, like cbrealurl extension. 3. Take this basic configuration and extend it to your needs by reading the manuel anyway ;) $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl'] = array ( 'domain.tld' = array ( 'init' = array ( 'enableCHashCache' = true, 'appendMissingSlash' = 'ifNotFile', 'enableUrlDecodeCache' = true, 'enableUrlEncodeCache' = true, 'emptyUrlReturnValue' = true, 'emptySegmentValue' = '-' ), 'pagePath' = array ( 'type' = 'user', 'userFunc' = 'EXT:realurl/class.tx_realurl_advanced.php:tx_realurl_advanced-main', 'spaceCharacter' = '-', 'expireDays' = '3', 'rootpage_id' = '1', 'disablePathCache' = false, 'autoUpdatePathCache' = false, ), 'fileName' = array ( 'defaultToHTMLsuffixOnPrev' = true, ), ), ); ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
[TYPO3-english] FLUIDTEMPLATE partials
Hi, list. I'm now learning benefits of FLUIDTEMPLATE and would like to use it in my next project to feel the difference between it and usual TEMPLATE or TV. So far so good, but I can't get the meaning of partials concept. What are they used for? Examples across the internet don't tell much: some use them for logo, some for menu - but these tasks may be easily and even better achieved with normal TS. Can, someone, please, tell me, what is the benefit of placing: f:render partial=Logo / instead of: f:cObject typoscriptObjectPath=lib.logo / Or, maybe, I understand wrong the meaning of partials? And another question: as I understand, FLUIDTEMPLATE still can't provide some analog of FCEs, as TV does? Thank you for your answers in advance. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] FLUIDTEMPLATE partials
Hi, Jigal. So far so good, but I can't get the meaning of partials concept. What are they used for? As far as I've understood they are used for parts of an HTML template you want to use for more than one entire template. If you have 3 or 4 templates which have one or more parts in common, you can place those common parts in a partial. Ok, I think, now I've got the meaning: instead of placing some static HTML into every template or in TS, put it to partial - easier to edit for HTML/CSS guys, that don't have access or do not know TYPO3. Thank you. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] FLUIDTEMPLATE partials
Hi, Kay. With EXT:fed you can use something similar to tv fces based on fluidtemplate Started to read the manual - seems really promising ext! Nice :) Thank you for a hint. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] FLUIDTEMPLATE partials
Ok, I think, now I've got the meaning: instead of placing some static HTML into every template or in TS, put it to partial It doesn't have to be static. Just see it as building blocks which are shared by several templates. If you change the partial these changes will be used in all templates which use this partial. You're right. F.e. I can move whole header section with logo, HTML, link to homepage and top menu (which is hold in lib.topMenu) to partial. And that is really nice feature :) ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] htmlmail-setRecipient How to use a string (coding for ext)
Hi, Leen. Not an answer to your message, but just a suggestion: try to use new 't3lib_mail_Message' class instead of htmlMail. You may find more info here: http://buzz.typo3.org/teams/core/article/your-first-blog/ ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Loading pictures
Hi, Colin. Do you have dam extension installed? If so, you better disable default media selector and use only dam one - I remember something similar, when I tried to add image with default selector. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
[TYPO3-english] Multiple records creation wizard
Hi, list. I'm using TYPO3 4.5.6 and I wonder, is there any extension or possibility to create multiple records of any type, like it is done in Functions - Wizards - Create multiple pages? Thanks in advance. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english