Here is something I tried and I can't find an explanation for. I downloaded
[15128] in stead of [15109] and it worked! I am going to do a diff and see
what are the differences. I just thought I 'd update you.
Also, I added the 'os.path.normpath' to
{{{
if env_path != os.path.normpath(self.env.path):
}}}
but it didn't help.
Any suggestions where to look?
Thanks,
On Monday, December 21, 2015 at 3:43:17 PM UTC-5, Ahmed M. wrote:
>
> I found that I wasn't using the [15109] so I downloaded it, created the
> egg, replaced the one in my plugins directory but I don't see the ticket
> mover side bar anymore?!! Last time I had this problem the issue was in my
> wsgi file and that was fixed before. I re-deployed both of my trac sites
> and the mover side bar isn't showing up. Also no relevant messages in the
> log file. I followed the troubleshooting steps you mentioned to me in a
> previous message.
>
> My plugins directory is c:/trac_stuff/plugins and my two trac sites are
> c:/trac/swtrac and c:/trac/hwtrac. I am completely puzzled with this.
>
> Any other troubleshooting idea you can give me?
>
> Thanks in advance ...
>
> On Thursday, December 17, 2015 at 3:53:20 PM UTC-5, RjOllos wrote:
>>
>>
>>
>> On Thursday, December 17, 2015 at 6:49:31 AM UTC-8, Ahmed M. wrote:
>>>
>>>
>>>
>>> On Tuesday, December 15, 2015 at 6:29:42 PM UTC-5, RjOllos wrote:
>>>>
>>>>
>>>>
>>>> On Tue, Dec 15, 2015 at 3:16 PM, Ahmed M. <[email protected]> wrote:
>>>>
>>>>> One thing I could use some help on is customizing the box that has the
>>>>> ticket mover button and combo box. ticketmover-sidebar.html doesn't have
>>>>> any references to a css style sheet. there is a style sheet in
>>>>> "C:\trac\hwtrac\htdocs\common\css\ticket-sidebar.css" but changing that
>>>>> doesn't make any difference. Any thoughts on that?
>>>>>
>>>>> Ahmed
>>>>>
>>>>
>>>> The outer div has class "sidebar", so you could add rules to a custom
>>>> stylesheet.
>>>> http://trac.edgewall.org/wiki/TracInterfaceCustomization#SiteAppearance
>>>>
>>> *I tried that but didn't have any luck. I still need to do some reading
>>> on that. I tried adding the css style inline with the html code in the
>>> template and it worked just fine *
>>>
>>
>> Simplified steps that should work:
>> 1. Add the site.html given in [1] to your environment (or a shared)
>> templates directory.
>> 2. Create an empty style.css in your environment (or a shared) htdocs
>> directory.
>> 3. Refresh static resources [2].
>> 4. Restart web server.
>>
>> You should then be able to navigate to any page on your site, see a link
>> to style.css in the HTML source code, and open the style.css file. If that
>> works, then you can repeat by editing style.css and refreshing static
>> resources.
>>
>> [1]
>> http://trac.edgewall.org/wiki/TracInterfaceCustomization#SiteAppearance
>> [2] http://trac.edgewall.org/wiki/TracUpgrade#a5.Refreshstaticresources
>>
>>
>>> * I have one question though, how do I prevent the drop-down menu from
>>>> showing the current project? I tried to move a ticket to the same project
>>>> and it worked - is there a way I can remove the current project from the
>>>> list?*
>>>>
>>>
>> I assume you are running the latest version of ticket mover, or at least
>> [15109] committed on 2015-12-10. The program logic should prevent the
>> current project from being added to the list:
>>
>> https://trac-hacks.org/browser/ticketmoverplugin/trunk/ticketmoverplugin/web_ui.py?rev=15109&marks=65#L57
>> and that seems to work according to testing I've done on Mac OSX. So I'm
>> unsure what could be different in your case, but I imagine it must have
>> something to do with the path representation on Windows.
>>
>> Maybe we need to use normpath [1] in the comparison, since it's already
>> used for env_path [2]:
>>
>> env_path != os.path.normpath(self.env.path)
>>
>> [1] https://docs.python.org/2/library/os.path.html#os.path.normpath
>> [2]
>> http://trac.edgewall.org/browser/tags/trac-1.0.9/trac/web/main.py?marks=773#L751
>>
>
--
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.