Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. Wiki: internal link to attachment that is not a media file

Wiki: internal link to attachment that is not a media file

Added by Paulius Sladkevičius about 11 years ago

Hi,

if it’s possible to link to attachment that is added under wiki page except full url, f.e. Some text

Thanks


Replies (1)

RE: Wiki: internal link to attachment that is not a media file - Added by Philipp Tessenow about 11 years ago

Hi,

it is currently not possible to link attachments under a different name with the attachment syntax.

In case you (or someone else) wants to change that, the corresponding code can be found in the application_helper.rb file (line 801).

A possible workaround is to use regular links. Copy the attachments download link (like https://my-example-openproject.org/attachments/1234/important.pdf) and create a link to it with

"another name":https://my-example-openproject.org/attachments/1234/important.pdf

Beware: The link might break if you change your file/attachment host or move your openproject instance to another url (the attachment syntax wouldn’t break in that case).

cheers,
Philipp

  • (1 - 1/1)
Loading...