well how to use this plugin? I am unable to view any documentation for 
this. Please direct me and how can I get the menus with help of this 
plugin? give me some thoughts.


On Thursday, January 16, 2020 at 3:33:36 PM UTC+5:30, hasienda wrote:
>
> Am 16. Januar 2020 07:34:32 MEZ schrieb Velu Narasimman <
> [email protected] <javascript:>>:
>>
>> Well, I am getting menu as a dictionary as shown below,
>>
>> {'mainnav': [{'active': False, 'name': 'project', 'label': <Element "a"
>> >}, {'active': False, 'name': 'added_common', 'label': <Element "a">}, {
>> 'active': False, 'name': 'admin', 'label': <Element "a">}, {'active': 
>> False, 'name': 'reports', 'label': <Element "a">}, {'active': False, 
>> 'name': 'metrics', 'label': <Element "a">}, {'active': False, 'name': 
>> 'mytimesheet', 'label': <Element "a">}, {'active': True, 'name': 
>> 'myprojects', 'label': <Element "a">}, {'active': False, 'name': 
>> 'timesheetapproval', 'label': <Element "a">}], 'metanav': [{'active': 
>> False, 'name': 'login', 'label': u'logged in as karthikeyan.nagaraja'}, {
>> 'active': False, 'name': 'logout', 'label': <Element "a">}, {'active': 
>> False, 'name': 'prefs', 'label': <Element "a">}, {'active': False, 'name'
>> : 'about', 'label': <Element "a">}]}
>>
>> I get this, when I refresh the web page in my browser. These menus are 
>> dynamic, differs among different users based on the permissions that they 
>> have in system. But I wish to generate this without using a browser. So how 
>> can I make a web request handling in program itself and the above menus?
>>
>>     
>>
>> On Thursday, January 16, 2020 at 10:24:17 AM UTC+5:30, Velu Narasimman 
>> wrote:
>>>
>>> Hi,
>>>
>>>     I am using MenusPlugin <https://trac-hacks.org/wiki/MenusPlugin> 
>>> for displaying submenus. I need to get all the menus that are about to be 
>>> displayed for a user even before he logs into the site.  Is it possible? If 
>>> yes, how shall I do it in a back-end program? Please share me your ideas.
>>>
>>>     Thanks in advance.
>>>
>>
> So you know about XML-RPC-Plugin [1]?
>
> IMHO this is the most standardized non-browser access to enabled Trac 
> sites.
>
> [1] https://trac-hacks.org/wiki/XmlRpcPlugin
>
> Mit freundlichem Gruß
>
> Steffen Hoffmann
>

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/79e7c408-3994-4888-8237-04d929709742%40googlegroups.com.

Reply via email to