[TYPO3-dev] Creating extension that is working in background

Rares Luca rluca at arxia.com
Thu Jan 12 09:48:34 CET 2012


Pe 12.01.2012 09:13, Dawid Pacholczyk a scris:
> Hmm a bit more you want :)
>
> For example. I have a module that defines too what pars of my site user
> has access. I don`t mean to what pages but for example can he see this
> article off tt_news, can he access to some special content etc.
>
> Now I need to create a background service that works on my site and
> whenever user want to make an actions this service picks up his module,
> read the definitions and decide should this content be displayed to him
> or not.
>
> Now my problem is how to add to my site such service that works on every
> site, every time.
>
> Best regards,
> Dawid Pacholczyk
>
> W dniu 2012-01-12 09:08, Henjo Hoeksma pisze:
>> Hi Dawid,
>>
>> please expand a little more on what you want to achieve. What should the
>> outcome be like?
>>
>> Kind regards,
>>
>> Henjo
>>
>> Problems are small because we learned how to deal with them.
>> Problems are big because we need to learn how to deal with them.
>>
>>
>> On Thu, Jan 12, 2012 at 08:56, Dawid
>> Pacholczyk<dpacholczyk at gmail.com>wrote:
>>
>>> W dniu 2012-01-12 08:48, Xavier Perseguers pisze:
>>>
>>> Hi,
>>>>
>>>> I want to create an extension that works in background and check every
>>>>> move of my users. How can I do that ? How can I add plugin like this ?
>>>>>
>>>>
>>>> I guess that "move" means "copy, creation, deletion, ..." of records.
>>>>
>>>> You should register a hook to t3lib_TCEmain. Please read this as
>>>> kickstart:
>>>> http://forge.typo3.org/issues/**14564<http://forge.typo3.org/issues/14564>
>>>>
>>>>
>>>> HTH
>>>>
>>>>
>>> Sorry for so little information. Hard start of day.
>>>
>>> First of all I mean FE users. I want to build advanced authorization
>>> system. I want to check what elements to display etc. So I need to have
>>> this "service" on every page every time when user displays it.
>>>
>>> Best regards,
>>> Dawid Pacholczyk
>>>
>>> ______________________________**_________________
>>> TYPO3-dev mailing list
>>> TYPO3-dev at lists.typo3.org
>>> http://lists.typo3.org/cgi-**bin/mailman/listinfo/typo3-dev<http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev>
>>>
>>>
>
Having your access rights saved in the logged in user records, you could 
look into the typo3/sysext/cms/tslib/class.tslib_fe.php and pick the 
hook(s) that best fit(s) your needs




More information about the TYPO3-dev mailing list