Isaac.PEG wrote:
I would like to be able to make the default action of the Trac browser
to download a file instead of trying to render it in the user's
Internet browser. e.g. If I use the (very nifty) java enabled Trac
browser to locate a particular MS Word document, click on the name of
stevecel wrote:
The wiki attachment list could have two links, like (Info) before or
after the size of the attachment.
Example:
myscreen.jpg (Info - 87.3 kB) - added by [EMAIL PROTECTED] 15 months ago.
Screenshot of error
Where the Info is a link to the attachment page.
I added a
Ah, I understand now why I didn't see a difference after adding the
three lines of code (I did restart apache by the way). Perhaps I
should explain my desire a little more clearly. My original question
had more to do with the behavior of the browser component of Trac when
viewing the repository
Jeroen Ruigrok van der Werven wrote:
[wiki]
forward_to_raw_href = true
Mmm, the idea in principle seems ok, but it feels a bit heavy handed since
it will do this for every non matching MIME-type. I wonder if all these
files have the Subversion binary bit set and as a result we could
I agree, some type of automatic download would be an improvement. I haven't
tried your patch, but it seems natural.
On Thu, May 1, 2008 at 10:37 AM, Ted Gifford [EMAIL PROTECTED] wrote:
Jeroen Ruigrok van der Werven wrote:
[wiki]
forward_to_raw_href = true
Mmm, the idea in principle
[wiki]
forward_to_raw_href = true
.. me wondering whether it would not be better to use a less cryptic
option, such as preview = false or something else more user-centric
than developer-centric (IMHO the ?format=raw is not really 'natural')
Another question is about the .ini section, it
Emmanuel Blot wrote:
[wiki]
forward_to_raw_href = true
.. me wondering whether it would not be better to use a less cryptic
option, such as preview = false or something else more user-centric
than developer-centric (IMHO the ?format=raw is not really 'natural')
Another question
Ted Gifford wrote:
Emmanuel Blot wrote:
[wiki]
forward_to_raw_href = true
Minor detail, this makes it somewhat more annoying to delete a wiki
attachment. You can still manually navigate to the attachment page I
suppose, but people probably won't realize that.
--Noah
signature.asc
I attempted to add those three lines to my own
.../site-packages/Trac-0.11b2-py2.4.egg/trac/attachment.py
file, as well as adding the line to my trac.ini file but the behavior
of the browser was unaffected.
Am I missing something
If you didn't, perhaps restart Apache?
Ted