Widget.js is a twitter library. The library throws an exception because the
twitter-timeline link tag is within the twitter timeline div as explained
in the twitter ticket.

But the problem needs to be fixed in admin/views/default/site.html

[image: Inline images 1]

The twitter-timeline class needs to be removed from the div.

[image: Inline images 2]

[image: Inline images 3]

And the twitter widget works again...

[image: Inline images 4]

Thanks for looking into this. I know it's not a big one but people get
concerned when errors are flagged in firebugs.

Cheers,
Dennis

On 3 October 2015 at 16:12, Massimo Di Pierro <[email protected]>
wrote:

> what is widget.js? It does not come with web2py.
>
> On Monday, 28 September 2015 04:58:10 UTC-5, Dennis Bauszus wrote:
>>
>> Web2py version 2.12.2.
>>
>> The admin site is throwing* Error: widgetId is a required parameter*
>> from the widget.js library.
>>
>> This is caused by the twitter-timeline link tag being inside a
>> twitter-timeline container element.
>>
>> This confuses the widget extraction code as noted in this post
>> <https://twittercommunity.com/t/error-widgetid-is-a-required-parameter/50977>
>> on the twitter community.
>>
>> I am only starting to work with web2py so I don't really understand where
>> the container name is defined within the web2py code.
>>
>>
>> <https://lh3.googleusercontent.com/-onx3CqE2Ihk/VgkNlQlqkMI/AAAAAAAAJns/gNt_s_PZ1O0/s1600/Capture.PNG>
>>
>>
>>
>> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/web2py/YN5VV-tpP6g/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to