Pretty nice tips... I was getting problem about refreshing for some other
thing.

Thanks a lot for the cue Anthony!

I was searching hard actually for this mystic helpicon function ;-)

Richard

On Wed, Apr 6, 2011 at 11:54 AM, Anthony <abasta...@gmail.com> wrote:

> On Wednesday, April 6, 2011 11:33:14 AM UTC-4, Richard wrote:
>>
>> Hello,
>>
>> I try to figure out how works the help bubbles of admin app...
>>
>> I try to bring this line into my own app view then I get helpicon() not
>> define...
>> <span class="tooltip">{{=helpicon()}} <span>{{=T("The data representation,
>> define database tables and sets")}}</span></span>
>>
>> I can't find this var or function no where...
>>
>
> There's a model file called 'buttons.py' in the models folder that defines
> the helpicon() function. It may seem odd to put that in the "models" folder,
> but one useful thing about model files is that they are executed on every
> request, so everything in them is available in all controllers and views.
> Because of that, some people put site-wide helper functions in model files.
>
> Anthony
>

Reply via email to