Add Documents or links to Documentation List

LATEST Official version.
Questions and discussions - NO ISSUES
FOR ISSUES => http://mantis.testlink.org

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
jgesser
TestLink user
Posts: 7
Joined: Wed Apr 06, 2011 2:22 pm

Add Documents or links to Documentation List

Post by jgesser »

Can custom documents be added to the list of documentation on the main page? Also is it possible to add links in the list? Example I would like to provide my users a link to our wiki page.
If so which file(s) need to be edited to do so.

Thanks
Jim
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Add Documents or links to Documentation List

Post by fman »

just copy your document on [install folder]/docs, check permissions (may be user used to run webserver can have some issues to access it)
no standard way to add a link
Try configuring a custom item ON MENU (dig config* files and files on /const/ dir)
Unhandled
Advanced user
Posts: 67
Joined: Sun Jan 23, 2011 11:28 pm

Re: Add Documents or links to Documentation List

Post by Unhandled »

Apologies for reviving an old post. I am posting an example here in case anyone searching for the same topic reads this thread.

Here is how I added a hyperlink linking to a Word document that is hosted on a separate (MS Sharepoint) server.

In my solution, the hyperlink is not located inside the Documentation drop-down box. Instead it is a separate bullet item, located above the drop down chooser.

Not the most elegant solution, but works well for hyperlinks that won't change often.

File: gui/templates/mainPageLeft.tpl

Code: Select all

# diff -u mainPageLeft.tpl.orig mainPageLeft.tpl
--- mainPageLeft.tpl.orig       2011-07-02 09:33:18.000000000 -0400
+++ mainPageLeft.tpl    2012-04-12 14:49:47.000000000 -0400
@@ -291,6 +291,9 @@

     <div id='testlink_application'>
                <img src="{$tlImages.bullet}" />
+          <a href="http://example.com/workspace/Shared%20Documents/TestLink_Standards.docx">Company TestLink Standards (.docx)</a>
+        <br />
+               <img src="{$tlImages.bullet}" />
                <form style="display:inline;">
        <select class="menu_combo" style="font-weight:normal;" name="docs" size="1"
                onchange="javascript:get_docs(this.form.docs.options[this.form.docs.selectedIndex].value,
Post Reply