[Trac] Re: How to avoid Available Projects info using tracd
On Fri, May 8, 2009 at 3:38 PM, Pedersen herontechnol...@gmail.com wrote: Thanks Olemis - I have been trying to use [1] but couldn't make it work. Can you provide additional clues (please see orignal post). Fairly simple (Ubuntu Hardy) ... see below {{{ $ vim /tmp/iface.html $ export TRAC_ENV_INDEX_TEMPLATE=/tmp/iface.html # This a script I use to start tracd ;) $ trac-init 8000 projects }}} The template I used looks like this {{{ #!html !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; html xmlns=http://www.w3.org/1999/xhtml; xmlns:py=http://genshi.edgewall.org/; xmlns:xi=http://www.w3.org/2001/XInclude; head titleAvailable Projects/title /head body h1Analyzing the problem from a different perspective /h1 Be honest ... this is the most wonderful page you've ever seen ... /body /html }}} and on accessing http://localhost:8000/ this is what I c : {{{ #! html !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; html xmlns=http://www.w3.org/1999/xhtml; head titleAvailable Projects/title /head body h1Analyzing the problem from a different perspective /h1 Be honest ... this is the most wonderful page you've ever seen ... /body /html }}} D'u c what I c ? -- Regards, Olemis. Blog ES: http://simelo-es.blogspot.com/ Blog EN: http://simelo-en.blogspot.com/ Featured article: Regards, Olemis. Blog ES:http://simelo-es.blogspot.com/ Blog EN:http://simelo-en.blogspot.com/ Featured article: Here comes the Sun ... turu ruru. It's Oracle's ! -http://feedproxy.google.com/~r/simelo-es/~3/EMxV1KHhl60/here-comes-su... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: How to avoid Available Projects info using tracd
Yes, I c what u c :) Thanks Olemis that did the trick - I was just about to move Trac to Apache - but you just saved my day! Thanks again, Pedersen On May 12, 12:21 am, Olemis Lang ole...@gmail.com wrote: On Fri, May 8, 2009 at 3:38 PM, Pedersen herontechnol...@gmail.com wrote: Thanks Olemis - I have been trying to use [1] but couldn't make it work. Can you provide additional clues (please see orignal post). Fairly simple (Ubuntu Hardy) ... see below {{{ $ vim /tmp/iface.html $ export TRAC_ENV_INDEX_TEMPLATE=/tmp/iface.html # This a script I use to start tracd ;) $ trac-init 8000 projects }}} The template I used looks like this {{{ #!html !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; html xmlns=http://www.w3.org/1999/xhtml; xmlns:py=http://genshi.edgewall.org/; xmlns:xi=http://www.w3.org/2001/XInclude; head titleAvailable Projects/title /head body h1Analyzing the problem from a different perspective /h1 Be honest ... this is the most wonderful page you've ever seen ... /body /html }}} and on accessinghttp://localhost:8000/this is what I c : {{{ #! html !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; html xmlns=http://www.w3.org/1999/xhtml; head titleAvailable Projects/title /head body h1Analyzing the problem from a different perspective /h1 Be honest ... this is the most wonderful page you've ever seen ... /body /html }}} D'u c what I c ? -- Regards, Olemis. Blog ES:http://simelo-es.blogspot.com/ Blog EN:http://simelo-en.blogspot.com/ Featured article: Regards, Olemis. Blog ES:http://simelo-es.blogspot.com/ Blog EN:http://simelo-en.blogspot.com/ Featured article: Here comes the Sun ... turu ruru. It's Oracle's ! -http://feedproxy.google.com/~r/simelo-es/~3/EMxV1KHhl60/here-comes-su... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: How to avoid Available Projects info using tracd
On Mon, May 11, 2009 at 3:16 PM, Pedersen herontechnol...@gmail.com wrote: Yes, I c what u c :) Thanks Olemis that did the trick - I was just about to move Trac to Apache - but you just saved my day! BTW ... using Apache it's similar too ... ;) -- Regards, Olemis. Blog ES: http://simelo-es.blogspot.com/ Blog EN: http://simelo-en.blogspot.com/ Featured article: --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: How to avoid Available Projects info using tracd
On 05/08/2009 07:14 AM, Pedersen wrote: Is that possible? Not using tracd, I would use the restrictiosn availables through apache. -- Chef de projet chez Vectoris Phone: +261 33 11 207 36 System: xUbuntu 8.10 with almost all from package install http://www.google.com/search?q=mihamina+rakotomandimby --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: How to avoid Available Projects info using tracd
On 05/08/2009 07:14 AM, Pedersen wrote: Thanks Jeff, but that doesn't work since it only allows one project. Create many trac that have only one project. -- Chef de projet chez Vectoris Phone: +261 33 11 207 36 System: xUbuntu 8.10 with almost all from package install http://www.google.com/search?q=mihamina+rakotomandimby --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: How to avoid Available Projects info using tracd
On Thu, May 7, 2009 at 11:14 PM, Pedersen herontechnol...@gmail.com wrote: Thanks Jeff, but that doesn't work since it only allows one project. I need tracd to support multiple projects, but not show Available Projects. Is that possible? Why dont you use the tips in here [1]_ and provide a static web page at startup ? I think it's fairly possible to do it this way - I just tested that in my testing server ;o) -. .. [1] TracInterfaceCustomization (http://trac.edgewall.org/wiki/TracInterfaceCustomization) -- Regards, Olemis. Blog ES: http://simelo-es.blogspot.com/ Blog EN: http://simelo-en.blogspot.com/ Featured article: Here comes the Sun ... turu ruru. It's Oracle's ! - http://feedproxy.google.com/~r/simelo-es/~3/EMxV1KHhl60/here-comes-sun-turu-ruru-its-oracles.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: How to avoid Available Projects info using tracd
Thanks Olemis - I have been trying to use [1] but couldn't make it work. Can you provide additional clues (please see orignal post). Regards, Pedersen On May 9, 12:21 am, Olemis Lang ole...@gmail.com wrote: On Thu, May 7, 2009 at 11:14 PM, Pedersen herontechnol...@gmail.com wrote: Thanks Jeff, but that doesn't work since it only allows one project. I need tracd to support multiple projects, but not show Available Projects. Is that possible? Why dont you use the tips in here [1]_ and provide a static web page at startup ? I think it's fairly possible to do it this way - I just tested that in my testing server ;o) -. .. [1] TracInterfaceCustomization (http://trac.edgewall.org/wiki/TracInterfaceCustomization) -- Regards, Olemis. Blog ES:http://simelo-es.blogspot.com/ Blog EN:http://simelo-en.blogspot.com/ Featured article: Here comes the Sun ... turu ruru. It's Oracle's ! -http://feedproxy.google.com/~r/simelo-es/~3/EMxV1KHhl60/here-comes-su... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: How to avoid Available Projects info using tracd
Reading `tracd --help`: -s, --single-env only serve a single project without the project list On Thu, May 07, 2009 at 05:13:38PM -0700, Pedersen wrote: Hi, I'm using tracd with multiple projects. However I don't want users to see other projects if they browse a level further out. I have followed the suggestions in: http://trac.edgewall.org/wiki/TracInterfaceCustomization by creating a new template and setting TRAC_ENV_INDEX_TEMPLATE, but the Available Projects list still shows... How can I solve this? Thanks, Pedersen --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: How to avoid Available Projects info using tracd
Thanks Jeff, but that doesn't work since it only allows one project. I need tracd to support multiple projects, but not show Available Projects. Is that possible? Thanks, Pedersen On May 8, 2:21 pm, Jeff Hammel jham...@openplans.org wrote: Reading `tracd --help`: -s, --single-env only serve a single project without the project list On Thu, May 07, 2009 at 05:13:38PM -0700, Pedersen wrote: Hi, I'm using tracd with multiple projects. However I don't want users to see other projects if they browse a level further out. I have followed the suggestions in: http://trac.edgewall.org/wiki/TracInterfaceCustomization by creating a new template and setting TRAC_ENV_INDEX_TEMPLATE, but the Available Projects list still shows... How can I solve this? Thanks, Pedersen --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---