Re: [TYPO3-english] RealUrl issue with subdomain in Multi-Domains TYPO3 4.5.11
Hi! Steffen Gebert wrote: I have an installation with more than 400 domains, cluttered (umm.. in a very well-thought, hierarchical order) all over the tree. So it works also if domains are not on top-level. Good to know :) I hope that you don't destroy that feature, Dmitry No, I never destroy anything specially :) In fact, there was a huge two-week-time dedicated effort a couple of years ago to support all kind of domain configurations in RealURL (including nested domains). But the fact is: it still does not work well :( So I will not break it specially but I cannot promise that it will not break sue to some other change. -- Dmitry Dulepov TYPO3 CMS core security teams member ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Condition to see if page has limited access
Hi. You can think about making single page with login form and set globally: config.typolinkLinkAccessRestrictedPages = id_of_page_with_form also look at config.typolinkLinkAccessRestrictedPages_addParams, if you want to redirect user back to non-accessible before page after his successfull login. Regards. Hi this is probably very simple, but I couldn't look it up anyhow: Is there a condition that applies when a page (or, maybe also its content) has limited access rights AND the user doesn't have these rights? - to display a login form on the page - but only when needed. I know I can check with [usergroup=*] [else] (show form) [global] - but I would like to set it globally, so as soon as editors create restricted content, the login form will appear. Thanks! Urs ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Conditionnal display of a content element (Stefan Reichelt)
Le 13.03.2013 12:00, typo3-english-requ...@lists.typo3.org a écrit : Re: Conditionnal display of a content element (Stefan Reichelt) Thanks for the answer. Here are the different cases and what I wish to do I there are subpages, always display the subpages section (a content element displaying links to subpages) If the page is not empty, always display its contents (and after, the subpages section if there are subpages) If the page is empty and there are NO subpages, display a message mentionning that the page is in construction. If the page is empty and there are subpages, only display the subpages section (NO message mentionning that the page is in construction). Thank you by advance for your help ! Kind regards alisjcdenton ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Conditionnal display of a content element (Stefan Reichelt)
On 19/03/13 10:21, aliasjcden...@sunrise.ch wrote: Le 13.03.2013 12:00, typo3-english-requ...@lists.typo3.org a écrit : Re: Conditionnal display of a content element (Stefan Reichelt) Thanks for the answer. Here are the different cases and what I wish to do I there are subpages, always display the subpages section (a content element displaying links to subpages) If the page is not empty, always display its contents (and after, the subpages section if there are subpages) If the page is empty and there are NO subpages, display a message mentionning that the page is in construction. If the page is empty and there are subpages, only display the subpages section (NO message mentionning that the page is in construction). Thank you by advance for your help ! Kind regards alisjcdenton ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english Hi Sorry might not be much help but i hope it will get you started. I have a single typoscript menu that shows the children/subpages of the current page or the siblings of the current page if there are no children. # Menu 1 (siblings) temp.siblingMenu=HMENU temp.siblingMenu{ entryLevel=-2 1=TMENU 1.NO{ linkWrap=liclass=square_red|/li } } ## Menu Two (children) temp.childrenMenutemp.siblingMenu temp.childrenMenu{ entryLevel=-1 } temp.switchMenu=COA temp.switchMenu{ 10temp.siblingMenu stdWrap.override.cObjecttemp.childrenMenu } lib.additional_menutemp.switchMenu It works very roughly as follows, 1. create a menu of siblings / pages on the same level 2. create a menu of children / subpages of the current page 3. (temp.switchMenu) copy in the contents of the sibling menu 4. (temp.switchMenu) overwrite the existing menu with the contents of the children menu, but if this object has no value (no children / subpages) then it will have no effect leaving the original menu as the value. 5. Assign the temp object to the real typoscript path i use for this menu. Best of luck; I can't help much further! Regards Edmund ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
[TYPO3-english] Changing icon for pages and sysfolders
Hi I am trying to change the icon for pages and sysfolders by modifying extTables.php I can add the label and icon to the list Contains Plugin that are used to set the icon. I do that with this snippet: $TCA['pages']['columns']['module']['config']['items'][] = array('mytype', 'mytype', '../fileadmin/images/pageicons/mytype.png'); That works and the icon and the label mytype shows up in the list. Now according to a snippet I found, I should be able to display the icon in the pagetree with this snippet: $ICON_TYPES['fastspring']['icon'] = '../fileadmin/images/pageicons/mytype.png'; But after clearing cache and reloading the pagetree nothing happens. Anyone know how to do this right? Typo3 version 4.7.0 Thanks /Morten ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Changing icon for pages and sysfolders
Hi Mortens, tt_news has such a feature, perhaps you may take a look there. Regards Kay Am 19.03.13 12:58, schrieb Morten Kjems: Hi I am trying to change the icon for pages and sysfolders by modifying extTables.php I can add the label and icon to the list Contains Plugin that are used to set the icon. I do that with this snippet: $TCA['pages']['columns']['module']['config']['items'][] = array('mytype', 'mytype', '../fileadmin/images/pageicons/mytype.png'); That works and the icon and the label mytype shows up in the list. Now according to a snippet I found, I should be able to display the icon in the pagetree with this snippet: $ICON_TYPES['fastspring']['icon'] = '../fileadmin/images/pageicons/mytype.png'; But after clearing cache and reloading the pagetree nothing happens. Anyone know how to do this right? Typo3 version 4.7.0 Thanks /Morten -- http://www.kay-strobach.de - Open Source Rocks TYPO3 inspiring people to share! Get involved: http://typo3.org Answer was useful - feel free to donate: - https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclickhosted_button_id=KPM9NAV73VDF2 - https://flattr.com/profile/kaystrobach ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Changing icon for pages and sysfolders
Hi, But after clearing cache and reloading the pagetree nothing happens. You may need to manually clear the sprite cache in typo3temp in addition to clearing all other caches. HTH -- Xavier Perseguers Release Manager TYPO3 4.6 TYPO3 inspiring people to share! Get involved: http://typo3.org ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Changing icon for pages and sysfolders
You may need to manually clear the sprite cache in typo3temp in addition to clearing all other caches. Thanks for the suggestion. I deleted both files in typo3temp/sprites but it had no effect - still no icon is displayed? ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
[TYPO3-english] RTE and double quotes. quot;
Hi All, I have a serious problem inserting quotes in a RTE text. If I insert a text like this: --- He said: Hello. --- When I save the text area gets: --- He said: quot;Helloquot;. --- It's a very big problem because when an external user inserts the text, he thinks he is doing something wrong. I tried to set: RTE.default.proc.entryHTMLparser_db = 1 RTE.default.proc.entryHTMLparser_db.htmlSpecialChars = 1 RTE.default.proc.dontConvBRtoParagraph = 1 RTE.default.proc.dontHSC_rte = 1 But nothing works on Typo3 4.7.7 Any ideas? -- Unai Aizpurua u...@alambre.net ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] UnexpectedValueException when loading list module in 6.0.1~6.0.4
Hi Mark, I can confirm this issue. It occured with one sysfolder containing tx_news records and one standard page. My installation was upgraded from 4.6.12 and I had to remove several extensions to get it running amongst others fed and dam. fed was replaced by its successors vhs, flux, fluidpages. Both pages where located outside the page tree below the root page (with the main template record). After moving them into the page tree the error was gone. Kind regards Dirk Am 19.03.13 01:25, schrieb Mark Roemermann: Hi all, tested out upgrading a 4.5 site to 6.0.4 and when I select the list module and click on a page in the pagetree I receive an error: Uncaught TYPO3 Exception #1294585070: No module could be found. (More information) UnexpectedValueException thrown in file /home/pixelplu/t3src/typo3_src-6.0.1/typo3/mod.php in line 55. This error occurs in all 6.0.x versions *after* 6.0.0 (so 6.0.1 - 6.0.4). It also only seems to occur for page doktypes. If I click on a sysfolder, shortcut, or the root of the typo3 pagetree the list module loads successfully. Closest issue I could find in forge was #40154 that had the same error message however, that appears to have been fixed. Anyone else getting the same issue? ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
[TYPO3-english] Remove double quotes by Typoscript
Hi list, is there a way by Typoscript to remove double quotes () in a string value? lib.myString = TEXT lib.myString.value = This is my string I couldn't find that in TSRef. Thanks in advance, Sergio ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Conditionnal display of a content element (Stefan Reichelt)
Hello, On 19/03/2013 11:21, aliasjcden...@sunrise.ch wrote: I there are subpages, always display the subpages section (a content element displaying links to subpages) Sounds like a job for HMENU [1]. You could try what Edmund Huggett wrote. Imho if such a menu should always be present anyway, displaying the sibling-pages if no sub-pages are found is preferable to displaying nothing at all (especially if your main navigation is a dropdown menu [with several levels]). If the page is not empty, always display its contents (and after, the subpages section if there are subpages) One idea would be to add both objects, the HMENU from above and the RECORDS of your content elements into a COA [2] which you then can use whichever way you want to use it. But this will ultimately depend on how you render your content onto the page, ie. through TemplaVoila or Fluid or such. If the page is empty and there are NO subpages, display a message mentionning that the page is in construction. We already covered that in the previous post. Although since it wasn't clear to me from your post, did it work with stdWrap.ifEmpty? If the page is empty and there are subpages, only display the subpages section (NO message mentionning that the page is in construction). If it worked so far, then that might too: source.stdWrap.ifEmpty = 587 source.stdWrap.ifEmpty.stdWrap.if.isFalse.numRows.table = pages numRows [3] counts found entries. It also has a select [4] property which by default has pidInList set to 'this'. Meaning we count all pages which have the current page as parent and through the .if.isFalse, we tell the ifEmpty to only be used if no sub-pages are found, which will leave the source empty. Or at least that's what I hope for anyway. :) Although that might all be a little bit over complicated, there is probably an easier way to it, oh well.. Anyway, I hope that makes sense so far? Kind regards Stefan [1] http://docs.typo3.org/typo3cms/TyposcriptReference/ContentObjects/Hmenu/Index.html [2] http://docs.typo3.org/typo3cms/TyposcriptReference/ContentObjects/CoaAndCoaInt/Index.html [3] http://docs.typo3.org/typo3cms/TyposcriptReference/Functions/Numrows/Index.html [4] http://docs.typo3.org/typo3cms/TyposcriptReference/Functions/Select/Index.html ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
[TYPO3-english] Re: Re: New Xclassing
Thanks Jigal. I managed to make it working. -- cheers Tomek ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
[TYPO3-english] v.6 and graphics
Dear Core Developers, I'm working on an extension imagickimg (image processing with PHP ext imagick). I would like to ask some questions about images processing. There are classes LocalPreviewHelper, LocalCropScaleMaskHelper and LocalImageProcessor in TYPO3 v.6. All of them do some small things with images while similar methods are defined in GifBuilder and GraphicalFunctions. Is it done deliberately? What are plans for the image processing for the future? While Gifbuilder extends GraphicalFunctions is it possible to join them in one class, in the future? For me it would be an ideal situation when all image methods were located in one class. For Imagickimg I would just XClass it. -- cheers Tomek ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] UnexpectedValueException when loading list module in 6.0.1~6.0.4
Hi Dirk, I'm having trouble reliably reproducing it here, it does seem to have something to do with cc_devlog but if its an almost bare site it will work so there must be some strange interaction with other exts. I also have flux etc installed (we need a collective noun for these extensions now - posse?) and havn't considered that they may be part of it, still trying to find the combination of devlog and something else that causes this. If I narrow the combination down though (not being a programmer) I'm not sure how to put it in a bug report - the error itself doesn't give much to work with - no stack trace etc, and would I put it to the core or to one, or more exts? Cheers. On 20/03/2013 12:02 AM, Dirk Wenzel wrote: My installation was upgraded from 4.6.12 and I had to remove several extensions to get it running amongst others fed and dam. fed was replaced by its successors vhs, flux, fluidpages. Both pages where located outside the page tree below the root page (with the main template record). After moving them into the page tree the error was gone. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] UnexpectedValueException when loading list module in 6.0.1~6.0.4
Looks like its fluidpages, issue created at https://github.com/FluidTYPO3/fluidpages/issues/17. There must be something in the upgraded database that doesn't agree with 6.0.0 + fluidpages as fresh empty install does work OK, just not an existing pagetree. Uncaught TYPO3 Exception #1294585070: No module could be found. (More information) UnexpectedValueException thrown in file /home/user/t3src/typo3_src-6.0.1/typo3/mod.php in line 55. Any fed experts out there have any ideas what might have changed in fluidpages or the core 6.0.0 to change the list module handling of page doktypes? On 20/03/2013 9:46 AM, Mark Roemermann wrote: Hi Dirk, I also have flux etc installed (we need a collective noun for these extensions now - posse?) and havn't considered that they may be part of it, still trying to find the combination of devlog and something else that causes this. If I narrow the combination down though (not being a programmer) I'm not sure how to put it in a bug report - the error itself doesn't give much to work with - no stack trace etc, and would I put it to the core or to one, or more exts? ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english