[TYPO3-english] RealURL 2 and cross domain links

2016-12-23 Thread Chris Müller
Hello,

I just updated in my TYPO3 7.6 installation from RealURL 1.3.16 to
2.1.5. Now my cross domain links doesn't work anymore, they link now to
the home page of the other domain instead of the deep linked page. When
I am disabling RealURL, the links are correct.

In TypoScript I enabled "typolinkEnableLinksAcrossDomains" and in my
RealURL configuration I only set "reapplyAbsRefPrefix" to true in the
init section. The root page of the websites are defined as site root.

Does anyone has an idea why it doesn't work?

Regards,
Chris.
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Error on updating from TYPO3 6.1 to 6.2

2014-04-18 Thread Chris Müller
Hi,

I want to update my TYPO3 installation from version 6.1.7 to 6.2.1.

I changed the symlink of typo3_src to the new core, deleted the t3lib
symlink and called the install tool. I am getting the following error:

PHP Fatal error:  Undefined class constant 'LOCKING_METHOD_SIMPLE' in
removed/typo3_src-6.2.1/typo3/sysext/core/Classes/Core/ClassLoader.php
on line 756

I tried the same with 6.2.0 and got the same error. I don't have a clue
what to do. I deleted also the typo3temp/Cache/ folder.

Google only showed me an IRC conversion with this error, but there was
no answer about it.

Any hints?

Regards,
Chris.
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Error on updating from TYPO3 6.1 to 6.2

2014-04-18 Thread Chris Müller
Okay, it seems that I found the problem: I am using the Zend OpCache and
after a restart of the Apache webserver the install tool works now.

Am 18.04.2014 15:07, schrieb Chris Müller:
 Hi,
 
 I want to update my TYPO3 installation from version 6.1.7 to 6.2.1.
 
 I changed the symlink of typo3_src to the new core, deleted the t3lib
 symlink and called the install tool. I am getting the following error:
 
 PHP Fatal error:  Undefined class constant 'LOCKING_METHOD_SIMPLE' in
 removed/typo3_src-6.2.1/typo3/sysext/core/Classes/Core/ClassLoader.php
 on line 756
 
 I tried the same with 6.2.0 and got the same error. I don't have a clue
 what to do. I deleted also the typo3temp/Cache/ folder.
 
 Google only showed me an IRC conversion with this error, but there was
 no answer about it.
 
 Any hints?
 
 Regards,
 Chris.
 

___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Migration from DAM to FAL

2013-01-31 Thread Chris Müller

Hey there,

I asked this question last week in the DAM mailing list but got no 
answer. Perhaps someone is in this list who can answer my question.


We want to migrate the first website from TYPO3 4.6 to 6.0. In this 
website we are using DAM only for references of files. We do not use it 
for asset management. Is there already a migration script for this task 
or do we have to work on that topic on our own?


Regards,
Chris.
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Link browser and update button

2012-10-31 Thread Chris Müller

Hello,

I experienced a problem with the link browser popup in 4.5: There is no 
update button anymore. So if an editor wants to change the target of a 
link, he has to do in manually in the link field without the link 
browser or has to change the target and klick on the page title.


In 4.4 there is a update button.

Screenshot from 4.4: http://snag.gy/gn9NH.jpg
Screenshot from 4.5: http://snag.gy/IZqG6.jpg

Is this a bug or a feature? How is an editor supposed to do an update?

Regards,
Chris.
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Minification for JavaScript files

2012-08-27 Thread Chris Müller

Hi Steffen,

but there is a method t3lib_div::minifyJavaScript() which does the 
minification. Also this function is called in 
t3lib_PageRenderer::doCompressJavaScript(). So this should work, or I am 
wrong?


I'm having the same problem, no minification occurs. But the 
documentation of config.compressJs doesn't mention the minifying, just 
the gzip'ing. So it seems that this should not work.


There is a ticket on forge: http://forge.typo3.org/issues/33370
which describes this issue.

Regards,
Chris.

Am 25.08.2012 11:33, schrieb Steffen Gebert:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

It's very error prone and there are no good on-the-fly PHP compressors
available, which have a fitting license.

That's at least my knowledge and that's why we didn't try to implement it.

Kind regards
Steffen


___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Minification for JavaScript files

2012-08-27 Thread Chris Müller

Hi Steffen,

okay, so I will have to use scriptmerger again and have to drop the use 
of the core feature.


Regards,
Chris.

Am 27.08.2012 08:31, schrieb Steffen Gebert:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Chris,

yes, that's what I said. No minification for JS.

That's the whole code. No minification:


public function compressJsFile($filename) { // generate the unique
name of the file $filenameAbsolute =
\TYPO3\CMS\Core\Utility\GeneralUtility::resolveBackPath($this-rootPath
. $this-getFilenameFromMainDir($filename)); $unique =
($filenameAbsolute . filemtime($filenameAbsolute)) .
filesize($filenameAbsolute); $pathinfo = pathinfo($filename);
$targetFile = ((($this-targetDirectory . $pathinfo['filename']) .
'-') . md5($unique)) . '.js'; // only create it, if it doesn't
exist, yet if (!file_exists((PATH_site . $targetFile)) ||
$this-createGzipped  !file_exists(((PATH_site . $targetFile) .
'.gzip'))) { $contents =
\TYPO3\CMS\Core\Utility\GeneralUtility::getUrl($filenameAbsolute);
$this-writeFileAndCompressed($targetFile, $contents); } return
$this-relativePath . $this-returnFileReference($targetFile); }




Kind regards
Steffen

- --
Steffen Gebert
TYPO3 v4 Core Team Member
TYPO3 Server Administration Team Member

TYPO3  inspiring people to share!
Get involved: http://typo3.org

I work for TYPO3 solely in my spare time. If you think that
my work helps you running your business, you are invited to
send me a donation via PayPal to this email address. Thanks

Am 8/27/12 8:19 AM, schrieb Chris Müller:

Hi Steffen,

but there is a method t3lib_div::minifyJavaScript() which does
the minification. Also this function is called in
t3lib_PageRenderer::doCompressJavaScript(). So this should work, or
I am wrong?

I'm having the same problem, no minification occurs. But the
documentation of config.compressJs doesn't mention the minifying,
just the gzip'ing. So it seems that this should not work.

There is a ticket on forge: http://forge.typo3.org/issues/33370
which describes this issue.

Regards, Chris.

Am 25.08.2012 11:33, schrieb Steffen Gebert:

-BEGIN PGP SIGNED MESSAGE- Hash: SHA1

It's very error prone and there are no good on-the-fly PHP
compressors available, which have a fitting license.

That's at least my knowledge and that's why we didn't try to
implement it.

Kind regards Steffen



-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.18 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQEcBAEBAgAGBQJQOxQ2AAoJEIskG/rSlyw4oDYIAKP1vrbbc3IvPfotj2XwLiJf
yHaB6wJEhzEZ9Jqgk20HFdE2xYf1swZgv8/DyWhEEaMoXTF/gp1fqZHBXQ1AKceO
5svBALc/WqfT6l+IquacLkbD0cQ3fGT6OS9CbC9LpJ+QASSwKHj7snCSwH+PGPpS
DoHBJIcYLbdMGTbu5vRvdRIj02bPn5rrLtFCohnqvISuW6MdveRyTRQK8RXBcc2r
f1rrM5I39Dz29WsWQ/GcA8FbXT2LzvEvtDAL/6X+/5O0nQp4yO4HmME7jS0YdpGg
wPiA52JZx/Aot4HcH4vjurfvhxyymo8oSoJC2DEV/N4COtnWcRgb5TKgn1NivFo=
=8Qwt
-END PGP SIGNATURE-



___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Re: [TYPO3-english] config.compressJS issue

2012-08-15 Thread Chris Müller

Hi Jigal,

thank you for your feedback. I added my configuration to the mentioned 
ticket on forge. Maybe you can have a look at it.


Regards,
Chris.

Am 14.08.2012 16:51, schrieb Jigal van Hemert:

Hi,



If you look closer you can see that the status is Needs Feedback.
Seven months ago it was tested, it couldn't be reproduced and the
reporter didn't supply more information in the issue.

Could you add a setup (preferably with examples of probematic files) to
the issue to show how to reproduce it? Seven months without feedback is
enough to close the issue...



___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] config.compressJS issue

2012-08-14 Thread Chris Müller

Hello,

I am using TYPO3 4.7.3 and want to minify and compress my javascript 
files. With the configuration config.compressJs this should be done. The 
compression works (it will be gzipped) but the minifying not.


I found this issue on forge: http://forge.typo3.org/issues/33370 but 
there is no solution. Is this problem known or is it a configuration 
issue. I digged a little bit in the core (class.t3lib_compressor.php) 
and for me it seems that there is no minifying routine but only a 
compressing function. Or am I wrong?


Regards,
Chris.
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] YouTube videos with media element

2012-05-16 Thread Chris Müller

Hi Kay,

I pasted the YouTube share url into the field Path or URL to fallback 
video source and let all other field untouched but get the flash player 
in frontend. But then I got only an empty flash player. I switched to 
the render type Native HTML Embed Element but this has also no 
effects. I tried also the various input fields to paste the youtube url. 
Nothing happens.


Then I digged into the code.  The correct place is Path or URL to 
fallback video source. The YouTube URL is later correctly changed from 
the youtu.be to the to the youtube/v/ syntax.


I ended in the method  tslib_content_Multimedia-render().
I got the filename (the Youtube URL) in the render() method and then it 
calls $GLOBALS['TSFE']-tmpl-getFileName(). This method only works with 
local files, so the output is empty.


So it seems urls from youtube, vimeo, etc. aren't working.

Regards,
Chris.

Am 15.05.2012 12:02, schrieb Kay Strobach:

Hi,

theoretically you can add the video url to the media field and disabling
all players should let you show the video.

Regards
Kay

Am 15.05.2012 11:57, schrieb Daniel Huf:

Hi Chris,

I didn't find more infos than this...

http://lists.typo3.org/pipermail/typo3-project-v4/2012-January/thread.html#3267


Keep us informed ;)

Daniel

On 5/15/12 11:41 AM, Chris Müller wrote:

Hi,

it is possible to use the new media element in TYPO3 4.7 to include
YouTube videos? I didn't find a field which I can use to include the
video link.

Regards,
Chris.







___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] YouTube videos with media element

2012-05-15 Thread Chris Müller

Hi,

it is possible to use the new media element in TYPO3 4.7 to include 
YouTube videos? I didn't find a field which I can use to include the 
video link.


Regards,
Chris.
___
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

2012-04-10 Thread Chris Müller

Hi Victor,

it seems to be a bug. I reported a similar issue some days ago with 
Typoscript:


http://forge.typo3.org/issues/35093

So I propose that you open an issue in the bug tracker:
http://forge.typo3.org/projects/typo3v4-mvc/issues

Regards,
Chris.


Am 09.04.2012 14:05, schrieb Victor Livakovsky:

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] Get sections out of flexform via typoscript

2012-03-27 Thread Chris Müller

Hi Torsten,

great extension, thank you for sharing. I'm looking forward to see in in 
the core ;-)


Regards,
Chris.

Am 24.03.2012 18:52, schrieb Torsten Schrade:

Hi Chris,


I can get the fields from the flexform in
Typoscript via {field:flexform_thefieldname}.

My question is now: Is it possible to retrieve these fields from a
section via Typoscript or do I have to make a user function?


You can do this with the extension 'cobj_xpath' that I released to TER a
few minutes ago ;)

http://typo3.org/extensions/repository/view/cobj_xpath/current/

Check out the manual, there is a tutorial on how to get the values from
a flexform XML just using TypoScript and XPATH.

Have fun,
Torsten



___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Get sections out of flexform via typoscript

2012-03-23 Thread Chris Müller

Hello,

I am using the grid elements extension and made a new element. This 
element has an own flexform. I can get the fields from the flexform in 
Typoscript via {field:flexform_thefieldname}.


Now I have a section in it, so that an editor can create as many fields 
from one type as he wants.


My question is now: Is it possible to retrieve these fields from a 
section via Typoscript or do I have to make a user function?


Regards,
Chris.
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] New content element wizard and own icon

2012-02-10 Thread Chris Müller

Hello,

I made an extension with a new content element in TYPO3 4.6. Now I want 
to show it in the new content element wizard with an own icon. The new 
content element is shown in the list but with no icon. I tried the 
following:


mod.wizards.newContentElement.wizardItems.common.elements {
  my_extension.icon = EXT:my_extension/my_icon.gif
}

But that doesn't work. I also deleted the sprites folder in typo3temp 
and tried also the following:


mod.wizards.newContentElement.wizardItems.common.elements {
  my_extension.icon = typo3conf/ext/my_extension/my_icon.gif
}

and that:

mod.wizards.newContentElement.wizardItems.common.elements {
  my_extension.icon = 
../../../../../../typo3conf/ext/my_extension/my_icon.gif

}

because it seems, that the icons are getting from the gfx directory.

Does someone know, how to do this?

Regards,
Chris.
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] gridelements in 4.6

2011-12-16 Thread Chris Müller

Hi Dominic,

first you create a grid element. Give it a title and hide this title.

Then you create another element, go to the extended tab and choose your 
grid element (that's why you should use a title). Your content element 
reloads and you can now choose your column.


Save it and enjoy ;-)

Unfortunately it doesn't work right now out of the box if you create the 
content element via the add element of the column. You have to choose 
the grid element and the column manually by now.


Also it is recommended to use the current svn version. There are some 
bugs from the TER version already fixed.


Regards,
Chris.

Am 16.12.2011 08:54, schrieb Domi:

Ah, thanks for this snippet, now I know how to deal.

But still: whats about the tab extended, where I see two empty drop
downs? How can I deal with them?

Cheers Dominic


___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] gridelements in 4.6

2011-12-15 Thread Chris Müller

Hi Domi,

to render your content elements in frontend just use the following 
typoscript snippet. In the following example you have a two column layout.


tt_content.gridelements_pi1 {
  20.10.setup {
# 1 = The uid of your CE backend layout
1 {
  columns {
# 1 = the first column number
# you can use stdWrap properties
1 {
  renderObj = tt_content
  wrap = div class=col|/div
}
# 2 = the second column number
2 {
  renderObj = tt_content
  wrap = div class=col|/div
}
  }

  # here you can use also stdWrap properties
  # also you can include fields from your
  # flexform configuration (here: color)
  stdWrap.wrap = div class=grid-50-50 {field:flexform_color}|/div
  stdWrap.insertData = 1
}
  }
}

I hope this helps you.

Regards,
Chris.

Am 16.12.2011 04:33, schrieb Domi:

Hello

I just try out the new gridelements extension, which brings very nice
DragnDrop feature for the content elements in the BE. I created some CE
Layouts and was able including them into the page.
How do I adjust my CEs frontend rendering? there is no additional
markup. Also the grid container and grid container columns in the tab
extended are empty.

Does anybody has a working configuration of gridelements?

Thanks

Cheers Dominic


___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Mass upload with DAM and TYPO3 4.5

2011-11-11 Thread Chris Müller

Hello,

I am looking for a solution to upload multiple files at once with DAM. I 
tried the Flash uploader bundled with the core. But when I'm uploading, 
I got the error: All of your uploads fail. Detailed problem 
description: 303. It is compatible with DAM? Or is there another 
problem? I tried it with Firefox 7 and Chrome 15.


So I looked for other extensions and stumbled upon plupload. This 
extension seems to work not with DAM because it is integrated in the 
File module.


Another extension I tried was ameos_dragndropupload. I dragged the 
files onto the java applet but nothing was uploaded.


Do I am something wrong or are there other possibilites to do that?

Regards,
Chris.
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] PDF Generator 2 and PHP 5.3

2011-09-09 Thread Chris Müller

Thank you, we will try it.

Am 08.09.2011 16:12, schrieb Martin Bless:

[Chris Müller] wrote  schrieb:


we encountered problems with the extension pdf_generator2 and PHP 5.3.


FYI: Often I couldn't use pdf_generator2 in real life because it
demanded to much resources.

Instead 'webkitpdf' - see TER - worked great!

Martin



___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] PDF Generator 2 and PHP 5.3

2011-09-08 Thread Chris Müller

Hello,

we encountered problems with the extension pdf_generator2 and PHP 5.3. 
It simply doesn't work and throws PHP errors. It seems that the reason 
for this is the use of the shipped outdated html2ps library which 
depends on PHP 4.3. The version in TER works with PHP 5.2.


There is a new html2ps version available based on PHP5. Does anyone has 
experience with the update of this library in the pdf_generator2 
extension? Or has someone an manually updated extension?


I wrote an email to the extension author but he does not reply.

Regards,
Chris.
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Drag Drop for editors

2011-08-25 Thread Chris Müller

Hello,

I just updated a TYPO3 4.3 website to TYPO3 4.5. As an admin I can use 
drag  drop in the page tree. As an editor this is not possible. It 
there something to configure?


With a native 4.5 site there is no problem for an editor to use drag  
drop.


Regards,
Chris.
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Drag Drop for editors

2011-08-25 Thread Chris Müller

Hi Kay,

no, it was easier: The user had no rights to alter the page :-(

Regards,
Chris.

Am 25.08.2011 12:13, schrieb Kay Strobach:

Hi,

do you have any pagetree extensions installed - if yes - try to disable
them ...

Is the user allowed to modify pages?

Regards
Kay

Am 25.08.2011 11:50, schrieb Chris Müller:

Hello,

I just updated a TYPO3 4.3 website to TYPO3 4.5. As an admin I can use
drag  drop in the page tree. As an editor this is not possible. It
there something to configure?

With a native 4.5 site there is no problem for an editor to use drag
drop.

Regards,
Chris.





___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] RealURL

2011-08-19 Thread Chris Müller

Hi Sergey,

postVarSets doesn't have anything to do with a POST. The post means 
that these post variables are appended to the page path. You have also 
preVars, which are prepended to the page path.


Just look at the manual:
http://typo3.org/documentation/document-library/extension-manuals/realurl/1.11.2/view/1/2/#id2314036

- siteCfg

Regards,
Chris.


Am 19.08.2011 01:56, schrieb Sergey Alexandrov:

Guys,

I'm sure RealURL is a great ext. but I'm having so many issues with it
:( Probably because I do not understand something/anything :)

First of all: 'postVarSets' - when I see 'post var' it means to me
'variables sent via POST method', but I can accept this.
Second (MAJOR thing): by defining a simple postVarSets array (see below)
all other plugins stop accepting real $_POST variables (I believe I
missed something here - please help)
Third: strange thing (hope again, I need to RTFM again and again) but :

'postVarSets' = array(
'3' = array(
// calendar
'ymd' = array(
array(
'GETvar' = 'tx_calendar_pi1[f1]',
),
array(
'GETvar' = 'tx_calendar_pi1[f2]',
),
array(
'GETvar' = 'tx_calendar_pi1[f3]',
),
array(
'GETvar' = 'tx_calendar_pi1[f4]',
),
),
...

encodes next/prev month URLs correctly:
FROM:
http://mysite/index.php?id=3tx_calendar_pi1[f1]=2011tx_calendar_pi1[f2]=09cHash=209d642e160976fc720be91d092f

TO: http://mysite/calendar/ymd/2011/09/

but on the same page it didn't encode this one (link to the event view
page)
http://mysite/calendar/event-info/?tx_calendar_pi1[f1]=17tx_calendar_pi1[f4]=131364cHash=15955bd3565b0f25e1c42d0cec2a5a12


or should I mention

http://mysite/calendar/event-info/?tx_calendar_pi1%5Bf1%5D=17tx_calendar_pi1%5Bf4%5D=131364cHash=15955bd3565b0f25e1c42d0cec2a5a12;


Dunno, please advise ;)




___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Typo3 Link Problem

2011-08-19 Thread Chris Müller

Hi Joshua,

it seems that the links are generated with simulatestatic. In 4.2 this 
was in the core, in 4.5 this is a system extension which must be enabled 
to use it. Just go to the extension manager and look out for 
simulatestatic.


Regards,
Chris.

Am 19.08.2011 01:07, schrieb Joshua Ryan:


Hi all,

I am trying to migrate a Typo3 Site from a Plesk panel, running Typo3 4.2.3 to 
a cPanel running 4.5.5

I seem to have everything working *except* for the links. Now with limited 
understanding of how typo3 runs, just wondering what I am missing??

http://test.portbajool.com.au is the location of the website, any assistance 
would be so greatly appreciated!

Regards

Joshua Ryan




___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Empty p tags generated

2011-08-01 Thread Chris Müller

Hello community,

I have the problem, that in my fresh TYPO3 4.5.4 installation I got 
empty p tags before or after content elements or plugins.


This is the current state (excerpt of the generated html source):

section
  pnbsp;/p
  p /p
  h3 class=csc-firstHeaderThe Header/h3
  p /p
  pnbsp;/p
  p /p
  pnbsp;/p
  div class=news-list-container
pnbsp;/p
pnbsp;/p
pnbsp;/p
pnbsp;/p
div class=news-list-item
  pnbsp;/p
  pspan class=news-list-date01.08.2011/span/p
  [...]
/div
pnbsp;/p
pnbsp;/p
div class=news-list-item
  [...]
/div
[...]
  /div
  pnbsp;/p
  p /p
  pnbsp;/p
/section

Now it's getting weird: If I use config.disablePrefixComment=1, some of 
the p's disappeared:


section
  h3 class=csc-firstHeaderThe Header/h3
  div class=news-list-container
pnbsp;/p
pnbsp;/p
pnbsp;/p
pnbsp;/p
div class=news-list-item
  pnbsp;/p
  pspan class=news-list-date01.08.2011/span/p
  [...]
/div
pnbsp;/p
pnbsp;/p
div class=news-list-item
  [...]
/div
[...]
  /div
/section

But the empty p tags in the news plugin remained. I'm having the same 
problem with the extension multicolumn, so I think it is something 
general.


I have no clue what to do to get rid of these empty p tags. I am just 
thinking about writing a small extension, that post process the html 
code and remove those unwanted lines of code. But there must a reason 
for these empty p tags. Has someone has an idea?


Regards,
Chris.
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Empty p tags generated

2011-08-01 Thread Chris Müller
Okay, it seems, that empty lines or lines only with comments are 
substituted with a pnbsp;/p or p!-- ... --/p.


If I use in typoscript lib.parseFunc_RTE.externalBlocks.div  the four 
lines with pnbsp;/p are reduced to one line with pnbsp;/p. So 
it seems it has to be something with the parse function of the RTE?


Perhaps this could be relevant: I am using the FLUIDTEMPLATE to assemble 
my page templates.


Regards,
Chris.


Am 01.08.2011 14:10, schrieb Chris Müller:

Hello community,

I have the problem, that in my fresh TYPO3 4.5.4 installation I got
empty p tags before or after content elements or plugins.

This is the current state (excerpt of the generated html source):

section
pnbsp;/p
p /p
h3 class=csc-firstHeaderThe Header/h3
p /p
pnbsp;/p
p /p
pnbsp;/p
div class=news-list-container
pnbsp;/p
pnbsp;/p
pnbsp;/p
pnbsp;/p
div class=news-list-item
pnbsp;/p
pspan class=news-list-date01.08.2011/span/p
[...]
/div
pnbsp;/p
pnbsp;/p
div class=news-list-item
[...]
/div
[...]
/div
pnbsp;/p
p /p
pnbsp;/p
/section

Now it's getting weird: If I use config.disablePrefixComment=1, some of
the p's disappeared:

section
h3 class=csc-firstHeaderThe Header/h3
div class=news-list-container
pnbsp;/p
pnbsp;/p
pnbsp;/p
pnbsp;/p
div class=news-list-item
pnbsp;/p
pspan class=news-list-date01.08.2011/span/p
[...]
/div
pnbsp;/p
pnbsp;/p
div class=news-list-item
[...]
/div
[...]
/div
/section

But the empty p tags in the news plugin remained. I'm having the same
problem with the extension multicolumn, so I think it is something
general.

I have no clue what to do to get rid of these empty p tags. I am just
thinking about writing a small extension, that post process the html
code and remove those unwanted lines of code. But there must a reason
for these empty p tags. Has someone has an idea?

Regards,
Chris.


___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] templavoila issue

2011-06-01 Thread Chris Müller

Hi heg,

I can think of something like that:

10 = COA
10 {
  10 = TEXT
  10 {
wrap = div id=div_id class=|
value = link_yes
override = link_no
override.if.isFalse.current = 1
  }

  20 = TEXT
  20 {
typolink.parameter.current  = 1
typolink.returnLast = url
wrap = a id=anchor_id href=|Link/a
  }

  30 = TEXT
  30.value = /div
}

It is untested but perhaps a good start. You just map the link field and 
wrap the surrounding div via typoscript.


Regards,
Chris.

Am 31.05.2011 12:23, schrieb heg:


Hi everybody, I'm struggling with the following scenario:

My HTML template below
 lt;div id=div_id class=...
 lt;a id=anchor_id href=...Linklt;/a
 lt;/div

is mapped to a templavoila DS as follows:
 - the anchor's href attribute is mapped from a link field and works just
fine
 10 = TEXT
 10.typolink {
   parameter.current = 1
   returnLast = url
 }
 - div's class attribute is defined as typoscript object path
(lib.div_class) and should be set to a certain value if the link above is
not defined.

Since the content of the link field cannot be accessed in the page template,
I've tried setting the value of div_class in the 'Data processing
Typoscript code' section of the anchor's href, right after the typoscript
above but it doesn't work like this.

I've wasted already too much time on this and eventually decided to ask for
help on how to accomplish the task. Thank you!


___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Workspaces in TYPO3 4.5

2011-04-15 Thread Chris Müller

Hello,

I have some problems understanding the workflow and the correct settings 
for the new workspaces module in TYPO3 4.5.


I have two backend users: an editor and a publisher.

I have some backend user groups:
- role_editors for the editors
- role_publisher for the publishers
- access_website1 for the mount points of the desired website

A backend user gets now to groups: For the editor role_editors and 
access_website1 and the publisher role_publisher and 
access_website1. The group access_website1 ist a member of the draft 
workspace, the owner of this workspace is empty.


The editor can only work in the draft workspace while the publisher can 
work in both, the live and the draft workspace. So far so good.


The editor changes a content element in the draft workspace and pushs 
the stage to ready to publish. From now on he can't change the state 
back to editing.


Now the publisher reviews the change and wants to set it back to stage 
editing oder want to publish the change. But he can't because the 
checkbox in from of the item is not available.


If I fill in access_website1 as the owner of the workspace, both have 
the checkbox, but the editor can now publish to the live workspace 
without having access to it - and of course this is not wanted.


How can the publisher set the stage or publish the change? How can the 
editor change the stage back to editing. In the documentation of the 
workspaces extension I can't find anything related to that.


Regards,
Chris.
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] scandinavian letters in domain and realurl

2011-03-09 Thread Chris Müller

Hi Katja,

perhaps you have to encode the domain to punycode:
http://en.wikipedia.org/wiki/Punycode

So try this as domain:
xn--exmple-cua.fi

You can encode a domain to punycode with a converter, e.g.
http://idnaconv.phlymail.de/index.php

Regards,
Chris.

Am 10.03.2011 07:52, schrieb Katja Lampela:

Hi,

In Finland we can have scandinavian letters in domain. I have this one
site, exämple.fi, and this domain record with redirection to the domain
with no scandinavian letters:

exämple.fi - example.fi

Now the redirection doesnt' work. Instead I get error:

Reason: RealURL error: unable to determine rootpage_id for the current
domain.

Even the realurl for this site is unabled, config.tx_realurl_enable = 0

Domain redirection without scandinavian letters works ok.



___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Database Error

2010-11-16 Thread Chris Müller
It seems that your database credentials are wrong or that your database 
is down.


Am 16.11.2010 15:49, schrieb Alam Hamid:

Hi Guys
I have problem in my site , it's show me this message when I'm Traying to open 
my site ,This is Message :

Database Error
The current username, password or host was not accepted when the connection to 
the database was attempted to be established!

I hope anyone help me for this problem

greetings

Alam Eldeen Hamid





___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] content element type header doesn't get listed

2010-11-16 Thread Chris Müller

Hi Horace,

have a look at the PageTS under WebInfoPage TSconfig. There you have 
to search for mod.wizards.newContentElement.wizardItems. Under the 
entry common there are the content elements text, textpic, etc. 
Now you can add the header to them via


mod.wizards.newContentElement.wizardItems.common {
  elements {
header {
  icon = path/to/icon.gif
  title = Header
  description = Your Description
  tt_content_defValues.CType = header
}

show := addToList(header)
  }
}

If you are using Templavoila you have to change mod. to templavoila.

Regards,
Chris.

Am 16.11.2010 19:11, schrieb horace grant:

hi,

why is it that content elements of type header don't get listed if i want
to add a new content element. i only can choose it if i change the type of
an already existing content element. what's the reason for this and how
could i change this?

cheers,
horace


___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Questions regardsing TYPO3 4.5

2010-11-11 Thread Chris Müller

I think you should ask your questions in the dev-list.

Regards,
Chris.

Am 11.11.2010 08:36, schrieb Kay Strobach:

Hello guys,

nice work.
Working io some ExtJS Extensions for TYPO3 i do have some small questions:

1. Will it be possible that the extjs pagetree just throws an
SelectedNodeChanged instead of automatically realoading the complete
content frame (would be great for fast extjs grid, as there only the
stores need to be reloaded.)
Use Cases:
- List module
- Page module
- Trashbin
- statistics (piwikintegration)
- ks_sitemgr
- perhaps TV
Imagine how fast the module changes could be, if these modules would be
preloaded in a cardlayout, send to front, reload store, ready. ;)

2. Is somebody working on the usermanagement module?
I wrote a Ext:ks_sitemgr which could be easily adapted to the normal
be_user module (with grids etc.)

3. will you provide a speed optimisation guide?

Best regards and happy coding
Kay


___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] DAM and indexing

2010-10-12 Thread Chris Müller

Hi Pero,


Hi. Can someone tell me what min. permissions i have to set so that my BE
users can upload files to DAM. For now, my BE users have problems after
uploading file to DAM in the way that file is not indexed so it can't be
linked in RTE. This doesn't happen allways. What i did now is the stuff from
manual:


You have to give write and read access to the table Media and read 
access to the table Media types. Also you have to allow some exclude 
fields for the media table (title, caption, deleted, timestamp, 
parent_id, ...).



but i don't want BE users to be able to access all files in Media Folder so
can I forbide that? Thx.


You can restrict the fileadmin mount points and hide the media folder 
for editors. So they can only upload and retrieve files from the 
assigned fileadmin folders.


Regards,
Chris.
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] DAM and indexing

2010-10-12 Thread Chris Müller

Hi Pero,

the documentation states:
The alternative filemounts are added to the existing Filemounts.
http://typo3.org/documentation/document-library/core-documentation/doc_core_tsconfig/4.3.2/view/1/4/#id2344103

So there is no need for an alternative file mount. I think this is only 
needed if you want to use read-only filemounts (mounts that are only 
visible in the element browser, not in the media module). Perhaps 
someone can correct me if I am wrong.


Regards,
Chris.


Thank you for replies. I have one more question. Suppose this is a
filesystem:

fileadmin
=  Foo
===  Bar
===Mar

and i restricted filesystem access for group editors to directory Mar by
including appropirate filemount in File Mounts (Mounts and Workspaces). Now,
what should i put in TSconfig of group editors

options.folderTree.altElementBrowserMountPoints =

Because of first restriction being active is it the same if i write here any
directory like Foo or is it not? Thx!

Regards.




___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] migrating from 4.1.5 to 4.4.3 ; possible ?

2010-09-29 Thread Chris Müller

Yes, but you should take the steps via 4.2 and 4.3

Don't forget to go to the install tool and use the upgrade wizard and 
the database analyzer.


And you should update your extensions.

Regards,
Chris.

Am 29.09.2010 13:14, schrieb J. Bakshi:


Hello list,

Can I migrate a typo3 installation from 4.1.5 to 4.4.3 ?

Thanks





___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] migrating from 4.1.5 to 4.4.3 ; possible ?

2010-09-29 Thread Chris Müller

And you will find some more useful information here:
http://wiki.typo3.org/wiki/Upgrade

Am 29.09.2010 14:18, schrieb Chris Müller:

Yes, but you should take the steps via 4.2 and 4.3

Don't forget to go to the install tool and use the upgrade wizard and
the database analyzer.

And you should update your extensions.

Regards,
Chris.

Am 29.09.2010 13:14, schrieb J. Bakshi:


Hello list,

Can I migrate a typo3 installation from 4.1.5 to 4.4.3 ?

Thanks







___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Powermail multi upload

2010-07-22 Thread Chris Müller
You can use the PM_MandatoryHookBefore hook in an own extension to loop 
through the uploaded files. If the total file size exceeds the maximum 
file size then throw an error.


Regards,
Chris.

Am 21.07.2010 12:33, schrieb sinu govind:

I have a powermail multi upload field. If I set the filesize via constant
editor it checks the size for each single file uploaded and if it is large
it warns. But what I need is if I have uploaded 3 files via multi upload
field, the total sie of these 3 files added together should not go over 8MB.
How do I check this?


___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Localization of data in two tree concept

2010-07-19 Thread Chris Müller

Hi,

i got a web site which has for every language a own page tree. Now I 
want to localize data from an extension based on the original language 
and want to avoid separate storage folders.


So I added an new language in the root folder and localized the storage 
folder with the datasets of the extension. Now I have the possibility to 
translate the original data in which the localized data set is connected 
to to original data set.


To get the outpur of these localized data sets through the plugin I set 
the according Typoscript setting for the page tree of the alternative 
language:

config {
  language = en
  htmlTag_langKey = en
  locale_all = en_GB
  sys_language_uid = 1
}

Now I got the data from the original language which is not my intent. If 
I localize the page on which the plugin resides I got the data sets with 
the correct language. But doing so I have the one tree concept in the 
page tree which is not desired.


My question is now: Is it not possible to localize the data and show the 
correct language in frontend or is there another way to get the correct 
localized data sets shown on the page?


Regards,
Chris.
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] class.t3lib_htmlmail.php ERROR - canary mismatch on efree() - heap overflow detected

2010-05-05 Thread Chris Müller

Perhaps this is also interesting for you:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=576147


Am 04.02.2010 16:15, schrieb Daniel Huf:

Hi,

I'm getting this error with the sr_feuser_register subscription page.

Running TYPO3 4.3, any clue what it really means ?

[Thu Feb 04 11:34:17 2010] [error] [client 91.203.96.55] ALERT - canary
mismatch on efree() - heap overflow detected (attacker 'xx.xxx.xx.xx',
file '/var/www/site/typo3_src-4.3.0/t3lib/class.t3lib_htmlmail.php',
line 730)

Thanks for your feedback,
Daniel


___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] DAM not indexing in a custom workspace

2010-03-25 Thread Chris Müller

Hi Ricardo,

there are two patches available to solve the problem of using DAM and 
workspaces. I use them now since a few weeks. You can now upload files 
in workspace. There are correctly indexed. You have then to publish the 
meta information to get the correct image caption, pdf description, ...


The patches are also pending in dam list.

The links to the bugtracker:
http://bugs.typo3.org/view.php?id=11083
http://bugs.typo3.org/view.php?id=13676

The first one solves the issue of duplicated contents, the second one 
shows the correct meta information in preview mode of a workspace.

Make sure to use the 11083.patch.

Regards,
Chris.


Am 25.03.2010 09:57, schrieb Riccardo De Contardi:

Hello and thank you for your answer!

It's quite a shame, because I think it's a very great extension, but
workspaces are mandatory for me.
I've even bought the book TYPO3 4.3 Multimedia Cookbook to learn to
use it in a more effective way.

Thanks again and good work!!

___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Disable tabs in element browser

2010-01-18 Thread Chris Müller

Hello,

I want to disable some tabs in the element browser. So a user shouldn't 
be able to upload any files there.


I found that there should be an TSconfig option blindLinkOptions [1] 
which seems to work in RTE.


I am using DAM and there this option will be used [2] (around line 336). 
I tracked it down that it should be somethink like


RTE.default.blindLinkOptions = upload

but the upload tab is still shown.

Has someone a working code example or can give me bump to the right 
direction?


Regards,
Chris.


[1] http://bugs.typo3.org/view.php?id=6672
[2] 
https://svn.typo3.org/TYPO3v4/Extensions/dam/dam/branches/dam_1-1/class.tx_dam_browse_media.php

___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] How to get a !-- ..-- in the header

2009-11-18 Thread Chris Müller

Hi Philipp,

for me the code works. Perhaps you have another template which overrides 
that?


Chris.

Philipp Holdener schrieb:

Hello

How can I get something like this in the header?

!-- TradeDoubler site verification 111 --


I try this code

page.headerData.5 = HTML
page.headerData.5.value (
   !-- TradeDoubler site verification 111 --   
)


-- no effect in the frontend!

Thanks for help

Greetings
Philipp

___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Perfectlightbox captionSplit with tt_content images

2009-11-12 Thread Chris Müller

Hi Ronaldo,

I had the same problem with an own extension. It works now for me if the 
link tag has an title tag and setting 
plugin.perfectlightbox.captionFiels=titleText. Perhaps this helps you.


Chris.

Ronald Renfro schrieb:

Hi,

I am having trouble configuring the perfectlightbox extension so that it 
displays the image captions when the lightbox. It show the enlarged 
image and the 1 of x images but the caption is mising. CaptionSplit is 
working. The extension manual states that the caption field can be set 
via the constants {$plugin.perfectlightbox.captionField} and the 
typoscript code suggests that caption splitting should work out of the 
box. Could it be that caption splitting only works for tt_news content 
or has someone found a way to achieve captionSplit with normal 
Image/Text content elements? Any help would be great!


Thanks,
Ronald


tt_content.image.20.1 {
titleText.override.field = {$plugin.perfectlightbox.captionField}
titleText.override.htmlSpecialChars = 1
titleText.override.if.isTrue.field = tx_perfectlightbox_activate
imageLinkWrap {   
typolink {
### Only split when links are set... otherwise lightbox will 
ONLY work for the first image...

parameter.listNum.stdWrap.if.isTrue.field = image_link
   
### This returns a link, pointing to the path + name of the 
original image / resized lightbox image (if maxH or maxW is reached)
### Overriding ONLY when imagezoom AND lightbox are 
activated AND no link is set

parameter.override.cObject = IMG_RESOURCE
parameter.override.cObject.file.import.data = 
TSFE:lastImageInfo|origFile
parameter.override.cObject.file.maxW = 
{$plugin.perfectlightbox.lightBoxMaxW}
parameter.override.cObject.file.maxH = 
{$plugin.perfectlightbox.lightBoxMaxH}   
parameter.override.if.isTrue.field = image_zoom
parameter.override.if.isTrue.field = 
tx_perfectlightbox_activate

parameter.override.if.isFalse.field = image_link

#ATagParams.if.isTrue.field = image_zoom
#ATagParams.if.isTrue.field = tx_perfectlightbox_activate
#ATagParams.if.isFalse.field = image_link
   
### Now the userfunc does the dirty work

userFunc = tx_perfectlightbox-main
}
}
}


temp.imageLinkWrap = 1
temp.imageLinkWrap {
enable = 1   
typolink {
   
### Note the names of the fields! They are different from the 
ones tt_content uses! (except imagecaption)

title.field = imagecaption // imagealttext // imagetitletext
title.split.token.char = 10
### This works only with the imageMarkerFunc!
title.split.returnKey.data = register : IMAGE_NUM_CURRENT
title.htmlSpecialChars = 1
   
parameter.cObject = IMG_RESOURCE

parameter.cObject.file.import.data = TSFE:lastImageInfo|origFile
parameter.cObject.file.maxW = 
{$plugin.perfectlightbox.lightBoxMaxW}
parameter.cObject.file.maxH = 
{$plugin.perfectlightbox.lightBoxMaxH}   
   
ATagParams = rel=lightbox[lb{field:uid}]

ATagParams.insertData = 1
}
}




___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] HTTP redirect with Typoscript

2009-11-04 Thread Chris Müller

Yes, with:

config.additionalHeaders = HTTP/1.0 301 Permanent Redirect | Location: 
{your_location}


Chris.


Tonix (Antonio Nati) schrieb:

Is there any way to force an HTTP redirect using TypoScript?

I'd like to check some conditions (like requesting device, language, 
country, etc.), and if those are met, to redirect to another specific page.


Thanks,

Tonino


___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Load plugin into subpart

2009-11-04 Thread Chris Müller

Hi Rob,

first, you can shorten this:


[PIDupinRootline = 2,114]
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
template = FILE
template.file = fileadmin/labfs/content.html
}
[ELSE]
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
template = FILE
template.file = fileadmin/labfs/index.html
}


to

temp.mainTemplate = TEMPLATE
temp.mainTemplate {
template = FILE
template.file = fileadmin/labfs/index.html

[PIDupinRootline = 2,114]
  template.file = fileadmin/labfs/content.html
[END]

[PIDinRootline = 4]
  template.file = fileadmin/labfs/contact.html
[END]

... many ts-code ...

In my opinion you have to extend the php code of Cumulus tagcloud, 
because the extension is always used via the frontend plugin. In the 
frontend plugin you have to give the pid of the storage folder, where 
your tags are stored. If you want to use the extension via ts you have 
to give the pid back to the extension via ts.


I had some days ago the same problem and extended the php code 
(class.tx_t3mcumulustagcloud_pi1.php, about line 60):


-
//get the values
$input_pid = $this-pi_getFFvalue($this-cObj-data['pi_flexform'], 
'inputPID', 'sDEF');

if ($input_pid == ) {
  $input_pid = $conf['input_pid'];
}

$input_width = $this-pi_getFFvalue($this-cObj-data['pi_flexform'], 
'inputWidth', 'sDEF');

if ($input_width == ) {
  $input_width = $conf['input_width'];
}
...
-

where $conf['input_pid'], $conf['input_width'], ... are defined in ts:

-
plugin.tx_t3mcumulustagcloud_pi1 {
  input_pid = 34
  input_width = 200
  ...
}
-

Hope that helps for you,
Chris.
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Powermail -- Display selected receiver in email

2009-11-03 Thread Chris Müller

Hi Tony,

can't you use the Alternative SQL-Query in the Recipients divider? I 
think that is made for that.


Chris.

Tony Lush schrieb:

Chris,

Thank you. I tried that, but I was only allowed to look for the Sender's 
 fe_user details. What I want to do is

select username FROM fe_users where uid = ###UID12###
when ###UID12### is the selected Recipient of the form data.

Thank you -- Tony

___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Powermail -- Display selected receiver in email

2009-11-02 Thread Chris Müller

Hi Tony,

you can use a hidden field, where you can set as additional settings the 
appropiate fe_user field. So it would be available via an uid.


Chris.


Tony Lush schrieb:
We are using Powermails capability that the user can select a receiver 
from a select box, but when we want to display that in the recipient 
email only the form field's UID number is available to display.


In the Recipients tab we assign to the Alternative SQL-Query
select email FROM fe_users where uid = ###UID12###

Is ther any way to display the feuser's user name or email address in 
the emails?


Thanks -- Tony

___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english