Hello Dimitry,
The trick was to ensure, that $pid contains a pageId, that have a
template. That was the problem during the debugging, with admin i used a
page with a template with the normal user i used a subpage of the page
with a template.
My solution was reading a constant which contains th
Hello Dimitry,
thanks for your answere.
> Basically you did what I said: you moved "$GLOBALS['BE_USER']->user['admin']
> = 1" above "$tce->start(...)".
This line was in the beginning of the function in the first post, thats
why i meant, thats not the goal - as far as i understand what you meant
Hi!
Kay Strobach wrote:
> thanks a lot for the hint, but thats not the goal.
I do not understand. My proposal worked because:
> The variable $saveId should point to the nearest template relative to
> pid. That's working as admin f.e. $saveId=71=uid of template, but not as
> normal user ($saveId
Dmitry Dulepov schrieb:
> Move "$GLOBALS['BE_USER']->user['admin']=$userStatus;" above
> "$tce->start($recData,Array());".
>
Hello Dimitry,
thanks a lot for the hint, but thats not the goal.
After quite a while of testing i found out the following:
[snip complete code in first post]
$recDat
Hi!
Kay Strobach wrote:
> The following code works perfectly as BE User with admin=1.
> It should calculates the value of all constants for the fe. And
> changes the one defined with name und sets it to the given
> value.
>
> Is there anyway to make a normal user temporaly
Hello guys,
I'm currently having some problem with changing TSconstants as non
privileged user.
The problem came up during the development of a customer management
solution in typo3, which enables typo3 to handle many customers in one
installation.
Systemenvironment:
TYPO3 4.2.8