Re: [TYPO3-english] Powermail Signal Slots

2018-10-15 Thread Bernhard Kraft

Hi!

On 10/1/18 6:08 PM, Manfred Mirsch wrote:

I then implemented two signal slots, where the number of stored emails 
for the certain page is compared with the given value enterd inside the 
flexform. If the maximum nuber is reached a http redirect will be done 
instead of rendering the form.


You are talking about the backend form? If you want to have some 
constraints upon the values entered in a backend-form I would suggest 
utilizing the "processDatamap_*" hooks in

"TYPO3\CMS\Core\DataHandling\DataHandler"

AFAIK there were deliberately no single hook calls for each field 
because of performance considerations.



If you only want to display the field depending on some conditions you 
could use "displayCond":

https://docs.typo3.org/typo3cms/TCAReference/Columns/Index.html#displaycond



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


Re: [TYPO3-english] Getting images out of fe_users

2018-10-15 Thread Bernhard Kraft

Hi,

On 9/14/18 2:19 PM, je...@donslund.net wrote:


I need to get the images out of the fe_users table.
I have an extension and all the other data is no problem, but in the 
database the value is just 1 if there is an image.


The "1" means that there is one image. In the case of 1:n and n:m 
relations the number of related elements is stored in the field itself 
as the UID to the record is stored in the referencing table rows or the 
intermediate n:m table. To resolve the relation you would have to 
retrieve all FAL records pointing to your fe_users record.



You can do this using the EXT:vhs extension.
Here a snippet I am using for this purpose:
http://t3paste.org/posts/34cd4


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


Re: [TYPO3-english] Labels missing at custom fields in TCA

2018-08-16 Thread Bernhard Kraft

Hi,

On 08/15/2018 11:14 AM, Mikel wrote:


I’m not sure, if xml files will be read. I guess so, but maybe you should try 
to add xlf as file ending.


Up to now there have been three language file formats: PHP, XML and XLF.

I guess all three should still work - but I am not sure about this. 
Maybe the support for XML language files has been dropped completely in 
favour of XLF language files. Which of course also have XML syntax but 
are a commonly used format. The old XML language files of TYPO3 have 
been a format custom to TYPO3.


I am not sure about the PHP language files but I assume they are still 
supported because the easy parsing by only including them. Would have to 
check ...



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

Re: [TYPO3-english] TYPO3 is adding chash to regular pages

2018-08-14 Thread Bernhard Kraft

Hi,

On 08/14/2018 10:26 AM, je...@donslund.net wrote:

When I am clicking sround the site, I can't find any links with cHash 
(only news pages are having cHashes) but suddenly they show up and we 
get the error.


What do you mean by "suddenly"?

Do the cHash arguments to links appear whilst you are clicking around on 
regular pages or only after visiting the news-page?


Are there any other arguments in the URL string, except cHash?


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


Re: [TYPO3-english] Find out if method is called from the scheduler

2015-01-09 Thread Bernhard Kraft

Hi,

On 2015-01-06 13:24, Jennifer Koenig wrote:


This no longer seems to work. I googled around but couldn't find
anything. Does anyone have a trick?


I guess there are two ways:

1. Create an alternative implementation of 
TYPO3\CMS\Scheduler\Scheduler and overwrite the method executeTask. 
Set some global variable before and after calling parent::executeTask().


2. In your code use GeneralUtility::getSingletonInstances and check if 
TYPO3\CMS\Scheduler\Scheduler is already instanciated. If this is the 
case it is most likely that the current code is getting executed by the 
scheduler.


Version 1 uses an alternative implementation (XCLASS in 4.x times) and 
depends on no other extension is doing the same.


Version 2 could yield wrong results if some piece of code is making an 
instance of the scheduler while still not running any tasks.


I would implement version 1.


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


Re: [TYPO3-english] clear cache every time a user visits a page

2015-01-09 Thread Bernhard Kraft

Hi,

On 2015-01-08 11:24, RAKIBI Anass wrote:

Hello , due to cache problems , I was asked to create a cron job that
clears the cache every 1 min . But I was thinking of a better idea which
is about clearing the cache every time a user visits a certain page .


You should rather find the reason for the cache problems and resolves 
them. Else TYPO3 can be really really slow. Page rendering times of 2 
seconds are not unusual ...


If it is really reasonable you could of course still deactivate caching 
by setting the no_cache flag of all pages where the caching problem 
occurs.



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


[TYPO3-english] Crowdfunding of kb_nescefe 6.2 upgrade

2014-09-30 Thread Bernhard Kraft

Hello,

We are looking for supporters for the upgrade of the TYPO3 extension 
kb_nescefe to TYPO3 6.2.


https://www.startnext.de/kbnescefe-typo3-62-upgrade

Right now the project is in the starting phase and needs 25 fans to get 
to the funding phase. The kb_nescefe extension more or less is the 
precursor to the gridelements extension but has some unique features. 
The extension was first uploaded in 2007 and nowadays needs an upgrade 
to 6.2/extbase and some bugfixes.


Please support the project financially or at least become a fan at the 
above linkes crowdfunding site.



greetings and many thanks,
Bernhard Kraft
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] print_r worries

2014-09-01 Thread Bernhard Kraft

Hi,

Until 6.2 and extbase have come I used print_r for debugging. Since 
then I get a memory exhausted almost anytime I use print_R on some 
extbase object or any object/array containing an extbase powered object.


Could someone explain to me why 512MB of memory are not sufficient for a 
simple print_r?



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


Re: [TYPO3-english] PDF rendering of extension manuals

2014-08-08 Thread Bernhard Kraft

Hi,

On 08/07/2014 01:48 PM, Xavier Perseguers wrote:


2) To be easily archived / saved locally
3) ...


Either 2) but rather for quick local browsing.


greetings,
Bernhard

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


Re: [TYPO3-english] TemplaVoilà changes tags

2014-08-05 Thread Bernhard Kraft

Hello,

On 08/05/2014 02:27 AM, Mathias Hübscher wrote:


Does anybody has an explanation for that behaviour?


Others suggested that the browser is responsible for that. In such a 
case use wget or httrack to download the file binarywise.


Then inspect it using some editor.



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

Re: [TYPO3-english] Calculated absolute path to t3lib directory does not exist.

2014-08-01 Thread Bernhard Kraft

Hi,

On 08/01/2014 10:19 AM, Katja Lampela wrote:


Calculated absolute path to t3lib directory does not exist.


I tried to grep for this message in a 6.2 and could not find even one 
occurence.


Did you try to clear all cache? (remove everything within typo3temp, 
take cautions not to delete anything else!)


Since 6.2 there is no directory t3lib.


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


[TYPO3-english] Crowdfunding: kb_nescefe Upgrade

2014-07-31 Thread Bernhard Kraft

Hello,

Instead of creating a crowdfunding project site I will try it the easy 
way: Who would participate in sponsoring upgrade of the kb_nescefe 
extension [1] to TYPO3 6.2.


Estimated cost: 600,00 Euro

Just post how much you would like to contribute to this thread. You can 
get a bill. Payment can be done via bank transfer (SEPA) or PayPal.


If the required budget goal gets reached the extension will get upgraded 
and I will contact you regarding your contribution.


By sponsoring 150,00 Euro or more you will get listed in the 
documentation as sponsor.



greetings,
Bernhard

[1] http://typo3.org/extensions/repository/view/kb_nescefe
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Fluid: Nested variables

2014-07-14 Thread Bernhard Kraft

Hi Georg,

On 07/14/2014 06:13 AM, Georg Ringer wrote:


f:translate key=fo arguments={0:count} / and the translation like
There are %s rows


I found that out yesterday myself after some experimenting.
Altough it is fine for the current situation there should be some way of 
getting a string parsed again for {variables} or view helpers.


No doubt vhs will feature this sooner or later.


greetings,
Bernhard


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


[TYPO3-english] Fluid: Nested variables

2014-07-13 Thread Bernhard Kraft

Hi,

This has already been questioned by someone else - without an 
appropriate answer so I would like to ask again:

mailman.3702.1372430654.570.typo3-engl...@lists.typo3.org


So is it possible to have something like

PHP:
$this-view-assign('count', 123);
$this-view-assign('message', 'There are {count} rows');

FLUID:
p{message}/p


In the result sadly {count} won't get replaced. Is there some way to 
achieve this? Or how do you cope with translated messages which have to 
carry values from variables? (Assume 'messsage' is taken from an LL file 
in the above example).



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


Re: [TYPO3-english] forum with TYPO3 6.2

2014-07-02 Thread Bernhard Kraft

On 07/02/2014 09:59 AM, horace grant wrote:


do you have a guess when the patches will be applied officially?


It depends on the mm_forum maintainers. Maybe they have a fully-updated 
versions already ready for testing ...



greetings,
Bernhard

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


Re: [TYPO3-english] forum with TYPO3 6.2

2014-07-01 Thread Bernhard Kraft

Hi!

On 2014-07-01 10:50, horace grant wrote:


is there any forum extension that works with 6.2?
the description of mm_forum says it doesn't support that version.
i am not sure about wec_discussion?


I made a view patch requests which make mm_forum compatible with 6.2:

https://review.typo3.org/#/c/28753/

This should make the extension compatible.
Altough not being up-to-date to 6.2 coding style. This would require 
more effort.


There are also some other patches for mm_forum:
https://review.typo3.org/#/q/status:open+project:TYPO3CMS/Extensions/mm_forum,n,z


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


Re: [TYPO3-english] newsletter + user registration

2014-06-11 Thread Bernhard Kraft

Hello,

On 06/11/2014 06:48 PM, horace grant wrote:


a customer wants to send newsletters with typo3. what is the current state
of the direct_mail extension (is it usable?) and what user registration
extension would you recommend?


What do you mean by usable? The extension exists since almost 10 years 
an has always been properly maintained by someone. Currently there is no 
official version for 6.2.x but you can get a working one from git.typo3.org:


git://git.typo3.org/TYPO3CMS/Extensions/direct_mail.git

Maybe there are still some glitches after the update to 6.2 style but if 
noone tests they wont be found :)


Regarding user registration: Either use sr_feuser_register or alike or 
knit your own using EXT:formhandler



greetings,
Bernhard

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


Re: [TYPO3-english] Website Synchronisation

2014-06-04 Thread Bernhard Kraft

Hi,

On 06/04/2014 06:47 PM, Miguel wrote:


My question is if there is some extension that allows me to syncronize
the new work created and inject these new changes directly to the main
website.


I think this is a quite common problem. Depending on what you would like 
to synchronize there are different approaches.


If you just want to synchronize extension code I would suggest using git 
or rsync on your typo3conf directory.


If what you would like to synchronize is the mysql database then the 
question arises if someone (editors) are allowed to make updates to the 
live system. If this is the case it gets complicated. There are some 
extensions out there which take care of synchronizing TYPO3 databases 
but there will always be cases where an automatic synchronization isn't 
possible. Just think of a content element being modified on both 
instances. Which one should be the correct one? The one with the later 
modification date? The one which got content added but not deleted?


If you just want to clone your development database to the live system I 
suggest creating a script which does


mysqldump --params-of-dev-db | mysql --params-of-live-db


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


Re: [TYPO3-english] typo3 6.2 - realurl 1.12.8 help

2014-06-03 Thread Bernhard Kraft

Hello,

On 06/03/2014 11:07 AM, Branislav Cvetanovic wrote:


i created dropbox with my typoscript and realurl configuration php files
i tried.

https://www.dropbox.com/sh/3obtt2abn5aw84a/AAAayFZQ8nSEMGAq6IjUu2yHa


I guess I found the error in your typoscript. I re-pasted your 
typoscript so I can reference line numbers:


http://paste.ubuntu.com/7578959/

In line 222 you are opening a condition:
[globalVar = GP:L = 3]  [browser = msie]

But you do not close the condition. So everything below will only be 
valid under the given circumstances. I would suggest to add a


[end]
or
[global]

between line 223 and 224


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


Re: [TYPO3-english] typo3 6.2 - realurl 1.12.8 help

2014-06-02 Thread Bernhard Kraft

Hi,

On 06/02/2014 11:15 AM, Branislav Cvetanovic wrote:


i tried it with changing htaccess form all 3 locations and from
introduction package i downloaded on previous installation i tested
t3 6.2 problem was the same. i tried changing realurl config file
from all test sites and live website ( with changing values like root
page_id that are unique to each installation )


Do you have the following set in your TS-Template setup field:

config.tx_realurl_enable = 1

Eventually you overruled it from within page.config.


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


Re: [TYPO3-english] Using Typo3 as an accounting system?

2014-04-14 Thread Bernhard Kraft

Hello,

On 2014-04-10 18:14, Dave S wrote:


Does anyone have any experience using Typo3 in this or a similar maner?
Thanks in advance for your time!


We recently had a similar requirement and I did some investigation. 
After having looked at the wikipedia list of different accounting 
software solutions [1] I decided that I will take a closer look at 
Frontaccounting [2] as it sounds promising: FrontAccounting is 
multiuser, multilingual and multicurrency.


Especially the multiuser aspect is important. This is for example not 
true for GNUcash. Having a multiuser capable accounting software it 
should be possible to use the common application interface for humans 
entering bills or received cash and on the other hand have an TYPO3 
application posting automated payments (or receivables).


[1] http://en.wikipedia.org/wiki/Comparison_of_accounting_software
[2] http://en.wikipedia.org/wiki/Frontaccounting


greetings,
Bernhard

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


[TYPO3-english] Fluid view helper

2014-04-04 Thread Bernhard Kraft

Hello,

Is there some view helper (fluid standard, vhs) which I can use to 
display field x of record with uid y in table z.


And of course the retrieved result should optimally be cached when I 
want to display additional fields of the same record.


I know I could use RECORDS/CONTENT which I am doing right now as kind of 
work around. But I would like to know if this would be possible without 
creating my own view helper.



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


Re: [TYPO3-english] Is debian 7 fine for typo3 ?

2013-01-02 Thread Bernhard Kraft

Hello !

Am 31.12.2012 10:11, schrieb joyd...@infoservices.in:


I also had the same thought. But now I'm precarious because of the fillowing,
where only typo3 6 matches the debian 7

``
typo3 -6.x.x  PHP version 5.3.7-5.4.x ; Mysql version - 5.1.x-5.5.x
typo3 -4.7.x  PHP version 5.3.x ; Mysql version - 5.0.x-5.1.x

 [...]

Those PHP/MySQL versions mentioned have been toroughly tested and are 
some kind of gurantee to run.


But in most cases older or newer versions of PHP/MySQL will also work 
fine. It is rather the case that some older PHP/MySQL versions make 
trouble because of missing functionality than newer versions.



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


Re: [TYPO3-english] How can I give each menu item a different class? (optionSplit?)

2013-01-02 Thread Bernhard Kraft

Hello Jörg!

Am 30.12.2012 15:15, schrieb Jörg Klein:


Ralf-Rene Schröder schrieb:

i always use something like this:

NO.wrapItemAndSub = li class=no menuid-{field:uid}
menupos-{register:count_MENUOBJ}|/li
NO.wrapItemAndSub.insertData = 1

so i have classes witch are NOT to modify by editors


that looks good. Currently I do know the value for the UIDs, but they might
change in the future. With this implementation the class names would change
as well; this would break the CSS styling.


Have an exact look at Ralf-Renes message again! He already gave you the 
answer: use {register:count_MENUOBJ}. Probably you overlooked the second 
line of his li tag. It wrapped because of the news/mail program. I 
guess it should look like:



NO.wrapItemAndSub = li class=no menuid-{field:uid} 
menupos-{register:count_MENUOBJ}|/li
NO.wrapItemAndSub.insertData = 1


(Hopefully those lines dont wrap around).

The trick is not the menuid-{field:uid} but the 
menupos-{register:count_menuOBJ}.


It will generate class names like menupos-1, menupos-2, menupos-3, ...

I hope this is also fine for you instead of one two three.

If this isn't what you need you have to specify your requirements more 
precise. Using options split it is possible to have something like 
first middle last.



greetings,
Bernhard


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


Re: [TYPO3-english] Is debian 7 fine for typo3 ?

2012-12-31 Thread Bernhard Kraft

Hallo !

Am 31.12.2012 07:15, schrieb joyd...@infoservices.in:


debian is soon releasing the nest stable version 7.
The php is shipped with this version is *** 5.4.4 *** and Mysql is *** 5.5.28 
***


I haven't tested it but I don't see why there should be any issues.

From my experience PHP and mySQL always tend to keep to their 
standards. There were even few issues at the transition from PHP 4.x.x 
to the 5.x.x series - so I guess a minor version transition as from 
5.3.x to 5.4.x should be even less problematic.



anyways: happy new year to everyone.


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


Re: [TYPO3-english] EM 6.0: Unusuable for production sites?

2012-12-06 Thread Bernhard Kraft

Hello !

Am 05.12.2012 10:49, schrieb Jigal van Hemert:


That was one of the most heard complaints about the old EM: if you want
to install an extension you have to go through so many popups and
confirmation dialogues with questions you can only confirm [...]


I don't know if it was only my Linux/Firefox whatever ... but when the 
new EM of 4.x came out it worked really nice to just click install 
and update on every dependency confirm button.


I don't know when this problem was introduced - but during the last 
versions this didn't really work. When you clicked to import a 
dependency it should open in a new window. Which is probably true for IE 
but opens a new fullscreen tab in FF.


Additionally when the dependency was installed and one clicked
Close window and retry ... (I don't know exactly what the full wording 
was) The window closed but the parent window didn't update.


So there quite a few nitpicking bugs in the old version. Maybe this was 
the cause they decided to make a rewrite.



At least this was the experience I had ...


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


Re: [TYPO3-english] EM 6.0: Unusuable for production sites?

2012-12-06 Thread Bernhard Kraft

Hallo !

Am 06.12.2012 11:09, schrieb Stefano Cecere:


i agree.. EM 4.7 has this kind of bugs.. but it's usable anyway when you
know (i usually install all dependencies manually, before the big one)


Probably it was even so much usable, that no one ever came to the idea 
of submiting a bug report about this issue ;)


Or maybe there is one - and I was always just to lazy to not even look 
if this bug has already been filed :)



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


Re: [TYPO3-english] EM 6.0: Unusuable for production sites?

2012-12-06 Thread Bernhard Kraft

Hello !

Am 06.12.2012 10:07, schrieb Bernhard Kraft:


I don't know if it was only my Linux/Firefox whatever ... but when the
new EM of 4.x came out it worked really nice to just click install
and update on every dependency confirm button.


Here an example:
http://img213.imageshack.us/img213/3313/screenje.png

I am sure this is not the expected behaviour!



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


Re: [TYPO3-english] IE9: Upgrade TYPO3 4.7.4 - 4.7.7 makes BE crash when saving through RTE

2012-12-05 Thread Bernhard Kraft

Hello !

Am 05.12.2012 14:05, schrieb Bert Hiddink [BENDOO e-work solutions]:


[...] but got no idea why this upgrade makes IE crash.


Any IE error messages or similar which eases debug?


greetings,
Bernhard

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


[TYPO3-english] [TYPO3-dev] Extension auction

2011-02-16 Thread Bernhard Kraft
Hello everybody,

Maybe some of you know that I will leave the world of TYPO3. As my
interests and my life situation has changedI am heading for new
directions. So what still remains are a lot of extension created by me
for the TYPO3 community.

I guess many of you know how tedious it can be to take care of an
extension. You have to fix bugs and adopt it to changes in the TYPO3
core. So usually it takes you time to be the owner of an extension. But
on the other hand it also brings you some customers and a little bit of
fame.

As most of my extension have been more work than they made me money, and
we are living in a world where I have to pay for almost everything I am
going to sell them on an e-bay auction. Yes. An extension auction. But
ok. This could get seen as a donation for all the work on those extensions.

By giving the highest offer you get all rights on an extension as far as
the GPL allows this. Then the extension key on typo3.org (and
forge.typo3.org) will get transfered to your TYPO3 user account. Here is
the a list of extension you can purchase:

kb_imageedit
http://cgi.ebay.at/ws/eBayISAPI.dll?ViewItemitem=190502895612

kb_conttable
http://cgi.ebay.at/ws/eBayISAPI.dll?ViewItemitem=190502909660

kb_filequota
http://cgi.ebay.at/ws/eBayISAPI.dll?ViewItemitem=190502914211

kb_game_mahjongg
http://cgi.ebay.at/ws/eBayISAPI.dll?ViewItemitem=190502921728

kb_tv_cont_slide
http://cgi.ebay.at/ws/eBayISAPI.dll?ViewItemitem=190502922903


Some more will follow in 30 days as ebay allows me to submit more items

If you have any questions feel free to ask.


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


Re: [TYPO3-english] GIFBUILDER File from record field

2010-06-22 Thread Bernhard Kraft

On 06/18/2010 12:41 PM, Iztok Kham wrote:


How can I tell GIFBUILDER (GMENU) to use file specified in image field
in record?



file = GIFBUILDER
file {
...
10 = IMAGE
10 {
file.import = uploads/tx_ttproducts/
file.import.field = image
file.width = 800m
file.height = 600m
...
}

}


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


Re: [TYPO3-english] Direct_mail

2010-06-10 Thread Bernhard Kraft

Karin Meulengrath wrote:

I have installed direct_mail 2.6.7 on a TYPO3 version 4.3.3 but I can't 
get it to work. Wiki states that it works with templaVoila but that you 
should create pages in the direct mail sysfolder as any other page, not 
using the wizard. When I do that the preview says 'No ts template'.

The manual dosn't have any explenation about the template.


Hello !

First you have to create the pages which should get sent in the direct mail
sysfolder. It simply depends on wheter you use traditional templating or
templavoila how you get this done.

Of course there has to be some TS-Template to be available on those pages.
I do not know what you mean by not using the wizard ... but you should
simply set up some pages in the direct-mail folder. You have to change the
field Contains module of the page to Direct Mail. The icon of the page
should then change to a mail-icon.

Then simply continue as you were creating a normal TYPO3 website, just the
site will get sent as HTML newsletter. there are no special things to consider
during this step, except that the page has to be readable and get rendered
by a mail-client.


greets,
Bernhard

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


Re: [TYPO3-english] tt_content.login.20 + set maxlength for input field password

2010-06-10 Thread Bernhard Kraft

Marieke Vandamme wrote:


tt_content.login.20.dataArray {
  20.type = *pass=password,10,8
 }
 page.10.subparts.loginForm  tt_content.login.20

But the html form the loginfield still stays the same:
input type=password id=pass name=pass value= /


First: Try clearing all caches.

Second: Use the TypoScript Object Browser
(Main Menu  Template  Drop-Down Object Browser  Drop-Down Setup)
to check wheter page.10.subparts.loginForm is really set to an FORM object
and contains the correct setting for the password field. You could also try
to unset the contents of page.10.subparts.loginForm first if you have set
them before:

page.10.subparts.loginForm 
page.10.subparts.loginForm  tt_content.login.20

But using the TS-Object Browser you can in any case check whether the new
setting for page.10.subparts.loginForm is valid. Check it on a page where
the login form should appear.

greets,
Bernhard



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


Re: [TYPO3-english] COA inside another COA - is it a wise thing?

2010-05-10 Thread Bernhard Kraft

Riccardo De Contardi wrote:

A little odd question about typoscript:

Is it wise to have a COA inside another COA? I mean Something like:


There's nothing which speaks against this - it depends on what you required.
It sometimes makes sense to put a COA_INT into a normal COA, so part of the
generated content does not get cached.

It also makes sense to put a normal COA into a COA_INT, as you would probably
not want double-caching which is what you would get if you put a COA_INT into
another COA_INT (don't even know if this works flawlessly).


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


Re: [TYPO3-english] Subparts + elements problems

2010-05-05 Thread Bernhard Kraft

Tomas Norre Mikkelsen wrote:


newsletter.colLeft = COA
newsletter.colLeft {
  10 = USER
  10.userFunc = tx_tsvoila_pi1-main
  10.field = colLeft

  }

But won't work.. the colRight is working with the


Hello !

Where does the tx_tsvoila_pi1 class come from. Probably you have to 
install some extension?


If you do not use TemplaVoila I suggest you use the following code:


10  styles.content.getRight


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


Re: [TYPO3-english] Subparts + elements problems

2010-05-05 Thread Bernhard Kraft

Bernhard Kraft wrote:



10  styles.content.getRight


or

10  styles.content.getLeft

if you want to insert the content of the left column of the traditional 
page module.



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


Re: [TYPO3-english] LinkParameter

2010-05-05 Thread Bernhard Kraft

Victor Livakovsky wrote:


lib.userLink = TEXT
lib.userLink {
 value = Link with username
 typolink {
   parameter = {$SomePageId}
   additionalParams.data =  TSFE:fe_user|user|name // 
TSFE:fe_user|user|username

   additionalParams.wrap = username=|
 }
}


If you want to Link the name of a user to some page you should use this 
code:



lib.userLink = TEXT
lib.userLink {
data = TSFE:fe_user|user|name
typolink {
parameter = {$SomePageId}
}
}

But in both cases you should use a COA_INT instead of directly a TEXT 
object as the username could be different on every request to the server 
and this would cause problems with the cache:


lib.userLink = COA_INT
lib.userLink.10 = TEXT
lib.userLink.10 {
# same code as above
}


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


Re: [TYPO3-english] tt_content.image.20 rollover effect

2010-04-29 Thread Bernhard Kraft

JoH asenau wrote:


Click enlargment is left untouched and works just as usual.
http://ice.4any1.de/index.php?id=15958


Nice work. I guess Edgars ows you the beer - not me. Tell him your paypal
account ;)



BTW: For the guys and girls who are running the snippet collections and
TypoScript related blogs or the like - would be nice if you could add the
credits for this snippet when copying it from here or other sources ... and
while you are at it, maybe you could add them for those you already used as
well ;-)


It seems like the snippets.typo3.org site does not work currently. At least
everything I get is a:

--
Forbidden

You don't have permission to access / on this server.
--

Same in your case?


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


Re: [TYPO3-english] TYPO3 Disk Usage

2010-03-16 Thread Bernhard Kraft

Xavier Perseguers wrote:



Mine shows even 142 MB ;-) This is due to use of SVN repository instead 
of a standard distribution...




Yes, it seems all those files in .svn take quite a large amount of disk 
space. In the releases this stuff is simply removed.




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


Re: [TYPO3-english] migration from old fe_users with md5 passwords to rsaauth and saltedpasswords

2010-03-06 Thread Bernhard Kraft

Ansgar B. wrote:

In concrete situation I have old passwords stored as md5 hashes in DB 
and want to migrate to rsaauth and salted passwords.


Are there any hook where I can
1. fetch the password
2. build a md5 hash
3. check it againt old password
4. build new password
5. write it to the database


The saltedpasswords extension should normally do exactly what you 
described. You do not even have to move a finger.


You can't automate the process of migration to saltedpasswords, as you 
do not know the cleartext passwords just by knowing the md5 hashes of 
the passwords.


The saltedpasswords extension will compare submitted passwords during 
login sessions, and fallback to md5 if the stored password is not a 
salted one. When the password is correct it will automagically update 
the password in the database with a salted version created from the 
cleartext password submitted (probably transmitted rsa encrypted).



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


Re: [TYPO3-english] tt_address / Backend / extend with Javascript

2010-03-06 Thread Bernhard Kraft

Thorsten van Stipriaan wrote:


To realize that, additional Javascript has to be accessible in the
backend flexform of tt_address. We found no way to implement Javascript
header information, through an Extension. Is that even
possible/reasonable?


It is possible. First I would suggest to have a look at the 
rggooglemaps extension - it is a very nice extension from Georg Ringer.


If you want to modify the output of tceforms (the forms rendered for 
editing content elements, tt_address records or your own custom records) 
then have a look at t3lib/class.t3lib_tceforms.php ...


there are quite a few hooks you can use, and finally there are TCA types 
like user which allows you to create php code rendering a whole field:


http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.2.0/view/4/2/#id4302851

This should allow you to put necessary JS code into the form.



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


Re: [TYPO3-english] Columns: [INVALID VALUE (10)]

2010-03-02 Thread Bernhard Kraft

Katja Lampela wrote:
I tried to change these lines in page tsconfig, but changes don't get 
saved:


mod.SHARED.colPos_list = 1,0,3
TCEFORM.tt_content.colPos.removeItems = 2,10


Do you have stfl_tmpl2columns installed? or another extension which 
does similar things?


The new versions of kb_nescefe do not misuse the colPos field for 
storing the position of an element in its container, but rather simply 
set the colPos value to 10 and use a new additional field to store the 
location in the parent container ...


Some extension, TS-Config or typo3conf/extTables.php code probably 
unsets or resets the colPos items array. It's always a good start to do a:


grep -r colPos *

in the typo3conf directory if you do not find any other reason (TSconfig)


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


Re: [TYPO3-english] Time based pulishing

2010-02-07 Thread Bernhard Kraft

bernd wilke wrote:

the second problem (as Jigal already has written): the internal cache 
from TYPO3 works by default on a 24hour base. with the TS-setting 
config.cache_clearAtMidnight = 1 each day (by date) the content is build 
up new.


Hello !

I guess I must have been in some kind of other TYPO3 dimension. But 
until now I tought the TYPO3 cache expire field would get set 
depending on the lowest tstamp from all content displayed.


So if you have a page showing two content elements, and one changes 
visibility in 3 hours, and the other on in 2 hours, the expire timestamp 
will be set to 2 hours in the future, invalidating the cache page as 
soon as a displayed element changes visibility 



But I checked this right now even in TYPO3 3.8.1 and it isn't the case 
as I tought. Would be a good thing to implement such a feature, as it 
would improve using the start/stop visibility settings without setting 
the page-cache timeout to a very low value.



The way I described this would allow a page to stay in cache until its 
content really changes.



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


Re: [TYPO3-english] tt_news - formatting single element view

2010-02-02 Thread Bernhard Kraft

De Contardi Riccardo wrote:


In single view, text and images are wrapped with divs as they were text
with image elements

(div class=csc-textpic csc-textpic-intext-rightdiv
class=csc-textpic-imagewrap and so forth...)

What if I'd want to get rid of this behaviour? 


Do you use one of the default templates or your own custom template?
Did you include the traditional TS or the CSS based TS template?

You could use the TypoScript Object Browser to locate the wrap.


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


Re: [TYPO3-english] RealURL: valueMap and different languages in one domain

2010-02-02 Thread Bernhard Kraft
Marcus 'biesior' Biesioroff schrieb:

 2. while using tableLookUp - I've no idea how to get localized values
 from title overlay field (for an example from table: tt_news_cat) in
 fact if there's no other possibility I would use valuMap config for that
 part, but it's dependent at the first point of my problem still :)

Instead of using lookUpTable you could use userFunc and write your own
custom user functions, which takes the current language in account when
encoding, decoding the url-part.

Probably there is already some userfunc snippet out there for this case, if
not it would be fine if you could put it on snippets.typo3.org if you
create such a userFunc.


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


Re: [TYPO3-english] wfqbe - default values for insert forms?

2010-02-02 Thread Bernhard Kraft
untangler schrieb:

 I use wfqbe to generate forms for new data input into the database. For
 standard it works very well.
 
 How can I insert some default values, which are to be pre-fetched from a
 database-table, into some fields of a insert form for a new record?

I know no way of fetching default values from some other records. But could
simply set the 'default' value in TCA. You could do this in

typo3conf/extTables.php

By adding a line like:

$GLOBALS['TCA']['tx_yourtable']['columns']['tx_yourfield']['config']['default']='Your-Default';



Another way would be to set TSconfig like:

TCEFORM.tx_yourtable.tx_yourfield.config.default = Your Default Value

But for this to work you would have to add the entry default to the
allowOverrideMatrix array in t3lib/class.t3lib_tceforms.php, so you
modify the core of TYPO3:

$this-allowOverrideMatrix = array(
  'input' = array('size', 'max'),
  'text' = array('cols', 'rows', 'wrap'),
  'check' = array('cols', 'showIfRTE'),
...

So the line 'input' should look like:

  'input' = array('size', 'max', 'default'),

Which will allow you to set the above TSConfig line (TCEFORM.tx_yourtable...)


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


Re: [TYPO3-english] thumbs not generated in backend when files contain Chinese Character.

2010-01-08 Thread Bernhard Kraft
Gideon So schrieb:

   I found that thumbs are not generated in backend when files contain
 Chinese Character.I tried to rename file name to english and all the
 thumbs are generated correctly.
 
   It was all fine with 4.2.9. This problem only appears after I upgrade
 to 4.2.10.

Hello!

Which operating system are you using? And on what kind of filesystem are
those files located? Is the filesystem using utf-8 (or which codepage in
the case of vfat/ntfs?). Have you set your TYPO3 to forceCharset=utf-8 or
are you using simplified/traditional chinese charset (gb2312, big-5) ?


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


Re: [TYPO3-english] file secure access

2009-12-29 Thread Bernhard Kraft
Roberto Torresani schrieb:

 If I try to open a file from backend I receive an access error (as
 configured in htaccess)
 There is possibility to set in backend a secure access as in frontend? So
 the backend user have always access to the files stored?

A solution would be to use Apache htaccess username/passwords.
As soon as a BE user would try to access one of those secured files
directly (without a php-wrapper) he would get one of those well known
browers login-boxes.

Another solution could be you give access to the files only to specific IPs
if the network setup of your customer allows this: meaning your customer
only accesses TYPO3 from within his company network and has a static IP.

It is not really (easy) possible to check the TYPO3 cookies from within an
htaccess.


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


Re: [TYPO3-english] logoff function in class.t3lib_userauth.php

2009-12-26 Thread Bernhard Kraft
Pero Matic schrieb:
 Hi. Does anybody know why logoff function from class.t3lib_userauth.php is 
 called on every page. Shouldn't this only be called when FE user wants to 
 logout? Thx!

It only gets called if you are not logged in while browsing the FE or if
your session has timed out. This is to just make sure any eventually set
login sessions will get deleted if you have logged out.

If you do want to take any action on real logoff's in one of the logoff
method hooks, you could simply check if the GET variable logintype=logoff
is set. If this is the case it is a logout requested by the browsing user.


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


Re: [TYPO3-english] Cache and content objects

2009-12-26 Thread Bernhard Kraft
Pero Matic schrieb:

 Yep, it was set to USER. Changed it, so i hope it will not be cached any 
 more. Thank you !!! 

Pleased to help you ...


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


Re: [TYPO3-english] Use Template from starage folder.

2009-12-13 Thread Bernhard Kraft

Flemming wrote:

when I create a new site, I can’t get it to use the storage folder from 
its own structure that its set to use, but instead it uses a template/DS 
from another site on all the pages/subpages, if I however move the hole 
site/structure into another site everything works fine, I think 
something is set to overrule somehow, but I can’t find it, It doesn’t 
make any sense to me, so if anyone have a clue …pleas help.. Thanks


Hello !

First I assume you use TemplVoila ;) Else you wouldn't have DS/TO. First 
check the rootline from the page for which you want to set a new DS/TO 
if any of those pages has set the General record storage page.


The rootline means to check the page on which you are going to set the 
DS/TO, then its parent page, etc. Usually such a setting overrules 
settings of its parent page.


Another possibility would be, that on some of the pages in the rootline 
you have a TSConfig setting:


# 123 = Storage Folder
TCEFORM.pages.tx_templavoila_ds = 123
TCEFORM.pages.tx_templavoila_to = 123


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


Re: [TYPO3-english] sorting content element problem

2009-12-13 Thread Bernhard Kraft

Matias Coca wrote:


yes I am using TV...


Then you can't use sorting because TV completely ignores it.


You could use my extension kb_tv_cont_slide. It allows you to retrieve 
the values of a TV field usually for inheriting content elemnts.



tt_content.menu.20.3.table 
tt_content.menu.20.3.select 
tt_content.menu.20.3 = RECORDS
tt_content.menu.20.3 {  
source {
postUserFunc = tx_kbtvcontslide_pi1-main
# Change this parameter to conform to your DS
postUserFunc.field = templavoila_content_elements_field
postUserFunc.table = tt_content
}
tables = tt_content
conf.tt_content  .renderObj

# Check if sectionIndex!=0
conf.tt_content.if.isTrue.field = sectionIndex
}

Of course you would have to install kb_tv_cont_slide first if this is no 
problem for you.


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


Re: [TYPO3-english] cType Text /w images without upload?

2009-11-30 Thread Bernhard Kraft
B.Wolf schrieb:

 With the rgmediaimages-extension and the video and audio files plugin
 thats possible, but I want text video in 1 content object, not in 2...

Probably you could simply use the HTML content element? Paste in the
youtube embed link + your text in a p tag should get what you want. Not
very comfortable but should work.


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


Re: [TYPO3-english] conditional menu based on menu page-id

2009-11-30 Thread Bernhard Kraft
David Banning schrieb:

 
 [globalVar = TSFE:id=799]
libmenu.1.IFSUB.doNotLinkIt = 1
 [END]
 

This does not work, cause conditions get evaluated when the TypoScript gets
parsed. Not when it gets executed.

You could compare this to #define statements in a C-Program. They will
get replaced when the programm is compiled, not upon execution.


To solve your problems you could use a CASE typoScript object, doing
different things depending on some variables. Since 4.3 the doNotLinkIt
property does have stdWrap properties, altough this is currently not
documented in TSref, because the documentation needs to get updated for 4.3

But if you already use the new 4.3 version of TYPO3 or can update to it you
can do something like:

-
lib.1.IFSUB.doNotLinkIt.cObject = CASE
lib.1.IFSUB.doNotLinkIt.cObject {
key.data = TSFE:id

default = TEXT
default.value = 0

799 = TEXT
799.value = 0
}
-

This is something like a PHP/C switch statement. The property key
defines the value to examine and the single cObjects like 799 define the
value to return in case the key contains it's value.

The value of the cObject default will get returned if no other values
match. I guess it would also be ok to leave it just away in the above example.


greets,
Bernhard

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


Re: [TYPO3-english] TypoScript / PHP Interaction

2009-11-28 Thread Bernhard Kraft

Krystian Szymukowicz wrote:


Excellent. Must read for every TYPO3 extension programmer!



I'll post a link to it to Francois Suter, who is responsible for 
documentation currently. Probably he can include it into some 
documentation like doc_core_api or similar.



thanks for the praises!


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


[TYPO3-english] TypoScript / PHP Interaction

2009-11-26 Thread Bernhard Kraft
Hello !

Just for anyone interested. I wrote a little documentation about how
TypoScript and PHP interact with each other, and a little explanation of
how COA and other content objects work and can get rendered from within
PHP. If anyone is interested in some good read:

http://wiki.typo3.org/index.php/TypoScript_-_PHP_Interaction

PS: I always find it good to resize the browser to a more narrow size when
reading such wiki entries, so you do not have very long lines.


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


Re: [TYPO3-english] Redirect user after login

2009-11-25 Thread Bernhard Kraft
Valentín Miguel schrieb:
 Hi,
 I would like know how to redirect an user after registration depending
 on the group that belong. For example, when the user group with uid=1
 register go to page id=5, and when the user group with uid=2 go to page
 id=6

Hello !

I think I remember using dkd_redirect_at_login for this case some years
ago :( But this extension is marked to work with TYPO3 3.5.0 - so I do not
know if it still works.

But if you search for redirect in TER, you'll find a lot of extension
where one of them probably meets your requirements.


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


Re: [TYPO3-english] static_info_tables

2009-11-23 Thread Bernhard Kraft

Georg Schönweger wrote:

i know, but if i click there i get the message: No tracker is associated
to this project. Please check the Project settings.


Then you should probably contact the project admin, Franz Holzinger:

http://forge.typo3.org/account/show/824

To add a tracker for bugs, tasks, etc. to this extension, and inform him 
about the missing information for Italia.



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


Re: [TYPO3-english] Adding FCE with TS ??

2009-11-23 Thread Bernhard Kraft

André L. Keidser wrote:


I would like to take a FCE that I have and put that in to an area that
is defined as typoScripObjectPath with help of TS. I know how to do it
with ordinary contents and plugins but not flexible contents... Is it
possible?




# quite easy ;)
lib.yourObjectPath = RECORDS
lib.yourObjectPath {
tables = tt_content
# UID of your content element
source = 123
}



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


Re: [TYPO3-english] Configuration space for plugins (?)

2009-11-23 Thread Bernhard Kraft

Francois Suter wrote:

That's what I think too. I'll write that down as a possible clean up to 
do at some point.


Hello !

I found an issue with T3Core-API:

http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.2.0/view/4/2/#id4272080

Search for

Means that the relation to the records of

This term occurs exactly twice in TSref. At the upper one the whole 
sentence is:



Means that the relation to the records of foreign_table / 
new_foreign_table is done with a M-M relation with a third join table.



I guess the new_foreign_table should be neg_foreign_table instead. 
As there is no property new_foreign_table for a type=select TCA field.



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


Re: [TYPO3-english] Strange GIFBUILDER issue

2009-11-10 Thread Bernhard Kraft
Gerhard Mehsel schrieb:

 I think I just found a solution:
 On my system (lenny, PHP 5.2.6-1lenny3) I had the php5-suhosin module
 installed. After removing that module all my headers are generated
 correctly. Halleluja, I hope it is working now.

Hello !

The suhosin module adds a bit of security to your server. So removing it
wont be a clever idea in every case.

Please drop me a mail if the problem occurs again (even without suhosin
installed). I'll try to have a look if the described issue no constants
being inserted into setup really occurs ...


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


Re: [TYPO3-english] FE logout and browser back button

2009-11-03 Thread Bernhard Kraft
Katja Lampela schrieb:

 I stumbled on this: a logged out FE visitor can press the back button of
 the browser and he gets the previous view even though the page is in the
 access restricted area and no cache type (or configured so).

Think about the following: If the user would have saved all pages to disk
he could still view them on the next day - without logging in.

Altough it could be possible you find some HTTP headers forcing the browser
to reload history pages, I guess most browsers implement the Back button
like you described.

I just had a look at facebook. There your described behaviour doesn't occur.
You should probably check what HTTP header such applications like facebook,
gmx, etc. are sending, and play around with those.


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


Re: [TYPO3-english] Is there anyone

2009-11-03 Thread Bernhard Kraft
Wade Courtney schrieb:
Subject: Is there anyone
 On the face of this planet that can help me unsub from this list.

Hey man - we must really have bored him extremely so he begs us for mercy - äh. 
unsubscription.


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

Re: [TYPO3-english] R: R: R: pdf_generator2 + realurl

2009-11-03 Thread Bernhard Kraft
De Contardi Riccardo schrieb:

 BTW, As I've not a deep knowledge of realurl (I'm pretty sure I've took these 
 lines from someone else's configuration), what were they supposed to do?
 [...]

 // Powermail validation page type helper
 array (
  'GETvar' = 'type',
  'valueMap' = array (
  'validation' = '3131'
  ),
  'noMatch' = 'bypass'
 ),

I do not know powermail exactly, but AFAIU those lines are there for allowing 
you to
pass your content to some HTML validator or anything similar (ok. that's just a 
guess.)


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


Re: [TYPO3-english] tt_content title condition

2009-11-02 Thread Bernhard Kraft
Sergio Catalá Gil schrieb:

 The articles' titles are shown on the frontend but links are not
 generated correctly. Any clue to display them fine? I think I have to
 use typolink attribute but I'm not sure how. 

I guess this one:

conf.tt_news = tt_news

should be:

conf.tt_news = plugin.tt_news

I currently to not know - probably tt_news defines a top-level element
named tt_news. If it does so, you should check this using the TypoScript
Object Browser to find out how it gets rendered and why it doesn't show your
link.


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


Re: [TYPO3-english] R: R: pdf_generator2 + realurl

2009-11-02 Thread Bernhard Kraft
De Contardi Riccardo schrieb:

 In fact, in preVars I Have:
 
 // Powermail validation page type helper
 array (
  'GETvar' = 'type',
  'valueMap' = array (
  'validation' = '3131'
  ),
  'noMatch' = 'bypass'
 ),

If you remove this (by uninstalling powermail) it should work. Or simply adopt
the powermail extension not to set this array.

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


Re: [TYPO3-english] R: pdf_generator2 + realurl

2009-10-31 Thread Bernhard Kraft
De Contardi Riccardo schrieb:
 Hi Bernhard,
 Thank you for your answer...but it doesn't work, either :(
 The link remains 
 http://typo3.local/mypage/

Ok. For me this looks like you handle the type var already somewhere else.

Probably you have set some config for type in the preVars or postVars
section. When type variable is handled there, it will get removed from the
realURL internal array of GET vars, and the fileName section will not work.


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


Re: [TYPO3-english] Need help unsubscribing

2009-10-31 Thread Bernhard Kraft
Wade Courtney schrieb:
 I need help unsubscribing from this list. I have tried through the web page 
 but I never get a confirmation email can anyone help me

At the very bottom of this page:

http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

You'll have to fill in your email and use the button Unsubscribe or edit 
options
You should then get a mail containing your subscription information, and a link 
for
unsubscribing.

BTW: You'll have to use the email address you used to subscribe (so the address 
of the
account you get your mails delivered to).


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


Re: [TYPO3-english] Extending fe_users with RTE for sr_feuser_register problem

2009-10-31 Thread Bernhard Kraft
Matthew Colton schrieb:

 So far everything worked fine, but I defined one of the new fields as RTE. It 
 seems this is ignored as a plain text area is rendered in the FE.

Usually the FE does not really care much about TCA. If you defined the field as 
RTE
in the BE, and you can use the RTE when editing the user-record, this wont mean 
you
also get an RTE in the FE.

I do not know if sr_feuser_register supports RTE fields for registering users, 
I doubt
it does. Of course I might just underestimate the widely used 
sr_feuser_register extension,
and it might support FE-RTEs right out of the box.


But I guess you'll have to use some RTE extension, allowing you to easily add 
RTEs to FE
pages. There are some FE-Plugins about RTE in the TER. Just search for RTE in 
the
Extension manager and have a look at the FE-Plugins section.



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


Re: [TYPO3-english] Export / Import Content for Lectorate

2009-10-31 Thread Bernhard Kraft
Stefan Isak schrieb:

 L10N can't handle this and I also can't find an appropriate configuration 
 to build a XML file using the t3d export  import functions.

You can export XML files from T3 pages, by using the common export tool. Simply
click on a page icon (clickmenu) and choose More optionsExport to .t3d

In the export interface go to the second tab Files  Presets, there you have a
option Fileformat. You can select XML as output format, which will render 
the
export file as XML.

I do not know exactly if you can import this again, but I guess it should be
possible, as it is just the interal raw format being written to the t3x.

(A t3x is a serialized array of pagedata, and gzip compressed eventually)


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


Re: [TYPO3-english] colPos for inline element in TCA?

2009-10-31 Thread Bernhard Kraft
Lee Perry schrieb:

 I need this, because it would be an easy way to have two different
 inline element fields in my data ('additional_content' with colPos=1 and
 'additional_marginal' with colPos=2) otherwise I have to add two more
 fields in the tt_content for different 'foreign_field's and
 'foreign_table_field's.

Usually you'll only need one parent field in the foreign table, pointing
to the record in which you created the IRRE field. When the IRRE field is
configured correctly, it should simply pull out all elements pointint to it.

As I have understood you now, you would like to have two IRRE fields, both
containing tt_content records - but of course different ones, and you'll select
them with an additional where in your IRRE configuration.

I guess the best solution would be to use two different MM tables, and using
the MM property of an inline (IRRE) field. If both fields use a different
MM table it would be possible to have different records in both fields.



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


Re: [TYPO3-english] Double Opt for direct Mail subscription

2009-10-21 Thread Bernhard Kraft
Andreas Becker schrieb:
 Hi Bernhard
 exactly this it was I am looking for. An admin has to accept too.It would be
 nice if you can find the stuf. Sorry that my description wasn't clear enough
 at first.

Ok. Found it. You owe me a Non-Alcoholic-Or-Caffeinated-Drink (NONCD) of
your choice whenever I meet you! ;)

---
# Double-Opt for direct-mail subscription
# (c) 2009 Bernhard Kraft kra...@think-open.at
plugin.feadmin.dmailsubscription {
# Set hidden to 3 on creation
  create.overrideValues.hidden = 3

# Redefine the setfixed.approve setup
  setfixed.approve.hidden 
  setfixed.approve.hidden {
# The magic formula is:
#   intval(hidden/2)*2
# Possible values in hidden field: 0, 1, 2, 3
# 0: intval(0/2)*2 = intval(0)*2 = 0*2 = 0  0 = 0
# 1: intval(1/2)*2 = intval(0.5)*2 = 0*2 = 01 = 0
# 2: intval(2/2)*2 = intval(1)*2 = 1*2 = 2  2 = 2
# 3: intval(3/2)*2 = intval(1.5)*2 = 1*2 = 23 = 2
#
# So: 0 or 1 will result in 0
# 2 or 3 will result in 2
stdWrap = 1
stdWrap.stdWrap = 1
stdWrap.stdWrap.dataWrap = {field:hidden}/2
stdWrap.prioriCalc = intval
stdWrap.dataWrap = |*2
prioriCalc = intval
  }
  setfixed.approvevia.hidden{
# The other magic is:
#   intval(hidden%2)
# % == modulo = remainder of division
# Possible values in hidden field: 0, 1, 2, 3
# 0: intval(0%2) = intval(0) = 00 = 0
# 1: intval(1%2) = intval(1) = 11 = 1
# 2: intval(2%2) = intval(0) = 02 = 0
# 3: intval(3%2) = intval(1) = 13 = 1
stdWrap = 1
stdWrap.dataWrap = {field:hidden}%2
prioriCalc = intval
  }
  setfixed.approvevia._FIELDLIST=uid
}
---

Just add this TypoScript to your registration (of course you can remove
unnecesary comments)



So to also write some proof of concept:

+++Fact I+++
Method approve can change the initial value (3) to (2).
Method approvevia can change the initial value (3) to (1).


+++Fact II+++
Each method, if called for more than one time, doesn't change the
already altered value:

After Method approve has been called once (2) it doesn't alter the
value any more and results in (2) again if called multiple times.

After Method approvevia has been called once (1) it doesn't alter the
value any more and results in (1) again if called multiple times.


+++Fact III+++
Each method, changes the value to (0) if the other method has been
called before.

After approve has been called (2) the second method approvevia will
change the value according to 2 = 0 which yields (0)

After approvevia has been called (1) the second method (approve) will
change the value according to 1 = 0 which yields (0)


... Ok. Even if you don't understand above facts. It works!
I do not know how I could proof this concept mathematically. Sad I did
not take university lessons ins logics, etc.


greets,
Bernhard










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


Re: [TYPO3-english] Extending TYPO3 Copy-Paste ability

2009-10-21 Thread Bernhard Kraft
Sancar Saran schrieb:

 Our system someting like frontend editing, its adds another data layer for 
 generating page structure and adding plugins/html content  and stores data in 
 different db table.

Well. If you change the way TYPO3 works, by adding another system for
page-structure, you more or less change the complete concept of TYPO3.

I can not give and advice in this case. Except the following: If you
still use TYPO3s copy/paste feature (and did not implement your own) the
best way to start would be to use one of the hookf of t3lib_tcemain.

I wrote in my last mail:

 As an alternative, you could use a hook in t3lib/class.t3lib_tcemain.php
 to take required steps whenever you copy a record. You can read about
 hooks here:


http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.2.0/view/3/4/

So go on an use a hook in t3lib_tcemain. Just open:
t3lib/class.t3lib_tcemain.php
and search for the word hook. You can read about the concept of hooks
under the above URL.


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


Re: [TYPO3-english] Double Opt for direct Mail subscription

2009-10-21 Thread Bernhard Kraft
Bernhard Kraft schrieb:

   setfixed.approvevia.hidden  {

Ähm. What I forgot to mention. You'll then simply use the markers:

###THIS_URL##FORM_URL##SYS_SETFIXED_approve###

In the mail to the customer:
!-- ###EMAIL_TEMPLATE_CREATE_SAVED### end--

And in the mail to the admin of the site:
!-- ###EMAIL_TEMPLATE_CREATE_SAVED-ADMIN### begin --

You'll use the marker:
###THIS_URL##FORM_URL##SYS_SETFIXED_approvevia###

Each of this approve-links does one of the actions specified in the
setfixed sections.


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

Re: [TYPO3-english] translation of menu titles

2009-10-21 Thread Bernhard Kraft
Simon Child schrieb:

 How can I fix  this?

Hello!

Which version of TYPO3 are you using, and could you tell me the current
setting of:

TYPO3_CONF_VARS[FE][pageOverlayFields]

in the install tool?


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


Re: [TYPO3-english] Add fields to plugin

2009-10-21 Thread Bernhard Kraft
Christian Lerrahn (Cerebrum) schrieb:
 Hi,
 is there an easy way of adding fields to the flexform of a plugin? I'd
 like to add several flags to the tt_news plugin. I've had a look at
 t3lib_extMgm.addPiFlexFormValue() but it seems I can only override with
 that not append.
 
 Is there also a way of appending more fields? Basically just like I can
 append fields in the TCA for a record type.

Search for the DS of the plugin. DS means DataStructure and in fact is
something like TCA in XML form. It should usually reside in a res/
directory of the plugin ... It is a simple XML file harboring the
columns part of a TCA, but as mentioned: in XML form.


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


Re: [TYPO3-english] Double Opt for direct Mail subscription

2009-10-21 Thread Bernhard Kraft
Andreas Becker schrieb:

 This is great, when are you coming. We will have several workshops for TYPO3
 coming up at UNESCO, 2 International Conferences and in our ThaiPo3
 Usergroup here in Phuket in the next months. It would be nice to have you
 here and you could also hang out a bit here in Phuket and enjoy diving in
 one of the best diving grounds of the world or visit, Phi Phi Island and
 enjoy Beaches all aroud Phuket. If you intend to move here we can provide
 you also with a work Permit and Visa - but don't forget to bring your family
 too. You could use one of our motobikes to enjoy Thailand. Yeah it is great
 here :-)

Hello !

Well. Currently I do not have the time. But if I plan my next longer
lastin holiday I will take your location into account. I do own a Padi
diving license and enjoyed diving very much whenever I had the
possibility to take a dive.

I know also know Georg Ringer personally from many of our TUGA (TUG
Austria) meetings and the snowboard tour ...

So when I'll plan my next holiday I'll probably come back to your offer.


For now we'll leave it with the open drink ;)


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


Re: [TYPO3-english] pieces of template disappearing on T3 4.2.8

2009-10-21 Thread Bernhard Kraft
De Contardi Riccardo schrieb:

 My problem is the following: some days ago I discovered that sometimes
 the link to the page containing the plugin tipafriend_plus
 disappeared mysteriously (the link is built via TS:

Hello !

I don't know if it helps in your case, but I once created an extension
called kb_watchdog which allows you to watch special output on a page.

I used it for catching 404 errors or realURL errors. The extension
watches the generated output, and if a specific string is found in the
content, it generates a log entry and sends you an email about the error
occured.


You could slightly modify it, to bark whenever the watchdog does NOT
find a specific string in the content (like your tipafriend link).

You can configure which information the extension should store upon
finding an error. You can define to store objects like TSFE or
variables like $_SERVER, $_GET, $_POST, $TYPO3_CONF_VARs, etc.

You could then look int $_GET or $_POST if some special parameters get
posted, which keep the tip-a-friend extension from generating the link.


But the whole process would require a little knowledge of PHP to modify
the extension and probably about the tip-a-friend extensions.

Don't know if it will help, but you can get the watchdog extension
either from my SVN:

https://svn.think-open.org/svn/kb_watchdog/trunk/
User/Password: guest/guest

The readme file gives you a clue what the extension can do and how to
configure it:

https://svn.think-open.org/svn/kb_watchdog/trunk/README.txt


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