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
Add Documents or links to Documentation List
Moderators: Amaradana, TurboPT, TL Developers
Re: Add Documents or links to Documentation List
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)
no standard way to add a link
Try configuring a custom item ON MENU (dig config* files and files on /const/ dir)
Re: Add Documents or links to Documentation List
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
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,