Re: [TYPO3-english] RealUrl redirect after renaming page

2013-01-14 Thread Roland
hi hendrik, Am 14.01.13 10:34, schrieb Henrik Urlund: For other users with this issue, here is a solution: http://typo3.org/extensions/repository/view/http301 this sounds great! thanks. will definately try your extension with EXT:realurl. one question to your documentation: what do you

Re: [TYPO3-english] Random order on extbase

2013-01-14 Thread amadeo Marketing Design - Paul Garais
Hi Sergio, the RAND() statement is the correct way for SQL. It is also the best way to get an random order in terms of speed, because you don't have to order the result afterwards with PHP. Greets, Paul Am 14.01.2013 16:37, schrieb Sergio: Hi list, I would like to order a query by

Re: [TYPO3-english] Random order on extbase

2013-01-14 Thread amadeo Marketing Design - Paul Garais
How about this workaround (but it needs 2 queries for the result): ?php class Tx_ExtensionKey_Domain_Repository_AbstractRepository extends Tx_Extbase_Persistence_Repository{ /** * Get a random object * @return Tx_Extbase_Persistence_QueryResultInterface|array */ public

Re: [TYPO3-english] RealUrl redirect after renaming page

2013-01-14 Thread Henrik Urlund
Basically it's pretty simple, when a page is loaded the service asks what URL was used to load the page, if the URL is wrong (or atleast different from what you really would like) based on pi_getPageLink, it will do a 301 redirect to the correct page. (From What does it do?) Eg. if your page

Re: [TYPO3-english] TCA/IRRE: limit possible type of related child records in inline fields?

2013-01-14 Thread JoH asenau
Am 07.01.2013 17:01, schrieb Roland: hi everybody, i have got an custom extension with a table column of type inline. in this collumn tt_content records can be added/saved via IRRE. question: is there a possibility to limit tt_content record *types* so that e.g. only tt_records types header,

Re: [TYPO3-english] Random order on extbase

2013-01-14 Thread Lorenz Ulrich
Hi Sergio Besides the information you already got, check out this issue: http://forge.typo3.org/issues/14026 Best regards, Lorenz Am 14.01.2013 16:37, schrieb Sergio: Hi list, I would like to order a query by random. Is it possible nowadays in Extbase? I saw this thread: