As of now, I don't know of any. I was unable to find a way to force
the correct ordering in tw2. If somebody has a way, I'll update
tgext.menu and release tonight.

I'm sorry I don't have better news.

On Mon, Jan 24, 2011 at 9:15 AM, Robert Sudwarts
<[email protected]> wrote:
> re my earlier question: I've just spotted the following error ticket
> regarding the ordering of the js as it's injected using TW2.
> https://bitbucket.org/pedersen/tgext.menu/issue/12/tw2-does-not-respect-resource-ordering
>
> I'm using (and wish to only use) TW2 in my project.... is there any sort of
> patch to force the correct ordering? That should solve my problem.....
> Regards,
> Rob
>
>
>
> On 24 January 2011 14:01, Robert Sudwarts <[email protected]> wrote:
>>
>> Hi,
>> I've installed tgext.menu and tried to get it running using a freshly
>> quickstarted project but I'm getting the following js errors:
>> $ is not defined
>>      $(function() {
>> and:
>> $("#navbar").jdMenu() is not a function
>>    $("#navbar").jdMenu();
>> I'm pretty certain that all of the dependencies have correctly installed.
>> In app_cfg.py I have added the following lines:
>> base_config.use_toscawidgets2 = True
>> base_config.use_toscawidgets  = False
>> base_config.variable_provider = tgext.menu.menu_variable_provider
>> base_config.tgext_menu = {}
>> base_config.tgext_menu['inject_css'] = True
>> The HTML generated by master.html / index is injecting the js and css
>> using a URL starting "/resources/"  eg.
>> /resources/tgext.menu.util/static/js/jquery.jdMenu.js
>> Having used the example @navbar('My || Sub || Menu')  I am seeing a just a
>> single blue 'bar' showing "My" ... [so it's rendered and rendered with
>> css]...  but the subordinate levels "Sub" and "Menu" aren't present
>> (obviously, as there's a js error!!)
>> But clearly the $("#navbar").jdMenu() isn't being picked up... Is there
>> anyway to track down what's going wrong?
>> Any help would be appreciated!
>> Thanks,
>> Rob
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "TurboGears" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/turbogears?hl=en.
>



-- 
Michael J. Pedersen
My IM IDs: Jabber/[email protected], ICQ/103345809, AIM/pedermj022171
          Yahoo/pedermj2002, MSN/[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to